START sys/net/pair 2024-12-25T16:22:30Z ==== 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.037 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.037/0.037/0.037/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.043 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.043/0.043/0.043/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 599970676 4799.765 100.00% Conn: 1 Mbps: 4799.765 Peak Mbps: 4799.765 Avg Mbps: 4799.765 2000 600272700 4802.182 100.00% Conn: 1 Mbps: 4802.182 Peak Mbps: 4802.182 Avg Mbps: 4802.182 3000 600678048 4810.235 100.00% Conn: 1 Mbps: 4810.235 Peak Mbps: 4810.235 Avg Mbps: 4810.235 4000 599732236 4797.858 100.00% Conn: 1 Mbps: 4797.858 Peak Mbps: 4810.235 Avg Mbps: 4797.858 5000 601313888 4810.511 100.00% Conn: 1 Mbps: 4810.511 Peak Mbps: 4810.511 Avg Mbps: 4810.511 --- 169.254.1.11 tcpbench statistics --- 3603964964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4797.858/4804.110/4810.511/5.295 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 621436280 4971.490 100.00% Conn: 1 Mbps: 4971.490 Peak Mbps: 4971.490 Avg Mbps: 4971.490 2000 615609200 4929.803 100.00% Conn: 1 Mbps: 4929.803 Peak Mbps: 4971.490 Avg Mbps: 4929.803 3000 617805256 4942.442 100.00% Conn: 1 Mbps: 4942.442 Peak Mbps: 4971.490 Avg Mbps: 4942.442 4000 612279440 4903.139 100.00% Conn: 1 Mbps: 4903.139 Peak Mbps: 4971.490 Avg Mbps: 4903.139 5000 614348648 4919.709 100.00% Conn: 1 Mbps: 4919.709 Peak Mbps: 4971.490 Avg Mbps: 4919.709 --- fc00:0:0:1::11 tcpbench statistics --- 3694907824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4903.139/4933.317/4971.490/23.016 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.062 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.062/0.062/0.062/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.121 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.121/0.121/0.121/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 214373088 1713.271 100.00% Conn: 1 Mbps: 1713.271 Peak Mbps: 1713.271 Avg Mbps: 1713.271 2000 216478448 1733.561 100.00% Conn: 1 Mbps: 1733.561 Peak Mbps: 1733.561 Avg Mbps: 1733.561 3001 216838552 1732.975 100.00% Conn: 1 Mbps: 1732.975 Peak Mbps: 1733.561 Avg Mbps: 1732.975 4001 214586520 1718.411 100.00% Conn: 1 Mbps: 1718.411 Peak Mbps: 1733.561 Avg Mbps: 1718.411 5002 215166776 1721.334 100.00% Conn: 1 Mbps: 1721.334 Peak Mbps: 1733.561 Avg Mbps: 1721.334 --- 169.254.1.12 tcpbench statistics --- 1291314920 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1713.271/1723.911/1733.561/8.067 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 205866984 1645.291 100.00% Conn: 1 Mbps: 1645.291 Peak Mbps: 1645.291 Avg Mbps: 1645.291 2000 207554584 1662.099 100.00% Conn: 1 Mbps: 1662.099 Peak Mbps: 1662.099 Avg Mbps: 1662.099 3001 207564296 1658.856 100.00% Conn: 1 Mbps: 1658.856 Peak Mbps: 1662.099 Avg Mbps: 1658.856 4002 205530104 1644.241 100.00% Conn: 1 Mbps: 1644.241 Peak Mbps: 1662.099 Avg Mbps: 1644.241 5002 207636192 1661.090 100.00% Conn: 1 Mbps: 1661.090 Peak Mbps: 1662.099 Avg Mbps: 1661.090 --- fc00:0:0:1::12 tcpbench statistics --- 1240679956 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1644.241/1654.315/1662.099/7.874 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.067 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.067/0.067/0.067/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.070 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.070/0.070/0.070/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 341420416 2731.363 100.00% Conn: 1 Mbps: 2731.363 Peak Mbps: 2731.363 Avg Mbps: 2731.363 2000 340793084 2726.345 100.00% Conn: 1 Mbps: 2726.345 Peak Mbps: 2731.363 Avg Mbps: 2726.345 3000 339433276 2715.466 100.00% Conn: 1 Mbps: 2715.466 Peak Mbps: 2731.363 Avg Mbps: 2715.466 4000 341579656 2732.637 100.00% Conn: 1 Mbps: 2732.637 Peak Mbps: 2732.637 Avg Mbps: 2732.637 5001 340934468 2727.476 100.00% Conn: 1 Mbps: 2727.476 Peak Mbps: 2732.637 Avg Mbps: 2727.476 --- 169.254.0.13 tcpbench statistics --- 2047258344 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2715.466/2726.657/2732.637/6.065 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 308090528 2464.724 100.00% Conn: 1 Mbps: 2464.724 Peak Mbps: 2464.724 Avg Mbps: 2464.724 2000 306766552 2456.589 100.00% Conn: 1 Mbps: 2456.589 Peak Mbps: 2464.724 Avg Mbps: 2456.589 3000 309636488 2477.092 100.00% Conn: 1 Mbps: 2477.092 Peak Mbps: 2477.092 Avg Mbps: 2477.092 4000 307940936 2465.993 100.00% Conn: 1 Mbps: 2465.993 Peak Mbps: 2477.092 Avg Mbps: 2465.993 5000 308764408 2470.115 100.00% Conn: 1 Mbps: 2470.115 Peak Mbps: 2477.092 Avg Mbps: 2470.115 --- fc00::13 tcpbench statistics --- 1849456968 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2456.589/2466.903/2477.092/6.724 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.053 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.053/0.053/0.053/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.048 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.048/0.048/0.048/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 216569984 1732.560 100.00% Conn: 1 Mbps: 1732.560 Peak Mbps: 1732.560 Avg Mbps: 1732.560 2001 218808048 1750.464 100.00% Conn: 1 Mbps: 1750.464 Peak Mbps: 1750.464 Avg Mbps: 1750.464 3002 217846408 1742.771 100.00% Conn: 1 Mbps: 1742.771 Peak Mbps: 1750.464 Avg Mbps: 1742.771 4001 217435736 1741.227 100.00% Conn: 1 Mbps: 1741.227 Peak Mbps: 1750.464 Avg Mbps: 1741.227 5001 218402272 1747.218 100.00% Conn: 1 Mbps: 1747.218 Peak Mbps: 1750.464 Avg Mbps: 1747.218 --- 169.254.1.11 tcpbench statistics --- 1307576656 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1732.560/1742.848/1750.464/6.092 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 208284956 1666.280 100.00% Conn: 1 Mbps: 1666.280 Peak Mbps: 1666.280 Avg Mbps: 1666.280 2001 209669296 1677.354 100.00% Conn: 1 Mbps: 1677.354 Peak Mbps: 1677.354 Avg Mbps: 1677.354 3000 207289880 1659.979 100.00% Conn: 1 Mbps: 1659.979 Peak Mbps: 1677.354 Avg Mbps: 1659.979 4000 208324092 1666.593 100.00% Conn: 1 Mbps: 1666.593 Peak Mbps: 1677.354 Avg Mbps: 1666.593 5000 209445624 1675.565 100.00% Conn: 1 Mbps: 1675.565 Peak Mbps: 1677.354 Avg Mbps: 1675.565 --- fc00:0:0:1::11 tcpbench statistics --- 1251375648 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1659.979/1669.154/1677.354/6.440 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.048 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.048/0.048/0.048/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.045 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.045/0.045/0.045/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 577198864 4617.591 100.00% Conn: 1 Mbps: 4617.591 Peak Mbps: 4617.591 Avg Mbps: 4617.591 2000 568115560 4544.924 100.00% Conn: 1 Mbps: 4544.924 Peak Mbps: 4617.591 Avg Mbps: 4544.924 3000 565887144 4531.629 100.00% Conn: 1 Mbps: 4531.629 Peak Mbps: 4617.591 Avg Mbps: 4531.629 4000 567345224 4538.762 100.00% Conn: 1 Mbps: 4538.762 Peak Mbps: 4617.591 Avg Mbps: 4538.762 5000 566673352 4533.387 100.00% Conn: 1 Mbps: 4533.387 Peak Mbps: 4617.591 Avg Mbps: 4533.387 --- 169.254.1.12 tcpbench statistics --- 3412149792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4531.629/4553.259/4617.591/32.499 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 582445500 4659.564 100.00% Conn: 1 Mbps: 4659.564 Peak Mbps: 4659.564 Avg Mbps: 4659.564 2000 577207596 4622.283 100.00% Conn: 1 Mbps: 4622.283 Peak Mbps: 4659.564 Avg Mbps: 4622.283 3000 575686168 4605.489 100.00% Conn: 1 Mbps: 4605.489 Peak Mbps: 4659.564 Avg Mbps: 4605.489 4000 574865068 4603.524 100.00% Conn: 1 Mbps: 4603.524 Peak Mbps: 4659.564 Avg Mbps: 4603.524 5000 577501764 4620.014 100.00% Conn: 1 Mbps: 4620.014 Peak Mbps: 4659.564 Avg Mbps: 4620.014 --- fc00:0:0:1::12 tcpbench statistics --- 3469454732 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4603.524/4622.175/4659.564/20.144 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.048 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.048/0.048/0.048/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.052 ms --- fc00::13 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-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 1078645474 8629.164 100.00% Conn: 1 Mbps: 8629.164 Peak Mbps: 8629.164 Avg Mbps: 8629.164 2000 1077517818 8628.771 100.00% Conn: 1 Mbps: 8628.771 Peak Mbps: 8629.164 Avg Mbps: 8628.771 3000 1082686946 8661.496 100.00% Conn: 1 Mbps: 8661.496 Peak Mbps: 8661.496 Avg Mbps: 8661.496 4000 1078957322 8631.659 100.00% Conn: 1 Mbps: 8631.659 Peak Mbps: 8661.496 Avg Mbps: 8631.659 5000 1075800228 8606.402 100.00% Conn: 1 Mbps: 8606.402 Peak Mbps: 8661.496 Avg Mbps: 8606.402 --- 169.254.0.13 tcpbench statistics --- 6473579306 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8606.402/8631.498/8661.496/17.565 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 1070306764 8562.454 100.00% Conn: 1 Mbps: 8562.454 Peak Mbps: 8562.454 Avg Mbps: 8562.454 2000 1059317704 8483.025 100.00% Conn: 1 Mbps: 8483.025 Peak Mbps: 8562.454 Avg Mbps: 8483.025 3000 1050391696 8403.134 100.00% Conn: 1 Mbps: 8403.134 Peak Mbps: 8562.454 Avg Mbps: 8403.134 4000 1059285008 8474.280 100.00% Conn: 1 Mbps: 8474.280 Peak Mbps: 8562.454 Avg Mbps: 8474.280 5000 1060363976 8482.912 100.00% Conn: 1 Mbps: 8482.912 Peak Mbps: 8562.454 Avg Mbps: 8482.912 --- fc00::13 tcpbench statistics --- 6352312868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8403.134/8481.161/8562.454/50.499 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.048 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.048/0.048/0.048/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.059 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.059/0.059/0.059/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 213309480 1706.476 100.00% Conn: 1 Mbps: 1706.476 Peak Mbps: 1706.476 Avg Mbps: 1706.476 2000 212685400 1701.483 100.00% Conn: 1 Mbps: 1701.483 Peak Mbps: 1706.476 Avg Mbps: 1701.483 3000 212077624 1696.621 100.00% Conn: 1 Mbps: 1696.621 Peak Mbps: 1706.476 Avg Mbps: 1696.621 4000 212869120 1702.953 100.00% Conn: 1 Mbps: 1702.953 Peak Mbps: 1706.476 Avg Mbps: 1702.953 5001 212177752 1695.726 100.00% Conn: 1 Mbps: 1695.726 Peak Mbps: 1706.476 Avg Mbps: 1695.726 --- 169.254.1.11 tcpbench statistics --- 1275333608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1695.726/1700.652/1706.476/4.010 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 316487304 2531.898 100.00% Conn: 1 Mbps: 2531.898 Peak Mbps: 2531.898 Avg Mbps: 2531.898 2000 312314688 2501.019 100.00% Conn: 1 Mbps: 2501.019 Peak Mbps: 2531.898 Avg Mbps: 2501.019 3001 314164224 2513.314 100.00% Conn: 1 Mbps: 2513.314 Peak Mbps: 2531.898 Avg Mbps: 2513.314 4001 313172032 2505.376 100.00% Conn: 1 Mbps: 2505.376 Peak Mbps: 2531.898 Avg Mbps: 2505.376 5001 311221560 2489.772 100.00% Conn: 1 Mbps: 2489.772 Peak Mbps: 2531.898 Avg Mbps: 2489.772 --- fc00:0:0:1::11 tcpbench statistics --- 1881028864 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2489.772/2508.276/2531.898/14.049 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.059 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.059/0.059/0.059/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.052 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.052/0.052/0.052/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 1073379900 8587.039 100.00% Conn: 1 Mbps: 8587.039 Peak Mbps: 8587.039 Avg Mbps: 8587.039 2000 1071808876 8583.054 100.00% Conn: 1 Mbps: 8583.054 Peak Mbps: 8587.039 Avg Mbps: 8583.054 3000 1074066280 8592.530 100.00% Conn: 1 Mbps: 8592.530 Peak Mbps: 8592.530 Avg Mbps: 8592.530 4000 1074687884 8597.503 100.00% Conn: 1 Mbps: 8597.503 Peak Mbps: 8597.503 Avg Mbps: 8597.503 5000 1075996524 8607.972 100.00% Conn: 1 Mbps: 8607.972 Peak Mbps: 8607.972 Avg Mbps: 8607.972 --- 169.254.1.12 tcpbench statistics --- 6435434152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8583.054/8593.620/8607.972/8.686 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 1047108700 8376.870 100.00% Conn: 1 Mbps: 8376.870 Peak Mbps: 8376.870 Avg Mbps: 8376.870 2000 1033978304 8280.107 100.00% Conn: 1 Mbps: 8280.107 Peak Mbps: 8376.870 Avg Mbps: 8280.107 3000 1036005456 8288.044 100.00% Conn: 1 Mbps: 8288.044 Peak Mbps: 8376.870 Avg Mbps: 8288.044 4000 1035384232 8283.074 100.00% Conn: 1 Mbps: 8283.074 Peak Mbps: 8376.870 Avg Mbps: 8283.074 5000 1031591496 8252.732 100.00% Conn: 1 Mbps: 8252.732 Peak Mbps: 8376.870 Avg Mbps: 8252.732 --- fc00:0:0:1::12 tcpbench statistics --- 6219844772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8252.732/8296.165/8376.870/42.178 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.052 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.052/0.052/0.052/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.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-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 1134807938 9078.464 100.00% Conn: 1 Mbps: 9078.464 Peak Mbps: 9078.464 Avg Mbps: 9078.464 2000 1141657536 9142.403 100.00% Conn: 1 Mbps: 9142.403 Peak Mbps: 9142.403 Avg Mbps: 9142.403 3000 1142344572 9138.757 100.00% Conn: 1 Mbps: 9138.757 Peak Mbps: 9142.403 Avg Mbps: 9138.757 4000 1144176668 9153.413 100.00% Conn: 1 Mbps: 9153.413 Peak Mbps: 9153.413 Avg Mbps: 9153.413 5000 1140185316 9121.483 100.00% Conn: 1 Mbps: 9121.483 Peak Mbps: 9153.413 Avg Mbps: 9121.483 --- 169.254.0.13 tcpbench statistics --- 6840461980 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9078.464/9126.904/9153.413/26.303 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 1090681628 8725.453 100.00% Conn: 1 Mbps: 8725.453 Peak Mbps: 8725.453 Avg Mbps: 8725.453 2000 1090019248 8728.883 100.00% Conn: 1 Mbps: 8728.883 Peak Mbps: 8728.883 Avg Mbps: 8728.883 3000 1091098216 8728.786 100.00% Conn: 1 Mbps: 8728.786 Peak Mbps: 8728.883 Avg Mbps: 8728.786 4000 1094465904 8755.727 100.00% Conn: 1 Mbps: 8755.727 Peak Mbps: 8755.727 Avg Mbps: 8755.727 5000 1088744104 8709.953 100.00% Conn: 1 Mbps: 8709.953 Peak Mbps: 8755.727 Avg Mbps: 8709.953 --- fc00::13 tcpbench statistics --- 6540156644 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8709.953/8729.760/8755.727/14.744 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 1m52.79s