START sys/net/pair 2024-12-15T05:00:16Z ==== 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.045 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 578391856 4627.135 100.00% Conn: 1 Mbps: 4627.135 Peak Mbps: 4627.135 Avg Mbps: 4627.135 2000 573281292 4590.841 100.00% Conn: 1 Mbps: 4590.841 Peak Mbps: 4627.135 Avg Mbps: 4590.841 3000 574552972 4596.424 100.00% Conn: 1 Mbps: 4596.424 Peak Mbps: 4627.135 Avg Mbps: 4596.424 4000 574751672 4602.616 100.00% Conn: 1 Mbps: 4602.616 Peak Mbps: 4627.135 Avg Mbps: 4602.616 5000 574751672 4598.013 100.00% Conn: 1 Mbps: 4598.013 Peak Mbps: 4627.135 Avg Mbps: 4598.013 --- 169.254.1.11 tcpbench statistics --- 3451530272 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4590.841/4603.006/4627.135/12.638 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 560525456 4484.204 100.00% Conn: 1 Mbps: 4484.204 Peak Mbps: 4484.204 Avg Mbps: 4484.204 2000 558662376 4473.773 100.00% Conn: 1 Mbps: 4473.773 Peak Mbps: 4484.204 Avg Mbps: 4473.773 3000 560105272 4480.842 100.00% Conn: 1 Mbps: 4480.842 Peak Mbps: 4484.204 Avg Mbps: 4480.842 4000 559938784 4479.510 100.00% Conn: 1 Mbps: 4479.510 Peak Mbps: 4484.204 Avg Mbps: 4479.510 5000 559653376 4477.227 100.00% Conn: 1 Mbps: 4477.227 Peak Mbps: 4484.204 Avg Mbps: 4477.227 --- fc00:0:0:1::11 tcpbench statistics --- 3358602064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4473.773/4479.111/4484.204/3.497 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.082 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.082/0.082/0.082/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.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-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 1000 217738576 1741.909 100.00% Conn: 1 Mbps: 1741.909 Peak Mbps: 1741.909 Avg Mbps: 1741.909 2000 218683312 1751.218 100.00% Conn: 1 Mbps: 1751.218 Peak Mbps: 1751.218 Avg Mbps: 1751.218 3000 218524720 1748.198 100.00% Conn: 1 Mbps: 1748.198 Peak Mbps: 1751.218 Avg Mbps: 1748.198 4001 218030016 1744.240 100.00% Conn: 1 Mbps: 1744.240 Peak Mbps: 1751.218 Avg Mbps: 1744.240 5001 217521768 1741.916 100.00% Conn: 1 Mbps: 1741.916 Peak Mbps: 1751.218 Avg Mbps: 1741.916 --- 169.254.1.12 tcpbench statistics --- 1309085488 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1741.909/1745.496/1751.218/3.669 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 1000 209757500 1678.060 100.00% Conn: 1 Mbps: 1678.060 Peak Mbps: 1678.060 Avg Mbps: 1678.060 2000 210701208 1687.297 100.00% Conn: 1 Mbps: 1687.297 Peak Mbps: 1687.297 Avg Mbps: 1687.297 3000 210732228 1685.858 100.00% Conn: 1 Mbps: 1685.858 Peak Mbps: 1687.297 Avg Mbps: 1685.858 4000 209328108 1674.625 100.00% Conn: 1 Mbps: 1674.625 Peak Mbps: 1687.297 Avg Mbps: 1674.625 5001 211487316 1691.899 100.00% Conn: 1 Mbps: 1691.899 Peak Mbps: 1691.899 Avg Mbps: 1691.899 --- fc00:0:0:1::12 tcpbench statistics --- 1262308816 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1674.625/1683.548/1691.899/6.307 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.068 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.068/0.068/0.068/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.067 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.067/0.067/0.067/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 317649628 2541.197 100.00% Conn: 1 Mbps: 2541.197 Peak Mbps: 2541.197 Avg Mbps: 2541.197 2000 319112060 2555.452 100.00% Conn: 1 Mbps: 2555.452 Peak Mbps: 2555.452 Avg Mbps: 2555.452 3000 317609888 2540.879 100.00% Conn: 1 Mbps: 2540.879 Peak Mbps: 2555.452 Avg Mbps: 2540.879 4000 315686612 2525.493 100.00% Conn: 1 Mbps: 2525.493 Peak Mbps: 2555.452 Avg Mbps: 2525.493 5000 310234144 2481.873 100.00% Conn: 1 Mbps: 2481.873 Peak Mbps: 2555.452 Avg Mbps: 2481.873 --- 169.254.0.13 tcpbench statistics --- 1890041508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2481.873/2528.979/2555.452/25.388 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 286224584 2289.797 100.00% Conn: 1 Mbps: 2289.797 Peak Mbps: 2289.797 Avg Mbps: 2289.797 2000 285859896 2289.168 100.00% Conn: 1 Mbps: 2289.168 Peak Mbps: 2289.797 Avg Mbps: 2289.168 3000 286652696 2295.517 100.00% Conn: 1 Mbps: 2295.517 Peak Mbps: 2295.517 Avg Mbps: 2295.517 4000 289031096 2312.249 100.00% Conn: 1 Mbps: 2312.249 Peak Mbps: 2312.249 Avg Mbps: 2312.249 5000 288507848 2308.063 100.00% Conn: 1 Mbps: 2308.063 Peak Mbps: 2312.249 Avg Mbps: 2308.063 --- fc00::13 tcpbench statistics --- 1725846320 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2289.168/2298.959/2312.249/9.499 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.049 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.049/0.049/0.049/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.047 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.047/0.047/0.047/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 219898688 1759.190 100.00% Conn: 1 Mbps: 1759.190 Peak Mbps: 1759.190 Avg Mbps: 1759.190 2001 220233408 1761.867 100.00% Conn: 1 Mbps: 1761.867 Peak Mbps: 1761.867 Avg Mbps: 1761.867 3001 219332768 1754.662 100.00% Conn: 1 Mbps: 1754.662 Peak Mbps: 1761.867 Avg Mbps: 1754.662 4001 218631936 1749.055 100.00% Conn: 1 Mbps: 1749.055 Peak Mbps: 1761.867 Avg Mbps: 1749.055 5001 219428392 1757.184 100.00% Conn: 1 Mbps: 1757.184 Peak Mbps: 1761.867 Avg Mbps: 1757.184 --- 169.254.1.11 tcpbench statistics --- 1316401896 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1749.055/1756.392/1761.867/4.365 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 210796756 1686.374 100.00% Conn: 1 Mbps: 1686.374 Peak Mbps: 1686.374 Avg Mbps: 1686.374 2001 210845452 1685.079 100.00% Conn: 1 Mbps: 1685.079 Peak Mbps: 1686.374 Avg Mbps: 1685.079 3001 209277040 1675.892 100.00% Conn: 1 Mbps: 1675.892 Peak Mbps: 1686.374 Avg Mbps: 1675.892 4001 209326372 1674.611 100.00% Conn: 1 Mbps: 1674.611 Peak Mbps: 1686.374 Avg Mbps: 1674.611 5002 210360400 1682.883 100.00% Conn: 1 Mbps: 1682.883 Peak Mbps: 1686.374 Avg Mbps: 1682.883 --- fc00:0:0:1::11 tcpbench statistics --- 1261101216 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1674.611/1680.968/1686.374/4.816 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.044 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-2-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 572827352 4582.619 100.00% Conn: 1 Mbps: 4582.619 Peak Mbps: 4582.619 Avg Mbps: 4582.619 2000 570984048 4572.445 100.00% Conn: 1 Mbps: 4572.445 Peak Mbps: 4582.619 Avg Mbps: 4572.445 3000 569472336 4555.779 100.00% Conn: 1 Mbps: 4555.779 Peak Mbps: 4582.619 Avg Mbps: 4555.779 4000 569182736 4553.462 100.00% Conn: 1 Mbps: 4553.462 Peak Mbps: 4582.619 Avg Mbps: 4553.462 5000 569966104 4559.729 100.00% Conn: 1 Mbps: 4559.729 Peak Mbps: 4582.619 Avg Mbps: 4559.729 --- 169.254.1.12 tcpbench statistics --- 3421220008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4553.462/4564.807/4582.619/11.060 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 560985516 4487.884 100.00% Conn: 1 Mbps: 4487.884 Peak Mbps: 4487.884 Avg Mbps: 4487.884 2000 557858196 4467.333 100.00% Conn: 1 Mbps: 4467.333 Peak Mbps: 4487.884 Avg Mbps: 4467.333 3000 557484060 4459.872 100.00% Conn: 1 Mbps: 4459.872 Peak Mbps: 4487.884 Avg Mbps: 4459.872 4000 556875732 4455.006 100.00% Conn: 1 Mbps: 4455.006 Peak Mbps: 4487.884 Avg Mbps: 4455.006 5000 558422256 4467.378 100.00% Conn: 1 Mbps: 4467.378 Peak Mbps: 4487.884 Avg Mbps: 4467.378 --- fc00:0:0:1::12 tcpbench statistics --- 3350573520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4455.006/4467.495/4487.884/11.224 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.058 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.058/0.058/0.058/0.000 ms ==== run-ping6-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 1073298508 8586.388 100.00% Conn: 1 Mbps: 8586.388 Peak Mbps: 8586.388 Avg Mbps: 8586.388 2000 1068668140 8557.903 100.00% Conn: 1 Mbps: 8557.903 Peak Mbps: 8586.388 Avg Mbps: 8557.903 3000 1069224312 8553.794 100.00% Conn: 1 Mbps: 8553.794 Peak Mbps: 8586.388 Avg Mbps: 8553.794 4000 1068144684 8545.157 100.00% Conn: 1 Mbps: 8545.157 Peak Mbps: 8586.388 Avg Mbps: 8545.157 5000 1065167528 8521.340 100.00% Conn: 1 Mbps: 8521.340 Peak Mbps: 8586.388 Avg Mbps: 8521.340 --- 169.254.0.13 tcpbench statistics --- 6411339216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8521.340/8552.917/8586.388/20.992 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 1042104628 8336.837 100.00% Conn: 1 Mbps: 8336.837 Peak Mbps: 8336.837 Avg Mbps: 8336.837 2000 1033324384 8274.870 100.00% Conn: 1 Mbps: 8274.870 Peak Mbps: 8336.837 Avg Mbps: 8274.870 3000 1034534136 8276.273 100.00% Conn: 1 Mbps: 8276.273 Peak Mbps: 8336.837 Avg Mbps: 8276.273 4000 1037476776 8299.814 100.00% Conn: 1 Mbps: 8299.814 Peak Mbps: 8336.837 Avg Mbps: 8299.814 5000 1040288632 8322.309 100.00% Conn: 1 Mbps: 8322.309 Peak Mbps: 8336.837 Avg Mbps: 8322.309 --- fc00::13 tcpbench statistics --- 6229586596 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8274.870/8302.021/8336.837/24.612 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.062 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.062/0.062/0.062/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.056 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.056/0.056/0.056/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 214761536 1718.092 100.00% Conn: 1 Mbps: 1718.092 Peak Mbps: 1718.092 Avg Mbps: 1718.092 2000 216072808 1728.582 100.00% Conn: 1 Mbps: 1728.582 Peak Mbps: 1728.582 Avg Mbps: 1728.582 3000 216001968 1728.016 100.00% Conn: 1 Mbps: 1728.016 Peak Mbps: 1728.582 Avg Mbps: 1728.016 4001 214120640 1712.965 100.00% Conn: 1 Mbps: 1712.965 Peak Mbps: 1728.582 Avg Mbps: 1712.965 5001 216086144 1728.689 100.00% Conn: 1 Mbps: 1728.689 Peak Mbps: 1728.689 Avg Mbps: 1728.689 --- 169.254.1.11 tcpbench statistics --- 1292097536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1712.965/1723.269/1728.689/6.529 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 1001 307073352 2454.133 100.00% Conn: 1 Mbps: 2454.133 Peak Mbps: 2454.133 Avg Mbps: 2454.133 2000 304913296 2441.748 100.00% Conn: 1 Mbps: 2441.748 Peak Mbps: 2454.133 Avg Mbps: 2441.748 3001 305194304 2441.554 100.00% Conn: 1 Mbps: 2441.554 Peak Mbps: 2454.133 Avg Mbps: 2441.554 4001 305284472 2442.276 100.00% Conn: 1 Mbps: 2442.276 Peak Mbps: 2454.133 Avg Mbps: 2442.276 5002 307739512 2461.916 100.00% Conn: 1 Mbps: 2461.916 Peak Mbps: 2461.916 Avg Mbps: 2461.916 --- fc00:0:0:1::11 tcpbench statistics --- 1835326304 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2441.554/2448.325/2461.916/8.296 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.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-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 1057142446 8457.140 100.00% Conn: 1 Mbps: 8457.140 Peak Mbps: 8457.140 Avg Mbps: 8457.140 2000 1054796556 8446.819 100.00% Conn: 1 Mbps: 8446.819 Peak Mbps: 8457.140 Avg Mbps: 8446.819 3000 1056661368 8453.291 100.00% Conn: 1 Mbps: 8453.291 Peak Mbps: 8457.140 Avg Mbps: 8453.291 4000 1057806428 8462.451 100.00% Conn: 1 Mbps: 8462.451 Peak Mbps: 8462.451 Avg Mbps: 8462.451 5000 1057642848 8461.143 100.00% Conn: 1 Mbps: 8461.143 Peak Mbps: 8462.451 Avg Mbps: 8461.143 --- 169.254.1.12 tcpbench statistics --- 6338486326 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8446.819/8456.169/8462.451/5.672 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 1023345764 8186.766 100.00% Conn: 1 Mbps: 8186.766 Peak Mbps: 8186.766 Avg Mbps: 8186.766 2000 1030839488 8254.971 100.00% Conn: 1 Mbps: 8254.971 Peak Mbps: 8254.971 Avg Mbps: 8254.971 3000 1030185568 8241.485 100.00% Conn: 1 Mbps: 8241.485 Peak Mbps: 8254.971 Avg Mbps: 8241.485 4000 1030577920 8244.623 100.00% Conn: 1 Mbps: 8244.623 Peak Mbps: 8254.971 Avg Mbps: 8244.623 5000 1031591496 8252.732 100.00% Conn: 1 Mbps: 8252.732 Peak Mbps: 8254.971 Avg Mbps: 8252.732 --- fc00:0:0:1::12 tcpbench statistics --- 6176431540 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8186.766/8236.115/8254.971/25.172 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.050 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.050/0.050/0.050/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.056 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/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 1116570684 8932.565 100.00% Conn: 1 Mbps: 8932.565 Peak Mbps: 8932.565 Avg Mbps: 8932.565 2000 1120130408 8970.013 100.00% Conn: 1 Mbps: 8970.013 Peak Mbps: 8970.013 Avg Mbps: 8970.013 3000 1115615600 8924.925 100.00% Conn: 1 Mbps: 8924.925 Peak Mbps: 8970.013 Avg Mbps: 8924.925 4000 1117971152 8943.769 100.00% Conn: 1 Mbps: 8943.769 Peak Mbps: 8970.013 Avg Mbps: 8943.769 5000 1121242752 8969.942 100.00% Conn: 1 Mbps: 8969.942 Peak Mbps: 8970.013 Avg Mbps: 8969.942 --- 169.254.0.13 tcpbench statistics --- 6711517526 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8924.925/8948.243/8970.013/18.731 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 1077980996 8623.848 100.00% Conn: 1 Mbps: 8623.848 Peak Mbps: 8623.848 Avg Mbps: 8623.848 2000 1082433776 8668.138 100.00% Conn: 1 Mbps: 8668.138 Peak Mbps: 8668.138 Avg Mbps: 8668.138 3000 1081256720 8650.054 100.00% Conn: 1 Mbps: 8650.054 Peak Mbps: 8668.138 Avg Mbps: 8650.054 4000 1079883488 8639.068 100.00% Conn: 1 Mbps: 8639.068 Peak Mbps: 8668.138 Avg Mbps: 8639.068 5000 1079556528 8636.452 100.00% Conn: 1 Mbps: 8636.452 Peak Mbps: 8668.138 Avg Mbps: 8636.452 --- fc00::13 tcpbench statistics --- 6482073964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8623.848/8643.512/8668.138/14.870 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.86s