START sys/net/pair 2025-01-31T02:49:11Z ==== 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.091 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.091/0.091/0.091/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.074 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.074/0.074/0.074/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 271425816 2171.407 100.00% Conn: 1 Mbps: 2171.407 Peak Mbps: 2171.407 Avg Mbps: 2171.407 2000 215393116 1723.145 100.00% Conn: 1 Mbps: 1723.145 Peak Mbps: 2171.407 Avg Mbps: 1723.145 3000 292619044 2343.296 100.00% Conn: 1 Mbps: 2343.296 Peak Mbps: 2343.296 Avg Mbps: 2343.296 4000 358420460 2867.364 100.00% Conn: 1 Mbps: 2867.364 Peak Mbps: 2867.364 Avg Mbps: 2867.364 5000 375142156 3004.141 100.00% Conn: 1 Mbps: 3004.141 Peak Mbps: 3004.141 Avg Mbps: 3004.141 --- 169.254.1.11 tcpbench statistics --- 1892646988 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1723.145/2421.870/3004.141/467.895 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 353535008 2828.280 100.00% Conn: 1 Mbps: 2828.280 Peak Mbps: 2828.280 Avg Mbps: 2828.280 2000 336283936 2690.271 100.00% Conn: 1 Mbps: 2690.271 Peak Mbps: 2828.280 Avg Mbps: 2690.271 3000 367434584 2939.477 100.00% Conn: 1 Mbps: 2939.477 Peak Mbps: 2939.477 Avg Mbps: 2939.477 4000 348638080 2789.105 100.00% Conn: 1 Mbps: 2789.105 Peak Mbps: 2939.477 Avg Mbps: 2789.105 5001 361254568 2890.037 100.00% Conn: 1 Mbps: 2890.037 Peak Mbps: 2939.477 Avg Mbps: 2890.037 --- fc00:0:0:1::11 tcpbench statistics --- 2112494368 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2690.271/2827.434/2939.477/85.739 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.554 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.554/0.554/0.554/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 1001 192336824 1537.157 100.00% Conn: 1 Mbps: 1537.157 Peak Mbps: 1537.157 Avg Mbps: 1537.157 2001 204038256 1632.306 100.00% Conn: 1 Mbps: 1632.306 Peak Mbps: 1632.306 Avg Mbps: 1632.306 3002 207374360 1657.338 100.00% Conn: 1 Mbps: 1657.338 Peak Mbps: 1657.338 Avg Mbps: 1657.338 4003 209844584 1678.757 100.00% Conn: 1 Mbps: 1678.757 Peak Mbps: 1678.757 Avg Mbps: 1678.757 5004 209608296 1676.866 100.00% Conn: 1 Mbps: 1676.866 Peak Mbps: 1678.757 Avg Mbps: 1676.866 --- 169.254.1.12 tcpbench statistics --- 1235108768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1537.157/1636.485/1678.757/52.413 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 189607904 1515.348 100.00% Conn: 1 Mbps: 1515.348 Peak Mbps: 1515.348 Avg Mbps: 1515.348 2002 200223312 1600.186 100.00% Conn: 1 Mbps: 1600.186 Peak Mbps: 1600.186 Avg Mbps: 1600.186 3003 197362324 1578.899 100.00% Conn: 1 Mbps: 1578.899 Peak Mbps: 1600.186 Avg Mbps: 1578.899 4004 198845364 1590.763 100.00% Conn: 1 Mbps: 1590.763 Peak Mbps: 1600.186 Avg Mbps: 1590.763 5004 212087236 1696.698 100.00% Conn: 1 Mbps: 1696.698 Peak Mbps: 1696.698 Avg Mbps: 1696.698 --- fc00:0:0:1::12 tcpbench statistics --- 1206134340 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1515.348/1596.379/1696.698/58.278 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.483 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.483/0.483/0.483/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=1.305 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 1.305/1.305/1.305/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 1004 28897948 230.263 100.00% Conn: 1 Mbps: 230.263 Peak Mbps: 230.263 Avg Mbps: 230.263 2016 9020140 71.376 100.00% Conn: 1 Mbps: 71.376 Peak Mbps: 230.263 Avg Mbps: 71.376 3026 0 0.000 -nan% Conn: 1 Mbps: 0.000 Peak Mbps: 230.263 Avg Mbps: 0.000 4036 0 0.000 -nan% Conn: 1 Mbps: 0.000 Peak Mbps: 230.263 Avg Mbps: 0.000 5046 0 0.000 -nan% Conn: 1 Mbps: 0.000 Peak Mbps: 230.263 Avg Mbps: 0.000 --- 169.254.0.13 tcpbench statistics --- 38085276 bytes sent over 7.654 seconds bandwidth min/avg/max/std-dev = 0.000/60.328/230.263/89.351 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 285135208 2281.082 100.00% Conn: 1 Mbps: 2281.082 Peak Mbps: 2281.082 Avg Mbps: 2281.082 2000 320060392 2560.483 100.00% Conn: 1 Mbps: 2560.483 Peak Mbps: 2560.483 Avg Mbps: 2560.483 3000 338525488 2710.915 100.00% Conn: 1 Mbps: 2710.915 Peak Mbps: 2710.915 Avg Mbps: 2710.915 4001 363765640 2910.125 100.00% Conn: 1 Mbps: 2910.125 Peak Mbps: 2910.125 Avg Mbps: 2910.125 5001 331468136 2651.745 100.00% Conn: 1 Mbps: 2651.745 Peak Mbps: 2910.125 Avg Mbps: 2651.745 --- fc00::13 tcpbench statistics --- 2002479800 bytes sent over 5.943 seconds bandwidth min/avg/max/std-dev = 2281.082/2622.870/2910.125/205.822 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.075 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.075/0.075/0.075/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.086 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.086/0.086/0.086/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 219690864 1755.771 100.00% Conn: 1 Mbps: 1755.771 Peak Mbps: 1755.771 Avg Mbps: 1755.771 2002 226183000 1807.656 100.00% Conn: 1 Mbps: 1807.656 Peak Mbps: 1807.656 Avg Mbps: 1807.656 3002 225258672 1802.069 100.00% Conn: 1 Mbps: 1802.069 Peak Mbps: 1807.656 Avg Mbps: 1802.069 4002 225982856 1807.863 100.00% Conn: 1 Mbps: 1807.863 Peak Mbps: 1807.863 Avg Mbps: 1807.863 5005 115967144 925.885 100.00% Conn: 1 Mbps: 925.885 Peak Mbps: 1807.863 Avg Mbps: 925.885 --- 169.254.1.11 tcpbench statistics --- 1097364472 bytes sent over 6.004 seconds bandwidth min/avg/max/std-dev = 925.885/1619.849/1807.863/347.530 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 80720496 644.475 100.00% Conn: 1 Mbps: 644.475 Peak Mbps: 644.475 Avg Mbps: 644.475 2001 80561224 645.781 100.00% Conn: 1 Mbps: 645.781 Peak Mbps: 645.781 Avg Mbps: 645.781 3005 80515612 642.198 100.00% Conn: 1 Mbps: 642.198 Peak Mbps: 645.781 Avg Mbps: 642.198 4003 83964812 673.065 100.00% Conn: 1 Mbps: 673.065 Peak Mbps: 673.065 Avg Mbps: 673.065 5010 87766600 697.945 100.00% Conn: 1 Mbps: 697.945 Peak Mbps: 697.945 Avg Mbps: 697.945 --- fc00:0:0:1::11 tcpbench statistics --- 498083560 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 642.198/660.693/697.945/21.763 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.162 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.162/0.162/0.162/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.151 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.151/0.151/0.151/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 87718392 701.747 100.00% Conn: 1 Mbps: 701.747 Peak Mbps: 701.747 Avg Mbps: 701.747 2006 90395744 718.853 100.00% Conn: 1 Mbps: 718.853 Peak Mbps: 718.853 Avg Mbps: 718.853 3015 65852144 522.118 100.00% Conn: 1 Mbps: 522.118 Peak Mbps: 718.853 Avg Mbps: 522.118 4015 66833888 535.206 100.00% Conn: 1 Mbps: 535.206 Peak Mbps: 718.853 Avg Mbps: 535.206 5026 72702632 575.293 100.00% Conn: 1 Mbps: 575.293 Peak Mbps: 718.853 Avg Mbps: 575.293 --- 169.254.1.12 tcpbench statistics --- 455889768 bytes sent over 6.015 seconds bandwidth min/avg/max/std-dev = 522.118/610.643/718.853/83.410 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 1003 89505612 713.903 100.00% Conn: 1 Mbps: 713.903 Peak Mbps: 713.903 Avg Mbps: 713.903 2003 69429360 555.435 100.00% Conn: 1 Mbps: 555.435 Peak Mbps: 713.903 Avg Mbps: 555.435 3003 57492708 459.942 100.00% Conn: 1 Mbps: 459.942 Peak Mbps: 713.903 Avg Mbps: 459.942 4008 67785732 540.125 100.00% Conn: 1 Mbps: 540.125 Peak Mbps: 713.903 Avg Mbps: 540.125 5008 70323288 562.586 100.00% Conn: 1 Mbps: 562.586 Peak Mbps: 713.903 Avg Mbps: 562.586 --- fc00:0:0:1::12 tcpbench statistics --- 446080068 bytes sent over 6.014 seconds bandwidth min/avg/max/std-dev = 459.942/566.398/713.903/82.360 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.180 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.180/0.180/0.180/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.403 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.403/0.403/0.403/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 88791618 710.333 100.00% Conn: 1 Mbps: 710.333 Peak Mbps: 710.333 Avg Mbps: 710.333 2000 81675350 653.403 100.00% Conn: 1 Mbps: 653.403 Peak Mbps: 710.333 Avg Mbps: 653.403 3000 74559620 596.477 100.00% Conn: 1 Mbps: 596.477 Peak Mbps: 710.333 Avg Mbps: 596.477 4001 103513160 828.105 100.00% Conn: 1 Mbps: 828.105 Peak Mbps: 828.105 Avg Mbps: 828.105 5001 83540078 668.321 100.00% Conn: 1 Mbps: 668.321 Peak Mbps: 828.105 Avg Mbps: 668.321 --- 169.254.0.13 tcpbench statistics --- 520936386 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 596.477/691.328/828.105/77.503 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 115827344 926.619 100.00% Conn: 1 Mbps: 926.619 Peak Mbps: 926.619 Avg Mbps: 926.619 2000 74841144 598.729 100.00% Conn: 1 Mbps: 598.729 Peak Mbps: 926.619 Avg Mbps: 598.729 3000 80203288 641.626 100.00% Conn: 1 Mbps: 641.626 Peak Mbps: 926.619 Avg Mbps: 641.626 4000 157006192 1256.050 100.00% Conn: 1 Mbps: 1256.050 Peak Mbps: 1256.050 Avg Mbps: 1256.050 5000 275328492 2202.628 100.00% Conn: 1 Mbps: 2202.628 Peak Mbps: 2202.628 Avg Mbps: 2202.628 --- fc00::13 tcpbench statistics --- 779238492 bytes sent over 6.004 seconds bandwidth min/avg/max/std-dev = 598.729/1125.130/2202.628/587.949 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=2.273 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 2.273/2.273/2.273/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=12.652 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 = 12.652/12.652/12.652/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 1007 6093184 48.407 100.00% Conn: 1 Mbps: 48.407 Peak Mbps: 48.407 Avg Mbps: 48.407 2016 7687488 60.951 100.00% Conn: 1 Mbps: 60.951 Peak Mbps: 60.951 Avg Mbps: 60.951 3047 6013544 46.707 100.00% Conn: 1 Mbps: 46.707 Peak Mbps: 60.951 Avg Mbps: 46.707 4042 5965760 47.966 100.00% Conn: 1 Mbps: 47.966 Peak Mbps: 60.951 Avg Mbps: 47.966 5046 5256240 41.924 100.00% Conn: 1 Mbps: 41.924 Peak Mbps: 60.951 Avg Mbps: 41.924 --- 169.254.1.11 tcpbench statistics --- 37112296 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 41.924/49.191/60.951/6.315 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 1023 5882552 46.002 100.00% Conn: 1 Mbps: 46.002 Peak Mbps: 46.002 Avg Mbps: 46.002 2022 89788312 719.026 100.00% Conn: 1 Mbps: 719.026 Peak Mbps: 719.026 Avg Mbps: 719.026 3022 186120808 1488.966 100.00% Conn: 1 Mbps: 1488.966 Peak Mbps: 1488.966 Avg Mbps: 1488.966 4023 213078200 1702.923 100.00% Conn: 1 Mbps: 1702.923 Peak Mbps: 1702.923 Avg Mbps: 1702.923 5024 223357352 1786.859 100.00% Conn: 1 Mbps: 1786.859 Peak Mbps: 1786.859 Avg Mbps: 1786.859 --- fc00:0:0:1::11 tcpbench statistics --- 934821664 bytes sent over 5.961 seconds bandwidth min/avg/max/std-dev = 46.002/1148.755/1786.859/667.945 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.190 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.190/0.190/0.190/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.128 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.128/0.128/0.128/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 167818438 1342.548 100.00% Conn: 1 Mbps: 1342.548 Peak Mbps: 1342.548 Avg Mbps: 1342.548 2000 174016044 1392.128 100.00% Conn: 1 Mbps: 1392.128 Peak Mbps: 1392.128 Avg Mbps: 1392.128 3000 170041062 1360.328 100.00% Conn: 1 Mbps: 1360.328 Peak Mbps: 1392.128 Avg Mbps: 1360.328 4001 182914904 1463.319 100.00% Conn: 1 Mbps: 1463.319 Peak Mbps: 1463.319 Avg Mbps: 1463.319 5001 158901492 1271.212 100.00% Conn: 1 Mbps: 1271.212 Peak Mbps: 1463.319 Avg Mbps: 1271.212 --- 169.254.1.12 tcpbench statistics --- 1082311252 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1271.212/1365.907/1463.319/62.802 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 126274400 1010.195 100.00% Conn: 1 Mbps: 1010.195 Peak Mbps: 1010.195 Avg Mbps: 1010.195 2000 131339832 1051.770 100.00% Conn: 1 Mbps: 1051.770 Peak Mbps: 1051.770 Avg Mbps: 1051.770 3000 131405224 1051.242 100.00% Conn: 1 Mbps: 1051.242 Peak Mbps: 1051.770 Avg Mbps: 1051.242 4001 129574248 1036.594 100.00% Conn: 1 Mbps: 1036.594 Peak Mbps: 1051.770 Avg Mbps: 1036.594 5001 130294136 1043.396 100.00% Conn: 1 Mbps: 1043.396 Peak Mbps: 1051.770 Avg Mbps: 1043.396 --- fc00:0:0:1::12 tcpbench statistics --- 791311616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1010.195/1038.640/1051.770/15.278 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.152 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.152/0.152/0.152/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.178 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.178/0.178/0.178/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 159085498 1272.684 100.00% Conn: 1 Mbps: 1272.684 Peak Mbps: 1272.684 Avg Mbps: 1272.684 2000 130014104 1040.113 100.00% Conn: 1 Mbps: 1040.113 Peak Mbps: 1272.684 Avg Mbps: 1040.113 3000 110367126 883.821 100.00% Conn: 1 Mbps: 883.821 Peak Mbps: 1272.684 Avg Mbps: 883.821 4000 176224230 1409.794 100.00% Conn: 1 Mbps: 1409.794 Peak Mbps: 1409.794 Avg Mbps: 1409.794 5000 175668438 1405.348 100.00% Conn: 1 Mbps: 1405.348 Peak Mbps: 1409.794 Avg Mbps: 1405.348 --- 169.254.0.13 tcpbench statistics --- 920386534 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 883.821/1202.352/1409.794/208.312 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 178032024 1424.256 100.00% Conn: 1 Mbps: 1424.256 Peak Mbps: 1424.256 Avg Mbps: 1424.256 2000 179554692 1436.438 100.00% Conn: 1 Mbps: 1436.438 Peak Mbps: 1436.438 Avg Mbps: 1436.438 3000 169612228 1358.256 100.00% Conn: 1 Mbps: 1358.256 Peak Mbps: 1436.438 Avg Mbps: 1358.256 4000 175381344 1403.051 100.00% Conn: 1 Mbps: 1403.051 Peak Mbps: 1436.438 Avg Mbps: 1403.051 5000 168842144 1352.089 100.00% Conn: 1 Mbps: 1352.089 Peak Mbps: 1436.438 Avg Mbps: 1352.089 --- fc00::13 tcpbench statistics --- 1050302824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1352.089/1394.818/1436.438/34.144 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 1m54.46s