START sys/net/pair 2025-02-15T06:41:32Z ==== 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.139 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.139/0.139/0.139/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.190 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.190/0.190/0.190/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 293153892 2345.231 100.00% Conn: 1 Mbps: 2345.231 Peak Mbps: 2345.231 Avg Mbps: 2345.231 2000 317377996 2541.566 100.00% Conn: 1 Mbps: 2541.566 Peak Mbps: 2541.566 Avg Mbps: 2541.566 3000 318063064 2544.505 100.00% Conn: 1 Mbps: 2544.505 Peak Mbps: 2544.505 Avg Mbps: 2544.505 4000 319722656 2557.781 100.00% Conn: 1 Mbps: 2557.781 Peak Mbps: 2557.781 Avg Mbps: 2557.781 5000 320228528 2561.828 100.00% Conn: 1 Mbps: 2561.828 Peak Mbps: 2561.828 Avg Mbps: 2561.828 --- 169.254.1.11 tcpbench statistics --- 1885074816 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2345.231/2510.182/2561.828/82.831 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 321425944 2571.408 100.00% Conn: 1 Mbps: 2571.408 Peak Mbps: 2571.408 Avg Mbps: 2571.408 2000 310761744 2488.583 100.00% Conn: 1 Mbps: 2488.583 Peak Mbps: 2571.408 Avg Mbps: 2488.583 3000 318111000 2544.888 100.00% Conn: 1 Mbps: 2544.888 Peak Mbps: 2571.408 Avg Mbps: 2544.888 4000 318624112 2548.993 100.00% Conn: 1 Mbps: 2548.993 Peak Mbps: 2571.408 Avg Mbps: 2548.993 5000 317460904 2539.687 100.00% Conn: 1 Mbps: 2539.687 Peak Mbps: 2571.408 Avg Mbps: 2539.687 --- fc00:0:0:1::11 tcpbench statistics --- 1905479208 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2488.583/2538.712/2571.408/27.301 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.197 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.197/0.197/0.197/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.172 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.172/0.172/0.172/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 1002 215999960 1724.551 100.00% Conn: 1 Mbps: 1724.551 Peak Mbps: 1724.551 Avg Mbps: 1724.551 2002 229196248 1833.570 100.00% Conn: 1 Mbps: 1833.570 Peak Mbps: 1833.570 Avg Mbps: 1833.570 3002 251396096 2011.169 100.00% Conn: 1 Mbps: 2011.169 Peak Mbps: 2011.169 Avg Mbps: 2011.169 4003 241440904 1931.527 100.00% Conn: 1 Mbps: 1931.527 Peak Mbps: 2011.169 Avg Mbps: 1931.527 5004 234563200 1874.631 100.00% Conn: 1 Mbps: 1874.631 Peak Mbps: 2011.169 Avg Mbps: 1874.631 --- 169.254.1.12 tcpbench statistics --- 1398020176 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1724.551/1875.090/2011.169/96.009 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 1002 227095808 1813.140 100.00% Conn: 1 Mbps: 1813.140 Peak Mbps: 1813.140 Avg Mbps: 1813.140 2002 227501028 1820.008 100.00% Conn: 1 Mbps: 1820.008 Peak Mbps: 1820.008 Avg Mbps: 1820.008 3003 198688504 1587.920 100.00% Conn: 1 Mbps: 1587.920 Peak Mbps: 1820.008 Avg Mbps: 1587.920 4004 205276632 1642.213 100.00% Conn: 1 Mbps: 1642.213 Peak Mbps: 1820.008 Avg Mbps: 1642.213 5004 232999684 1863.997 100.00% Conn: 1 Mbps: 1863.997 Peak Mbps: 1863.997 Avg Mbps: 1863.997 --- fc00:0:0:1::12 tcpbench statistics --- 1339287736 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1587.920/1745.456/1863.997/109.241 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.185 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.185/0.185/0.185/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.111 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.111/0.111/0.111/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 536544376 4292.355 100.00% Conn: 1 Mbps: 4292.355 Peak Mbps: 4292.355 Avg Mbps: 4292.355 2000 617940684 4943.525 100.00% Conn: 1 Mbps: 4943.525 Peak Mbps: 4943.525 Avg Mbps: 4943.525 3001 568702684 4549.621 100.00% Conn: 1 Mbps: 4549.621 Peak Mbps: 4943.525 Avg Mbps: 4549.621 4000 609897868 4884.067 100.00% Conn: 1 Mbps: 4884.067 Peak Mbps: 4943.525 Avg Mbps: 4884.067 5001 562725508 4501.804 100.00% Conn: 1 Mbps: 4501.804 Peak Mbps: 4943.525 Avg Mbps: 4501.804 --- 169.254.0.13 tcpbench statistics --- 3431408704 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4292.355/4634.275/4943.525/244.808 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 1001 431046400 3444.926 100.00% Conn: 1 Mbps: 3444.926 Peak Mbps: 3444.926 Avg Mbps: 3444.926 2001 500471896 4003.775 100.00% Conn: 1 Mbps: 4003.775 Peak Mbps: 4003.775 Avg Mbps: 4003.775 3001 489075856 3912.607 100.00% Conn: 1 Mbps: 3912.607 Peak Mbps: 4003.775 Avg Mbps: 3912.607 4002 479121248 3832.970 100.00% Conn: 1 Mbps: 3832.970 Peak Mbps: 4003.775 Avg Mbps: 3832.970 5002 489285232 3918.200 100.00% Conn: 1 Mbps: 3918.200 Peak Mbps: 4003.775 Avg Mbps: 3918.200 --- fc00::13 tcpbench statistics --- 2856013768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3444.926/3822.496/4003.775/196.372 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.162 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.162/0.162/0.162/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.125 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.125/0.125/0.125/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 208460464 1666.018 100.00% Conn: 1 Mbps: 1666.018 Peak Mbps: 1666.018 Avg Mbps: 1666.018 2002 239337472 1914.700 100.00% Conn: 1 Mbps: 1914.700 Peak Mbps: 1914.700 Avg Mbps: 1914.700 3003 244506200 1954.096 100.00% Conn: 1 Mbps: 1954.096 Peak Mbps: 1954.096 Avg Mbps: 1954.096 4004 223151000 1785.208 100.00% Conn: 1 Mbps: 1785.208 Peak Mbps: 1954.096 Avg Mbps: 1785.208 5004 215528296 1724.226 100.00% Conn: 1 Mbps: 1724.226 Peak Mbps: 1954.096 Avg Mbps: 1724.226 --- 169.254.1.11 tcpbench statistics --- 1351707560 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1666.018/1808.849/1954.096/109.929 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 218326988 1744.871 100.00% Conn: 1 Mbps: 1744.871 Peak Mbps: 1744.871 Avg Mbps: 1744.871 2001 200323084 1602.585 100.00% Conn: 1 Mbps: 1602.585 Peak Mbps: 1744.871 Avg Mbps: 1602.585 3002 213161504 1705.292 100.00% Conn: 1 Mbps: 1705.292 Peak Mbps: 1744.871 Avg Mbps: 1705.292 4002 229404580 1835.237 100.00% Conn: 1 Mbps: 1835.237 Peak Mbps: 1835.237 Avg Mbps: 1835.237 5003 231913768 1855.310 100.00% Conn: 1 Mbps: 1855.310 Peak Mbps: 1855.310 Avg Mbps: 1855.310 --- fc00:0:0:1::11 tcpbench statistics --- 1329321668 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1602.585/1748.659/1855.310/91.764 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.134 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.134/0.134/0.134/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.087 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.087/0.087/0.087/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 316490808 2531.926 100.00% Conn: 1 Mbps: 2531.926 Peak Mbps: 2531.926 Avg Mbps: 2531.926 2000 319113136 2555.461 100.00% Conn: 1 Mbps: 2555.461 Peak Mbps: 2555.461 Avg Mbps: 2555.461 3000 321381880 2571.055 100.00% Conn: 1 Mbps: 2571.055 Peak Mbps: 2571.055 Avg Mbps: 2571.055 4000 322474728 2582.380 100.00% Conn: 1 Mbps: 2582.380 Peak Mbps: 2582.380 Avg Mbps: 2582.380 5000 319127616 2553.021 100.00% Conn: 1 Mbps: 2553.021 Peak Mbps: 2582.380 Avg Mbps: 2553.021 --- 169.254.1.12 tcpbench statistics --- 1919754856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2531.926/2558.769/2582.380/17.164 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 318268356 2546.147 100.00% Conn: 1 Mbps: 2546.147 Peak Mbps: 2546.147 Avg Mbps: 2546.147 2000 316439908 2534.053 100.00% Conn: 1 Mbps: 2534.053 Peak Mbps: 2546.147 Avg Mbps: 2534.053 3000 324741012 2597.928 100.00% Conn: 1 Mbps: 2597.928 Peak Mbps: 2597.928 Avg Mbps: 2597.928 4000 322816140 2582.529 100.00% Conn: 1 Mbps: 2582.529 Peak Mbps: 2597.928 Avg Mbps: 2582.529 5000 320176164 2561.409 100.00% Conn: 1 Mbps: 2561.409 Peak Mbps: 2597.928 Avg Mbps: 2561.409 --- fc00:0:0:1::12 tcpbench statistics --- 1923936904 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2534.053/2564.413/2597.928/23.306 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.151 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.151/0.151/0.151/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.082 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.082/0.082/0.082/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 501506006 4012.048 100.00% Conn: 1 Mbps: 4012.048 Peak Mbps: 4012.048 Avg Mbps: 4012.048 2000 503352018 4030.847 100.00% Conn: 1 Mbps: 4030.847 Peak Mbps: 4030.847 Avg Mbps: 4030.847 3000 512512486 4100.100 100.00% Conn: 1 Mbps: 4100.100 Peak Mbps: 4100.100 Avg Mbps: 4100.100 4000 511089352 4088.715 100.00% Conn: 1 Mbps: 4088.715 Peak Mbps: 4100.100 Avg Mbps: 4088.715 5000 510762192 4086.098 100.00% Conn: 1 Mbps: 4086.098 Peak Mbps: 4100.100 Avg Mbps: 4086.098 --- 169.254.0.13 tcpbench statistics --- 3049787950 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4012.048/4063.561/4100.100/35.212 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 493369020 3946.952 100.00% Conn: 1 Mbps: 3946.952 Peak Mbps: 3946.952 Avg Mbps: 3946.952 2000 496783024 3978.242 100.00% Conn: 1 Mbps: 3978.242 Peak Mbps: 3978.242 Avg Mbps: 3978.242 3000 499269072 3994.153 100.00% Conn: 1 Mbps: 3994.153 Peak Mbps: 3994.153 Avg Mbps: 3994.153 4000 488837896 3910.703 100.00% Conn: 1 Mbps: 3910.703 Peak Mbps: 3994.153 Avg Mbps: 3910.703 5000 489006560 3912.052 100.00% Conn: 1 Mbps: 3912.052 Peak Mbps: 3994.153 Avg Mbps: 3912.052 --- fc00::13 tcpbench statistics --- 2953062740 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3910.703/3948.421/3994.153/33.847 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.150 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.150/0.150/0.150/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.140 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.140/0.140/0.140/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 236449904 1889.710 100.00% Conn: 1 Mbps: 1889.710 Peak Mbps: 1889.710 Avg Mbps: 1889.710 2001 232818584 1862.549 100.00% Conn: 1 Mbps: 1862.549 Peak Mbps: 1889.710 Avg Mbps: 1862.549 3002 232575560 1858.746 100.00% Conn: 1 Mbps: 1858.746 Peak Mbps: 1889.710 Avg Mbps: 1858.746 4002 233682024 1871.328 100.00% Conn: 1 Mbps: 1871.328 Peak Mbps: 1889.710 Avg Mbps: 1871.328 5003 235923816 1887.391 100.00% Conn: 1 Mbps: 1887.391 Peak Mbps: 1889.710 Avg Mbps: 1887.391 --- 169.254.1.11 tcpbench statistics --- 1391716824 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 1858.746/1873.944/1889.710/12.626 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 407783536 3262.268 100.00% Conn: 1 Mbps: 3262.268 Peak Mbps: 3262.268 Avg Mbps: 3262.268 2000 423226248 3385.810 100.00% Conn: 1 Mbps: 3385.810 Peak Mbps: 3385.810 Avg Mbps: 3385.810 3000 410625032 3288.289 100.00% Conn: 1 Mbps: 3288.289 Peak Mbps: 3385.810 Avg Mbps: 3288.289 4001 426401016 3411.208 100.00% Conn: 1 Mbps: 3411.208 Peak Mbps: 3411.208 Avg Mbps: 3411.208 5001 425590896 3404.727 100.00% Conn: 1 Mbps: 3404.727 Peak Mbps: 3411.208 Avg Mbps: 3404.727 --- fc00:0:0:1::11 tcpbench statistics --- 2523859192 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3262.268/3350.460/3411.208/62.495 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.123 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.123/0.123/0.123/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.102 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.102/0.102/0.102/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 495650784 3965.206 100.00% Conn: 1 Mbps: 3965.206 Peak Mbps: 3965.206 Avg Mbps: 3965.206 2000 489447718 3919.501 100.00% Conn: 1 Mbps: 3919.501 Peak Mbps: 3965.206 Avg Mbps: 3919.501 3000 482385222 3859.082 100.00% Conn: 1 Mbps: 3859.082 Peak Mbps: 3965.206 Avg Mbps: 3859.082 4000 486617784 3892.942 100.00% Conn: 1 Mbps: 3892.942 Peak Mbps: 3965.206 Avg Mbps: 3892.942 5000 487078720 3896.630 100.00% Conn: 1 Mbps: 3896.630 Peak Mbps: 3965.206 Avg Mbps: 3896.630 --- 169.254.1.12 tcpbench statistics --- 2935469914 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3859.082/3906.672/3965.206/35.057 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 486600680 3892.805 100.00% Conn: 1 Mbps: 3892.805 Peak Mbps: 3892.805 Avg Mbps: 3892.805 2000 487383500 3902.971 100.00% Conn: 1 Mbps: 3902.971 Peak Mbps: 3902.971 Avg Mbps: 3902.971 3000 494821264 3958.570 100.00% Conn: 1 Mbps: 3958.570 Peak Mbps: 3958.570 Avg Mbps: 3958.570 4000 491964396 3935.715 100.00% Conn: 1 Mbps: 3935.715 Peak Mbps: 3958.570 Avg Mbps: 3935.715 5000 490832352 3926.659 100.00% Conn: 1 Mbps: 3926.659 Peak Mbps: 3958.570 Avg Mbps: 3926.659 --- fc00:0:0:1::12 tcpbench statistics --- 2934411132 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3892.805/3923.344/3958.570/23.463 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.126 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.126/0.126/0.126/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.101 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.101/0.101/0.101/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 488323568 3906.589 100.00% Conn: 1 Mbps: 3906.589 Peak Mbps: 3906.589 Avg Mbps: 3906.589 2000 504811196 4042.532 100.00% Conn: 1 Mbps: 4042.532 Peak Mbps: 4042.532 Avg Mbps: 4042.532 3000 511612808 4092.902 100.00% Conn: 1 Mbps: 4092.902 Peak Mbps: 4092.902 Avg Mbps: 4092.902 4000 498052442 3984.420 100.00% Conn: 1 Mbps: 3984.420 Peak Mbps: 4092.902 Avg Mbps: 3984.420 5000 499867764 3998.942 100.00% Conn: 1 Mbps: 3998.942 Peak Mbps: 4092.902 Avg Mbps: 3998.942 --- 169.254.0.13 tcpbench statistics --- 2999346148 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3906.589/4005.077/4092.902/62.098 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 500234052 4001.872 100.00% Conn: 1 Mbps: 4001.872 Peak Mbps: 4001.872 Avg Mbps: 4001.872 2000 506461040 4055.744 100.00% Conn: 1 Mbps: 4055.744 Peak Mbps: 4055.744 Avg Mbps: 4055.744 3000 508553584 4068.429 100.00% Conn: 1 Mbps: 4068.429 Peak Mbps: 4068.429 Avg Mbps: 4068.429 4000 510188384 4081.507 100.00% Conn: 1 Mbps: 4081.507 Peak Mbps: 4081.507 Avg Mbps: 4081.507 5000 511496224 4091.970 100.00% Conn: 1 Mbps: 4091.970 Peak Mbps: 4091.970 Avg Mbps: 4091.970 --- fc00::13 tcpbench statistics --- 3053599508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4001.872/4059.904/4091.970/31.472 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 1m55.03s