START sys/net/pair 2024-05-05T04:01:30Z ==== 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.056 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.056/0.056/0.056/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.052 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 555755672 4446.045 100.00% Conn: 1 Mbps: 4446.045 Peak Mbps: 4446.045 Avg Mbps: 4446.045 2000 557552060 4464.881 100.00% Conn: 1 Mbps: 4464.881 Peak Mbps: 4464.881 Avg Mbps: 4464.881 3000 555676332 4445.411 100.00% Conn: 1 Mbps: 4445.411 Peak Mbps: 4464.881 Avg Mbps: 4445.411 4000 556224184 4449.793 100.00% Conn: 1 Mbps: 4449.793 Peak Mbps: 4464.881 Avg Mbps: 4449.793 5000 556041940 4448.336 100.00% Conn: 1 Mbps: 4448.336 Peak Mbps: 4464.881 Avg Mbps: 4448.336 --- 169.254.1.11 tcpbench statistics --- 3336043872 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4445.411/4450.893/4464.881/7.169 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 551947360 4415.579 100.00% Conn: 1 Mbps: 4415.579 Peak Mbps: 4415.579 Avg Mbps: 4415.579 2000 551788800 4418.729 100.00% Conn: 1 Mbps: 4418.729 Peak Mbps: 4418.729 Avg Mbps: 4418.729 3000 549378688 4395.030 100.00% Conn: 1 Mbps: 4395.030 Peak Mbps: 4418.729 Avg Mbps: 4395.030 4000 548847512 4390.780 100.00% Conn: 1 Mbps: 4390.780 Peak Mbps: 4418.729 Avg Mbps: 4390.780 5000 549748576 4397.989 100.00% Conn: 1 Mbps: 4397.989 Peak Mbps: 4418.729 Avg Mbps: 4397.989 --- fc00:0:0:1::11 tcpbench statistics --- 3301224400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4390.780/4403.621/4418.729/11.328 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.079 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.079/0.079/0.079/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.151 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.151/0.151/0.151/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 221109664 1768.877 100.00% Conn: 1 Mbps: 1768.877 Peak Mbps: 1768.877 Avg Mbps: 1768.877 2000 227622488 1822.803 100.00% Conn: 1 Mbps: 1822.803 Peak Mbps: 1822.803 Avg Mbps: 1822.803 3001 227933752 1823.470 100.00% Conn: 1 Mbps: 1823.470 Peak Mbps: 1823.470 Avg Mbps: 1823.470 4001 226771120 1814.169 100.00% Conn: 1 Mbps: 1814.169 Peak Mbps: 1823.470 Avg Mbps: 1814.169 5002 226934912 1815.479 100.00% Conn: 1 Mbps: 1815.479 Peak Mbps: 1823.470 Avg Mbps: 1815.479 --- 169.254.1.12 tcpbench statistics --- 1354997296 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1768.877/1808.960/1823.470/20.388 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 214632684 1717.061 100.00% Conn: 1 Mbps: 1717.061 Peak Mbps: 1717.061 Avg Mbps: 1717.061 2000 214944680 1719.557 100.00% Conn: 1 Mbps: 1719.557 Peak Mbps: 1719.557 Avg Mbps: 1719.557 3001 214105412 1712.843 100.00% Conn: 1 Mbps: 1712.843 Peak Mbps: 1719.557 Avg Mbps: 1712.843 4001 213106104 1704.849 100.00% Conn: 1 Mbps: 1704.849 Peak Mbps: 1719.557 Avg Mbps: 1704.849 5001 211274628 1690.197 100.00% Conn: 1 Mbps: 1690.197 Peak Mbps: 1719.557 Avg Mbps: 1690.197 --- fc00:0:0:1::12 tcpbench statistics --- 1279705344 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1690.197/1708.902/1719.557/10.601 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.067 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.067/0.067/0.067/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.079 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.079/0.079/0.079/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 307070980 2456.568 100.00% Conn: 1 Mbps: 2456.568 Peak Mbps: 2456.568 Avg Mbps: 2456.568 2000 308476656 2470.284 100.00% Conn: 1 Mbps: 2470.284 Peak Mbps: 2470.284 Avg Mbps: 2470.284 3000 301872848 2414.983 100.00% Conn: 1 Mbps: 2414.983 Peak Mbps: 2470.284 Avg Mbps: 2414.983 4000 299679340 2397.435 100.00% Conn: 1 Mbps: 2397.435 Peak Mbps: 2470.284 Avg Mbps: 2397.435 5000 301768544 2414.148 100.00% Conn: 1 Mbps: 2414.148 Peak Mbps: 2470.284 Avg Mbps: 2414.148 --- 169.254.0.13 tcpbench statistics --- 1813929920 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2397.435/2430.683/2470.284/27.798 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 261046296 2088.370 100.00% Conn: 1 Mbps: 2088.370 Peak Mbps: 2088.370 Avg Mbps: 2088.370 2000 260014616 2082.199 100.00% Conn: 1 Mbps: 2082.199 Peak Mbps: 2088.370 Avg Mbps: 2082.199 3000 259685800 2077.486 100.00% Conn: 1 Mbps: 2077.486 Peak Mbps: 2088.370 Avg Mbps: 2077.486 4000 260585432 2084.683 100.00% Conn: 1 Mbps: 2084.683 Peak Mbps: 2088.370 Avg Mbps: 2084.683 5000 260783632 2086.269 100.00% Conn: 1 Mbps: 2086.269 Peak Mbps: 2088.370 Avg Mbps: 2086.269 --- fc00::13 tcpbench statistics --- 1563739776 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2077.486/2083.802/2088.370/3.747 Mbps ==== run-ping-2-1 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.058 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.058/0.058/0.058/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.063 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.063/0.063/0.063/0.000 ms ==== run-tcpbench-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 220773168 1766.185 100.00% Conn: 1 Mbps: 1766.185 Peak Mbps: 1766.185 Avg Mbps: 1766.185 2000 227328936 1818.631 100.00% Conn: 1 Mbps: 1818.631 Peak Mbps: 1818.631 Avg Mbps: 1818.631 3001 229015352 1832.123 100.00% Conn: 1 Mbps: 1832.123 Peak Mbps: 1832.123 Avg Mbps: 1832.123 4002 227804328 1822.435 100.00% Conn: 1 Mbps: 1822.435 Peak Mbps: 1832.123 Avg Mbps: 1822.435 5002 227668272 1821.346 100.00% Conn: 1 Mbps: 1821.346 Peak Mbps: 1832.123 Avg Mbps: 1821.346 --- 169.254.1.11 tcpbench statistics --- 1356614264 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1766.185/1812.144/1832.123/23.427 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 214803704 1718.430 100.00% Conn: 1 Mbps: 1718.430 Peak Mbps: 1718.430 Avg Mbps: 1718.430 2000 216501200 1733.743 100.00% Conn: 1 Mbps: 1733.743 Peak Mbps: 1733.743 Avg Mbps: 1733.743 3000 212760256 1702.082 100.00% Conn: 1 Mbps: 1702.082 Peak Mbps: 1733.743 Avg Mbps: 1702.082 4000 212017512 1696.140 100.00% Conn: 1 Mbps: 1696.140 Peak Mbps: 1733.743 Avg Mbps: 1696.140 5001 213167080 1705.337 100.00% Conn: 1 Mbps: 1705.337 Peak Mbps: 1733.743 Avg Mbps: 1705.337 --- fc00:0:0:1::11 tcpbench statistics --- 1281521080 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1696.140/1711.146/1733.743/13.452 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.091 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.091/0.091/0.091/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.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-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 559514496 4476.116 100.00% Conn: 1 Mbps: 4476.116 Peak Mbps: 4476.116 Avg Mbps: 4476.116 2000 545393600 4367.516 100.00% Conn: 1 Mbps: 4367.516 Peak Mbps: 4476.116 Avg Mbps: 4367.516 3000 540917776 4327.342 100.00% Conn: 1 Mbps: 4327.342 Peak Mbps: 4476.116 Avg Mbps: 4327.342 4000 543097016 4344.776 100.00% Conn: 1 Mbps: 4344.776 Peak Mbps: 4476.116 Avg Mbps: 4344.776 5000 545030096 4360.241 100.00% Conn: 1 Mbps: 4360.241 Peak Mbps: 4476.116 Avg Mbps: 4360.241 --- 169.254.1.12 tcpbench statistics --- 3276689448 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4327.342/4375.198/4476.116/52.312 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 537572240 4300.578 100.00% Conn: 1 Mbps: 4300.578 Peak Mbps: 4300.578 Avg Mbps: 4300.578 2000 540210972 4326.014 100.00% Conn: 1 Mbps: 4326.014 Peak Mbps: 4326.014 Avg Mbps: 4326.014 3000 539377840 4319.342 100.00% Conn: 1 Mbps: 4319.342 Peak Mbps: 4326.014 Avg Mbps: 4319.342 4000 537362932 4298.903 100.00% Conn: 1 Mbps: 4298.903 Peak Mbps: 4326.014 Avg Mbps: 4298.903 5000 538948832 4311.591 100.00% Conn: 1 Mbps: 4311.591 Peak Mbps: 4326.014 Avg Mbps: 4311.591 --- fc00:0:0:1::12 tcpbench statistics --- 3231704792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4298.903/4311.286/4326.014/10.487 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.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-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 1042234058 8337.872 100.00% Conn: 1 Mbps: 8337.872 Peak Mbps: 8337.872 Avg Mbps: 8337.872 2000 1039714480 8326.042 100.00% Conn: 1 Mbps: 8326.042 Peak Mbps: 8337.872 Avg Mbps: 8326.042 3000 1039518184 8316.145 100.00% Conn: 1 Mbps: 8316.145 Peak Mbps: 8337.872 Avg Mbps: 8316.145 4000 1039485468 8315.884 100.00% Conn: 1 Mbps: 8315.884 Peak Mbps: 8337.872 Avg Mbps: 8315.884 5000 1038274976 8306.200 100.00% Conn: 1 Mbps: 8306.200 Peak Mbps: 8337.872 Avg Mbps: 8306.200 --- 169.254.0.13 tcpbench statistics --- 6238581770 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8306.200/8320.429/8337.872/10.745 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 1022094316 8176.755 100.00% Conn: 1 Mbps: 8176.755 Peak Mbps: 8176.755 Avg Mbps: 8176.755 2000 1019580900 8164.812 100.00% Conn: 1 Mbps: 8164.812 Peak Mbps: 8176.755 Avg Mbps: 8164.812 3000 1015635848 8125.087 100.00% Conn: 1 Mbps: 8125.087 Peak Mbps: 8176.755 Avg Mbps: 8125.087 4000 1014002776 8112.022 100.00% Conn: 1 Mbps: 8112.022 Peak Mbps: 8176.755 Avg Mbps: 8112.022 5000 1016224376 8129.795 100.00% Conn: 1 Mbps: 8129.795 Peak Mbps: 8176.755 Avg Mbps: 8129.795 --- fc00::13 tcpbench statistics --- 6100709548 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8112.022/8141.694/8176.755/24.745 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.079 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.079/0.079/0.079/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.069 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.069/0.069/0.069/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 218543720 1748.350 100.00% Conn: 1 Mbps: 1748.350 Peak Mbps: 1748.350 Avg Mbps: 1748.350 2000 218454680 1749.387 100.00% Conn: 1 Mbps: 1749.387 Peak Mbps: 1749.387 Avg Mbps: 1749.387 3000 219004656 1752.037 100.00% Conn: 1 Mbps: 1752.037 Peak Mbps: 1752.037 Avg Mbps: 1752.037 4000 220250048 1763.764 100.00% Conn: 1 Mbps: 1763.764 Peak Mbps: 1763.764 Avg Mbps: 1763.764 5001 219736400 1757.891 100.00% Conn: 1 Mbps: 1757.891 Peak Mbps: 1763.764 Avg Mbps: 1757.891 --- 169.254.1.11 tcpbench statistics --- 1315096856 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1748.350/1754.286/1763.764/5.782 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 311919032 2495.352 100.00% Conn: 1 Mbps: 2495.352 Peak Mbps: 2495.352 Avg Mbps: 2495.352 2000 314599000 2519.311 100.00% Conn: 1 Mbps: 2519.311 Peak Mbps: 2519.311 Avg Mbps: 2519.311 3000 312553496 2500.428 100.00% Conn: 1 Mbps: 2500.428 Peak Mbps: 2519.311 Avg Mbps: 2500.428 4001 308335800 2466.686 100.00% Conn: 1 Mbps: 2466.686 Peak Mbps: 2519.311 Avg Mbps: 2466.686 5001 309709920 2480.160 100.00% Conn: 1 Mbps: 2480.160 Peak Mbps: 2519.311 Avg Mbps: 2480.160 --- fc00:0:0:1::11 tcpbench statistics --- 1867381504 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2466.686/2492.387/2519.311/17.935 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.053 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/0.000 ms ==== run-ping6-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.059 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.059/0.059/0.059/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 1031163634 8249.309 100.00% Conn: 1 Mbps: 8249.309 Peak Mbps: 8249.309 Avg Mbps: 8249.309 2000 1015700936 8133.741 100.00% Conn: 1 Mbps: 8133.741 Peak Mbps: 8249.309 Avg Mbps: 8133.741 3000 1018142022 8145.136 100.00% Conn: 1 Mbps: 8145.136 Peak Mbps: 8249.309 Avg Mbps: 8145.136 4000 1012560200 8100.482 100.00% Conn: 1 Mbps: 8100.482 Peak Mbps: 8249.309 Avg Mbps: 8100.482 5000 1014097852 8112.783 100.00% Conn: 1 Mbps: 8112.783 Peak Mbps: 8249.309 Avg Mbps: 8112.783 --- 169.254.1.12 tcpbench statistics --- 6111029772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8100.482/8148.290/8249.309/52.864 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 1001452264 8011.618 100.00% Conn: 1 Mbps: 8011.618 Peak Mbps: 8011.618 Avg Mbps: 8011.618 2000 1004131464 8041.093 100.00% Conn: 1 Mbps: 8041.093 Peak Mbps: 8041.093 Avg Mbps: 8041.093 3000 1001282304 8010.258 100.00% Conn: 1 Mbps: 8010.258 Peak Mbps: 8041.093 Avg Mbps: 8010.258 4000 1001707352 8013.659 100.00% Conn: 1 Mbps: 8013.659 Peak Mbps: 8041.093 Avg Mbps: 8013.659 5000 999745592 7997.965 100.00% Conn: 1 Mbps: 7997.965 Peak Mbps: 8041.093 Avg Mbps: 7997.965 --- fc00:0:0:1::12 tcpbench statistics --- 6006102808 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7997.965/8014.919/8041.093/14.190 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.053 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.053/0.053/0.053/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.063 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.063/0.063/0.063/0.000 ms ==== run-tcpbench-3-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 1061864824 8494.919 100.00% Conn: 1 Mbps: 8494.919 Peak Mbps: 8494.919 Avg Mbps: 8494.919 2000 1062078766 8505.135 100.00% Conn: 1 Mbps: 8505.135 Peak Mbps: 8505.135 Avg Mbps: 8505.135 3000 1069257028 8554.056 100.00% Conn: 1 Mbps: 8554.056 Peak Mbps: 8554.056 Avg Mbps: 8554.056 4000 1067065056 8536.520 100.00% Conn: 1 Mbps: 8536.520 Peak Mbps: 8554.056 Avg Mbps: 8536.520 5000 1072430480 8579.444 100.00% Conn: 1 Mbps: 8579.444 Peak Mbps: 8579.444 Avg Mbps: 8579.444 --- 169.254.0.13 tcpbench statistics --- 6399106890 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8494.919/8534.015/8579.444/31.094 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 1056430552 8451.444 100.00% Conn: 1 Mbps: 8451.444 Peak Mbps: 8451.444 Avg Mbps: 8451.444 2000 1053563208 8436.943 100.00% Conn: 1 Mbps: 8436.943 Peak Mbps: 8451.444 Avg Mbps: 8436.943 3000 1054249824 8433.999 100.00% Conn: 1 Mbps: 8433.999 Peak Mbps: 8451.444 Avg Mbps: 8433.999 4000 1051406424 8411.251 100.00% Conn: 1 Mbps: 8411.251 Peak Mbps: 8451.444 Avg Mbps: 8411.251 5000 1049398500 8395.188 100.00% Conn: 1 Mbps: 8395.188 Peak Mbps: 8451.444 Avg Mbps: 8395.188 --- fc00::13 tcpbench statistics --- 6317434660 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8395.188/8425.765/8451.444/19.989 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 1m53.06s