START sys/net/pair 2024-10-25T04:09:36Z ==== 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.048 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.048/0.048/0.048/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.043 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.043/0.043/0.043/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 558823880 4470.591 100.00% Conn: 1 Mbps: 4470.591 Peak Mbps: 4470.591 Avg Mbps: 4470.591 2000 555628784 4449.480 100.00% Conn: 1 Mbps: 4449.480 Peak Mbps: 4470.591 Avg Mbps: 4449.480 3000 556487168 4456.354 100.00% Conn: 1 Mbps: 4456.354 Peak Mbps: 4470.591 Avg Mbps: 4456.354 4000 556383844 4451.071 100.00% Conn: 1 Mbps: 4451.071 Peak Mbps: 4470.591 Avg Mbps: 4451.071 5000 554794244 4438.354 100.00% Conn: 1 Mbps: 4438.354 Peak Mbps: 4470.591 Avg Mbps: 4438.354 --- 169.254.1.11 tcpbench statistics --- 3335878924 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4438.354/4453.170/4470.591/10.499 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 548355976 4386.848 100.00% Conn: 1 Mbps: 4386.848 Peak Mbps: 4386.848 Avg Mbps: 4386.848 2000 547499752 4384.382 100.00% Conn: 1 Mbps: 4384.382 Peak Mbps: 4386.848 Avg Mbps: 4384.382 3000 546144064 4373.526 100.00% Conn: 1 Mbps: 4373.526 Peak Mbps: 4386.848 Avg Mbps: 4373.526 4000 546017216 4368.138 100.00% Conn: 1 Mbps: 4368.138 Peak Mbps: 4386.848 Avg Mbps: 4368.138 5000 546833800 4379.049 100.00% Conn: 1 Mbps: 4379.049 Peak Mbps: 4386.848 Avg Mbps: 4379.049 --- fc00:0:0:1::11 tcpbench statistics --- 3280582616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4368.138/4378.389/4386.848/6.880 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.080 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.080/0.080/0.080/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.141 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.141/0.141/0.141/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 218203664 1745.629 100.00% Conn: 1 Mbps: 1745.629 Peak Mbps: 1745.629 Avg Mbps: 1745.629 2000 220590824 1764.727 100.00% Conn: 1 Mbps: 1764.727 Peak Mbps: 1764.727 Avg Mbps: 1764.727 3000 221184944 1769.480 100.00% Conn: 1 Mbps: 1769.480 Peak Mbps: 1769.480 Avg Mbps: 1769.480 4001 218363416 1746.907 100.00% Conn: 1 Mbps: 1746.907 Peak Mbps: 1769.480 Avg Mbps: 1746.907 5002 216648120 1733.185 100.00% Conn: 1 Mbps: 1733.185 Peak Mbps: 1769.480 Avg Mbps: 1733.185 --- 169.254.1.12 tcpbench statistics --- 1313819328 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1733.185/1751.986/1769.480/13.327 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 206229508 1649.836 100.00% Conn: 1 Mbps: 1649.836 Peak Mbps: 1649.836 Avg Mbps: 1649.836 2000 208026804 1665.880 100.00% Conn: 1 Mbps: 1665.880 Peak Mbps: 1665.880 Avg Mbps: 1665.880 3000 206757840 1654.063 100.00% Conn: 1 Mbps: 1654.063 Peak Mbps: 1665.880 Avg Mbps: 1654.063 4000 207947660 1663.581 100.00% Conn: 1 Mbps: 1663.581 Peak Mbps: 1665.880 Avg Mbps: 1663.581 5001 206791348 1654.331 100.00% Conn: 1 Mbps: 1654.331 Peak Mbps: 1665.880 Avg Mbps: 1654.331 --- fc00:0:0:1::12 tcpbench statistics --- 1241676468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1649.836/1657.538/1665.880/6.129 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.069 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.069/0.069/0.069/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.074 ms --- fc00::13 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-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 299385264 2395.082 100.00% Conn: 1 Mbps: 2395.082 Peak Mbps: 2395.082 Avg Mbps: 2395.082 2000 297732080 2384.241 100.00% Conn: 1 Mbps: 2384.241 Peak Mbps: 2395.082 Avg Mbps: 2384.241 3000 297604912 2380.839 100.00% Conn: 1 Mbps: 2380.839 Peak Mbps: 2395.082 Avg Mbps: 2380.839 4000 299687288 2397.498 100.00% Conn: 1 Mbps: 2397.498 Peak Mbps: 2397.498 Avg Mbps: 2397.498 5000 298654048 2389.232 100.00% Conn: 1 Mbps: 2389.232 Peak Mbps: 2397.498 Avg Mbps: 2389.232 --- 169.254.0.13 tcpbench statistics --- 1790143936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2380.839/2389.379/2397.498/6.290 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 286256296 2290.050 100.00% Conn: 1 Mbps: 2290.050 Peak Mbps: 2290.050 Avg Mbps: 2290.050 2000 286121520 2291.263 100.00% Conn: 1 Mbps: 2291.263 Peak Mbps: 2291.263 Avg Mbps: 2291.263 3000 284754656 2278.037 100.00% Conn: 1 Mbps: 2278.037 Peak Mbps: 2291.263 Avg Mbps: 2278.037 4000 284710336 2277.683 100.00% Conn: 1 Mbps: 2277.683 Peak Mbps: 2291.263 Avg Mbps: 2277.683 5000 284147448 2273.180 100.00% Conn: 1 Mbps: 2273.180 Peak Mbps: 2291.263 Avg Mbps: 2273.180 --- fc00::13 tcpbench statistics --- 1710970144 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2273.180/2282.043/2291.263/7.249 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.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-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.047 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 218743984 1749.952 100.00% Conn: 1 Mbps: 1749.952 Peak Mbps: 1749.952 Avg Mbps: 1749.952 2001 219162784 1753.302 100.00% Conn: 1 Mbps: 1753.302 Peak Mbps: 1753.302 Avg Mbps: 1753.302 3001 217447640 1739.581 100.00% Conn: 1 Mbps: 1739.581 Peak Mbps: 1753.302 Avg Mbps: 1739.581 4002 219775680 1758.205 100.00% Conn: 1 Mbps: 1758.205 Peak Mbps: 1758.205 Avg Mbps: 1758.205 5002 218432832 1749.212 100.00% Conn: 1 Mbps: 1749.212 Peak Mbps: 1758.205 Avg Mbps: 1749.212 --- 169.254.1.11 tcpbench statistics --- 1313037480 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1739.581/1750.051/1758.205/6.122 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 207024684 1656.197 100.00% Conn: 1 Mbps: 1656.197 Peak Mbps: 1656.197 Avg Mbps: 1656.197 2000 208075668 1666.272 100.00% Conn: 1 Mbps: 1666.272 Peak Mbps: 1666.272 Avg Mbps: 1666.272 3001 210034928 1680.279 100.00% Conn: 1 Mbps: 1680.279 Peak Mbps: 1680.279 Avg Mbps: 1680.279 4001 207953680 1663.629 100.00% Conn: 1 Mbps: 1663.629 Peak Mbps: 1680.279 Avg Mbps: 1663.629 5002 206967456 1655.740 100.00% Conn: 1 Mbps: 1655.740 Peak Mbps: 1680.279 Avg Mbps: 1655.740 --- fc00:0:0:1::11 tcpbench statistics --- 1247089052 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1655.740/1664.424/1680.279/8.928 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.049 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.049/0.049/0.049/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.055 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.055/0.055/0.055/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 579030584 4632.245 100.00% Conn: 1 Mbps: 4632.245 Peak Mbps: 4632.245 Avg Mbps: 4632.245 2000 572786808 4586.881 100.00% Conn: 1 Mbps: 4586.881 Peak Mbps: 4632.245 Avg Mbps: 4586.881 3000 570407744 4563.262 100.00% Conn: 1 Mbps: 4563.262 Peak Mbps: 4632.245 Avg Mbps: 4563.262 4000 572718752 4581.750 100.00% Conn: 1 Mbps: 4581.750 Peak Mbps: 4632.245 Avg Mbps: 4581.750 5000 571376456 4571.012 100.00% Conn: 1 Mbps: 4571.012 Peak Mbps: 4632.245 Avg Mbps: 4571.012 --- 169.254.1.12 tcpbench statistics --- 3437942960 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4563.262/4587.030/4632.245/24.057 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 550444020 4403.552 100.00% Conn: 1 Mbps: 4403.552 Peak Mbps: 4403.552 Avg Mbps: 4403.552 2000 550860996 4411.299 100.00% Conn: 1 Mbps: 4411.299 Peak Mbps: 4411.299 Avg Mbps: 4411.299 3000 549388728 4395.110 100.00% Conn: 1 Mbps: 4395.110 Peak Mbps: 4411.299 Avg Mbps: 4395.110 4000 550862424 4406.899 100.00% Conn: 1 Mbps: 4406.899 Peak Mbps: 4411.299 Avg Mbps: 4406.899 5000 549767148 4402.540 100.00% Conn: 1 Mbps: 4402.540 Peak Mbps: 4411.299 Avg Mbps: 4402.540 --- fc00:0:0:1::12 tcpbench statistics --- 3300269364 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4395.110/4403.880/4411.299/5.348 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.058 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.058/0.058/0.058/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.051 ms --- fc00::13 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-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 1052164490 8417.316 100.00% Conn: 1 Mbps: 8417.316 Peak Mbps: 8417.316 Avg Mbps: 8417.316 2000 1061176176 8497.907 100.00% Conn: 1 Mbps: 8497.907 Peak Mbps: 8497.907 Avg Mbps: 8497.907 3000 1061732348 8493.859 100.00% Conn: 1 Mbps: 8493.859 Peak Mbps: 8497.907 Avg Mbps: 8493.859 4000 1064022468 8512.180 100.00% Conn: 1 Mbps: 8512.180 Peak Mbps: 8512.180 Avg Mbps: 8512.180 5000 1062255804 8498.046 100.00% Conn: 1 Mbps: 8498.046 Peak Mbps: 8512.180 Avg Mbps: 8498.046 --- 169.254.0.13 tcpbench statistics --- 6363476226 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8417.316/8483.862/8512.180/33.849 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 1037514260 8300.114 100.00% Conn: 1 Mbps: 8300.114 Peak Mbps: 8300.114 Avg Mbps: 8300.114 2000 1032866640 8271.204 100.00% Conn: 1 Mbps: 8271.204 Peak Mbps: 8300.114 Avg Mbps: 8271.204 3000 1031689584 8253.517 100.00% Conn: 1 Mbps: 8253.517 Peak Mbps: 8300.114 Avg Mbps: 8253.517 4000 1032245416 8257.963 100.00% Conn: 1 Mbps: 8257.963 Peak Mbps: 8300.114 Avg Mbps: 8257.963 5000 1029564344 8236.515 100.00% Conn: 1 Mbps: 8236.515 Peak Mbps: 8300.114 Avg Mbps: 8236.515 --- fc00::13 tcpbench statistics --- 6192921452 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8236.515/8263.863/8300.114/21.250 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.061 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.061/0.061/0.061/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.056 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 217136616 1737.093 100.00% Conn: 1 Mbps: 1737.093 Peak Mbps: 1737.093 Avg Mbps: 1737.093 2000 215135384 1721.083 100.00% Conn: 1 Mbps: 1721.083 Peak Mbps: 1737.093 Avg Mbps: 1721.083 3000 215444104 1723.553 100.00% Conn: 1 Mbps: 1723.553 Peak Mbps: 1737.093 Avg Mbps: 1723.553 4001 215403232 1723.226 100.00% Conn: 1 Mbps: 1723.226 Peak Mbps: 1737.093 Avg Mbps: 1723.226 5001 216151512 1729.212 100.00% Conn: 1 Mbps: 1729.212 Peak Mbps: 1737.093 Avg Mbps: 1729.212 --- 169.254.1.11 tcpbench statistics --- 1294189288 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1721.083/1726.833/1737.093/5.792 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 303305856 2426.447 100.00% Conn: 1 Mbps: 2426.447 Peak Mbps: 2426.447 Avg Mbps: 2426.447 2001 307246384 2457.971 100.00% Conn: 1 Mbps: 2457.971 Peak Mbps: 2457.971 Avg Mbps: 2457.971 3001 303673192 2431.817 100.00% Conn: 1 Mbps: 2431.817 Peak Mbps: 2457.971 Avg Mbps: 2431.817 4001 304887432 2439.099 100.00% Conn: 1 Mbps: 2439.099 Peak Mbps: 2457.971 Avg Mbps: 2439.099 5002 299356232 2394.850 100.00% Conn: 1 Mbps: 2394.850 Peak Mbps: 2457.971 Avg Mbps: 2394.850 --- fc00:0:0:1::11 tcpbench statistics --- 1822731280 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2394.850/2430.037/2457.971/20.575 Mbps # path MTU discovery in other rtable does not work in ip6_output() /sbin/route -T 13 -n get -host -inet6 fc00:0:0:1::11 route to: fc00:0:0:1::11 destination: fc00:: mask: ffff:ffff:ffff:: gateway: ::1 interface: lo13 if address: ::1 priority: 8 (static) flags: use mtu expire 7 32768 0 DISABLED ==== run-ping-3-2 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.048 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.053 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.053/0.053/0.053/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 1042780332 8342.243 100.00% Conn: 1 Mbps: 8342.243 Peak Mbps: 8342.243 Avg Mbps: 8342.243 2000 1046224964 8378.178 100.00% Conn: 1 Mbps: 8378.178 Peak Mbps: 8378.178 Avg Mbps: 8378.178 3000 1046944716 8375.558 100.00% Conn: 1 Mbps: 8375.558 Peak Mbps: 8378.178 Avg Mbps: 8375.558 4000 1046977432 8375.819 100.00% Conn: 1 Mbps: 8375.819 Peak Mbps: 8378.178 Avg Mbps: 8375.819 5000 1048220640 8385.765 100.00% Conn: 1 Mbps: 8385.765 Peak Mbps: 8385.765 Avg Mbps: 8385.765 --- 169.254.1.12 tcpbench statistics --- 6279041564 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8342.243/8371.513/8385.765/15.094 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 1031240948 8249.928 100.00% Conn: 1 Mbps: 8249.928 Peak Mbps: 8249.928 Avg Mbps: 8249.928 2000 1037705648 8309.955 100.00% Conn: 1 Mbps: 8309.955 Peak Mbps: 8309.955 Avg Mbps: 8309.955 3000 1037803736 8302.430 100.00% Conn: 1 Mbps: 8302.430 Peak Mbps: 8309.955 Avg Mbps: 8302.430 4000 1034730312 8277.842 100.00% Conn: 1 Mbps: 8277.842 Peak Mbps: 8309.955 Avg Mbps: 8277.842 5000 1037051728 8296.414 100.00% Conn: 1 Mbps: 8296.414 Peak Mbps: 8309.955 Avg Mbps: 8296.414 --- fc00:0:0:1::12 tcpbench statistics --- 6214080084 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8249.928/8287.314/8309.955/21.501 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.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-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.062 ms --- fc00::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-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 1120678324 8965.427 100.00% Conn: 1 Mbps: 8965.427 Peak Mbps: 8965.427 Avg Mbps: 8965.427 2000 1126624534 9022.018 100.00% Conn: 1 Mbps: 9022.018 Peak Mbps: 9022.018 Avg Mbps: 9022.018 3000 1127164348 9017.315 100.00% Conn: 1 Mbps: 9017.315 Peak Mbps: 9022.018 Avg Mbps: 9017.315 4000 1125348610 9002.789 100.00% Conn: 1 Mbps: 9002.789 Peak Mbps: 9022.018 Avg Mbps: 9002.789 5000 1124285340 8994.283 100.00% Conn: 1 Mbps: 8994.283 Peak Mbps: 9022.018 Avg Mbps: 8994.283 --- 169.254.0.13 tcpbench statistics --- 6743744140 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8965.427/9000.366/9022.018/20.098 Mbps ==== run-tcpbench6-3-3 ==== rm -f nc.log nc -6 -v -l -V 13 fc00::13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00::13 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00::13 elapsed_ms bytes mbps bwidth 1000 1088116468 8704.932 100.00% Conn: 1 Mbps: 8704.932 Peak Mbps: 8704.932 Avg Mbps: 8704.932 2000 1078575648 8637.242 100.00% Conn: 1 Mbps: 8637.242 Peak Mbps: 8704.932 Avg Mbps: 8637.242 3000 1075894576 8607.157 100.00% Conn: 1 Mbps: 8607.157 Peak Mbps: 8704.932 Avg Mbps: 8607.157 4000 1078052512 8624.420 100.00% Conn: 1 Mbps: 8624.420 Peak Mbps: 8704.932 Avg Mbps: 8624.420 5000 1078085208 8624.682 100.00% Conn: 1 Mbps: 8624.682 Peak Mbps: 8704.932 Avg Mbps: 8624.682 --- fc00::13 tcpbench statistics --- 6475828740 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8607.157/8639.687/8704.932/33.998 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.84s