START sys/net/pair 2024-05-15T03:19:41Z ==== 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.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-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.051 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.051/0.051/0.051/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 547394236 4379.154 100.00% Conn: 1 Mbps: 4379.154 Peak Mbps: 4379.154 Avg Mbps: 4379.154 2000 548236864 4385.895 100.00% Conn: 1 Mbps: 4385.895 Peak Mbps: 4385.895 Avg Mbps: 4385.895 3000 546018112 4372.517 100.00% Conn: 1 Mbps: 4372.517 Peak Mbps: 4385.895 Avg Mbps: 4372.517 4000 546504060 4372.032 100.00% Conn: 1 Mbps: 4372.032 Peak Mbps: 4385.895 Avg Mbps: 4372.032 5000 545407096 4367.624 100.00% Conn: 1 Mbps: 4367.624 Peak Mbps: 4385.895 Avg Mbps: 4367.624 --- 169.254.1.11 tcpbench statistics --- 3279444624 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4367.624/4375.445/4385.895/6.393 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 541054288 4328.434 100.00% Conn: 1 Mbps: 4328.434 Peak Mbps: 4328.434 Avg Mbps: 4328.434 2000 538993008 4316.260 100.00% Conn: 1 Mbps: 4316.260 Peak Mbps: 4328.434 Avg Mbps: 4316.260 3000 540412120 4323.297 100.00% Conn: 1 Mbps: 4323.297 Peak Mbps: 4328.434 Avg Mbps: 4323.297 4000 540483992 4323.872 100.00% Conn: 1 Mbps: 4323.872 Peak Mbps: 4328.434 Avg Mbps: 4323.872 5000 541391944 4331.136 100.00% Conn: 1 Mbps: 4331.136 Peak Mbps: 4331.136 Avg Mbps: 4331.136 --- fc00:0:0:1::11 tcpbench statistics --- 3241272864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4316.260/4324.600/4331.136/5.083 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.094 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.094/0.094/0.094/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.152 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.152/0.152/0.152/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 218861976 1750.896 100.00% Conn: 1 Mbps: 1750.896 Peak Mbps: 1750.896 Avg Mbps: 1750.896 2000 224115944 1792.928 100.00% Conn: 1 Mbps: 1792.928 Peak Mbps: 1792.928 Avg Mbps: 1792.928 3000 224461248 1797.487 100.00% Conn: 1 Mbps: 1797.487 Peak Mbps: 1797.487 Avg Mbps: 1797.487 4001 222297976 1778.384 100.00% Conn: 1 Mbps: 1778.384 Peak Mbps: 1797.487 Avg Mbps: 1778.384 5001 218875464 1751.004 100.00% Conn: 1 Mbps: 1751.004 Peak Mbps: 1797.487 Avg Mbps: 1751.004 --- 169.254.1.12 tcpbench statistics --- 1326667848 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1750.896/1774.140/1797.487/19.958 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 211793996 1694.352 100.00% Conn: 1 Mbps: 1694.352 Peak Mbps: 1694.352 Avg Mbps: 1694.352 2000 211599956 1692.800 100.00% Conn: 1 Mbps: 1692.800 Peak Mbps: 1694.352 Avg Mbps: 1692.800 3000 208953124 1673.298 100.00% Conn: 1 Mbps: 1673.298 Peak Mbps: 1694.352 Avg Mbps: 1673.298 4000 209125700 1674.680 100.00% Conn: 1 Mbps: 1674.680 Peak Mbps: 1694.352 Avg Mbps: 1674.680 5000 209826876 1678.615 100.00% Conn: 1 Mbps: 1678.615 Peak Mbps: 1694.352 Avg Mbps: 1678.615 --- fc00:0:0:1::12 tcpbench statistics --- 1261685752 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1673.298/1682.749/1694.352/9.024 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.078 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.078/0.078/0.078/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 301475588 2411.805 100.00% Conn: 1 Mbps: 2411.805 Peak Mbps: 2411.805 Avg Mbps: 2411.805 2000 304241492 2436.368 100.00% Conn: 1 Mbps: 2436.368 Peak Mbps: 2436.368 Avg Mbps: 2436.368 3000 304932968 2439.464 100.00% Conn: 1 Mbps: 2439.464 Peak Mbps: 2439.464 Avg Mbps: 2439.464 4000 304233544 2433.868 100.00% Conn: 1 Mbps: 2433.868 Peak Mbps: 2439.464 Avg Mbps: 2433.868 5000 298415608 2387.325 100.00% Conn: 1 Mbps: 2387.325 Peak Mbps: 2439.464 Avg Mbps: 2387.325 --- 169.254.0.13 tcpbench statistics --- 1810713360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2387.325/2421.766/2439.464/19.791 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 263122392 2104.979 100.00% Conn: 1 Mbps: 2104.979 Peak Mbps: 2104.979 Avg Mbps: 2104.979 2000 264034112 2112.273 100.00% Conn: 1 Mbps: 2112.273 Peak Mbps: 2112.273 Avg Mbps: 2112.273 3000 261901480 2097.309 100.00% Conn: 1 Mbps: 2097.309 Peak Mbps: 2112.273 Avg Mbps: 2097.309 4000 263154104 2105.233 100.00% Conn: 1 Mbps: 2105.233 Peak Mbps: 2112.273 Avg Mbps: 2105.233 5000 263098608 2104.789 100.00% Conn: 1 Mbps: 2104.789 Peak Mbps: 2112.273 Avg Mbps: 2104.789 --- fc00::13 tcpbench statistics --- 1578258672 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2097.309/2104.917/2112.273/4.735 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.059 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.059/0.059/0.059/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.057 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.057/0.057/0.057/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 222470728 1779.766 100.00% Conn: 1 Mbps: 1779.766 Peak Mbps: 1779.766 Avg Mbps: 1779.766 2000 222544232 1782.136 100.00% Conn: 1 Mbps: 1782.136 Peak Mbps: 1782.136 Avg Mbps: 1782.136 3000 224080912 1792.647 100.00% Conn: 1 Mbps: 1792.647 Peak Mbps: 1792.647 Avg Mbps: 1792.647 4001 222661256 1781.290 100.00% Conn: 1 Mbps: 1781.290 Peak Mbps: 1792.647 Avg Mbps: 1781.290 5001 223764968 1790.120 100.00% Conn: 1 Mbps: 1790.120 Peak Mbps: 1792.647 Avg Mbps: 1790.120 --- 169.254.1.11 tcpbench statistics --- 1337565392 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1779.766/1785.192/1792.647/5.174 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 216146632 1729.173 100.00% Conn: 1 Mbps: 1729.173 Peak Mbps: 1729.173 Avg Mbps: 1729.173 2000 216070268 1728.562 100.00% Conn: 1 Mbps: 1728.562 Peak Mbps: 1729.173 Avg Mbps: 1728.562 3000 213530952 1708.248 100.00% Conn: 1 Mbps: 1708.248 Peak Mbps: 1729.173 Avg Mbps: 1708.248 4001 214491148 1715.929 100.00% Conn: 1 Mbps: 1715.929 Peak Mbps: 1729.173 Avg Mbps: 1715.929 5001 213761172 1710.089 100.00% Conn: 1 Mbps: 1710.089 Peak Mbps: 1729.173 Avg Mbps: 1710.089 --- fc00:0:0:1::11 tcpbench statistics --- 1288314036 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1708.248/1718.400/1729.173/8.917 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.054 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.054/0.054/0.054/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.061 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.061/0.061/0.061/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 547164504 4377.316 100.00% Conn: 1 Mbps: 4377.316 Peak Mbps: 4377.316 Avg Mbps: 4377.316 2000 536365320 4290.923 100.00% Conn: 1 Mbps: 4290.923 Peak Mbps: 4377.316 Avg Mbps: 4290.923 3000 534925232 4283.686 100.00% Conn: 1 Mbps: 4283.686 Peak Mbps: 4377.316 Avg Mbps: 4283.686 4000 535544248 4288.643 100.00% Conn: 1 Mbps: 4288.643 Peak Mbps: 4377.316 Avg Mbps: 4288.643 5000 537331080 4298.649 100.00% Conn: 1 Mbps: 4298.649 Peak Mbps: 4377.316 Avg Mbps: 4298.649 --- 169.254.1.12 tcpbench statistics --- 3225235496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4283.686/4307.843/4377.316/35.070 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 531481000 4251.848 100.00% Conn: 1 Mbps: 4251.848 Peak Mbps: 4251.848 Avg Mbps: 4251.848 2000 527713116 4225.931 100.00% Conn: 1 Mbps: 4225.931 Peak Mbps: 4251.848 Avg Mbps: 4225.931 3000 528705576 4229.645 100.00% Conn: 1 Mbps: 4229.645 Peak Mbps: 4251.848 Avg Mbps: 4229.645 4000 530158672 4245.515 100.00% Conn: 1 Mbps: 4245.515 Peak Mbps: 4251.848 Avg Mbps: 4245.515 5000 531808832 4254.471 100.00% Conn: 1 Mbps: 4254.471 Peak Mbps: 4254.471 Avg Mbps: 4254.471 --- fc00:0:0:1::12 tcpbench statistics --- 3181854316 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4225.931/4241.482/4254.471/11.614 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.065 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.065/0.065/0.065/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 1020871262 8166.970 100.00% Conn: 1 Mbps: 8166.970 Peak Mbps: 8166.970 Avg Mbps: 8166.970 2000 1015635504 8133.217 100.00% Conn: 1 Mbps: 8133.217 Peak Mbps: 8166.970 Avg Mbps: 8133.217 3000 1012985508 8103.884 100.00% Conn: 1 Mbps: 8103.884 Peak Mbps: 8166.970 Avg Mbps: 8103.884 4000 1014392296 8115.138 100.00% Conn: 1 Mbps: 8115.138 Peak Mbps: 8166.970 Avg Mbps: 8115.138 5000 1015766368 8126.131 100.00% Conn: 1 Mbps: 8126.131 Peak Mbps: 8166.970 Avg Mbps: 8126.131 --- 169.254.0.13 tcpbench statistics --- 6093061754 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8103.884/8129.068/8166.970/21.404 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 1003948900 8031.591 100.00% Conn: 1 Mbps: 8031.591 Peak Mbps: 8031.591 Avg Mbps: 8031.591 2000 998241576 7993.927 100.00% Conn: 1 Mbps: 7993.927 Peak Mbps: 8031.591 Avg Mbps: 7993.927 3000 998948572 7991.589 100.00% Conn: 1 Mbps: 7991.589 Peak Mbps: 8031.591 Avg Mbps: 7991.589 4000 996672168 7973.377 100.00% Conn: 1 Mbps: 7973.377 Peak Mbps: 8031.591 Avg Mbps: 7973.377 5000 997228000 7977.824 100.00% Conn: 1 Mbps: 7977.824 Peak Mbps: 8031.591 Avg Mbps: 7977.824 --- fc00::13 tcpbench statistics --- 5993476968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7973.377/7993.662/8031.591/20.520 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.057 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.057/0.057/0.057/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.066 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.066/0.066/0.066/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 217365720 1738.926 100.00% Conn: 1 Mbps: 1738.926 Peak Mbps: 1738.926 Avg Mbps: 1738.926 2000 218685528 1749.484 100.00% Conn: 1 Mbps: 1749.484 Peak Mbps: 1749.484 Avg Mbps: 1749.484 3000 218411800 1747.294 100.00% Conn: 1 Mbps: 1747.294 Peak Mbps: 1749.484 Avg Mbps: 1747.294 4000 218945776 1751.566 100.00% Conn: 1 Mbps: 1751.566 Peak Mbps: 1751.566 Avg Mbps: 1751.566 5001 220328840 1762.631 100.00% Conn: 1 Mbps: 1762.631 Peak Mbps: 1762.631 Avg Mbps: 1762.631 --- 169.254.1.11 tcpbench statistics --- 1310290120 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1738.926/1749.980/1762.631/7.645 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 312401672 2499.213 100.00% Conn: 1 Mbps: 2499.213 Peak Mbps: 2499.213 Avg Mbps: 2499.213 2000 307008184 2456.065 100.00% Conn: 1 Mbps: 2456.065 Peak Mbps: 2499.213 Avg Mbps: 2456.065 3001 309097800 2472.782 100.00% Conn: 1 Mbps: 2472.782 Peak Mbps: 2499.213 Avg Mbps: 2472.782 4001 309887480 2479.100 100.00% Conn: 1 Mbps: 2479.100 Peak Mbps: 2499.213 Avg Mbps: 2479.100 5001 309785016 2478.280 100.00% Conn: 1 Mbps: 2478.280 Peak Mbps: 2499.213 Avg Mbps: 2478.280 --- fc00:0:0:1::11 tcpbench statistics --- 1855726896 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2456.065/2477.088/2499.213/13.824 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.063 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.063/0.063/0.063/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.066 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.066/0.066/0.066/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 1020170262 8161.362 100.00% Conn: 1 Mbps: 8161.362 Peak Mbps: 8161.362 Avg Mbps: 8161.362 2000 1013116372 8113.044 100.00% Conn: 1 Mbps: 8113.044 Peak Mbps: 8161.362 Avg Mbps: 8113.044 3000 1015471924 8131.907 100.00% Conn: 1 Mbps: 8131.907 Peak Mbps: 8161.362 Avg Mbps: 8131.907 4000 1015537356 8124.299 100.00% Conn: 1 Mbps: 8124.299 Peak Mbps: 8161.362 Avg Mbps: 8124.299 5000 1016322540 8130.580 100.00% Conn: 1 Mbps: 8130.580 Peak Mbps: 8161.362 Avg Mbps: 8130.580 --- 169.254.1.12 tcpbench statistics --- 6095959514 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8113.044/8132.239/8161.362/16.016 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 1001602132 8012.817 100.00% Conn: 1 Mbps: 8012.817 Peak Mbps: 8012.817 Avg Mbps: 8012.817 2000 995298936 7970.362 100.00% Conn: 1 Mbps: 7970.362 Peak Mbps: 8012.817 Avg Mbps: 7970.362 3000 998830104 7998.639 100.00% Conn: 1 Mbps: 7998.639 Peak Mbps: 8012.817 Avg Mbps: 7998.639 4000 993239088 7945.913 100.00% Conn: 1 Mbps: 7945.913 Peak Mbps: 8012.817 Avg Mbps: 7945.913 5000 992585168 7940.681 100.00% Conn: 1 Mbps: 7940.681 Peak Mbps: 8012.817 Avg Mbps: 7940.681 --- fc00:0:0:1::12 tcpbench statistics --- 5974336772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7940.681/7973.682/8012.817/28.375 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.045 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.045/0.045/0.045/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.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-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 1029838398 8238.707 100.00% Conn: 1 Mbps: 8238.707 Peak Mbps: 8238.707 Avg Mbps: 8238.707 2000 1036966336 8304.035 100.00% Conn: 1 Mbps: 8304.035 Peak Mbps: 8304.035 Avg Mbps: 8304.035 3000 1036279300 8290.234 100.00% Conn: 1 Mbps: 8290.234 Peak Mbps: 8304.035 Avg Mbps: 8290.234 4000 1038209544 8305.676 100.00% Conn: 1 Mbps: 8305.676 Peak Mbps: 8305.676 Avg Mbps: 8305.676 5000 1037195348 8297.563 100.00% Conn: 1 Mbps: 8297.563 Peak Mbps: 8305.676 Avg Mbps: 8297.563 --- 169.254.0.13 tcpbench statistics --- 6215978718 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8238.707/8287.243/8305.676/24.871 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 1055350468 8442.804 100.00% Conn: 1 Mbps: 8442.804 Peak Mbps: 8442.804 Avg Mbps: 8442.804 2000 1046762440 8382.482 100.00% Conn: 1 Mbps: 8382.482 Peak Mbps: 8442.804 Avg Mbps: 8382.482 3000 1042250392 8338.003 100.00% Conn: 1 Mbps: 8338.003 Peak Mbps: 8442.804 Avg Mbps: 8338.003 4000 1043460144 8347.681 100.00% Conn: 1 Mbps: 8347.681 Peak Mbps: 8442.804 Avg Mbps: 8347.681 5000 1045487296 8363.898 100.00% Conn: 1 Mbps: 8363.898 Peak Mbps: 8442.804 Avg Mbps: 8363.898 --- fc00::13 tcpbench statistics --- 6276018876 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8338.003/8374.974/8442.804/37.126 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