START sys/net/pair 2024-07-05T09:36:05Z ==== 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.198 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.198/0.198/0.198/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.249 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.249/0.249/0.249/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 110326188 882.610 100.00% Conn: 1 Mbps: 882.610 Peak Mbps: 882.610 Avg Mbps: 882.610 2000 109722140 877.777 100.00% Conn: 1 Mbps: 877.777 Peak Mbps: 882.610 Avg Mbps: 877.777 3000 109674452 877.396 100.00% Conn: 1 Mbps: 877.396 Peak Mbps: 882.610 Avg Mbps: 877.396 4000 109587024 877.574 100.00% Conn: 1 Mbps: 877.574 Peak Mbps: 882.610 Avg Mbps: 877.574 5001 109865204 878.922 100.00% Conn: 1 Mbps: 878.922 Peak Mbps: 882.610 Avg Mbps: 878.922 --- 169.254.1.11 tcpbench statistics --- 658746136 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 877.396/878.856/882.610/1.951 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 110341904 882.735 100.00% Conn: 1 Mbps: 882.735 Peak Mbps: 882.735 Avg Mbps: 882.735 2000 110016856 880.135 100.00% Conn: 1 Mbps: 880.135 Peak Mbps: 882.735 Avg Mbps: 880.135 3000 109953432 879.627 100.00% Conn: 1 Mbps: 879.627 Peak Mbps: 882.735 Avg Mbps: 879.627 4000 109985144 879.881 100.00% Conn: 1 Mbps: 879.881 Peak Mbps: 882.735 Avg Mbps: 879.881 5001 109890008 879.120 100.00% Conn: 1 Mbps: 879.120 Peak Mbps: 882.735 Avg Mbps: 879.120 --- fc00:0:0:1::11 tcpbench statistics --- 659863296 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 879.120/880.300/882.735/1.263 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.312 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.312/0.312/0.312/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.697 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.697/0.697/0.697/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 40197928 321.262 100.00% Conn: 1 Mbps: 321.262 Peak Mbps: 321.262 Avg Mbps: 321.262 2001 40444088 323.553 100.00% Conn: 1 Mbps: 323.553 Peak Mbps: 323.553 Avg Mbps: 323.553 3002 40436848 323.495 100.00% Conn: 1 Mbps: 323.495 Peak Mbps: 323.553 Avg Mbps: 323.495 4002 40274672 322.520 100.00% Conn: 1 Mbps: 322.520 Peak Mbps: 323.553 Avg Mbps: 322.520 5004 40425264 322.757 100.00% Conn: 1 Mbps: 322.757 Peak Mbps: 323.553 Avg Mbps: 322.757 --- 169.254.1.12 tcpbench statistics --- 242025960 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 321.262/322.717/323.553/0.832 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 38557428 308.151 100.00% Conn: 1 Mbps: 308.151 Peak Mbps: 308.151 Avg Mbps: 308.151 2003 39144336 312.842 100.00% Conn: 1 Mbps: 312.842 Peak Mbps: 312.842 Avg Mbps: 312.842 3004 39017244 311.826 100.00% Conn: 1 Mbps: 311.826 Peak Mbps: 312.842 Avg Mbps: 311.826 4006 39151476 312.587 100.00% Conn: 1 Mbps: 312.587 Peak Mbps: 312.842 Avg Mbps: 312.587 5005 38944416 311.867 100.00% Conn: 1 Mbps: 311.867 Peak Mbps: 312.842 Avg Mbps: 311.867 --- fc00:0:0:1::12 tcpbench statistics --- 233669352 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 308.151/311.455/312.842/1.699 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.244 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.244/0.244/0.244/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.353 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.353/0.353/0.353/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 62407696 499.262 100.00% Conn: 1 Mbps: 499.262 Peak Mbps: 499.262 Avg Mbps: 499.262 2000 62208996 498.170 100.00% Conn: 1 Mbps: 498.170 Peak Mbps: 499.262 Avg Mbps: 498.170 3000 61620844 492.967 100.00% Conn: 1 Mbps: 492.967 Peak Mbps: 499.262 Avg Mbps: 492.967 4001 61875180 495.001 100.00% Conn: 1 Mbps: 495.001 Peak Mbps: 499.262 Avg Mbps: 495.001 5000 62002348 496.515 100.00% Conn: 1 Mbps: 496.515 Peak Mbps: 499.262 Avg Mbps: 496.515 --- 169.254.0.13 tcpbench statistics --- 371871024 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 492.967/496.383/499.262/2.240 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 59689912 477.519 100.00% Conn: 1 Mbps: 477.519 Peak Mbps: 477.519 Avg Mbps: 477.519 2000 59681984 477.456 100.00% Conn: 1 Mbps: 477.456 Peak Mbps: 477.519 Avg Mbps: 477.456 3000 59301440 474.412 100.00% Conn: 1 Mbps: 474.412 Peak Mbps: 477.519 Avg Mbps: 474.412 4000 59515496 476.124 100.00% Conn: 1 Mbps: 476.124 Peak Mbps: 477.519 Avg Mbps: 476.124 5001 59911896 479.295 100.00% Conn: 1 Mbps: 479.295 Peak Mbps: 479.295 Avg Mbps: 479.295 --- fc00::13 tcpbench statistics --- 357584512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 474.412/476.961/479.295/1.625 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.202 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.202/0.202/0.202/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.272 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.272/0.272/0.272/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 1001 40419472 323.033 100.00% Conn: 1 Mbps: 323.033 Peak Mbps: 323.033 Avg Mbps: 323.033 2002 40891520 326.805 100.00% Conn: 1 Mbps: 326.805 Peak Mbps: 326.805 Avg Mbps: 326.805 3003 40764096 326.113 100.00% Conn: 1 Mbps: 326.113 Peak Mbps: 326.805 Avg Mbps: 326.113 4003 40723552 325.788 100.00% Conn: 1 Mbps: 325.788 Peak Mbps: 326.805 Avg Mbps: 325.788 5006 40850976 326.155 100.00% Conn: 1 Mbps: 326.155 Peak Mbps: 326.805 Avg Mbps: 326.155 --- 169.254.1.11 tcpbench statistics --- 244105288 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 323.033/325.579/326.805/1.315 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 1001 38565996 308.220 100.00% Conn: 1 Mbps: 308.220 Peak Mbps: 308.220 Avg Mbps: 308.220 2002 38727360 309.509 100.00% Conn: 1 Mbps: 309.509 Peak Mbps: 309.509 Avg Mbps: 309.509 3003 39078648 312.317 100.00% Conn: 1 Mbps: 312.317 Peak Mbps: 312.317 Avg Mbps: 312.317 4003 38914428 311.315 100.00% Conn: 1 Mbps: 311.315 Peak Mbps: 312.317 Avg Mbps: 311.315 5005 39100068 312.488 100.00% Conn: 1 Mbps: 312.488 Peak Mbps: 312.488 Avg Mbps: 312.488 --- fc00:0:0:1::11 tcpbench statistics --- 233308068 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 308.220/310.770/312.488/1.657 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.170 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.170/0.170/0.170/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.231 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.231/0.231/0.231/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 106349808 850.798 100.00% Conn: 1 Mbps: 850.798 Peak Mbps: 850.798 Avg Mbps: 850.798 2000 106006632 848.053 100.00% Conn: 1 Mbps: 848.053 Peak Mbps: 850.798 Avg Mbps: 848.053 3000 106775520 854.204 100.00% Conn: 1 Mbps: 854.204 Peak Mbps: 854.204 Avg Mbps: 854.204 4000 106856608 854.853 100.00% Conn: 1 Mbps: 854.853 Peak Mbps: 854.853 Avg Mbps: 854.853 5000 106461304 851.690 100.00% Conn: 1 Mbps: 851.690 Peak Mbps: 854.853 Avg Mbps: 851.690 --- 169.254.1.12 tcpbench statistics --- 639029912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 848.053/851.920/854.853/2.453 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 104499612 835.997 100.00% Conn: 1 Mbps: 835.997 Peak Mbps: 835.997 Avg Mbps: 835.997 2000 105563472 844.508 100.00% Conn: 1 Mbps: 844.508 Peak Mbps: 844.508 Avg Mbps: 844.508 3001 105577752 844.622 100.00% Conn: 1 Mbps: 844.622 Peak Mbps: 844.622 Avg Mbps: 844.622 4001 105150780 842.048 100.00% Conn: 1 Mbps: 842.048 Peak Mbps: 844.622 Avg Mbps: 842.048 5001 105580608 844.645 100.00% Conn: 1 Mbps: 844.645 Peak Mbps: 844.645 Avg Mbps: 844.645 --- fc00:0:0:1::12 tcpbench statistics --- 632049936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 835.997/842.364/844.645/3.333 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.186 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.186/0.186/0.186/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.256 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.256/0.256/0.256/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 187561460 1500.492 100.00% Conn: 1 Mbps: 1500.492 Peak Mbps: 1500.492 Avg Mbps: 1500.492 2000 187004536 1497.534 100.00% Conn: 1 Mbps: 1497.534 Peak Mbps: 1500.492 Avg Mbps: 1497.534 3000 187397140 1499.177 100.00% Conn: 1 Mbps: 1499.177 Peak Mbps: 1500.492 Avg Mbps: 1499.177 4000 186710104 1493.681 100.00% Conn: 1 Mbps: 1493.681 Peak Mbps: 1500.492 Avg Mbps: 1493.681 5000 186840968 1494.728 100.00% Conn: 1 Mbps: 1494.728 Peak Mbps: 1500.492 Avg Mbps: 1494.728 --- 169.254.0.13 tcpbench statistics --- 1122355176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1493.681/1497.122/1500.492/2.582 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 184668592 1477.349 100.00% Conn: 1 Mbps: 1477.349 Peak Mbps: 1477.349 Avg Mbps: 1477.349 2000 184013088 1473.578 100.00% Conn: 1 Mbps: 1473.578 Peak Mbps: 1477.349 Avg Mbps: 1473.578 3000 183882304 1471.058 100.00% Conn: 1 Mbps: 1471.058 Peak Mbps: 1477.349 Avg Mbps: 1471.058 4000 183555344 1468.443 100.00% Conn: 1 Mbps: 1468.443 Peak Mbps: 1477.349 Avg Mbps: 1468.443 5000 183718824 1469.751 100.00% Conn: 1 Mbps: 1469.751 Peak Mbps: 1477.349 Avg Mbps: 1469.751 --- fc00::13 tcpbench statistics --- 1103131928 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1468.443/1472.036/1477.349/3.153 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.246 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.246/0.246/0.246/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.296 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.296/0.296/0.296/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 40142904 320.822 100.00% Conn: 1 Mbps: 320.822 Peak Mbps: 320.822 Avg Mbps: 320.822 2002 40284808 321.957 100.00% Conn: 1 Mbps: 321.957 Peak Mbps: 321.957 Avg Mbps: 321.957 3002 40112496 321.221 100.00% Conn: 1 Mbps: 321.221 Peak Mbps: 321.957 Avg Mbps: 321.221 4003 40347072 322.454 100.00% Conn: 1 Mbps: 322.454 Peak Mbps: 322.454 Avg Mbps: 322.454 5005 40274672 321.876 100.00% Conn: 1 Mbps: 321.876 Peak Mbps: 322.454 Avg Mbps: 321.876 --- 169.254.1.11 tcpbench statistics --- 241193360 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 320.822/321.666/322.454/0.576 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 1002 65398992 522.148 100.00% Conn: 1 Mbps: 522.148 Peak Mbps: 522.148 Avg Mbps: 522.148 2002 64227904 514.338 100.00% Conn: 1 Mbps: 514.338 Peak Mbps: 522.148 Avg Mbps: 514.338 3003 64134408 512.563 100.00% Conn: 1 Mbps: 512.563 Peak Mbps: 522.148 Avg Mbps: 512.563 4004 64187096 512.984 100.00% Conn: 1 Mbps: 512.984 Peak Mbps: 522.148 Avg Mbps: 512.984 5006 64126368 512.498 100.00% Conn: 1 Mbps: 512.498 Peak Mbps: 522.148 Avg Mbps: 512.498 --- fc00:0:0:1::11 tcpbench statistics --- 385722256 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 512.498/514.906/522.148/3.681 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 8 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.183 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.183/0.183/0.183/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.253 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.253/0.253/0.253/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 189294706 1514.358 100.00% Conn: 1 Mbps: 1514.358 Peak Mbps: 1514.358 Avg Mbps: 1514.358 2000 187822448 1504.084 100.00% Conn: 1 Mbps: 1504.084 Peak Mbps: 1514.358 Avg Mbps: 1504.084 3000 188116892 1504.935 100.00% Conn: 1 Mbps: 1504.935 Peak Mbps: 1514.358 Avg Mbps: 1504.935 4000 187920596 1503.365 100.00% Conn: 1 Mbps: 1503.365 Peak Mbps: 1514.358 Avg Mbps: 1503.365 5000 188378620 1507.029 100.00% Conn: 1 Mbps: 1507.029 Peak Mbps: 1514.358 Avg Mbps: 1507.029 --- 169.254.1.12 tcpbench statistics --- 1129650154 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1503.365/1506.754/1514.358/3.995 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 186548576 1492.389 100.00% Conn: 1 Mbps: 1492.389 Peak Mbps: 1492.389 Avg Mbps: 1492.389 2000 185876760 1488.503 100.00% Conn: 1 Mbps: 1488.503 Peak Mbps: 1492.389 Avg Mbps: 1488.503 3000 185876760 1487.014 100.00% Conn: 1 Mbps: 1487.014 Peak Mbps: 1492.389 Avg Mbps: 1487.014 4000 185713280 1485.706 100.00% Conn: 1 Mbps: 1485.706 Peak Mbps: 1492.389 Avg Mbps: 1485.706 5000 186040240 1488.322 100.00% Conn: 1 Mbps: 1488.322 Peak Mbps: 1492.389 Avg Mbps: 1488.322 --- fc00:0:0:1::12 tcpbench statistics --- 1115866984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1485.706/1488.387/1492.389/2.241 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.177 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.177/0.177/0.177/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.242 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.242/0.242/0.242/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 190309606 1522.477 100.00% Conn: 1 Mbps: 1522.477 Peak Mbps: 1522.477 Avg Mbps: 1522.477 2000 190276148 1522.209 100.00% Conn: 1 Mbps: 1522.209 Peak Mbps: 1522.477 Avg Mbps: 1522.209 3000 190374296 1522.994 100.00% Conn: 1 Mbps: 1522.994 Peak Mbps: 1522.994 Avg Mbps: 1522.994 4000 189523680 1516.189 100.00% Conn: 1 Mbps: 1516.189 Peak Mbps: 1522.994 Avg Mbps: 1516.189 5000 190128926 1521.031 100.00% Conn: 1 Mbps: 1521.031 Peak Mbps: 1522.994 Avg Mbps: 1521.031 --- 169.254.0.13 tcpbench statistics --- 1140136336 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1516.189/1520.980/1522.994/2.480 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 192007836 1536.063 100.00% Conn: 1 Mbps: 1536.063 Peak Mbps: 1536.063 Avg Mbps: 1536.063 2000 190846552 1528.301 100.00% Conn: 1 Mbps: 1528.301 Peak Mbps: 1536.063 Avg Mbps: 1528.301 3000 190715768 1525.726 100.00% Conn: 1 Mbps: 1525.726 Peak Mbps: 1536.063 Avg Mbps: 1525.726 4000 190846552 1526.772 100.00% Conn: 1 Mbps: 1526.772 Peak Mbps: 1536.063 Avg Mbps: 1526.772 5000 190748464 1525.988 100.00% Conn: 1 Mbps: 1525.988 Peak Mbps: 1536.063 Avg Mbps: 1525.988 --- fc00::13 tcpbench statistics --- 1145946332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1525.726/1528.570/1536.063/3.852 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 1m59.24s