START sys/net/pair 2024-12-05T05:12:22Z ==== 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.040 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.040/0.040/0.040/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.044 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.044/0.044/0.044/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 553180800 4425.446 100.00% Conn: 1 Mbps: 4425.446 Peak Mbps: 4425.446 Avg Mbps: 4425.446 2000 552592648 4425.166 100.00% Conn: 1 Mbps: 4425.166 Peak Mbps: 4425.446 Avg Mbps: 4425.166 3000 551471980 4411.776 100.00% Conn: 1 Mbps: 4411.776 Peak Mbps: 4425.446 Avg Mbps: 4411.776 4000 551368656 4410.949 100.00% Conn: 1 Mbps: 4410.949 Peak Mbps: 4425.446 Avg Mbps: 4410.949 5000 551996548 4420.393 100.00% Conn: 1 Mbps: 4420.393 Peak Mbps: 4425.446 Avg Mbps: 4420.393 --- 169.254.1.11 tcpbench statistics --- 3314943892 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4410.949/4418.746/4425.446/6.296 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 551273480 4410.188 100.00% Conn: 1 Mbps: 4410.188 Peak Mbps: 4410.188 Avg Mbps: 4410.188 2000 550258696 4402.070 100.00% Conn: 1 Mbps: 4402.070 Peak Mbps: 4410.188 Avg Mbps: 4402.070 3000 549711664 4397.693 100.00% Conn: 1 Mbps: 4397.693 Peak Mbps: 4410.188 Avg Mbps: 4397.693 4000 549196344 4393.571 100.00% Conn: 1 Mbps: 4393.571 Peak Mbps: 4410.188 Avg Mbps: 4393.571 5000 548879224 4395.429 100.00% Conn: 1 Mbps: 4395.429 Peak Mbps: 4410.188 Avg Mbps: 4395.429 --- fc00:0:0:1::11 tcpbench statistics --- 3298476112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4393.571/4399.790/4410.188/5.923 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.071 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.071/0.071/0.071/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.130 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.130/0.130/0.130/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 216546152 1732.369 100.00% Conn: 1 Mbps: 1732.369 Peak Mbps: 1732.369 Avg Mbps: 1732.369 2000 217688656 1741.509 100.00% Conn: 1 Mbps: 1741.509 Peak Mbps: 1741.509 Avg Mbps: 1741.509 3001 217085008 1736.680 100.00% Conn: 1 Mbps: 1736.680 Peak Mbps: 1741.509 Avg Mbps: 1736.680 4000 214689088 1719.232 100.00% Conn: 1 Mbps: 1719.232 Peak Mbps: 1741.509 Avg Mbps: 1719.232 5000 216635208 1733.082 100.00% Conn: 1 Mbps: 1733.082 Peak Mbps: 1741.509 Avg Mbps: 1733.082 --- 169.254.1.12 tcpbench statistics --- 1300038568 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1719.232/1732.574/1741.509/7.416 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 209039348 1672.315 100.00% Conn: 1 Mbps: 1672.315 Peak Mbps: 1672.315 Avg Mbps: 1672.315 2001 209918000 1679.344 100.00% Conn: 1 Mbps: 1679.344 Peak Mbps: 1679.344 Avg Mbps: 1679.344 3000 207542720 1662.004 100.00% Conn: 1 Mbps: 1662.004 Peak Mbps: 1679.344 Avg Mbps: 1662.004 4001 207187312 1657.498 100.00% Conn: 1 Mbps: 1657.498 Peak Mbps: 1679.344 Avg Mbps: 1657.498 5002 206815876 1652.874 100.00% Conn: 1 Mbps: 1652.874 Peak Mbps: 1679.344 Avg Mbps: 1652.874 --- fc00:0:0:1::12 tcpbench statistics --- 1246371096 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1652.874/1664.807/1679.344/9.709 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.060 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.060/0.060/0.060/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.069 ms --- fc00::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-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 304575308 2436.602 100.00% Conn: 1 Mbps: 2436.602 Peak Mbps: 2436.602 Avg Mbps: 2436.602 2000 302135272 2419.502 100.00% Conn: 1 Mbps: 2419.502 Peak Mbps: 2436.602 Avg Mbps: 2419.502 3000 296643064 2373.145 100.00% Conn: 1 Mbps: 2373.145 Peak Mbps: 2436.602 Avg Mbps: 2373.145 4000 296992916 2375.943 100.00% Conn: 1 Mbps: 2375.943 Peak Mbps: 2436.602 Avg Mbps: 2375.943 5000 296619360 2375.330 100.00% Conn: 1 Mbps: 2375.330 Peak Mbps: 2436.602 Avg Mbps: 2375.330 --- 169.254.0.13 tcpbench statistics --- 1793577332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2373.145/2396.104/2436.602/26.656 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 294009880 2352.079 100.00% Conn: 1 Mbps: 2352.079 Peak Mbps: 2352.079 Avg Mbps: 2352.079 2000 293565912 2350.878 100.00% Conn: 1 Mbps: 2350.878 Peak Mbps: 2352.079 Avg Mbps: 2350.878 3000 295730256 2365.842 100.00% Conn: 1 Mbps: 2365.842 Peak Mbps: 2365.842 Avg Mbps: 2365.842 4000 293721224 2349.770 100.00% Conn: 1 Mbps: 2349.770 Peak Mbps: 2365.842 Avg Mbps: 2349.770 5000 293423208 2347.386 100.00% Conn: 1 Mbps: 2347.386 Peak Mbps: 2365.842 Avg Mbps: 2347.386 --- fc00::13 tcpbench statistics --- 1765828656 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2347.386/2353.191/2365.842/6.512 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.052 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.052/0.052/0.052/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.050 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.050/0.050/0.050/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 217546288 1740.370 100.00% Conn: 1 Mbps: 1740.370 Peak Mbps: 1740.370 Avg Mbps: 1740.370 2000 221048960 1768.392 100.00% Conn: 1 Mbps: 1768.392 Peak Mbps: 1768.392 Avg Mbps: 1768.392 3000 219936576 1761.254 100.00% Conn: 1 Mbps: 1761.254 Peak Mbps: 1768.392 Avg Mbps: 1761.254 4000 218628656 1749.029 100.00% Conn: 1 Mbps: 1749.029 Peak Mbps: 1768.392 Avg Mbps: 1749.029 5001 217808592 1742.469 100.00% Conn: 1 Mbps: 1742.469 Peak Mbps: 1768.392 Avg Mbps: 1742.469 --- 169.254.1.11 tcpbench statistics --- 1312277096 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1740.370/1752.303/1768.392/10.852 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 209255948 1674.048 100.00% Conn: 1 Mbps: 1674.048 Peak Mbps: 1674.048 Avg Mbps: 1674.048 2001 208254040 1666.032 100.00% Conn: 1 Mbps: 1666.032 Peak Mbps: 1674.048 Avg Mbps: 1666.032 3002 206772104 1654.177 100.00% Conn: 1 Mbps: 1654.177 Peak Mbps: 1674.048 Avg Mbps: 1654.177 4002 206980096 1655.841 100.00% Conn: 1 Mbps: 1655.841 Peak Mbps: 1674.048 Avg Mbps: 1655.841 5002 207581340 1660.651 100.00% Conn: 1 Mbps: 1660.651 Peak Mbps: 1674.048 Avg Mbps: 1660.651 --- fc00:0:0:1::11 tcpbench statistics --- 1243737824 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1654.177/1662.150/1674.048/7.242 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.038 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.038/0.038/0.038/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.058 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.058/0.058/0.058/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 557840552 4462.724 100.00% Conn: 1 Mbps: 4462.724 Peak Mbps: 4462.724 Avg Mbps: 4462.724 2000 553732576 4434.295 100.00% Conn: 1 Mbps: 4434.295 Peak Mbps: 4462.724 Avg Mbps: 4434.295 3000 550874224 4406.994 100.00% Conn: 1 Mbps: 4406.994 Peak Mbps: 4462.724 Avg Mbps: 4406.994 4000 551604016 4412.832 100.00% Conn: 1 Mbps: 4412.832 Peak Mbps: 4462.724 Avg Mbps: 4412.832 5000 549110560 4392.884 100.00% Conn: 1 Mbps: 4392.884 Peak Mbps: 4462.724 Avg Mbps: 4392.884 --- 169.254.1.12 tcpbench statistics --- 3310862136 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4392.884/4421.946/4462.724/24.358 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 553120092 4424.961 100.00% Conn: 1 Mbps: 4424.961 Peak Mbps: 4424.961 Avg Mbps: 4424.961 2000 553826952 4435.051 100.00% Conn: 1 Mbps: 4435.051 Peak Mbps: 4435.051 Avg Mbps: 4435.051 3000 553862652 4430.901 100.00% Conn: 1 Mbps: 4430.901 Peak Mbps: 4435.051 Avg Mbps: 4430.901 4000 553795536 4430.364 100.00% Conn: 1 Mbps: 4430.364 Peak Mbps: 4435.051 Avg Mbps: 4430.364 5000 552860196 4422.882 100.00% Conn: 1 Mbps: 4422.882 Peak Mbps: 4435.051 Avg Mbps: 4422.882 --- fc00:0:0:1::12 tcpbench statistics --- 3322260564 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4422.882/4428.832/4435.051/4.375 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.045 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-ping6-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.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-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 1056684644 8453.477 100.00% Conn: 1 Mbps: 8453.477 Peak Mbps: 8453.477 Avg Mbps: 8453.477 2000 1058722476 8478.258 100.00% Conn: 1 Mbps: 8478.258 Peak Mbps: 8478.258 Avg Mbps: 8478.258 3000 1050314464 8402.516 100.00% Conn: 1 Mbps: 8402.516 Peak Mbps: 8478.258 Avg Mbps: 8402.516 4000 1058886056 8471.088 100.00% Conn: 1 Mbps: 8471.088 Peak Mbps: 8478.258 Avg Mbps: 8471.088 5000 1058526180 8468.209 100.00% Conn: 1 Mbps: 8468.209 Peak Mbps: 8478.258 Avg Mbps: 8468.209 --- 169.254.0.13 tcpbench statistics --- 6343099504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8402.516/8454.710/8478.258/27.316 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 1027433448 8219.468 100.00% Conn: 1 Mbps: 8219.468 Peak Mbps: 8219.468 Avg Mbps: 8219.468 2000 1031493408 8260.207 100.00% Conn: 1 Mbps: 8260.207 Peak Mbps: 8260.207 Avg Mbps: 8260.207 3000 1031002968 8248.024 100.00% Conn: 1 Mbps: 8248.024 Peak Mbps: 8260.207 Avg Mbps: 8248.024 4000 1033847520 8270.780 100.00% Conn: 1 Mbps: 8270.780 Peak Mbps: 8270.780 Avg Mbps: 8270.780 5000 1032539680 8260.317 100.00% Conn: 1 Mbps: 8260.317 Peak Mbps: 8270.780 Avg Mbps: 8260.317 --- fc00::13 tcpbench statistics --- 6189902976 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8219.468/8251.759/8270.780/17.681 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.051 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-ping6-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.057 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.057/0.057/0.057/0.000 ms ==== run-tcpbench-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 212371688 1698.974 100.00% Conn: 1 Mbps: 1698.974 Peak Mbps: 1698.974 Avg Mbps: 1698.974 2000 213623440 1708.988 100.00% Conn: 1 Mbps: 1708.988 Peak Mbps: 1708.988 Avg Mbps: 1708.988 3000 213990224 1711.922 100.00% Conn: 1 Mbps: 1711.922 Peak Mbps: 1711.922 Avg Mbps: 1711.922 4001 213877576 1711.021 100.00% Conn: 1 Mbps: 1711.021 Peak Mbps: 1711.922 Avg Mbps: 1711.021 5001 212835848 1702.687 100.00% Conn: 1 Mbps: 1702.687 Peak Mbps: 1711.922 Avg Mbps: 1702.687 --- 169.254.1.11 tcpbench statistics --- 1280732616 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1698.974/1706.718/1711.922/5.039 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 1001 306172264 2446.931 100.00% Conn: 1 Mbps: 2446.931 Peak Mbps: 2446.931 Avg Mbps: 2446.931 2001 303917536 2431.340 100.00% Conn: 1 Mbps: 2431.340 Peak Mbps: 2446.931 Avg Mbps: 2431.340 3001 307416672 2459.333 100.00% Conn: 1 Mbps: 2459.333 Peak Mbps: 2459.333 Avg Mbps: 2459.333 4001 307467168 2462.200 100.00% Conn: 1 Mbps: 2462.200 Peak Mbps: 2462.200 Avg Mbps: 2462.200 5001 303308408 2428.896 100.00% Conn: 1 Mbps: 2428.896 Peak Mbps: 2462.200 Avg Mbps: 2428.896 --- fc00:0:0:1::11 tcpbench statistics --- 1833842504 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2428.896/2445.740/2462.200/13.771 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.061 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.061/0.061/0.061/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 1060473758 8483.790 100.00% Conn: 1 Mbps: 8483.790 Peak Mbps: 8483.790 Avg Mbps: 8483.790 2000 1062059508 8504.981 100.00% Conn: 1 Mbps: 8504.981 Peak Mbps: 8504.981 Avg Mbps: 8504.981 3000 1060227412 8481.819 100.00% Conn: 1 Mbps: 8481.819 Peak Mbps: 8504.981 Avg Mbps: 8481.819 4000 1062157656 8497.261 100.00% Conn: 1 Mbps: 8497.261 Peak Mbps: 8504.981 Avg Mbps: 8497.261 5000 1058199020 8465.592 100.00% Conn: 1 Mbps: 8465.592 Peak Mbps: 8504.981 Avg Mbps: 8465.592 --- 169.254.1.12 tcpbench statistics --- 6362854026 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8465.592/8486.689/8504.981/13.591 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 1034275700 8274.206 100.00% Conn: 1 Mbps: 8274.206 Peak Mbps: 8274.206 Avg Mbps: 8274.206 2000 1034011000 8280.368 100.00% Conn: 1 Mbps: 8280.368 Peak Mbps: 8280.368 Avg Mbps: 8280.368 3000 1030708704 8245.670 100.00% Conn: 1 Mbps: 8245.670 Peak Mbps: 8280.368 Avg Mbps: 8245.670 4000 1032310808 8258.486 100.00% Conn: 1 Mbps: 8258.486 Peak Mbps: 8280.368 Avg Mbps: 8258.486 5000 1031853064 8254.825 100.00% Conn: 1 Mbps: 8254.825 Peak Mbps: 8280.368 Avg Mbps: 8254.825 --- fc00:0:0:1::12 tcpbench statistics --- 6195241212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8245.670/8262.711/8280.368/12.762 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.039 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.039/0.039/0.039/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.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-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 1117628202 8941.026 100.00% Conn: 1 Mbps: 8941.026 Peak Mbps: 8941.026 Avg Mbps: 8941.026 2000 1117742140 8950.888 100.00% Conn: 1 Mbps: 8950.888 Peak Mbps: 8950.888 Avg Mbps: 8950.888 3000 1114339676 8914.717 100.00% Conn: 1 Mbps: 8914.717 Peak Mbps: 8950.888 Avg Mbps: 8914.717 4000 1116760660 8934.085 100.00% Conn: 1 Mbps: 8934.085 Peak Mbps: 8950.888 Avg Mbps: 8934.085 5000 1115779180 8926.233 100.00% Conn: 1 Mbps: 8926.233 Peak Mbps: 8950.888 Avg Mbps: 8926.233 --- 169.254.0.13 tcpbench statistics --- 6697309286 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8914.717/8933.390/8950.888/12.368 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 1075864796 8606.918 100.00% Conn: 1 Mbps: 8606.918 Peak Mbps: 8606.918 Avg Mbps: 8606.918 2000 1077823640 8631.220 100.00% Conn: 1 Mbps: 8631.220 Peak Mbps: 8631.220 Avg Mbps: 8631.220 3000 1077431288 8619.450 100.00% Conn: 1 Mbps: 8619.450 Peak Mbps: 8631.220 Avg Mbps: 8619.450 4000 1078673736 8629.390 100.00% Conn: 1 Mbps: 8629.390 Peak Mbps: 8631.220 Avg Mbps: 8629.390 5000 1077987120 8623.897 100.00% Conn: 1 Mbps: 8623.897 Peak Mbps: 8631.220 Avg Mbps: 8623.897 --- fc00::13 tcpbench statistics --- 6464721428 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8606.918/8622.175/8631.220/8.684 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