START sys/net/pair 2024-04-25T03:54:02Z ==== 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.046 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.046/0.046/0.046/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.051 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 543293488 4346.348 100.00% Conn: 1 Mbps: 4346.348 Peak Mbps: 4346.348 Avg Mbps: 4346.348 2000 543626044 4353.362 100.00% Conn: 1 Mbps: 4353.362 Peak Mbps: 4353.362 Avg Mbps: 4353.362 3000 544652456 4361.581 100.00% Conn: 1 Mbps: 4361.581 Peak Mbps: 4361.581 Avg Mbps: 4361.581 4000 545193060 4361.544 100.00% Conn: 1 Mbps: 4361.544 Peak Mbps: 4361.581 Avg Mbps: 4361.544 5000 544151872 4357.573 100.00% Conn: 1 Mbps: 4357.573 Peak Mbps: 4361.581 Avg Mbps: 4357.573 --- 169.254.1.11 tcpbench statistics --- 3263701596 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4346.348/4356.082/4361.581/5.735 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 537717120 4301.737 100.00% Conn: 1 Mbps: 4301.737 Peak Mbps: 4301.737 Avg Mbps: 4301.737 2000 534149000 4273.192 100.00% Conn: 1 Mbps: 4273.192 Peak Mbps: 4301.737 Avg Mbps: 4273.192 3000 535085544 4280.684 100.00% Conn: 1 Mbps: 4280.684 Peak Mbps: 4301.737 Avg Mbps: 4280.684 4000 535988296 4292.199 100.00% Conn: 1 Mbps: 4292.199 Peak Mbps: 4301.737 Avg Mbps: 4292.199 5000 535742528 4285.940 100.00% Conn: 1 Mbps: 4285.940 Peak Mbps: 4301.737 Avg Mbps: 4285.940 --- fc00:0:0:1::11 tcpbench statistics --- 3212593648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4273.192/4286.750/4301.737/9.753 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.092 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.092/0.092/0.092/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.140 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.140/0.140/0.140/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 216758368 1734.067 100.00% Conn: 1 Mbps: 1734.067 Peak Mbps: 1734.067 Avg Mbps: 1734.067 2000 223380640 1788.834 100.00% Conn: 1 Mbps: 1788.834 Peak Mbps: 1788.834 Avg Mbps: 1788.834 3000 222148112 1777.185 100.00% Conn: 1 Mbps: 1777.185 Peak Mbps: 1788.834 Avg Mbps: 1777.185 4001 222467120 1779.737 100.00% Conn: 1 Mbps: 1779.737 Peak Mbps: 1788.834 Avg Mbps: 1779.737 5001 223379248 1787.034 100.00% Conn: 1 Mbps: 1787.034 Peak Mbps: 1788.834 Avg Mbps: 1787.034 --- 169.254.1.12 tcpbench statistics --- 1333281960 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1734.067/1773.371/1788.834/20.128 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 211224500 1689.796 100.00% Conn: 1 Mbps: 1689.796 Peak Mbps: 1689.796 Avg Mbps: 1689.796 2000 213674580 1711.108 100.00% Conn: 1 Mbps: 1711.108 Peak Mbps: 1711.108 Avg Mbps: 1711.108 3001 210959084 1687.673 100.00% Conn: 1 Mbps: 1687.673 Peak Mbps: 1711.108 Avg Mbps: 1687.673 4001 208645312 1669.162 100.00% Conn: 1 Mbps: 1669.162 Peak Mbps: 1711.108 Avg Mbps: 1669.162 5001 210394556 1683.156 100.00% Conn: 1 Mbps: 1683.156 Peak Mbps: 1711.108 Avg Mbps: 1683.156 --- fc00:0:0:1::12 tcpbench statistics --- 1262314684 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1669.162/1688.179/1711.108/13.531 Mbps ==== run-ping-1-3 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=254 time=0.066 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.066/0.066/0.066/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.088 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.088/0.088/0.088/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 297008672 2376.069 100.00% Conn: 1 Mbps: 2376.069 Peak Mbps: 2376.069 Avg Mbps: 2376.069 2000 296873696 2377.367 100.00% Conn: 1 Mbps: 2377.367 Peak Mbps: 2377.367 Avg Mbps: 2377.367 3000 298883420 2391.067 100.00% Conn: 1 Mbps: 2391.067 Peak Mbps: 2391.067 Avg Mbps: 2391.067 4000 297230236 2377.842 100.00% Conn: 1 Mbps: 2377.842 Peak Mbps: 2391.067 Avg Mbps: 2377.842 5000 300354920 2402.839 100.00% Conn: 1 Mbps: 2402.839 Peak Mbps: 2402.839 Avg Mbps: 2402.839 --- 169.254.0.13 tcpbench statistics --- 1791873940 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2376.069/2385.037/2402.839/10.434 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 259324880 2074.599 100.00% Conn: 1 Mbps: 2074.599 Peak Mbps: 2074.599 Avg Mbps: 2074.599 2000 258769920 2070.159 100.00% Conn: 1 Mbps: 2070.159 Peak Mbps: 2074.599 Avg Mbps: 2070.159 3000 257876656 2065.078 100.00% Conn: 1 Mbps: 2065.078 Peak Mbps: 2074.599 Avg Mbps: 2065.078 4000 257945408 2063.563 100.00% Conn: 1 Mbps: 2063.563 Peak Mbps: 2074.599 Avg Mbps: 2063.563 5000 257490784 2061.988 100.00% Conn: 1 Mbps: 2061.988 Peak Mbps: 2074.599 Avg Mbps: 2061.988 --- fc00::13 tcpbench statistics --- 1550756312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2061.988/2067.078/2074.599/4.654 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.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-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.060 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.060/0.060/0.060/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 218623928 1748.991 100.00% Conn: 1 Mbps: 1748.991 Peak Mbps: 1748.991 Avg Mbps: 1748.991 2000 220198600 1763.352 100.00% Conn: 1 Mbps: 1763.352 Peak Mbps: 1763.352 Avg Mbps: 1763.352 3000 219384272 1756.831 100.00% Conn: 1 Mbps: 1756.831 Peak Mbps: 1763.352 Avg Mbps: 1756.831 4001 218383720 1747.070 100.00% Conn: 1 Mbps: 1747.070 Peak Mbps: 1763.352 Avg Mbps: 1747.070 5001 217238008 1737.904 100.00% Conn: 1 Mbps: 1737.904 Peak Mbps: 1763.352 Avg Mbps: 1737.904 --- 169.254.1.11 tcpbench statistics --- 1310082112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1737.904/1750.830/1763.352/8.688 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 210789200 1686.314 100.00% Conn: 1 Mbps: 1686.314 Peak Mbps: 1686.314 Avg Mbps: 1686.314 2001 215078160 1720.625 100.00% Conn: 1 Mbps: 1720.625 Peak Mbps: 1720.625 Avg Mbps: 1720.625 3002 211752460 1694.020 100.00% Conn: 1 Mbps: 1694.020 Peak Mbps: 1720.625 Avg Mbps: 1694.020 4001 207156036 1658.907 100.00% Conn: 1 Mbps: 1658.907 Peak Mbps: 1720.625 Avg Mbps: 1658.907 5002 206944664 1655.557 100.00% Conn: 1 Mbps: 1655.557 Peak Mbps: 1720.625 Avg Mbps: 1655.557 --- fc00:0:0:1::11 tcpbench statistics --- 1259286944 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1655.557/1683.085/1720.625/24.007 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.042 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.042/0.042/0.042/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 545099600 4360.797 100.00% Conn: 1 Mbps: 4360.797 Peak Mbps: 4360.797 Avg Mbps: 4360.797 2000 540173560 4325.714 100.00% Conn: 1 Mbps: 4325.714 Peak Mbps: 4360.797 Avg Mbps: 4325.714 3000 537953944 4303.632 100.00% Conn: 1 Mbps: 4303.632 Peak Mbps: 4360.797 Avg Mbps: 4303.632 4000 539146984 4313.176 100.00% Conn: 1 Mbps: 4313.176 Peak Mbps: 4360.797 Avg Mbps: 4313.176 5000 536216120 4289.729 100.00% Conn: 1 Mbps: 4289.729 Peak Mbps: 4360.797 Avg Mbps: 4289.729 --- 169.254.1.12 tcpbench statistics --- 3238639464 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4289.729/4318.609/4360.797/24.159 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 536811936 4294.495 100.00% Conn: 1 Mbps: 4294.495 Peak Mbps: 4294.495 Avg Mbps: 4294.495 2000 532875336 4263.003 100.00% Conn: 1 Mbps: 4263.003 Peak Mbps: 4294.495 Avg Mbps: 4263.003 3000 530968956 4247.752 100.00% Conn: 1 Mbps: 4247.752 Peak Mbps: 4294.495 Avg Mbps: 4247.752 4000 529416324 4235.331 100.00% Conn: 1 Mbps: 4235.331 Peak Mbps: 4294.495 Avg Mbps: 4235.331 5000 530663364 4245.307 100.00% Conn: 1 Mbps: 4245.307 Peak Mbps: 4294.495 Avg Mbps: 4245.307 --- fc00:0:0:1::12 tcpbench statistics --- 3191329308 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4235.331/4257.177/4294.495/20.657 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.066 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.066/0.066/0.066/0.000 ms ==== run-ping6-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 996388406 7971.107 100.00% Conn: 1 Mbps: 7971.107 Peak Mbps: 7971.107 Avg Mbps: 7971.107 2000 998786764 7998.292 100.00% Conn: 1 Mbps: 7998.292 Peak Mbps: 7998.292 Avg Mbps: 7998.292 3000 1000160836 8001.287 100.00% Conn: 1 Mbps: 8001.287 Peak Mbps: 8001.287 Avg Mbps: 8001.287 4000 995940472 7967.524 100.00% Conn: 1 Mbps: 7967.524 Peak Mbps: 8001.287 Avg Mbps: 7967.524 5000 997216396 7985.717 100.00% Conn: 1 Mbps: 7985.717 Peak Mbps: 8001.287 Avg Mbps: 7985.717 --- 169.254.0.13 tcpbench statistics --- 5981652486 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7967.524/7984.785/8001.287/13.716 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 995470876 7963.767 100.00% Conn: 1 Mbps: 7963.767 Peak Mbps: 7963.767 Avg Mbps: 7963.767 2000 994023792 7960.150 100.00% Conn: 1 Mbps: 7960.150 Peak Mbps: 7963.767 Avg Mbps: 7960.150 3000 995200848 7961.607 100.00% Conn: 1 Mbps: 7961.607 Peak Mbps: 7963.767 Avg Mbps: 7961.607 4000 991669680 7933.357 100.00% Conn: 1 Mbps: 7933.357 Peak Mbps: 7963.767 Avg Mbps: 7933.357 5000 989348264 7914.786 100.00% Conn: 1 Mbps: 7914.786 Peak Mbps: 7963.767 Avg Mbps: 7914.786 --- fc00::13 tcpbench statistics --- 5955454076 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7914.786/7946.734/7963.767/19.447 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.066 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.066/0.066/0.066/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.067 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.067/0.067/0.067/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 213958912 1711.671 100.00% Conn: 1 Mbps: 1711.671 Peak Mbps: 1711.671 Avg Mbps: 1711.671 2000 215115984 1722.651 100.00% Conn: 1 Mbps: 1722.651 Peak Mbps: 1722.651 Avg Mbps: 1722.651 3000 214900400 1719.203 100.00% Conn: 1 Mbps: 1719.203 Peak Mbps: 1722.651 Avg Mbps: 1719.203 4000 215572488 1724.580 100.00% Conn: 1 Mbps: 1724.580 Peak Mbps: 1724.580 Avg Mbps: 1724.580 5001 216089152 1726.986 100.00% Conn: 1 Mbps: 1726.986 Peak Mbps: 1726.986 Avg Mbps: 1726.986 --- 169.254.1.11 tcpbench statistics --- 1291807672 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1711.671/1721.018/1726.986/5.322 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 310590632 2484.725 100.00% Conn: 1 Mbps: 2484.725 Peak Mbps: 2484.725 Avg Mbps: 2484.725 2000 306342024 2453.189 100.00% Conn: 1 Mbps: 2453.189 Peak Mbps: 2484.725 Avg Mbps: 2453.189 3000 303728416 2429.827 100.00% Conn: 1 Mbps: 2429.827 Peak Mbps: 2484.725 Avg Mbps: 2429.827 4001 305224696 2441.798 100.00% Conn: 1 Mbps: 2441.798 Peak Mbps: 2484.725 Avg Mbps: 2441.798 5000 306680152 2455.897 100.00% Conn: 1 Mbps: 2455.897 Peak Mbps: 2484.725 Avg Mbps: 2455.897 --- fc00:0:0:1::11 tcpbench statistics --- 1837823112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2429.827/2453.087/2484.725/18.316 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.050 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.050/0.050/0.050/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 1002442322 8019.539 100.00% Conn: 1 Mbps: 8019.539 Peak Mbps: 8019.539 Avg Mbps: 8019.539 2000 999179356 8001.436 100.00% Conn: 1 Mbps: 8001.436 Peak Mbps: 8019.539 Avg Mbps: 8001.436 3000 997707136 7981.657 100.00% Conn: 1 Mbps: 7981.657 Peak Mbps: 8019.539 Avg Mbps: 7981.657 4000 1000880588 8007.045 100.00% Conn: 1 Mbps: 8007.045 Peak Mbps: 8019.539 Avg Mbps: 8007.045 5000 1001142316 8009.139 100.00% Conn: 1 Mbps: 8009.139 Peak Mbps: 8019.539 Avg Mbps: 8009.139 --- 169.254.1.12 tcpbench statistics --- 5999745890 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7981.657/8003.763/8019.539/12.511 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 1004684236 8037.474 100.00% Conn: 1 Mbps: 8037.474 Peak Mbps: 8037.474 Avg Mbps: 8037.474 2000 999549416 8004.400 100.00% Conn: 1 Mbps: 8004.400 Peak Mbps: 8037.474 Avg Mbps: 8004.400 3000 997685744 7981.486 100.00% Conn: 1 Mbps: 7981.486 Peak Mbps: 8037.474 Avg Mbps: 7981.486 4000 997718440 7981.748 100.00% Conn: 1 Mbps: 7981.748 Peak Mbps: 8037.474 Avg Mbps: 7981.748 5000 1021521128 8172.169 100.00% Conn: 1 Mbps: 8172.169 Peak Mbps: 8172.169 Avg Mbps: 8172.169 --- fc00:0:0:1::12 tcpbench statistics --- 6039573972 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7981.486/8035.455/8172.169/71.353 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.057 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.057/0.057/0.057/0.000 ms ==== run-ping6-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.052 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/0.000 ms ==== run-tcpbench-3-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1055113604 8440.909 100.00% Conn: 1 Mbps: 8440.909 Peak Mbps: 8440.909 Avg Mbps: 8440.909 2000 1055712604 8454.155 100.00% Conn: 1 Mbps: 8454.155 Peak Mbps: 8454.155 Avg Mbps: 8454.155 3000 1057053960 8456.432 100.00% Conn: 1 Mbps: 8456.432 Peak Mbps: 8456.432 Avg Mbps: 8456.432 4000 1059573092 8476.585 100.00% Conn: 1 Mbps: 8476.585 Peak Mbps: 8476.585 Avg Mbps: 8476.585 5000 1056007048 8448.056 100.00% Conn: 1 Mbps: 8448.056 Peak Mbps: 8476.585 Avg Mbps: 8448.056 --- 169.254.0.13 tcpbench statistics --- 6339127582 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8440.909/8455.227/8476.585/11.960 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 1048942916 8391.543 100.00% Conn: 1 Mbps: 8391.543 Peak Mbps: 8391.543 Avg Mbps: 8391.543 2000 1043623624 8357.346 100.00% Conn: 1 Mbps: 8357.346 Peak Mbps: 8391.543 Avg Mbps: 8357.346 3000 1040648288 8325.186 100.00% Conn: 1 Mbps: 8325.186 Peak Mbps: 8391.543 Avg Mbps: 8325.186 4000 1041825344 8334.603 100.00% Conn: 1 Mbps: 8334.603 Peak Mbps: 8391.543 Avg Mbps: 8334.603 5000 1038098000 8304.784 100.00% Conn: 1 Mbps: 8304.784 Peak Mbps: 8391.543 Avg Mbps: 8304.784 --- fc00::13 tcpbench statistics --- 6253786460 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8304.784/8342.693/8391.543/29.699 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.85s