START sys/net/pair 2024-09-05T04:06:09Z ==== 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.054 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.054/0.054/0.054/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.052 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/0.000 ms ==== run-tcpbench-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 586331908 4690.655 100.00% Conn: 1 Mbps: 4690.655 Peak Mbps: 4690.655 Avg Mbps: 4690.655 2000 585600692 4689.495 100.00% Conn: 1 Mbps: 4689.495 Peak Mbps: 4690.655 Avg Mbps: 4689.495 3000 582659932 4661.279 100.00% Conn: 1 Mbps: 4661.279 Peak Mbps: 4690.655 Avg Mbps: 4661.279 4000 584782048 4678.256 100.00% Conn: 1 Mbps: 4678.256 Peak Mbps: 4690.655 Avg Mbps: 4678.256 5000 583303720 4666.430 100.00% Conn: 1 Mbps: 4666.430 Peak Mbps: 4690.655 Avg Mbps: 4666.430 --- 169.254.1.11 tcpbench statistics --- 3506752976 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4661.279/4677.223/4690.655/11.856 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 574486664 4595.893 100.00% Conn: 1 Mbps: 4595.893 Peak Mbps: 4595.893 Avg Mbps: 4595.893 2000 572599800 4585.384 100.00% Conn: 1 Mbps: 4585.384 Peak Mbps: 4595.893 Avg Mbps: 4585.384 3000 570102480 4560.820 100.00% Conn: 1 Mbps: 4560.820 Peak Mbps: 4595.893 Avg Mbps: 4560.820 4000 569309680 4554.477 100.00% Conn: 1 Mbps: 4554.477 Peak Mbps: 4595.893 Avg Mbps: 4554.477 5000 569658512 4557.268 100.00% Conn: 1 Mbps: 4557.268 Peak Mbps: 4595.893 Avg Mbps: 4557.268 --- fc00:0:0:1::11 tcpbench statistics --- 3426188264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4554.477/4570.768/4595.893/16.682 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.147 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.147/0.147/0.147/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 217855320 1742.843 100.00% Conn: 1 Mbps: 1742.843 Peak Mbps: 1742.843 Avg Mbps: 1742.843 2000 217261656 1738.093 100.00% Conn: 1 Mbps: 1738.093 Peak Mbps: 1742.843 Avg Mbps: 1738.093 3001 217945112 1743.561 100.00% Conn: 1 Mbps: 1743.561 Peak Mbps: 1743.561 Avg Mbps: 1743.561 4001 218317640 1748.289 100.00% Conn: 1 Mbps: 1748.289 Peak Mbps: 1748.289 Avg Mbps: 1748.289 5001 219764184 1758.113 100.00% Conn: 1 Mbps: 1758.113 Peak Mbps: 1758.113 Avg Mbps: 1758.113 --- 169.254.1.12 tcpbench statistics --- 1310629304 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1738.093/1746.180/1758.113/6.786 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 207766744 1662.134 100.00% Conn: 1 Mbps: 1662.134 Peak Mbps: 1662.134 Avg Mbps: 1662.134 2001 208483548 1666.202 100.00% Conn: 1 Mbps: 1666.202 Peak Mbps: 1666.202 Avg Mbps: 1666.202 3001 208287564 1667.968 100.00% Conn: 1 Mbps: 1667.968 Peak Mbps: 1667.968 Avg Mbps: 1667.968 4001 210364752 1682.918 100.00% Conn: 1 Mbps: 1682.918 Peak Mbps: 1682.918 Avg Mbps: 1682.918 5002 208592760 1668.742 100.00% Conn: 1 Mbps: 1668.742 Peak Mbps: 1682.918 Avg Mbps: 1668.742 --- fc00:0:0:1::12 tcpbench statistics --- 1249565616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1662.134/1669.593/1682.918/7.043 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.066 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.066/0.066/0.066/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.079 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.079/0.079/0.079/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 311481980 2491.856 100.00% Conn: 1 Mbps: 2491.856 Peak Mbps: 2491.856 Avg Mbps: 2491.856 2000 309606392 2476.851 100.00% Conn: 1 Mbps: 2476.851 Peak Mbps: 2491.856 Avg Mbps: 2476.851 3000 310003792 2480.030 100.00% Conn: 1 Mbps: 2480.030 Peak Mbps: 2491.856 Avg Mbps: 2480.030 4000 309399744 2475.198 100.00% Conn: 1 Mbps: 2475.198 Peak Mbps: 2491.856 Avg Mbps: 2475.198 5000 305680080 2445.441 100.00% Conn: 1 Mbps: 2445.441 Peak Mbps: 2491.856 Avg Mbps: 2445.441 --- 169.254.0.13 tcpbench statistics --- 1851828224 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2445.441/2473.875/2491.856/15.364 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 292757256 2342.058 100.00% Conn: 1 Mbps: 2342.058 Peak Mbps: 2342.058 Avg Mbps: 2342.058 2000 290838680 2329.038 100.00% Conn: 1 Mbps: 2329.038 Peak Mbps: 2342.058 Avg Mbps: 2329.038 3000 293454920 2347.639 100.00% Conn: 1 Mbps: 2347.639 Peak Mbps: 2347.639 Avg Mbps: 2347.639 4000 292722296 2341.778 100.00% Conn: 1 Mbps: 2341.778 Peak Mbps: 2347.639 Avg Mbps: 2341.778 5000 294969168 2359.753 100.00% Conn: 1 Mbps: 2359.753 Peak Mbps: 2359.753 Avg Mbps: 2359.753 --- fc00::13 tcpbench statistics --- 1759748400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2329.038/2344.054/2359.753/9.939 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.058 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.058/0.058/0.058/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.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-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 222028272 1776.226 100.00% Conn: 1 Mbps: 1776.226 Peak Mbps: 1776.226 Avg Mbps: 1776.226 2001 221841504 1774.732 100.00% Conn: 1 Mbps: 1774.732 Peak Mbps: 1776.226 Avg Mbps: 1774.732 3001 220450992 1763.608 100.00% Conn: 1 Mbps: 1763.608 Peak Mbps: 1776.226 Avg Mbps: 1763.608 4001 219711192 1757.690 100.00% Conn: 1 Mbps: 1757.690 Peak Mbps: 1776.226 Avg Mbps: 1757.690 5002 222108584 1776.869 100.00% Conn: 1 Mbps: 1776.869 Peak Mbps: 1776.869 Avg Mbps: 1776.869 --- 169.254.1.11 tcpbench statistics --- 1325447304 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1757.690/1769.825/1776.869/7.754 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 211097912 1688.783 100.00% Conn: 1 Mbps: 1688.783 Peak Mbps: 1688.783 Avg Mbps: 1688.783 2000 213135368 1705.083 100.00% Conn: 1 Mbps: 1705.083 Peak Mbps: 1705.083 Avg Mbps: 1705.083 3001 210172964 1681.384 100.00% Conn: 1 Mbps: 1681.384 Peak Mbps: 1705.083 Avg Mbps: 1681.384 4001 211338916 1690.711 100.00% Conn: 1 Mbps: 1690.711 Peak Mbps: 1705.083 Avg Mbps: 1690.711 5002 211217296 1689.738 100.00% Conn: 1 Mbps: 1689.738 Peak Mbps: 1705.083 Avg Mbps: 1689.738 --- fc00:0:0:1::11 tcpbench statistics --- 1266489100 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1681.384/1691.140/1705.083/7.711 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.053 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.053/0.053/0.053/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.050 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.050/0.050/0.050/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 580038392 4640.307 100.00% Conn: 1 Mbps: 4640.307 Peak Mbps: 4640.307 Avg Mbps: 4640.307 2000 570362856 4562.903 100.00% Conn: 1 Mbps: 4562.903 Peak Mbps: 4640.307 Avg Mbps: 4562.903 3000 572129752 4577.038 100.00% Conn: 1 Mbps: 4577.038 Peak Mbps: 4640.307 Avg Mbps: 4577.038 4000 572030952 4576.248 100.00% Conn: 1 Mbps: 4576.248 Peak Mbps: 4640.307 Avg Mbps: 4576.248 5000 572129416 4577.035 100.00% Conn: 1 Mbps: 4577.035 Peak Mbps: 4640.307 Avg Mbps: 4577.035 --- 169.254.1.12 tcpbench statistics --- 3441589360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4562.903/4586.706/4640.307/27.335 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 570218964 4561.752 100.00% Conn: 1 Mbps: 4561.752 Peak Mbps: 4561.752 Avg Mbps: 4561.752 2000 566541864 4536.872 100.00% Conn: 1 Mbps: 4536.872 Peak Mbps: 4561.752 Avg Mbps: 4536.872 3000 568295448 4546.364 100.00% Conn: 1 Mbps: 4546.364 Peak Mbps: 4561.752 Avg Mbps: 4546.364 4000 568592472 4548.740 100.00% Conn: 1 Mbps: 4548.740 Peak Mbps: 4561.752 Avg Mbps: 4548.740 5000 567999852 4543.999 100.00% Conn: 1 Mbps: 4543.999 Peak Mbps: 4561.752 Avg Mbps: 4543.999 --- fc00:0:0:1::12 tcpbench statistics --- 3411386328 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4536.872/4547.545/4561.752/8.138 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.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-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.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-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 1076424408 8611.395 100.00% Conn: 1 Mbps: 8611.395 Peak Mbps: 8611.395 Avg Mbps: 8611.395 2000 1075865660 8615.541 100.00% Conn: 1 Mbps: 8615.541 Peak Mbps: 8615.541 Avg Mbps: 8615.541 3000 1075734796 8605.878 100.00% Conn: 1 Mbps: 8605.878 Peak Mbps: 8615.541 Avg Mbps: 8605.878 4000 1075113192 8600.906 100.00% Conn: 1 Mbps: 8600.906 Peak Mbps: 8615.541 Avg Mbps: 8600.906 5000 1077992200 8623.938 100.00% Conn: 1 Mbps: 8623.938 Peak Mbps: 8623.938 Avg Mbps: 8623.938 --- 169.254.0.13 tcpbench statistics --- 6455065672 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8600.906/8611.532/8623.938/7.936 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 1050247660 8401.981 100.00% Conn: 1 Mbps: 8401.981 Peak Mbps: 8401.981 Avg Mbps: 8401.981 2000 1040701364 8333.945 100.00% Conn: 1 Mbps: 8333.945 Peak Mbps: 8401.981 Avg Mbps: 8333.945 3000 1042577352 8340.619 100.00% Conn: 1 Mbps: 8340.619 Peak Mbps: 8401.981 Avg Mbps: 8340.619 4000 1041661864 8333.295 100.00% Conn: 1 Mbps: 8333.295 Peak Mbps: 8401.981 Avg Mbps: 8333.295 5000 1047154792 8377.238 100.00% Conn: 1 Mbps: 8377.238 Peak Mbps: 8401.981 Avg Mbps: 8377.238 --- fc00::13 tcpbench statistics --- 6268538476 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8333.295/8357.416/8401.981/27.546 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.067 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.067/0.067/0.067/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.063 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.063/0.063/0.063/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 215441208 1723.530 100.00% Conn: 1 Mbps: 1723.530 Peak Mbps: 1723.530 Avg Mbps: 1723.530 2000 215792000 1726.336 100.00% Conn: 1 Mbps: 1726.336 Peak Mbps: 1726.336 Avg Mbps: 1726.336 3001 216757536 1734.060 100.00% Conn: 1 Mbps: 1734.060 Peak Mbps: 1734.060 Avg Mbps: 1734.060 4001 215882792 1727.062 100.00% Conn: 1 Mbps: 1727.062 Peak Mbps: 1734.060 Avg Mbps: 1727.062 5001 216127912 1730.754 100.00% Conn: 1 Mbps: 1730.754 Peak Mbps: 1734.060 Avg Mbps: 1730.754 --- 169.254.1.11 tcpbench statistics --- 1294199560 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1723.530/1728.348/1734.060/3.670 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 304880704 2439.046 100.00% Conn: 1 Mbps: 2439.046 Peak Mbps: 2439.046 Avg Mbps: 2439.046 2001 306220944 2449.768 100.00% Conn: 1 Mbps: 2449.768 Peak Mbps: 2449.768 Avg Mbps: 2449.768 3001 306743304 2453.946 100.00% Conn: 1 Mbps: 2453.946 Peak Mbps: 2453.946 Avg Mbps: 2453.946 4001 308525376 2468.203 100.00% Conn: 1 Mbps: 2468.203 Peak Mbps: 2468.203 Avg Mbps: 2468.203 5001 307955000 2466.106 100.00% Conn: 1 Mbps: 2466.106 Peak Mbps: 2468.203 Avg Mbps: 2466.106 --- fc00:0:0:1::11 tcpbench statistics --- 1840648792 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2439.046/2455.414/2468.203/10.769 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.061 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.061/0.061/0.061/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.057 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.057/0.057/0.057/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 1071026554 8568.212 100.00% Conn: 1 Mbps: 8568.212 Peak Mbps: 8568.212 Avg Mbps: 8568.212 2000 1063499012 8516.509 100.00% Conn: 1 Mbps: 8516.509 Peak Mbps: 8568.212 Avg Mbps: 8516.509 3000 1064644072 8517.153 100.00% Conn: 1 Mbps: 8517.153 Peak Mbps: 8568.212 Avg Mbps: 8517.153 4000 1063695308 8509.562 100.00% Conn: 1 Mbps: 8509.562 Peak Mbps: 8568.212 Avg Mbps: 8509.562 5000 1065167528 8521.340 100.00% Conn: 1 Mbps: 8521.340 Peak Mbps: 8568.212 Avg Mbps: 8521.340 --- 169.254.1.12 tcpbench statistics --- 6391924078 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8509.562/8526.555/8568.212/21.169 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 1054220764 8433.766 100.00% Conn: 1 Mbps: 8433.766 Peak Mbps: 8433.766 Avg Mbps: 8433.766 2000 1053268944 8434.586 100.00% Conn: 1 Mbps: 8434.586 Peak Mbps: 8434.586 Avg Mbps: 8434.586 3000 1051503360 8412.027 100.00% Conn: 1 Mbps: 8412.027 Peak Mbps: 8434.586 Avg Mbps: 8412.027 4000 1053824776 8430.598 100.00% Conn: 1 Mbps: 8430.598 Peak Mbps: 8434.586 Avg Mbps: 8430.598 5000 1051143704 8409.150 100.00% Conn: 1 Mbps: 8409.150 Peak Mbps: 8434.586 Avg Mbps: 8409.150 --- fc00:0:0:1::12 tcpbench statistics --- 6316511180 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8409.150/8424.025/8434.586/11.089 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.056 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.056/0.056/0.056/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.053 ms --- fc00::13 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-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 1127254070 9018.033 100.00% Conn: 1 Mbps: 9018.033 Peak Mbps: 9018.033 Avg Mbps: 9018.033 2000 1130239652 9050.968 100.00% Conn: 1 Mbps: 9050.968 Peak Mbps: 9050.968 Avg Mbps: 9050.968 3000 1129650764 9037.206 100.00% Conn: 1 Mbps: 9037.206 Peak Mbps: 9050.968 Avg Mbps: 9037.206 4000 1133772980 9070.184 100.00% Conn: 1 Mbps: 9070.184 Peak Mbps: 9070.184 Avg Mbps: 9070.184 5000 1133216808 9065.734 100.00% Conn: 1 Mbps: 9065.734 Peak Mbps: 9070.184 Avg Mbps: 9065.734 --- 169.254.0.13 tcpbench statistics --- 6783556026 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9018.033/9048.425/9070.184/19.126 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 1097960268 8783.682 100.00% Conn: 1 Mbps: 8783.682 Peak Mbps: 8783.682 Avg Mbps: 8783.682 2000 1098160552 8794.078 100.00% Conn: 1 Mbps: 8794.078 Peak Mbps: 8794.078 Avg Mbps: 8794.078 3000 1098127856 8785.023 100.00% Conn: 1 Mbps: 8785.023 Peak Mbps: 8794.078 Avg Mbps: 8785.023 4000 1097310456 8778.484 100.00% Conn: 1 Mbps: 8778.484 Peak Mbps: 8794.078 Avg Mbps: 8778.484 5000 1096035312 8768.282 100.00% Conn: 1 Mbps: 8768.282 Peak Mbps: 8794.078 Avg Mbps: 8768.282 --- fc00::13 tcpbench statistics --- 6583793236 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8768.282/8781.910/8794.078/8.466 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.88s