START sys/net/pair 2024-07-25T04:04:20Z ==== 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.051 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.051/0.051/0.051/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.046 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.046/0.046/0.046/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 564761036 4518.088 100.00% Conn: 1 Mbps: 4518.088 Peak Mbps: 4518.088 Avg Mbps: 4518.088 2000 563378084 4511.536 100.00% Conn: 1 Mbps: 4511.536 Peak Mbps: 4518.088 Avg Mbps: 4511.536 3000 565889652 4527.117 100.00% Conn: 1 Mbps: 4527.117 Peak Mbps: 4527.117 Avg Mbps: 4527.117 4000 564347740 4514.782 100.00% Conn: 1 Mbps: 4514.782 Peak Mbps: 4527.117 Avg Mbps: 4514.782 5000 564474908 4520.320 100.00% Conn: 1 Mbps: 4520.320 Peak Mbps: 4527.117 Avg Mbps: 4520.320 --- 169.254.1.11 tcpbench statistics --- 3384886292 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4511.536/4518.369/4527.117/5.291 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 553992784 4431.942 100.00% Conn: 1 Mbps: 4431.942 Peak Mbps: 4431.942 Avg Mbps: 4431.942 2000 550425184 4403.401 100.00% Conn: 1 Mbps: 4403.401 Peak Mbps: 4431.942 Avg Mbps: 4403.401 3000 547816872 4386.922 100.00% Conn: 1 Mbps: 4386.922 Peak Mbps: 4431.942 Avg Mbps: 4386.922 4000 549172560 4393.380 100.00% Conn: 1 Mbps: 4393.380 Peak Mbps: 4431.942 Avg Mbps: 4393.380 5000 547531464 4380.252 100.00% Conn: 1 Mbps: 4380.252 Peak Mbps: 4431.942 Avg Mbps: 4380.252 --- fc00:0:0:1::11 tcpbench statistics --- 3296478256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4380.252/4399.180/4431.942/18.074 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.074 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.074/0.074/0.074/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.125 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.125/0.125/0.125/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 217201832 1737.615 100.00% Conn: 1 Mbps: 1737.615 Peak Mbps: 1737.615 Avg Mbps: 1737.615 2000 218876784 1751.014 100.00% Conn: 1 Mbps: 1751.014 Peak Mbps: 1751.014 Avg Mbps: 1751.014 3000 218626000 1749.008 100.00% Conn: 1 Mbps: 1749.008 Peak Mbps: 1751.014 Avg Mbps: 1749.008 4001 217549296 1740.394 100.00% Conn: 1 Mbps: 1740.394 Peak Mbps: 1751.014 Avg Mbps: 1740.394 5001 217575200 1742.344 100.00% Conn: 1 Mbps: 1742.344 Peak Mbps: 1751.014 Avg Mbps: 1742.344 --- 169.254.1.12 tcpbench statistics --- 1306443672 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1737.615/1744.075/1751.014/5.114 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 208947884 1671.583 100.00% Conn: 1 Mbps: 1671.583 Peak Mbps: 1671.583 Avg Mbps: 1671.583 2000 204904904 1639.239 100.00% Conn: 1 Mbps: 1639.239 Peak Mbps: 1671.583 Avg Mbps: 1639.239 3001 207532648 1658.603 100.00% Conn: 1 Mbps: 1658.603 Peak Mbps: 1671.583 Avg Mbps: 1658.603 4001 207503212 1660.026 100.00% Conn: 1 Mbps: 1660.026 Peak Mbps: 1671.583 Avg Mbps: 1660.026 5002 206116340 1648.931 100.00% Conn: 1 Mbps: 1648.931 Peak Mbps: 1671.583 Avg Mbps: 1648.931 --- fc00:0:0:1::12 tcpbench statistics --- 1240068836 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1639.239/1655.676/1671.583/10.920 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.062 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.062/0.062/0.062/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.075 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.075/0.075/0.075/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 301531224 2412.250 100.00% Conn: 1 Mbps: 2412.250 Peak Mbps: 2412.250 Avg Mbps: 2412.250 2000 300410556 2403.284 100.00% Conn: 1 Mbps: 2403.284 Peak Mbps: 2412.250 Avg Mbps: 2403.284 3000 298351604 2386.813 100.00% Conn: 1 Mbps: 2386.813 Peak Mbps: 2412.250 Avg Mbps: 2386.813 4000 292740316 2341.923 100.00% Conn: 1 Mbps: 2341.923 Peak Mbps: 2412.250 Avg Mbps: 2341.923 5000 294989600 2359.917 100.00% Conn: 1 Mbps: 2359.917 Peak Mbps: 2412.250 Avg Mbps: 2359.917 --- 169.254.0.13 tcpbench statistics --- 1781908128 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2341.923/2380.837/2412.250/26.376 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 288848752 2310.790 100.00% Conn: 1 Mbps: 2310.790 Peak Mbps: 2310.790 Avg Mbps: 2310.790 2000 287580272 2302.945 100.00% Conn: 1 Mbps: 2302.945 Peak Mbps: 2310.790 Avg Mbps: 2302.945 3000 290244080 2321.953 100.00% Conn: 1 Mbps: 2321.953 Peak Mbps: 2321.953 Avg Mbps: 2321.953 4000 288079736 2304.638 100.00% Conn: 1 Mbps: 2304.638 Peak Mbps: 2321.953 Avg Mbps: 2304.638 5000 290339216 2322.714 100.00% Conn: 1 Mbps: 2322.714 Peak Mbps: 2322.714 Avg Mbps: 2322.714 --- fc00::13 tcpbench statistics --- 1734662256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2302.945/2312.608/2322.714/8.362 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.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-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.053 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.053/0.053/0.053/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 222400016 1779.200 100.00% Conn: 1 Mbps: 1779.200 Peak Mbps: 1779.200 Avg Mbps: 1779.200 2001 220626016 1765.008 100.00% Conn: 1 Mbps: 1765.008 Peak Mbps: 1779.200 Avg Mbps: 1765.008 3001 221137416 1770.870 100.00% Conn: 1 Mbps: 1770.870 Peak Mbps: 1779.200 Avg Mbps: 1770.870 4001 220298472 1762.388 100.00% Conn: 1 Mbps: 1762.388 Peak Mbps: 1779.200 Avg Mbps: 1762.388 5002 219905328 1759.243 100.00% Conn: 1 Mbps: 1759.243 Peak Mbps: 1779.200 Avg Mbps: 1759.243 --- 169.254.1.11 tcpbench statistics --- 1324152848 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1759.243/1767.342/1779.200/7.052 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 211752972 1694.024 100.00% Conn: 1 Mbps: 1694.024 Peak Mbps: 1694.024 Avg Mbps: 1694.024 2001 208496844 1667.975 100.00% Conn: 1 Mbps: 1667.975 Peak Mbps: 1694.024 Avg Mbps: 1667.975 3001 209546156 1676.369 100.00% Conn: 1 Mbps: 1676.369 Peak Mbps: 1694.024 Avg Mbps: 1676.369 4002 207329872 1658.639 100.00% Conn: 1 Mbps: 1658.639 Peak Mbps: 1694.024 Avg Mbps: 1658.639 5002 209745992 1677.968 100.00% Conn: 1 Mbps: 1677.968 Peak Mbps: 1694.024 Avg Mbps: 1677.968 --- fc00:0:0:1::11 tcpbench statistics --- 1255421532 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1658.639/1674.995/1694.024/11.744 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.043 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.043/0.043/0.043/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.049 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.049/0.049/0.049/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 569082824 4552.663 100.00% Conn: 1 Mbps: 4552.663 Peak Mbps: 4552.663 Avg Mbps: 4552.663 2000 567282960 4542.806 100.00% Conn: 1 Mbps: 4542.806 Peak Mbps: 4552.663 Avg Mbps: 4542.806 3000 567033904 4536.271 100.00% Conn: 1 Mbps: 4536.271 Peak Mbps: 4552.663 Avg Mbps: 4536.271 4000 566000032 4528.000 100.00% Conn: 1 Mbps: 4528.000 Peak Mbps: 4552.663 Avg Mbps: 4528.000 5000 566328728 4530.630 100.00% Conn: 1 Mbps: 4530.630 Peak Mbps: 4552.663 Avg Mbps: 4530.630 --- 169.254.1.12 tcpbench statistics --- 3402827512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4528.000/4538.074/4552.663/8.892 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 540786456 4326.292 100.00% Conn: 1 Mbps: 4326.292 Peak Mbps: 4326.292 Avg Mbps: 4326.292 2000 539805420 4322.766 100.00% Conn: 1 Mbps: 4322.766 Peak Mbps: 4326.292 Avg Mbps: 4322.766 3000 542015964 4336.128 100.00% Conn: 1 Mbps: 4336.128 Peak Mbps: 4336.128 Avg Mbps: 4336.128 4000 539885388 4319.083 100.00% Conn: 1 Mbps: 4319.083 Peak Mbps: 4336.128 Avg Mbps: 4319.083 5000 539866824 4318.935 100.00% Conn: 1 Mbps: 4318.935 Peak Mbps: 4336.128 Avg Mbps: 4318.935 --- fc00:0:0:1::12 tcpbench statistics --- 3243622032 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4318.935/4324.641/4336.128/6.350 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.061 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.061/0.061/0.061/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.059 ms --- fc00::13 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-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 1043738412 8349.907 100.00% Conn: 1 Mbps: 8349.907 Peak Mbps: 8349.907 Avg Mbps: 8349.907 2000 1059736672 8486.380 100.00% Conn: 1 Mbps: 8486.380 Peak Mbps: 8486.380 Avg Mbps: 8486.380 3000 1056072480 8448.580 100.00% Conn: 1 Mbps: 8448.580 Peak Mbps: 8486.380 Avg Mbps: 8448.580 4000 1055778036 8446.224 100.00% Conn: 1 Mbps: 8446.224 Peak Mbps: 8486.380 Avg Mbps: 8446.224 5000 1055778036 8446.224 100.00% Conn: 1 Mbps: 8446.224 Peak Mbps: 8486.380 Avg Mbps: 8446.224 --- 169.254.0.13 tcpbench statistics --- 6328910064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8349.907/8435.463/8486.380/45.422 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 1043465724 8347.726 100.00% Conn: 1 Mbps: 8347.726 Peak Mbps: 8347.726 Avg Mbps: 8347.726 2000 1041302208 8338.756 100.00% Conn: 1 Mbps: 8338.756 Peak Mbps: 8347.726 Avg Mbps: 8338.756 3000 1039536624 8316.293 100.00% Conn: 1 Mbps: 8316.293 Peak Mbps: 8347.726 Avg Mbps: 8316.293 4000 1042348480 8338.788 100.00% Conn: 1 Mbps: 8338.788 Peak Mbps: 8347.726 Avg Mbps: 8338.788 5000 1041792648 8334.341 100.00% Conn: 1 Mbps: 8334.341 Peak Mbps: 8347.726 Avg Mbps: 8334.341 --- fc00::13 tcpbench statistics --- 6250336420 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8316.293/8335.181/8347.726/10.398 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.053 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/0.000 ms ==== run-ping6-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.077 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.077/0.077/0.077/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 218674576 1749.397 100.00% Conn: 1 Mbps: 1749.397 Peak Mbps: 1749.397 Avg Mbps: 1749.397 2000 217873328 1742.987 100.00% Conn: 1 Mbps: 1742.987 Peak Mbps: 1749.397 Avg Mbps: 1742.987 3000 215932056 1727.456 100.00% Conn: 1 Mbps: 1727.456 Peak Mbps: 1749.397 Avg Mbps: 1727.456 4000 218258376 1746.067 100.00% Conn: 1 Mbps: 1746.067 Peak Mbps: 1749.397 Avg Mbps: 1746.067 5000 218817312 1750.538 100.00% Conn: 1 Mbps: 1750.538 Peak Mbps: 1750.538 Avg Mbps: 1750.538 --- 169.254.1.11 tcpbench statistics --- 1308427320 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1727.456/1743.289/1750.538/8.347 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 308264120 2466.113 100.00% Conn: 1 Mbps: 2466.113 Peak Mbps: 2466.113 Avg Mbps: 2466.113 2000 305401032 2443.208 100.00% Conn: 1 Mbps: 2443.208 Peak Mbps: 2466.113 Avg Mbps: 2443.208 3001 307148080 2457.185 100.00% Conn: 1 Mbps: 2457.185 Peak Mbps: 2466.113 Avg Mbps: 2457.185 4000 305791488 2448.781 100.00% Conn: 1 Mbps: 2448.781 Peak Mbps: 2466.113 Avg Mbps: 2448.781 5001 306260248 2447.634 100.00% Conn: 1 Mbps: 2447.634 Peak Mbps: 2466.113 Avg Mbps: 2447.634 --- fc00:0:0:1::11 tcpbench statistics --- 1837472680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2443.208/2452.584/2466.113/8.137 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.062 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/0.000 ms ==== run-ping6-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.054 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.054/0.054/0.054/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 1061376548 8491.012 100.00% Conn: 1 Mbps: 8491.012 Peak Mbps: 8491.012 Avg Mbps: 8491.012 2000 1064840368 8527.250 100.00% Conn: 1 Mbps: 8527.250 Peak Mbps: 8527.250 Avg Mbps: 8527.250 3000 1065789132 8526.313 100.00% Conn: 1 Mbps: 8526.313 Peak Mbps: 8527.250 Avg Mbps: 8526.313 4000 1068635424 8549.083 100.00% Conn: 1 Mbps: 8549.083 Peak Mbps: 8549.083 Avg Mbps: 8549.083 5000 1069486040 8555.888 100.00% Conn: 1 Mbps: 8555.888 Peak Mbps: 8555.888 Avg Mbps: 8555.888 --- 169.254.1.12 tcpbench statistics --- 6398108616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8491.012/8529.909/8555.888/22.696 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 1049173876 8393.391 100.00% Conn: 1 Mbps: 8393.391 Peak Mbps: 8393.391 Avg Mbps: 8393.391 2000 1044441024 8363.892 100.00% Conn: 1 Mbps: 8363.892 Peak Mbps: 8393.391 Avg Mbps: 8363.892 3000 1043852496 8350.820 100.00% Conn: 1 Mbps: 8350.820 Peak Mbps: 8393.391 Avg Mbps: 8350.820 4000 1045094944 8360.760 100.00% Conn: 1 Mbps: 8360.760 Peak Mbps: 8393.391 Avg Mbps: 8360.760 5000 1051503360 8412.027 100.00% Conn: 1 Mbps: 8412.027 Peak Mbps: 8412.027 Avg Mbps: 8412.027 --- fc00:0:0:1::12 tcpbench statistics --- 6283920792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8350.820/8376.178/8412.027/22.861 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.043 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.043/0.043/0.043/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.061 ms --- fc00::13 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-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 1138522966 9108.184 100.00% Conn: 1 Mbps: 9108.184 Peak Mbps: 9108.184 Avg Mbps: 9108.184 2000 1140545192 9133.495 100.00% Conn: 1 Mbps: 9133.495 Peak Mbps: 9133.495 Avg Mbps: 9133.495 3000 1143227904 9154.978 100.00% Conn: 1 Mbps: 9154.978 Peak Mbps: 9154.978 Avg Mbps: 9154.978 4000 1144438396 9155.507 100.00% Conn: 1 Mbps: 9155.507 Peak Mbps: 9155.507 Avg Mbps: 9155.507 5000 1142690990 9141.528 100.00% Conn: 1 Mbps: 9141.528 Peak Mbps: 9155.507 Avg Mbps: 9141.528 --- 169.254.0.13 tcpbench statistics --- 6849630438 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9108.184/9138.738/9155.507/17.400 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 1084799948 8678.400 100.00% Conn: 1 Mbps: 8678.400 Peak Mbps: 8678.400 Avg Mbps: 8678.400 2000 1085245632 8690.656 100.00% Conn: 1 Mbps: 8690.656 Peak Mbps: 8690.656 Avg Mbps: 8690.656 3000 1080766280 8646.130 100.00% Conn: 1 Mbps: 8646.130 Peak Mbps: 8690.656 Avg Mbps: 8646.130 4000 1081032456 8648.260 100.00% Conn: 1 Mbps: 8648.260 Peak Mbps: 8690.656 Avg Mbps: 8648.260 5000 1081452896 8651.623 100.00% Conn: 1 Mbps: 8651.623 Peak Mbps: 8690.656 Avg Mbps: 8651.623 --- fc00::13 tcpbench statistics --- 6494226972 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8646.130/8663.014/8690.656/18.074 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.80s