START sys/net/pair 2025-01-02T02:44:47Z ==== 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.038 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.038/0.038/0.038/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.045 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.045/0.045/0.045/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 1039956060 8319.648 100.00% Conn: 1 Mbps: 8319.648 Peak Mbps: 8319.648 Avg Mbps: 8319.648 2000 1038938716 8319.830 100.00% Conn: 1 Mbps: 8319.830 Peak Mbps: 8319.830 Avg Mbps: 8319.830 3000 1041275428 8330.203 100.00% Conn: 1 Mbps: 8330.203 Peak Mbps: 8330.203 Avg Mbps: 8330.203 4000 1040583952 8324.672 100.00% Conn: 1 Mbps: 8324.672 Peak Mbps: 8330.203 Avg Mbps: 8324.672 5000 1038970508 8311.764 100.00% Conn: 1 Mbps: 8311.764 Peak Mbps: 8330.203 Avg Mbps: 8311.764 --- 169.254.1.11 tcpbench statistics --- 6237312220 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8311.764/8321.223/8330.203/6.106 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 1056754832 8454.039 100.00% Conn: 1 Mbps: 8454.039 Peak Mbps: 8454.039 Avg Mbps: 8454.039 2000 1052663984 8429.742 100.00% Conn: 1 Mbps: 8429.742 Peak Mbps: 8454.039 Avg Mbps: 8429.742 3000 1050206304 8410.060 100.00% Conn: 1 Mbps: 8410.060 Peak Mbps: 8454.039 Avg Mbps: 8410.060 4000 1049310440 8394.484 100.00% Conn: 1 Mbps: 8394.484 Peak Mbps: 8454.039 Avg Mbps: 8394.484 5000 1050198376 8401.587 100.00% Conn: 1 Mbps: 8401.587 Peak Mbps: 8454.039 Avg Mbps: 8401.587 --- fc00:0:0:1::11 tcpbench statistics --- 6311361880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8394.484/8417.982/8454.039/21.550 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.066 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.066/0.066/0.066/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.124 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.124/0.124/0.124/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 360002488 2877.143 100.00% Conn: 1 Mbps: 2877.143 Peak Mbps: 2877.143 Avg Mbps: 2877.143 2001 370360488 2962.884 100.00% Conn: 1 Mbps: 2962.884 Peak Mbps: 2962.884 Avg Mbps: 2962.884 3002 370321704 2962.574 100.00% Conn: 1 Mbps: 2962.574 Peak Mbps: 2962.884 Avg Mbps: 2962.574 4002 371393072 2971.145 100.00% Conn: 1 Mbps: 2971.145 Peak Mbps: 2971.145 Avg Mbps: 2971.145 5003 370928432 2967.427 100.00% Conn: 1 Mbps: 2967.427 Peak Mbps: 2971.145 Avg Mbps: 2967.427 --- 169.254.1.12 tcpbench statistics --- 2211857344 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2877.143/2948.234/2971.145/35.686 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 345796036 2763.605 100.00% Conn: 1 Mbps: 2763.605 Peak Mbps: 2763.605 Avg Mbps: 2763.605 2001 356707280 2853.658 100.00% Conn: 1 Mbps: 2853.658 Peak Mbps: 2853.658 Avg Mbps: 2853.658 3001 355504352 2844.035 100.00% Conn: 1 Mbps: 2844.035 Peak Mbps: 2853.658 Avg Mbps: 2844.035 4002 356392332 2851.139 100.00% Conn: 1 Mbps: 2851.139 Peak Mbps: 2853.658 Avg Mbps: 2851.139 5003 357608092 2860.865 100.00% Conn: 1 Mbps: 2860.865 Peak Mbps: 2860.865 Avg Mbps: 2860.865 --- fc00:0:0:1::12 tcpbench statistics --- 2128203444 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2763.605/2834.660/2860.865/35.933 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.058 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.058/0.058/0.058/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.067 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.067/0.067/0.067/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 743288872 5946.311 100.00% Conn: 1 Mbps: 5946.311 Peak Mbps: 5946.311 Avg Mbps: 5946.311 2001 773260920 6186.087 100.00% Conn: 1 Mbps: 6186.087 Peak Mbps: 6186.087 Avg Mbps: 6186.087 3001 770311004 6162.488 100.00% Conn: 1 Mbps: 6162.488 Peak Mbps: 6186.087 Avg Mbps: 6162.488 4001 775962680 6207.701 100.00% Conn: 1 Mbps: 6207.701 Peak Mbps: 6207.701 Avg Mbps: 6207.701 5001 779230568 6233.845 100.00% Conn: 1 Mbps: 6233.845 Peak Mbps: 6233.845 Avg Mbps: 6233.845 --- 169.254.0.13 tcpbench statistics --- 4622197792 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5946.311/6147.286/6233.845/103.218 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 661115920 5288.927 100.00% Conn: 1 Mbps: 5288.927 Peak Mbps: 5288.927 Avg Mbps: 5288.927 2000 688578512 5508.628 100.00% Conn: 1 Mbps: 5508.628 Peak Mbps: 5508.628 Avg Mbps: 5508.628 3000 686497376 5491.979 100.00% Conn: 1 Mbps: 5491.979 Peak Mbps: 5508.628 Avg Mbps: 5491.979 4000 688737072 5509.897 100.00% Conn: 1 Mbps: 5509.897 Peak Mbps: 5509.897 Avg Mbps: 5509.897 5001 685907296 5487.258 100.00% Conn: 1 Mbps: 5487.258 Peak Mbps: 5509.897 Avg Mbps: 5487.258 --- fc00::13 tcpbench statistics --- 4098471256 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5288.927/5457.338/5509.897/84.676 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.041 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.041/0.041/0.041/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.052 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.052/0.052/0.052/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 353206320 2825.651 100.00% Conn: 1 Mbps: 2825.651 Peak Mbps: 2825.651 Avg Mbps: 2825.651 2002 363259448 2903.172 100.00% Conn: 1 Mbps: 2903.172 Peak Mbps: 2903.172 Avg Mbps: 2903.172 3002 361769864 2894.159 100.00% Conn: 1 Mbps: 2894.159 Peak Mbps: 2903.172 Avg Mbps: 2894.159 4002 363384392 2907.075 100.00% Conn: 1 Mbps: 2907.075 Peak Mbps: 2907.075 Avg Mbps: 2907.075 5002 360895744 2887.166 100.00% Conn: 1 Mbps: 2887.166 Peak Mbps: 2907.075 Avg Mbps: 2887.166 --- 169.254.1.11 tcpbench statistics --- 2162588368 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2825.651/2883.445/2907.075/29.720 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 343404108 2747.233 100.00% Conn: 1 Mbps: 2747.233 Peak Mbps: 2747.233 Avg Mbps: 2747.233 2001 352503860 2820.031 100.00% Conn: 1 Mbps: 2820.031 Peak Mbps: 2820.031 Avg Mbps: 2820.031 3001 353317412 2826.539 100.00% Conn: 1 Mbps: 2826.539 Peak Mbps: 2826.539 Avg Mbps: 2826.539 4001 353030620 2827.072 100.00% Conn: 1 Mbps: 2827.072 Peak Mbps: 2827.072 Avg Mbps: 2827.072 5002 350259716 2802.078 100.00% Conn: 1 Mbps: 2802.078 Peak Mbps: 2827.072 Avg Mbps: 2802.078 --- fc00:0:0:1::11 tcpbench statistics --- 2101959008 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2747.233/2804.591/2827.072/30.073 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.039 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.039/0.039/0.039/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.044 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.044/0.044/0.044/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 990240864 7921.927 100.00% Conn: 1 Mbps: 7921.927 Peak Mbps: 7921.927 Avg Mbps: 7921.927 2000 986384840 7898.978 100.00% Conn: 1 Mbps: 7898.978 Peak Mbps: 7921.927 Avg Mbps: 7898.978 3000 988086240 7904.690 100.00% Conn: 1 Mbps: 7904.690 Peak Mbps: 7921.927 Avg Mbps: 7904.690 4000 986761320 7894.091 100.00% Conn: 1 Mbps: 7894.091 Peak Mbps: 7921.927 Avg Mbps: 7894.091 5000 988148504 7905.188 100.00% Conn: 1 Mbps: 7905.188 Peak Mbps: 7921.927 Avg Mbps: 7905.188 --- 169.254.1.12 tcpbench statistics --- 5924561504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7894.091/7904.975/7921.927/9.401 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 982175544 7857.404 100.00% Conn: 1 Mbps: 7857.404 Peak Mbps: 7857.404 Avg Mbps: 7857.404 2000 972765024 7789.910 100.00% Conn: 1 Mbps: 7789.910 Peak Mbps: 7857.404 Avg Mbps: 7789.910 3000 966494676 7731.957 100.00% Conn: 1 Mbps: 7731.957 Peak Mbps: 7857.404 Avg Mbps: 7731.957 4000 962674776 7701.398 100.00% Conn: 1 Mbps: 7701.398 Peak Mbps: 7857.404 Avg Mbps: 7701.398 5000 962476284 7699.810 100.00% Conn: 1 Mbps: 7699.810 Peak Mbps: 7857.404 Avg Mbps: 7699.810 --- fc00:0:0:1::12 tcpbench statistics --- 5811343104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7699.810/7756.096/7857.404/60.248 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.042 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.042/0.042/0.042/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.046 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/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 1354418096 10835.345 100.00% Conn: 1 Mbps: 10835.345 Peak Mbps: 10835.345 Avg Mbps: 10835.345 2000 1371045770 10979.346 100.00% Conn: 1 Mbps: 10979.346 Peak Mbps: 10979.346 Avg Mbps: 10979.346 3000 1366514604 10932.117 100.00% Conn: 1 Mbps: 10932.117 Peak Mbps: 10979.346 Avg Mbps: 10932.117 4000 1366923554 10935.388 100.00% Conn: 1 Mbps: 10935.388 Peak Mbps: 10979.346 Avg Mbps: 10935.388 5000 1360723872 10885.791 100.00% Conn: 1 Mbps: 10885.791 Peak Mbps: 10979.346 Avg Mbps: 10885.791 --- 169.254.0.13 tcpbench statistics --- 8162666770 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10835.345/10913.597/10979.346/49.066 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 1386705628 11093.645 100.00% Conn: 1 Mbps: 11093.645 Peak Mbps: 11093.645 Avg Mbps: 11093.645 2000 1389808872 11129.601 100.00% Conn: 1 Mbps: 11129.601 Peak Mbps: 11129.601 Avg Mbps: 11129.601 3000 1387847112 11102.777 100.00% Conn: 1 Mbps: 11102.777 Peak Mbps: 11129.601 Avg Mbps: 11102.777 4000 1390070440 11120.564 100.00% Conn: 1 Mbps: 11120.564 Peak Mbps: 11129.601 Avg Mbps: 11120.564 5000 1389939656 11119.517 100.00% Conn: 1 Mbps: 11119.517 Peak Mbps: 11129.601 Avg Mbps: 11119.517 --- fc00::13 tcpbench statistics --- 8334442148 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11093.645/11113.221/11129.601/13.070 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.046 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.046/0.046/0.046/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.055 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.055/0.055/0.055/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 1000 355111720 2840.894 100.00% Conn: 1 Mbps: 2840.894 Peak Mbps: 2840.894 Avg Mbps: 2840.894 2001 363227440 2905.820 100.00% Conn: 1 Mbps: 2905.820 Peak Mbps: 2905.820 Avg Mbps: 2905.820 3001 362506248 2900.050 100.00% Conn: 1 Mbps: 2900.050 Peak Mbps: 2905.820 Avg Mbps: 2900.050 4001 364137608 2913.101 100.00% Conn: 1 Mbps: 2913.101 Peak Mbps: 2913.101 Avg Mbps: 2913.101 5002 364775776 2918.206 100.00% Conn: 1 Mbps: 2918.206 Peak Mbps: 2918.206 Avg Mbps: 2918.206 --- 169.254.1.11 tcpbench statistics --- 2172161052 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2840.894/2895.614/2918.206/28.051 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 766275048 6130.200 100.00% Conn: 1 Mbps: 6130.200 Peak Mbps: 6130.200 Avg Mbps: 6130.200 2000 816083392 6528.667 100.00% Conn: 1 Mbps: 6528.667 Peak Mbps: 6528.667 Avg Mbps: 6528.667 3000 810755888 6486.047 100.00% Conn: 1 Mbps: 6486.047 Peak Mbps: 6528.667 Avg Mbps: 6486.047 4001 809643616 6477.149 100.00% Conn: 1 Mbps: 6477.149 Peak Mbps: 6528.667 Avg Mbps: 6477.149 5001 814346560 6514.772 100.00% Conn: 1 Mbps: 6514.772 Peak Mbps: 6528.667 Avg Mbps: 6514.772 --- fc00:0:0:1::11 tcpbench statistics --- 4824269344 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6130.200/6427.367/6528.667/149.754 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.042 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.042/0.042/0.042/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.048 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.048/0.048/0.048/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 1359073334 10872.587 100.00% Conn: 1 Mbps: 10872.587 Peak Mbps: 10872.587 Avg Mbps: 10872.587 2000 1360004120 10890.924 100.00% Conn: 1 Mbps: 10890.924 Peak Mbps: 10890.924 Avg Mbps: 10890.924 3000 1359987762 10879.902 100.00% Conn: 1 Mbps: 10879.902 Peak Mbps: 10890.924 Avg Mbps: 10879.902 4000 1364715224 10917.722 100.00% Conn: 1 Mbps: 10917.722 Peak Mbps: 10917.722 Avg Mbps: 10917.722 5000 1359513380 10876.107 100.00% Conn: 1 Mbps: 10876.107 Peak Mbps: 10917.722 Avg Mbps: 10876.107 --- 169.254.1.12 tcpbench statistics --- 8137697670 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10872.587/10887.448/10917.722/16.340 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 1392114372 11136.915 100.00% Conn: 1 Mbps: 11136.915 Peak Mbps: 11136.915 Avg Mbps: 11136.915 2000 1370910584 10978.263 100.00% Conn: 1 Mbps: 10978.263 Peak Mbps: 11136.915 Avg Mbps: 10978.263 3000 1384969864 11079.759 100.00% Conn: 1 Mbps: 11079.759 Peak Mbps: 11136.915 Avg Mbps: 11079.759 4000 1385460304 11083.682 100.00% Conn: 1 Mbps: 11083.682 Peak Mbps: 11136.915 Avg Mbps: 11083.682 5000 1386146920 11089.175 100.00% Conn: 1 Mbps: 11089.175 Peak Mbps: 11136.915 Avg Mbps: 11089.175 --- fc00:0:0:1::12 tcpbench statistics --- 8304473820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10978.263/11073.559/11136.915/51.923 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.039 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.039/0.039/0.039/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.044 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/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 1363073652 10904.589 100.00% Conn: 1 Mbps: 10904.589 Peak Mbps: 10904.589 Avg Mbps: 10904.589 2000 1360282206 10893.151 100.00% Conn: 1 Mbps: 10893.151 Peak Mbps: 10904.589 Avg Mbps: 10893.151 3000 1343793342 10750.347 100.00% Conn: 1 Mbps: 10750.347 Peak Mbps: 10904.589 Avg Mbps: 10750.347 4000 1347882842 10783.063 100.00% Conn: 1 Mbps: 10783.063 Peak Mbps: 10904.589 Avg Mbps: 10783.063 5000 1350794566 10806.357 100.00% Conn: 1 Mbps: 10806.357 Peak Mbps: 10904.589 Avg Mbps: 10806.357 --- 169.254.0.13 tcpbench statistics --- 8121283204 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10750.347/10827.501/10904.589/61.036 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 1361080068 10888.641 100.00% Conn: 1 Mbps: 10888.641 Peak Mbps: 10888.641 Avg Mbps: 10888.641 2000 1357243656 10868.818 100.00% Conn: 1 Mbps: 10868.818 Peak Mbps: 10888.641 Avg Mbps: 10868.818 3000 1360644040 10885.152 100.00% Conn: 1 Mbps: 10885.152 Peak Mbps: 10888.641 Avg Mbps: 10885.152 4000 1358518800 10868.150 100.00% Conn: 1 Mbps: 10868.150 Peak Mbps: 10888.641 Avg Mbps: 10868.150 5000 1359728552 10877.828 100.00% Conn: 1 Mbps: 10877.828 Peak Mbps: 10888.641 Avg Mbps: 10877.828 --- fc00::13 tcpbench statistics --- 8160442140 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10868.150/10877.718/10888.641/8.311 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 1m51.93s