START sys/net/pair 2024-03-15T09:31:39Z ==== 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.167 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.167/0.167/0.167/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.224 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.224/0.224/0.224/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 187684072 1501.473 100.00% Conn: 1 Mbps: 1501.473 Peak Mbps: 1501.473 Avg Mbps: 1501.473 2000 185991148 1489.419 100.00% Conn: 1 Mbps: 1489.419 Peak Mbps: 1501.473 Avg Mbps: 1489.419 3000 185554008 1484.432 100.00% Conn: 1 Mbps: 1484.432 Peak Mbps: 1501.473 Avg Mbps: 1484.432 4000 185498372 1483.987 100.00% Conn: 1 Mbps: 1483.987 Peak Mbps: 1501.473 Avg Mbps: 1483.987 5000 185856032 1488.337 100.00% Conn: 1 Mbps: 1488.337 Peak Mbps: 1501.473 Avg Mbps: 1488.337 --- 169.254.1.11 tcpbench statistics --- 1115938940 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1483.987/1489.529/1501.473/6.337 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 182606664 1460.853 100.00% Conn: 1 Mbps: 1460.853 Peak Mbps: 1460.853 Avg Mbps: 1460.853 2000 180583984 1446.118 100.00% Conn: 1 Mbps: 1446.118 Peak Mbps: 1460.853 Avg Mbps: 1446.118 3000 180607768 1444.862 100.00% Conn: 1 Mbps: 1444.862 Peak Mbps: 1460.853 Avg Mbps: 1444.862 4000 180742544 1445.940 100.00% Conn: 1 Mbps: 1445.940 Peak Mbps: 1460.853 Avg Mbps: 1445.940 5000 179394784 1435.158 100.00% Conn: 1 Mbps: 1435.158 Peak Mbps: 1460.853 Avg Mbps: 1435.158 --- fc00:0:0:1::11 tcpbench statistics --- 1084757568 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1435.158/1446.586/1460.853/8.219 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.235 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.235/0.235/0.235/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.452 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.452/0.452/0.452/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 1003 84903536 677.197 100.00% Conn: 1 Mbps: 677.197 Peak Mbps: 677.197 Avg Mbps: 677.197 2004 84847008 678.098 100.00% Conn: 1 Mbps: 678.098 Peak Mbps: 678.098 Avg Mbps: 678.098 3005 84781904 678.255 100.00% Conn: 1 Mbps: 678.255 Peak Mbps: 678.255 Avg Mbps: 678.255 4005 84039080 672.313 100.00% Conn: 1 Mbps: 672.313 Peak Mbps: 678.255 Avg Mbps: 672.313 5007 84737016 677.219 100.00% Conn: 1 Mbps: 677.219 Peak Mbps: 678.255 Avg Mbps: 677.219 --- 169.254.1.12 tcpbench statistics --- 507301232 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 672.313/676.616/678.255/2.196 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 1001 81330312 649.993 100.00% Conn: 1 Mbps: 649.993 Peak Mbps: 649.993 Avg Mbps: 649.993 2004 81645900 651.863 100.00% Conn: 1 Mbps: 651.863 Peak Mbps: 651.863 Avg Mbps: 651.863 3006 80493504 643.305 100.00% Conn: 1 Mbps: 643.305 Peak Mbps: 651.863 Avg Mbps: 643.305 4005 81192616 650.191 100.00% Conn: 1 Mbps: 650.191 Peak Mbps: 651.863 Avg Mbps: 650.191 5009 81164876 647.377 100.00% Conn: 1 Mbps: 647.377 Peak Mbps: 651.863 Avg Mbps: 647.377 --- fc00:0:0:1::12 tcpbench statistics --- 486121612 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 643.305/648.546/651.863/2.988 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.216 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.216/0.216/0.216/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.270 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.270/0.270/0.270/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 107814620 862.517 100.00% Conn: 1 Mbps: 862.517 Peak Mbps: 862.517 Avg Mbps: 862.517 2000 107480804 860.707 100.00% Conn: 1 Mbps: 860.707 Peak Mbps: 862.517 Avg Mbps: 860.707 3000 108140488 865.124 100.00% Conn: 1 Mbps: 865.124 Peak Mbps: 865.124 Avg Mbps: 865.124 4000 108219968 865.760 100.00% Conn: 1 Mbps: 865.760 Peak Mbps: 865.760 Avg Mbps: 865.760 5000 108824016 871.464 100.00% Conn: 1 Mbps: 871.464 Peak Mbps: 871.464 Avg Mbps: 871.464 --- 169.254.0.13 tcpbench statistics --- 648580644 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 860.707/865.114/871.464/3.658 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 99956224 799.650 100.00% Conn: 1 Mbps: 799.650 Peak Mbps: 799.650 Avg Mbps: 799.650 2000 99242704 794.736 100.00% Conn: 1 Mbps: 794.736 Peak Mbps: 799.650 Avg Mbps: 794.736 3000 99940368 800.323 100.00% Conn: 1 Mbps: 800.323 Peak Mbps: 800.323 Avg Mbps: 800.323 4000 100035504 800.284 100.00% Conn: 1 Mbps: 800.284 Peak Mbps: 800.323 Avg Mbps: 800.284 5000 98830448 790.644 100.00% Conn: 1 Mbps: 790.644 Peak Mbps: 800.323 Avg Mbps: 790.644 --- fc00::13 tcpbench statistics --- 597794984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 790.644/797.127/800.323/3.855 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.211 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.211/0.211/0.211/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.218 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.218/0.218/0.218/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 1002 84715240 676.369 100.00% Conn: 1 Mbps: 676.369 Peak Mbps: 676.369 Avg Mbps: 676.369 2001 84703712 678.308 100.00% Conn: 1 Mbps: 678.308 Peak Mbps: 678.308 Avg Mbps: 678.308 3005 84768816 676.122 100.00% Conn: 1 Mbps: 676.122 Peak Mbps: 678.308 Avg Mbps: 676.122 4008 83913048 669.964 100.00% Conn: 1 Mbps: 669.964 Peak Mbps: 678.308 Avg Mbps: 669.964 5006 84408376 676.620 100.00% Conn: 1 Mbps: 676.620 Peak Mbps: 678.308 Avg Mbps: 676.620 --- 169.254.1.11 tcpbench statistics --- 506362872 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 669.964/675.477/678.308/2.861 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 1002 81261160 648.792 100.00% Conn: 1 Mbps: 648.792 Peak Mbps: 648.792 Avg Mbps: 648.792 2003 81078984 648.632 100.00% Conn: 1 Mbps: 648.632 Peak Mbps: 648.792 Avg Mbps: 648.632 3005 80622844 644.338 100.00% Conn: 1 Mbps: 644.338 Peak Mbps: 648.792 Avg Mbps: 644.338 4005 81179764 649.438 100.00% Conn: 1 Mbps: 649.438 Peak Mbps: 649.438 Avg Mbps: 649.438 5006 81690380 653.523 100.00% Conn: 1 Mbps: 653.523 Peak Mbps: 653.523 Avg Mbps: 653.523 --- fc00:0:0:1::11 tcpbench statistics --- 487054308 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 644.338/648.945/653.523/2.917 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.181 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.181/0.181/0.181/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.202 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.202/0.202/0.202/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 187316400 1498.531 100.00% Conn: 1 Mbps: 1498.531 Peak Mbps: 1498.531 Avg Mbps: 1498.531 2000 183060672 1465.951 100.00% Conn: 1 Mbps: 1465.951 Peak Mbps: 1498.531 Avg Mbps: 1465.951 3000 183271912 1466.175 100.00% Conn: 1 Mbps: 1466.175 Peak Mbps: 1498.531 Avg Mbps: 1466.175 4000 183090912 1464.727 100.00% Conn: 1 Mbps: 1464.727 Peak Mbps: 1498.531 Avg Mbps: 1464.727 5000 182966384 1463.731 100.00% Conn: 1 Mbps: 1463.731 Peak Mbps: 1498.531 Avg Mbps: 1463.731 --- 169.254.1.12 tcpbench statistics --- 1102758152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1463.731/1471.823/1498.531/13.383 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 177313332 1418.507 100.00% Conn: 1 Mbps: 1418.507 Peak Mbps: 1418.507 Avg Mbps: 1418.507 2000 174371652 1396.370 100.00% Conn: 1 Mbps: 1396.370 Peak Mbps: 1418.507 Avg Mbps: 1396.370 3000 174537300 1396.298 100.00% Conn: 1 Mbps: 1396.298 Peak Mbps: 1418.507 Avg Mbps: 1396.298 4000 175097076 1400.777 100.00% Conn: 1 Mbps: 1400.777 Peak Mbps: 1418.507 Avg Mbps: 1400.777 5000 173194980 1385.560 100.00% Conn: 1 Mbps: 1385.560 Peak Mbps: 1418.507 Avg Mbps: 1385.560 --- fc00:0:0:1::12 tcpbench statistics --- 1048973100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1385.560/1399.502/1418.507/10.745 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.176 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.176/0.176/0.176/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.219 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.219/0.219/0.219/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 302051420 2416.411 100.00% Conn: 1 Mbps: 2416.411 Peak Mbps: 2416.411 Avg Mbps: 2416.411 2000 298173624 2387.777 100.00% Conn: 1 Mbps: 2387.777 Peak Mbps: 2416.411 Avg Mbps: 2387.777 3000 298091834 2384.735 100.00% Conn: 1 Mbps: 2384.735 Peak Mbps: 2416.411 Avg Mbps: 2384.735 4000 296734120 2373.873 100.00% Conn: 1 Mbps: 2373.873 Peak Mbps: 2416.411 Avg Mbps: 2373.873 5000 298206340 2385.651 100.00% Conn: 1 Mbps: 2385.651 Peak Mbps: 2416.411 Avg Mbps: 2385.651 --- 169.254.0.13 tcpbench statistics --- 1791741764 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2373.873/2389.689/2416.411/14.204 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 303455248 2427.642 100.00% Conn: 1 Mbps: 2427.642 Peak Mbps: 2427.642 Avg Mbps: 2427.642 2000 300737808 2405.902 100.00% Conn: 1 Mbps: 2405.902 Peak Mbps: 2427.642 Avg Mbps: 2405.902 3000 298024040 2384.192 100.00% Conn: 1 Mbps: 2384.192 Peak Mbps: 2427.642 Avg Mbps: 2384.192 4000 300835896 2406.687 100.00% Conn: 1 Mbps: 2406.687 Peak Mbps: 2427.642 Avg Mbps: 2406.687 5000 299168400 2393.347 100.00% Conn: 1 Mbps: 2393.347 Peak Mbps: 2427.642 Avg Mbps: 2393.347 --- fc00::13 tcpbench statistics --- 1802566848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2384.192/2403.554/2427.642/14.660 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.188 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.188/0.188/0.188/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.253 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.253/0.253/0.253/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 1002 83989792 670.577 100.00% Conn: 1 Mbps: 670.577 Peak Mbps: 670.577 Avg Mbps: 670.577 2002 83564080 669.182 100.00% Conn: 1 Mbps: 669.182 Peak Mbps: 670.577 Avg Mbps: 669.182 3000 83698744 670.932 100.00% Conn: 1 Mbps: 670.932 Peak Mbps: 670.932 Avg Mbps: 670.932 4004 83994136 669.943 100.00% Conn: 1 Mbps: 669.943 Peak Mbps: 670.932 Avg Mbps: 669.943 5003 83480096 669.179 100.00% Conn: 1 Mbps: 669.179 Peak Mbps: 670.932 Avg Mbps: 669.179 --- 169.254.1.11 tcpbench statistics --- 502345952 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 669.179/669.963/670.932/0.713 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 1001 130983632 1046.822 100.00% Conn: 1 Mbps: 1046.822 Peak Mbps: 1046.822 Avg Mbps: 1046.822 2003 131383408 1048.969 100.00% Conn: 1 Mbps: 1048.969 Peak Mbps: 1048.969 Avg Mbps: 1048.969 3004 130688912 1045.511 100.00% Conn: 1 Mbps: 1045.511 Peak Mbps: 1048.969 Avg Mbps: 1045.511 4004 130219264 1042.797 100.00% Conn: 1 Mbps: 1042.797 Peak Mbps: 1048.969 Avg Mbps: 1042.797 5005 131032232 1047.211 100.00% Conn: 1 Mbps: 1047.211 Peak Mbps: 1048.969 Avg Mbps: 1047.211 --- fc00:0:0:1::11 tcpbench statistics --- 783385208 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1042.797/1046.262/1048.969/2.055 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.200 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.200/0.200/0.200/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.241 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.241/0.241/0.241/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 301576878 2412.615 100.00% Conn: 1 Mbps: 2412.615 Peak Mbps: 2412.615 Avg Mbps: 2412.615 2000 296962988 2375.704 100.00% Conn: 1 Mbps: 2375.704 Peak Mbps: 2412.615 Avg Mbps: 2375.704 3000 296439508 2371.516 100.00% Conn: 1 Mbps: 2371.516 Peak Mbps: 2412.615 Avg Mbps: 2371.516 4000 293691376 2349.531 100.00% Conn: 1 Mbps: 2349.531 Peak Mbps: 2412.615 Avg Mbps: 2349.531 5000 296112504 2368.900 100.00% Conn: 1 Mbps: 2368.900 Peak Mbps: 2412.615 Avg Mbps: 2368.900 --- 169.254.1.12 tcpbench statistics --- 1780928486 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2349.531/2375.653/2412.615/20.549 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 301736384 2413.891 100.00% Conn: 1 Mbps: 2413.891 Peak Mbps: 2413.891 Avg Mbps: 2413.891 2000 298122128 2384.977 100.00% Conn: 1 Mbps: 2384.977 Peak Mbps: 2413.891 Avg Mbps: 2384.977 3000 295277576 2362.221 100.00% Conn: 1 Mbps: 2362.221 Peak Mbps: 2413.891 Avg Mbps: 2362.221 4000 298056736 2384.454 100.00% Conn: 1 Mbps: 2384.454 Peak Mbps: 2413.891 Avg Mbps: 2384.454 5000 296748896 2373.991 100.00% Conn: 1 Mbps: 2373.991 Peak Mbps: 2413.891 Avg Mbps: 2373.991 --- fc00:0:0:1::12 tcpbench statistics --- 1786657920 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2362.221/2383.907/2413.891/17.141 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.189 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.189/0.189/0.189/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.211 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.211/0.211/0.211/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 304243030 2433.944 100.00% Conn: 1 Mbps: 2433.944 Peak Mbps: 2433.944 Avg Mbps: 2433.944 2000 300136584 2403.496 100.00% Conn: 1 Mbps: 2403.496 Peak Mbps: 2433.944 Avg Mbps: 2403.496 3000 301428866 2411.431 100.00% Conn: 1 Mbps: 2411.431 Peak Mbps: 2433.944 Avg Mbps: 2411.431 4000 300365596 2402.925 100.00% Conn: 1 Mbps: 2402.925 Peak Mbps: 2433.944 Avg Mbps: 2402.925 5000 300349238 2402.794 100.00% Conn: 1 Mbps: 2402.794 Peak Mbps: 2433.944 Avg Mbps: 2402.794 --- 169.254.0.13 tcpbench statistics --- 1808197550 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2402.794/2410.918/2433.944/11.962 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 303616064 2428.929 100.00% Conn: 1 Mbps: 2428.929 Peak Mbps: 2428.929 Avg Mbps: 2428.929 2000 304301672 2436.850 100.00% Conn: 1 Mbps: 2436.850 Peak Mbps: 2436.850 Avg Mbps: 2436.850 3000 304138192 2433.106 100.00% Conn: 1 Mbps: 2433.106 Peak Mbps: 2436.850 Avg Mbps: 2433.106 4000 303222704 2425.782 100.00% Conn: 1 Mbps: 2425.782 Peak Mbps: 2436.850 Avg Mbps: 2425.782 5000 303745840 2429.967 100.00% Conn: 1 Mbps: 2429.967 Peak Mbps: 2436.850 Avg Mbps: 2429.967 --- fc00::13 tcpbench statistics --- 1819304536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2425.782/2430.927/2436.850/3.774 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 1m53.96s