START sys/net/pair 2024-06-15T06:40:22Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.095 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.095/0.095/0.095/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.112 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.112/0.112/0.112/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 221494864 1771.959 100.00% Conn: 1 Mbps: 1771.959 Peak Mbps: 1771.959 Avg Mbps: 1771.959 2000 219317112 1754.537 100.00% Conn: 1 Mbps: 1754.537 Peak Mbps: 1771.959 Avg Mbps: 1754.537 3000 219746304 1757.970 100.00% Conn: 1 Mbps: 1757.970 Peak Mbps: 1771.959 Avg Mbps: 1757.970 4000 220938504 1767.508 100.00% Conn: 1 Mbps: 1767.508 Peak Mbps: 1771.959 Avg Mbps: 1767.508 5000 219611188 1758.648 100.00% Conn: 1 Mbps: 1758.648 Peak Mbps: 1771.959 Avg Mbps: 1758.648 --- 169.254.1.11 tcpbench statistics --- 1320886068 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1754.537/1762.124/1771.959/6.521 Mbps ==== run-tcpbench6-1-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 222118776 1776.950 100.00% Conn: 1 Mbps: 1776.950 Peak Mbps: 1776.950 Avg Mbps: 1776.950 2000 219026856 1752.215 100.00% Conn: 1 Mbps: 1752.215 Peak Mbps: 1776.950 Avg Mbps: 1752.215 3000 219217128 1753.737 100.00% Conn: 1 Mbps: 1753.737 Peak Mbps: 1776.950 Avg Mbps: 1753.737 4000 227081704 1816.654 100.00% Conn: 1 Mbps: 1816.654 Peak Mbps: 1816.654 Avg Mbps: 1816.654 5000 222324904 1780.380 100.00% Conn: 1 Mbps: 1780.380 Peak Mbps: 1816.654 Avg Mbps: 1780.380 --- fc00:0:0:1::11 tcpbench statistics --- 1328859648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1752.215/1775.987/1816.654/23.385 Mbps ==== run-ping-1-2 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.147 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.147/0.147/0.147/0.000 ms ==== run-ping6-1-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.302 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.302/0.302/0.302/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1001 79787696 637.664 100.00% Conn: 1 Mbps: 637.664 Peak Mbps: 637.664 Avg Mbps: 637.664 2002 80246712 641.332 100.00% Conn: 1 Mbps: 641.332 Peak Mbps: 641.332 Avg Mbps: 641.332 3004 80549344 643.751 100.00% Conn: 1 Mbps: 643.751 Peak Mbps: 643.751 Avg Mbps: 643.751 4004 80542104 644.337 100.00% Conn: 1 Mbps: 644.337 Peak Mbps: 644.337 Avg Mbps: 644.337 5006 80297392 641.737 100.00% Conn: 1 Mbps: 641.737 Peak Mbps: 644.337 Avg Mbps: 641.737 --- 169.254.1.12 tcpbench statistics --- 481464344 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 637.664/641.764/644.337/2.348 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 77324772 618.598 100.00% Conn: 1 Mbps: 618.598 Peak Mbps: 618.598 Avg Mbps: 618.598 2000 77650356 621.203 100.00% Conn: 1 Mbps: 621.203 Peak Mbps: 621.203 Avg Mbps: 621.203 3000 77587524 620.700 100.00% Conn: 1 Mbps: 620.700 Peak Mbps: 621.203 Avg Mbps: 620.700 4002 78227268 625.193 100.00% Conn: 1 Mbps: 625.193 Peak Mbps: 625.193 Avg Mbps: 625.193 5003 77854192 622.211 100.00% Conn: 1 Mbps: 622.211 Peak Mbps: 625.193 Avg Mbps: 622.211 --- fc00:0:0:1::12 tcpbench statistics --- 466259680 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 618.598/621.581/625.193/2.157 Mbps ==== run-ping-1-3 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=254 time=0.128 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.128/0.128/0.128/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.162 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.162/0.162/0.162/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 134511952 1076.096 100.00% Conn: 1 Mbps: 1076.096 Peak Mbps: 1076.096 Avg Mbps: 1076.096 2000 134098656 1072.789 100.00% Conn: 1 Mbps: 1072.789 Peak Mbps: 1076.096 Avg Mbps: 1072.789 3000 130824080 1046.593 100.00% Conn: 1 Mbps: 1046.593 Peak Mbps: 1076.096 Avg Mbps: 1046.593 4000 130792288 1046.338 100.00% Conn: 1 Mbps: 1046.338 Peak Mbps: 1076.096 Avg Mbps: 1046.338 5000 133295908 1066.367 100.00% Conn: 1 Mbps: 1066.367 Peak Mbps: 1076.096 Avg Mbps: 1066.367 --- 169.254.0.13 tcpbench statistics --- 797987148 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1046.338/1061.637/1076.096/12.776 Mbps ==== run-tcpbench6-1-3 ==== rm -f nc.log nc -6 -v -l -V 13 fc00::13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00::13 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00::13 elapsed_ms bytes mbps bwidth 1000 116010424 928.083 100.00% Conn: 1 Mbps: 928.083 Peak Mbps: 928.083 Avg Mbps: 928.083 2000 116486104 931.889 100.00% Conn: 1 Mbps: 931.889 Peak Mbps: 931.889 Avg Mbps: 931.889 3000 115907360 928.187 100.00% Conn: 1 Mbps: 928.187 Peak Mbps: 931.889 Avg Mbps: 928.187 4000 114797440 918.380 100.00% Conn: 1 Mbps: 918.380 Peak Mbps: 931.889 Avg Mbps: 918.380 5000 114773656 918.189 100.00% Conn: 1 Mbps: 918.189 Peak Mbps: 931.889 Avg Mbps: 918.189 --- fc00::13 tcpbench statistics --- 693303600 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 918.189/924.946/931.889/5.609 Mbps ==== run-ping-2-1 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.101 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.101/0.101/0.101/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.121 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.121/0.121/0.121/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 80051232 640.410 100.00% Conn: 1 Mbps: 640.410 Peak Mbps: 640.410 Avg Mbps: 640.410 2001 80429160 643.433 100.00% Conn: 1 Mbps: 643.433 Peak Mbps: 643.433 Avg Mbps: 643.433 3001 80261192 642.090 100.00% Conn: 1 Mbps: 642.090 Peak Mbps: 643.433 Avg Mbps: 642.090 4002 80600024 644.156 100.00% Conn: 1 Mbps: 644.156 Peak Mbps: 644.156 Avg Mbps: 644.156 5003 80536312 643.647 100.00% Conn: 1 Mbps: 643.647 Peak Mbps: 644.156 Avg Mbps: 643.647 --- 169.254.1.11 tcpbench statistics --- 482065264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 640.410/642.747/644.156/1.354 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 77180544 617.444 100.00% Conn: 1 Mbps: 617.444 Peak Mbps: 617.444 Avg Mbps: 617.444 2001 77623224 620.365 100.00% Conn: 1 Mbps: 620.365 Peak Mbps: 620.365 Avg Mbps: 620.365 3002 77827428 622.619 100.00% Conn: 1 Mbps: 622.619 Peak Mbps: 622.619 Avg Mbps: 622.619 4002 77693196 621.546 100.00% Conn: 1 Mbps: 621.546 Peak Mbps: 622.619 Avg Mbps: 621.546 5005 78104460 623.589 100.00% Conn: 1 Mbps: 623.589 Peak Mbps: 623.589 Avg Mbps: 623.589 --- fc00:0:0:1::11 tcpbench statistics --- 466126332 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 617.444/621.113/623.589/2.126 Mbps ==== run-ping-2-2 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.093 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.093/0.093/0.093/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.115 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.115/0.115/0.115/0.000 ms ==== run-tcpbench-2-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 221051680 1768.413 100.00% Conn: 1 Mbps: 1768.413 Peak Mbps: 1768.413 Avg Mbps: 1768.413 2000 207977688 1663.822 100.00% Conn: 1 Mbps: 1663.822 Peak Mbps: 1768.413 Avg Mbps: 1663.822 3000 206198096 1649.585 100.00% Conn: 1 Mbps: 1649.585 Peak Mbps: 1768.413 Avg Mbps: 1649.585 4000 207323192 1660.246 100.00% Conn: 1 Mbps: 1660.246 Peak Mbps: 1768.413 Avg Mbps: 1660.246 5000 218396048 1747.168 100.00% Conn: 1 Mbps: 1747.168 Peak Mbps: 1768.413 Avg Mbps: 1747.168 --- 169.254.1.12 tcpbench statistics --- 1268649272 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1649.585/1697.847/1768.413/49.625 Mbps ==== run-tcpbench6-2-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 218526840 1748.215 100.00% Conn: 1 Mbps: 1748.215 Peak Mbps: 1748.215 Avg Mbps: 1748.215 2000 206735844 1655.542 100.00% Conn: 1 Mbps: 1655.542 Peak Mbps: 1748.215 Avg Mbps: 1655.542 3000 227784564 1822.277 100.00% Conn: 1 Mbps: 1822.277 Peak Mbps: 1822.277 Avg Mbps: 1822.277 4000 204703800 1637.630 100.00% Conn: 1 Mbps: 1637.630 Peak Mbps: 1822.277 Avg Mbps: 1637.630 5000 213941532 1711.532 100.00% Conn: 1 Mbps: 1711.532 Peak Mbps: 1822.277 Avg Mbps: 1711.532 --- fc00:0:0:1::12 tcpbench statistics --- 1277820096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1637.630/1715.039/1822.277/66.550 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.098 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.098/0.098/0.098/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.117 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.117/0.117/0.117/0.000 ms ==== run-tcpbench-2-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 311459678 2491.677 100.00% Conn: 1 Mbps: 2491.677 Peak Mbps: 2491.677 Avg Mbps: 2491.677 2000 314662452 2519.819 100.00% Conn: 1 Mbps: 2519.819 Peak Mbps: 2519.819 Avg Mbps: 2519.819 3000 303146456 2425.172 100.00% Conn: 1 Mbps: 2425.172 Peak Mbps: 2519.819 Avg Mbps: 2425.172 4000 313451996 2507.616 100.00% Conn: 1 Mbps: 2507.616 Peak Mbps: 2519.819 Avg Mbps: 2507.616 5000 309297064 2474.377 100.00% Conn: 1 Mbps: 2474.377 Peak Mbps: 2519.819 Avg Mbps: 2474.377 --- 169.254.0.13 tcpbench statistics --- 1865960382 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2425.172/2483.732/2519.819/33.023 Mbps ==== run-tcpbench6-2-3 ==== rm -f nc.log nc -6 -v -l -V 13 fc00::13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00::13 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00::13 elapsed_ms bytes mbps bwidth 1000 308521724 2468.174 100.00% Conn: 1 Mbps: 2468.174 Peak Mbps: 2468.174 Avg Mbps: 2468.174 2000 305020984 2440.168 100.00% Conn: 1 Mbps: 2440.168 Peak Mbps: 2468.174 Avg Mbps: 2440.168 3000 312116016 2496.928 100.00% Conn: 1 Mbps: 2496.928 Peak Mbps: 2496.928 Avg Mbps: 2496.928 4000 307963624 2463.709 100.00% Conn: 1 Mbps: 2463.709 Peak Mbps: 2496.928 Avg Mbps: 2463.709 5000 307767448 2462.140 100.00% Conn: 1 Mbps: 2462.140 Peak Mbps: 2496.928 Avg Mbps: 2462.140 --- fc00::13 tcpbench statistics --- 1848405236 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2440.168/2466.224/2496.928/18.158 Mbps ==== run-ping-3-1 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.108 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.108/0.108/0.108/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.134 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.134/0.134/0.134/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 79156368 632.618 100.00% Conn: 1 Mbps: 632.618 Peak Mbps: 632.618 Avg Mbps: 632.618 2001 80057024 640.456 100.00% Conn: 1 Mbps: 640.456 Peak Mbps: 640.456 Avg Mbps: 640.456 3002 79676200 637.410 100.00% Conn: 1 Mbps: 637.410 Peak Mbps: 640.456 Avg Mbps: 637.410 4004 79960008 639.041 100.00% Conn: 1 Mbps: 639.041 Peak Mbps: 640.456 Avg Mbps: 639.041 5005 80110600 640.885 100.00% Conn: 1 Mbps: 640.885 Peak Mbps: 640.885 Avg Mbps: 640.885 --- 169.254.1.11 tcpbench statistics --- 478716040 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 632.618/638.082/640.885/2.991 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 125648904 1005.191 100.00% Conn: 1 Mbps: 1005.191 Peak Mbps: 1005.191 Avg Mbps: 1005.191 2000 125076312 1000.610 100.00% Conn: 1 Mbps: 1000.610 Peak Mbps: 1005.191 Avg Mbps: 1000.610 3002 124725808 996.810 100.00% Conn: 1 Mbps: 996.810 Peak Mbps: 1005.191 Avg Mbps: 996.810 4002 125662184 1005.297 100.00% Conn: 1 Mbps: 1005.297 Peak Mbps: 1005.297 Avg Mbps: 1005.297 5002 125278560 1002.228 100.00% Conn: 1 Mbps: 1002.228 Peak Mbps: 1005.297 Avg Mbps: 1002.228 --- fc00:0:0:1::11 tcpbench statistics --- 752088184 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 996.810/1002.027/1005.297/3.162 Mbps # path MTU discovery in other rtable does not work in ip6_output() /sbin/route -T 13 -n get -host -inet6 fc00:0:0:1::11 route to: fc00:0:0:1::11 destination: fc00:: mask: ffff:ffff:ffff:: gateway: ::1 interface: lo13 if address: ::1 priority: 8 (static) flags: use mtu expire 7 32768 0 DISABLED ==== run-ping-3-2 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.096 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.096/0.096/0.096/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.117 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.117/0.117/0.117/0.000 ms ==== run-tcpbench-3-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 310411318 2483.291 100.00% Conn: 1 Mbps: 2483.291 Peak Mbps: 2483.291 Avg Mbps: 2483.291 2000 306418056 2451.344 100.00% Conn: 1 Mbps: 2451.344 Peak Mbps: 2483.291 Avg Mbps: 2451.344 3000 303310036 2426.480 100.00% Conn: 1 Mbps: 2426.480 Peak Mbps: 2483.291 Avg Mbps: 2426.480 4000 298337204 2386.698 100.00% Conn: 1 Mbps: 2386.698 Peak Mbps: 2483.291 Avg Mbps: 2386.698 5000 315774832 2526.199 100.00% Conn: 1 Mbps: 2526.199 Peak Mbps: 2526.199 Avg Mbps: 2526.199 --- 169.254.1.12 tcpbench statistics --- 1834780622 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2386.698/2454.802/2526.199/47.668 Mbps ==== run-tcpbench6-3-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 312591440 2500.732 100.00% Conn: 1 Mbps: 2500.732 Peak Mbps: 2500.732 Avg Mbps: 2500.732 2000 307702056 2461.616 100.00% Conn: 1 Mbps: 2461.616 Peak Mbps: 2500.732 Avg Mbps: 2461.616 3000 305217160 2441.737 100.00% Conn: 1 Mbps: 2441.737 Peak Mbps: 2500.732 Avg Mbps: 2441.737 4000 310742784 2485.942 100.00% Conn: 1 Mbps: 2485.942 Peak Mbps: 2500.732 Avg Mbps: 2485.942 5000 303451576 2427.613 100.00% Conn: 1 Mbps: 2427.613 Peak Mbps: 2500.732 Avg Mbps: 2427.613 --- fc00:0:0:1::12 tcpbench statistics --- 1842241104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2427.613/2463.528/2500.732/27.037 Mbps ==== run-ping-3-3 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.095 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.095/0.095/0.095/0.000 ms ==== run-ping6-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.111 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.111/0.111/0.111/0.000 ms ==== run-tcpbench-3-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 306042822 2448.343 100.00% Conn: 1 Mbps: 2448.343 Peak Mbps: 2448.343 Avg Mbps: 2448.343 2000 308152004 2465.216 100.00% Conn: 1 Mbps: 2465.216 Peak Mbps: 2465.216 Avg Mbps: 2465.216 3000 307464968 2459.720 100.00% Conn: 1 Mbps: 2459.720 Peak Mbps: 2465.216 Avg Mbps: 2459.720 4000 298598932 2388.791 100.00% Conn: 1 Mbps: 2388.791 Peak Mbps: 2465.216 Avg Mbps: 2388.791 5000 298566216 2388.530 100.00% Conn: 1 Mbps: 2388.530 Peak Mbps: 2465.216 Avg Mbps: 2388.530 --- 169.254.0.13 tcpbench statistics --- 1817194862 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2388.530/2430.120/2465.216/34.286 Mbps ==== run-tcpbench6-3-3 ==== rm -f nc.log nc -6 -v -l -V 13 fc00::13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00::13 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00::13 elapsed_ms bytes mbps bwidth 1000 310644856 2485.159 100.00% Conn: 1 Mbps: 2485.159 Peak Mbps: 2485.159 Avg Mbps: 2485.159 2000 313718120 2512.257 100.00% Conn: 1 Mbps: 2512.257 Peak Mbps: 2512.257 Avg Mbps: 2512.257 3000 314993264 2519.946 100.00% Conn: 1 Mbps: 2519.946 Peak Mbps: 2519.946 Avg Mbps: 2519.946 4000 308454064 2467.633 100.00% Conn: 1 Mbps: 2467.633 Peak Mbps: 2519.946 Avg Mbps: 2467.633 5000 302503392 2420.027 100.00% Conn: 1 Mbps: 2420.027 Peak Mbps: 2519.946 Avg Mbps: 2420.027 --- fc00::13 tcpbench statistics --- 1853765272 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2420.027/2481.004/2519.946/35.798 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m55.45s