START sys/net/pair 2024-10-15T04:08:58Z ==== 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.059 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.059/0.059/0.059/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.064 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.064/0.064/0.064/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 581539264 4652.314 100.00% Conn: 1 Mbps: 4652.314 Peak Mbps: 4652.314 Avg Mbps: 4652.314 2000 584233636 4673.869 100.00% Conn: 1 Mbps: 4673.869 Peak Mbps: 4673.869 Avg Mbps: 4673.869 3000 580815996 4646.528 100.00% Conn: 1 Mbps: 4646.528 Peak Mbps: 4673.869 Avg Mbps: 4646.528 4000 581777704 4654.222 100.00% Conn: 1 Mbps: 4654.222 Peak Mbps: 4673.869 Avg Mbps: 4654.222 5000 581777704 4654.222 100.00% Conn: 1 Mbps: 4654.222 Peak Mbps: 4673.869 Avg Mbps: 4654.222 --- 169.254.1.11 tcpbench statistics --- 3492780392 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4646.528/4656.231/4673.869/9.259 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 571030056 4568.240 100.00% Conn: 1 Mbps: 4568.240 Peak Mbps: 4568.240 Avg Mbps: 4568.240 2000 568849856 4555.354 100.00% Conn: 1 Mbps: 4555.354 Peak Mbps: 4568.240 Avg Mbps: 4555.354 3000 567327680 4543.165 100.00% Conn: 1 Mbps: 4543.165 Peak Mbps: 4568.240 Avg Mbps: 4543.165 4000 566867856 4534.943 100.00% Conn: 1 Mbps: 4534.943 Peak Mbps: 4568.240 Avg Mbps: 4534.943 5000 567549664 4540.397 100.00% Conn: 1 Mbps: 4540.397 Peak Mbps: 4568.240 Avg Mbps: 4540.397 --- fc00:0:0:1::11 tcpbench statistics --- 3407700168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4534.943/4548.420/4568.240/11.954 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.081 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.081/0.081/0.081/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.154 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.154/0.154/0.154/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 216932864 1735.463 100.00% Conn: 1 Mbps: 1735.463 Peak Mbps: 1735.463 Avg Mbps: 1735.463 2000 217068376 1736.547 100.00% Conn: 1 Mbps: 1736.547 Peak Mbps: 1736.547 Avg Mbps: 1736.547 3000 216877104 1735.017 100.00% Conn: 1 Mbps: 1735.017 Peak Mbps: 1736.547 Avg Mbps: 1735.017 4001 218546544 1748.372 100.00% Conn: 1 Mbps: 1748.372 Peak Mbps: 1748.372 Avg Mbps: 1748.372 5000 215220432 1723.487 100.00% Conn: 1 Mbps: 1723.487 Peak Mbps: 1748.372 Avg Mbps: 1723.487 --- 169.254.1.12 tcpbench statistics --- 1301814704 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1723.487/1735.777/1748.372/7.886 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 208523708 1668.190 100.00% Conn: 1 Mbps: 1668.190 Peak Mbps: 1668.190 Avg Mbps: 1668.190 2000 208925472 1671.404 100.00% Conn: 1 Mbps: 1671.404 Peak Mbps: 1671.404 Avg Mbps: 1671.404 3001 206187160 1649.497 100.00% Conn: 1 Mbps: 1649.497 Peak Mbps: 1671.404 Avg Mbps: 1649.497 4001 205186868 1641.495 100.00% Conn: 1 Mbps: 1641.495 Peak Mbps: 1671.404 Avg Mbps: 1641.495 5001 206381836 1651.055 100.00% Conn: 1 Mbps: 1651.055 Peak Mbps: 1671.404 Avg Mbps: 1651.055 --- fc00:0:0:1::12 tcpbench statistics --- 1243413604 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1641.495/1656.328/1671.404/11.511 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.078 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.078/0.078/0.078/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.073 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.073/0.073/0.073/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 309439484 2475.516 100.00% Conn: 1 Mbps: 2475.516 Peak Mbps: 2475.516 Avg Mbps: 2475.516 2000 307778352 2464.692 100.00% Conn: 1 Mbps: 2464.692 Peak Mbps: 2475.516 Avg Mbps: 2464.692 3000 307126616 2457.013 100.00% Conn: 1 Mbps: 2457.013 Peak Mbps: 2475.516 Avg Mbps: 2457.013 4000 308398296 2469.656 100.00% Conn: 1 Mbps: 2469.656 Peak Mbps: 2475.516 Avg Mbps: 2469.656 5000 307515928 2460.127 100.00% Conn: 1 Mbps: 2460.127 Peak Mbps: 2475.516 Avg Mbps: 2460.127 --- 169.254.0.13 tcpbench statistics --- 1845819396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2457.013/2465.401/2475.516/6.620 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 290418496 2323.348 100.00% Conn: 1 Mbps: 2323.348 Peak Mbps: 2323.348 Avg Mbps: 2323.348 2000 291124088 2328.993 100.00% Conn: 1 Mbps: 2328.993 Peak Mbps: 2328.993 Avg Mbps: 2328.993 3000 290489848 2323.919 100.00% Conn: 1 Mbps: 2323.919 Peak Mbps: 2328.993 Avg Mbps: 2323.919 4000 293391496 2347.132 100.00% Conn: 1 Mbps: 2347.132 Peak Mbps: 2347.132 Avg Mbps: 2347.132 5000 291774184 2336.530 100.00% Conn: 1 Mbps: 2336.530 Peak Mbps: 2347.132 Avg Mbps: 2336.530 --- fc00::13 tcpbench statistics --- 1747854448 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2323.348/2331.984/2347.132/8.930 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.050 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.050/0.050/0.050/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.070 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.070/0.070/0.070/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 217078952 1736.632 100.00% Conn: 1 Mbps: 1736.632 Peak Mbps: 1736.632 Avg Mbps: 1736.632 2000 216016392 1728.131 100.00% Conn: 1 Mbps: 1728.131 Peak Mbps: 1736.632 Avg Mbps: 1728.131 3000 218496424 1749.721 100.00% Conn: 1 Mbps: 1749.721 Peak Mbps: 1749.721 Avg Mbps: 1749.721 4001 218160936 1745.287 100.00% Conn: 1 Mbps: 1745.287 Peak Mbps: 1749.721 Avg Mbps: 1745.287 5001 217743016 1741.944 100.00% Conn: 1 Mbps: 1741.944 Peak Mbps: 1749.721 Avg Mbps: 1741.944 --- 169.254.1.11 tcpbench statistics --- 1305468624 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1728.131/1740.343/1749.721/7.455 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 208094716 1664.758 100.00% Conn: 1 Mbps: 1664.758 Peak Mbps: 1664.758 Avg Mbps: 1664.758 2000 207230292 1657.842 100.00% Conn: 1 Mbps: 1657.842 Peak Mbps: 1664.758 Avg Mbps: 1657.842 3001 207070400 1656.563 100.00% Conn: 1 Mbps: 1656.563 Peak Mbps: 1664.758 Avg Mbps: 1656.563 4001 207356496 1658.852 100.00% Conn: 1 Mbps: 1658.852 Peak Mbps: 1664.758 Avg Mbps: 1658.852 5002 207550068 1660.401 100.00% Conn: 1 Mbps: 1660.401 Peak Mbps: 1664.758 Avg Mbps: 1660.401 --- fc00:0:0:1::11 tcpbench statistics --- 1245954216 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1656.563/1659.683/1664.758/2.831 Mbps ==== run-ping-2-2 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.043 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.050 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.050/0.050/0.050/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 577414616 4619.317 100.00% Conn: 1 Mbps: 4619.317 Peak Mbps: 4619.317 Avg Mbps: 4619.317 2000 573064824 4589.108 100.00% Conn: 1 Mbps: 4589.108 Peak Mbps: 4619.317 Avg Mbps: 4589.108 3000 574046568 4596.970 100.00% Conn: 1 Mbps: 4596.970 Peak Mbps: 4619.317 Avg Mbps: 4596.970 4000 576864376 4614.915 100.00% Conn: 1 Mbps: 4614.915 Peak Mbps: 4619.317 Avg Mbps: 4614.915 5000 573030072 4588.829 100.00% Conn: 1 Mbps: 4588.829 Peak Mbps: 4619.317 Avg Mbps: 4588.829 --- 169.254.1.12 tcpbench statistics --- 3449550128 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4588.829/4601.828/4619.317/12.896 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 565697916 4525.583 100.00% Conn: 1 Mbps: 4525.583 Peak Mbps: 4525.583 Avg Mbps: 4525.583 2000 564675468 4517.404 100.00% Conn: 1 Mbps: 4517.404 Peak Mbps: 4525.583 Avg Mbps: 4517.404 3000 563148936 4509.701 100.00% Conn: 1 Mbps: 4509.701 Peak Mbps: 4525.583 Avg Mbps: 4509.701 4000 564929652 4519.437 100.00% Conn: 1 Mbps: 4519.437 Peak Mbps: 4525.583 Avg Mbps: 4519.437 5000 564912516 4519.300 100.00% Conn: 1 Mbps: 4519.300 Peak Mbps: 4525.583 Avg Mbps: 4519.300 --- fc00:0:0:1::12 tcpbench statistics --- 3386727624 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4509.701/4518.285/4525.583/5.101 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.050 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.050/0.050/0.050/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.058 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.058/0.058/0.058/0.000 ms ==== run-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 1055045696 8440.366 100.00% Conn: 1 Mbps: 8440.366 Peak Mbps: 8440.366 Avg Mbps: 8440.366 2000 1043934844 8359.839 100.00% Conn: 1 Mbps: 8359.839 Peak Mbps: 8440.366 Avg Mbps: 8359.839 3000 1052408288 8419.266 100.00% Conn: 1 Mbps: 8419.266 Peak Mbps: 8440.366 Avg Mbps: 8419.266 4000 1051328660 8410.629 100.00% Conn: 1 Mbps: 8410.629 Peak Mbps: 8440.366 Avg Mbps: 8410.629 5000 1050314464 8402.516 100.00% Conn: 1 Mbps: 8402.516 Peak Mbps: 8440.366 Avg Mbps: 8402.516 --- 169.254.0.13 tcpbench statistics --- 6304589624 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8359.839/8406.523/8440.366/26.533 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 1032903620 8263.229 100.00% Conn: 1 Mbps: 8263.229 Peak Mbps: 8263.229 Avg Mbps: 8263.229 2000 1028877728 8239.261 100.00% Conn: 1 Mbps: 8239.261 Peak Mbps: 8263.229 Avg Mbps: 8239.261 3000 1026621704 8212.974 100.00% Conn: 1 Mbps: 8212.974 Peak Mbps: 8263.229 Avg Mbps: 8212.974 4000 1028256504 8226.052 100.00% Conn: 1 Mbps: 8226.052 Peak Mbps: 8263.229 Avg Mbps: 8226.052 5000 1029204688 8233.638 100.00% Conn: 1 Mbps: 8233.638 Peak Mbps: 8263.229 Avg Mbps: 8233.638 --- fc00::13 tcpbench statistics --- 6174676580 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8212.974/8235.031/8263.229/16.626 Mbps ==== run-ping-3-1 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.061 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.061/0.061/0.061/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.070 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.070/0.070/0.070/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 217175584 1737.405 100.00% Conn: 1 Mbps: 1737.405 Peak Mbps: 1737.405 Avg Mbps: 1737.405 2000 216774264 1734.194 100.00% Conn: 1 Mbps: 1734.194 Peak Mbps: 1737.405 Avg Mbps: 1734.194 3000 215789032 1726.312 100.00% Conn: 1 Mbps: 1726.312 Peak Mbps: 1737.405 Avg Mbps: 1726.312 4000 215776832 1726.215 100.00% Conn: 1 Mbps: 1726.215 Peak Mbps: 1737.405 Avg Mbps: 1726.215 5000 216631208 1733.050 100.00% Conn: 1 Mbps: 1733.050 Peak Mbps: 1737.405 Avg Mbps: 1733.050 --- 169.254.1.11 tcpbench statistics --- 1298871576 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1726.215/1731.435/1737.405/4.458 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 303504448 2428.036 100.00% Conn: 1 Mbps: 2428.036 Peak Mbps: 2428.036 Avg Mbps: 2428.036 2001 297777576 2382.221 100.00% Conn: 1 Mbps: 2382.221 Peak Mbps: 2428.036 Avg Mbps: 2382.221 3001 304495160 2435.961 100.00% Conn: 1 Mbps: 2435.961 Peak Mbps: 2435.961 Avg Mbps: 2435.961 4001 302713936 2421.711 100.00% Conn: 1 Mbps: 2421.711 Peak Mbps: 2435.961 Avg Mbps: 2421.711 5002 303222160 2425.777 100.00% Conn: 1 Mbps: 2425.777 Peak Mbps: 2435.961 Avg Mbps: 2425.777 --- fc00:0:0:1::11 tcpbench statistics --- 1818305512 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2382.221/2418.741/2435.961/18.841 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.063 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.063/0.063/0.063/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.056 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.056/0.056/0.056/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 1043806842 8350.455 100.00% Conn: 1 Mbps: 8350.455 Peak Mbps: 8350.455 Avg Mbps: 8350.455 2000 1046453976 8380.012 100.00% Conn: 1 Mbps: 8380.012 Peak Mbps: 8380.012 Avg Mbps: 8380.012 3000 1044916324 8359.331 100.00% Conn: 1 Mbps: 8359.331 Peak Mbps: 8380.012 Avg Mbps: 8359.331 4000 1047141012 8377.128 100.00% Conn: 1 Mbps: 8377.128 Peak Mbps: 8380.012 Avg Mbps: 8377.128 5000 1045995952 8367.968 100.00% Conn: 1 Mbps: 8367.968 Peak Mbps: 8380.012 Avg Mbps: 8367.968 --- 169.254.1.12 tcpbench statistics --- 6275520550 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8350.455/8366.979/8380.012/11.004 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 1034815868 8278.527 100.00% Conn: 1 Mbps: 8278.527 Peak Mbps: 8278.527 Avg Mbps: 8278.527 2000 1025706216 8213.864 100.00% Conn: 1 Mbps: 8213.864 Peak Mbps: 8278.527 Avg Mbps: 8213.864 3000 1024463768 8195.710 100.00% Conn: 1 Mbps: 8195.710 Peak Mbps: 8278.527 Avg Mbps: 8195.710 4000 1025575432 8204.603 100.00% Conn: 1 Mbps: 8204.603 Peak Mbps: 8278.527 Avg Mbps: 8204.603 5000 1025117688 8200.942 100.00% Conn: 1 Mbps: 8200.942 Peak Mbps: 8278.527 Avg Mbps: 8200.942 --- fc00:0:0:1::12 tcpbench statistics --- 6161712148 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8195.710/8218.729/8278.527/30.480 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.055 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.055/0.055/0.055/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.049 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.049/0.049/0.049/0.000 ms ==== run-tcpbench-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 1088281654 8706.253 100.00% Conn: 1 Mbps: 8706.253 Peak Mbps: 8706.253 Avg Mbps: 8706.253 2000 1098047108 8793.170 100.00% Conn: 1 Mbps: 8793.170 Peak Mbps: 8793.170 Avg Mbps: 8793.170 3000 1105571788 8844.574 100.00% Conn: 1 Mbps: 8844.574 Peak Mbps: 8844.574 Avg Mbps: 8844.574 4000 1099552044 8796.416 100.00% Conn: 1 Mbps: 8796.416 Peak Mbps: 8844.574 Avg Mbps: 8796.416 5000 1100239080 8810.723 100.00% Conn: 1 Mbps: 8810.723 Peak Mbps: 8844.574 Avg Mbps: 8810.723 --- 169.254.0.13 tcpbench statistics --- 6587088786 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8706.253/8790.227/8844.574/45.765 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 1078275656 8626.205 100.00% Conn: 1 Mbps: 8626.205 Peak Mbps: 8626.205 Avg Mbps: 8626.205 2000 1082597256 8669.447 100.00% Conn: 1 Mbps: 8669.447 Peak Mbps: 8669.447 Avg Mbps: 8669.447 3000 1079131480 8633.052 100.00% Conn: 1 Mbps: 8633.052 Peak Mbps: 8669.447 Avg Mbps: 8633.052 4000 1078477560 8627.820 100.00% Conn: 1 Mbps: 8627.820 Peak Mbps: 8669.447 Avg Mbps: 8627.820 5000 1082368384 8658.947 100.00% Conn: 1 Mbps: 8658.947 Peak Mbps: 8669.447 Avg Mbps: 8658.947 --- fc00::13 tcpbench statistics --- 6480799216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8626.205/8643.094/8669.447/17.693 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.90s