START sys/net/pair 2025-01-06T04:59:37Z ==== 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.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-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 698899432 5591.195 100.00% Conn: 1 Mbps: 5591.195 Peak Mbps: 5591.195 Avg Mbps: 5591.195 2000 694488292 5561.468 100.00% Conn: 1 Mbps: 5561.468 Peak Mbps: 5591.195 Avg Mbps: 5561.468 3000 700830796 5606.646 100.00% Conn: 1 Mbps: 5606.646 Peak Mbps: 5606.646 Avg Mbps: 5606.646 4000 699773712 5598.190 100.00% Conn: 1 Mbps: 5598.190 Peak Mbps: 5606.646 Avg Mbps: 5598.190 5000 691714440 5533.716 100.00% Conn: 1 Mbps: 5533.716 Peak Mbps: 5606.646 Avg Mbps: 5533.716 --- 169.254.1.11 tcpbench statistics --- 4181919680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5533.716/5578.243/5606.646/26.968 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 701255384 5610.043 100.00% Conn: 1 Mbps: 5610.043 Peak Mbps: 5610.043 Avg Mbps: 5610.043 2000 698155536 5590.835 100.00% Conn: 1 Mbps: 5590.835 Peak Mbps: 5610.043 Avg Mbps: 5590.835 3000 700232672 5601.861 100.00% Conn: 1 Mbps: 5601.861 Peak Mbps: 5610.043 Avg Mbps: 5601.861 4000 699992624 5599.941 100.00% Conn: 1 Mbps: 5599.941 Peak Mbps: 5610.043 Avg Mbps: 5599.941 5000 706285896 5650.287 100.00% Conn: 1 Mbps: 5650.287 Peak Mbps: 5650.287 Avg Mbps: 5650.287 --- fc00:0:0:1::11 tcpbench statistics --- 4205258920 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5590.835/5610.594/5650.287/20.765 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.144 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.144/0.144/0.144/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 260617944 2084.944 100.00% Conn: 1 Mbps: 2084.944 Peak Mbps: 2084.944 Avg Mbps: 2084.944 2001 275252752 2202.022 100.00% Conn: 1 Mbps: 2202.022 Peak Mbps: 2202.022 Avg Mbps: 2202.022 3002 270703472 2163.464 100.00% Conn: 1 Mbps: 2163.464 Peak Mbps: 2202.022 Avg Mbps: 2163.464 4002 271092472 2170.911 100.00% Conn: 1 Mbps: 2170.911 Peak Mbps: 2202.022 Avg Mbps: 2170.911 5002 269311056 2154.488 100.00% Conn: 1 Mbps: 2154.488 Peak Mbps: 2202.022 Avg Mbps: 2154.488 --- 169.254.1.12 tcpbench statistics --- 1614561888 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2084.944/2155.166/2202.022/38.585 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 233935672 1871.485 100.00% Conn: 1 Mbps: 1871.485 Peak Mbps: 1871.485 Avg Mbps: 1871.485 2000 242426660 1941.355 100.00% Conn: 1 Mbps: 1941.355 Peak Mbps: 1941.355 Avg Mbps: 1941.355 3002 251508924 2008.055 100.00% Conn: 1 Mbps: 2008.055 Peak Mbps: 2008.055 Avg Mbps: 2008.055 4002 247879288 1985.019 100.00% Conn: 1 Mbps: 1985.019 Peak Mbps: 2008.055 Avg Mbps: 1985.019 5002 249976836 1999.815 100.00% Conn: 1 Mbps: 1999.815 Peak Mbps: 2008.055 Avg Mbps: 1999.815 --- fc00:0:0:1::12 tcpbench statistics --- 1476607420 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1871.485/1961.146/2008.055/50.391 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.068 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.068/0.068/0.068/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.070 ms --- fc00::13 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-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 547577460 4380.620 100.00% Conn: 1 Mbps: 4380.620 Peak Mbps: 4380.620 Avg Mbps: 4380.620 2000 560397584 4487.668 100.00% Conn: 1 Mbps: 4487.668 Peak Mbps: 4487.668 Avg Mbps: 4487.668 3000 559706108 4477.649 100.00% Conn: 1 Mbps: 4477.649 Peak Mbps: 4487.668 Avg Mbps: 4477.649 4000 550947412 4411.991 100.00% Conn: 1 Mbps: 4411.991 Peak Mbps: 4487.668 Avg Mbps: 4411.991 5000 550224144 4401.793 100.00% Conn: 1 Mbps: 4401.793 Peak Mbps: 4487.668 Avg Mbps: 4401.793 --- 169.254.0.13 tcpbench statistics --- 3322255912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4380.620/4431.944/4487.668/42.745 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 539834416 4318.675 100.00% Conn: 1 Mbps: 4318.675 Peak Mbps: 4318.675 Avg Mbps: 4318.675 2000 568985672 4551.885 100.00% Conn: 1 Mbps: 4551.885 Peak Mbps: 4551.885 Avg Mbps: 4551.885 3000 566123664 4528.989 100.00% Conn: 1 Mbps: 4528.989 Peak Mbps: 4551.885 Avg Mbps: 4528.989 4000 569065472 4552.524 100.00% Conn: 1 Mbps: 4552.524 Peak Mbps: 4552.524 Avg Mbps: 4552.524 5000 571713424 4573.707 100.00% Conn: 1 Mbps: 4573.707 Peak Mbps: 4573.707 Avg Mbps: 4573.707 --- fc00::13 tcpbench statistics --- 3386189816 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4318.675/4505.156/4573.707/94.308 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.047 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.047/0.047/0.047/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.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-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 259241456 2073.932 100.00% Conn: 1 Mbps: 2073.932 Peak Mbps: 2073.932 Avg Mbps: 2073.932 2001 268784984 2148.132 100.00% Conn: 1 Mbps: 2148.132 Peak Mbps: 2148.132 Avg Mbps: 2148.132 3001 272220416 2179.943 100.00% Conn: 1 Mbps: 2179.943 Peak Mbps: 2179.943 Avg Mbps: 2179.943 4002 275773024 2206.184 100.00% Conn: 1 Mbps: 2206.184 Peak Mbps: 2206.184 Avg Mbps: 2206.184 5003 273888792 2191.110 100.00% Conn: 1 Mbps: 2191.110 Peak Mbps: 2206.184 Avg Mbps: 2191.110 --- 169.254.1.11 tcpbench statistics --- 1618766448 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2073.932/2159.860/2206.184/47.004 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 1001 236678464 1891.536 100.00% Conn: 1 Mbps: 1891.536 Peak Mbps: 1891.536 Avg Mbps: 1891.536 2000 241453216 1933.559 100.00% Conn: 1 Mbps: 1933.559 Peak Mbps: 1933.559 Avg Mbps: 1933.559 3001 247454436 1977.658 100.00% Conn: 1 Mbps: 1977.658 Peak Mbps: 1977.658 Avg Mbps: 1977.658 4001 247759548 1984.060 100.00% Conn: 1 Mbps: 1984.060 Peak Mbps: 1984.060 Avg Mbps: 1984.060 5001 249104936 1992.839 100.00% Conn: 1 Mbps: 1992.839 Peak Mbps: 1992.839 Avg Mbps: 1992.839 --- fc00:0:0:1::11 tcpbench statistics --- 1471461656 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1891.536/1955.931/1992.839/38.139 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.039 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.039/0.039/0.039/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.044 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.044/0.044/0.044/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 675515168 5404.121 100.00% Conn: 1 Mbps: 5404.121 Peak Mbps: 5404.121 Avg Mbps: 5404.121 2000 682728160 5461.825 100.00% Conn: 1 Mbps: 5461.825 Peak Mbps: 5461.825 Avg Mbps: 5461.825 3000 676753208 5414.026 100.00% Conn: 1 Mbps: 5414.026 Peak Mbps: 5461.825 Avg Mbps: 5414.026 4000 676417272 5411.338 100.00% Conn: 1 Mbps: 5411.338 Peak Mbps: 5461.825 Avg Mbps: 5411.338 5000 679216256 5439.169 100.00% Conn: 1 Mbps: 5439.169 Peak Mbps: 5461.825 Avg Mbps: 5439.169 --- 169.254.1.12 tcpbench statistics --- 4068707360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5404.121/5426.096/5461.825/21.419 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 679569492 5436.556 100.00% Conn: 1 Mbps: 5436.556 Peak Mbps: 5436.556 Avg Mbps: 5436.556 2000 683770668 5475.641 100.00% Conn: 1 Mbps: 5475.641 Peak Mbps: 5475.641 Avg Mbps: 5475.641 3000 677952996 5423.624 100.00% Conn: 1 Mbps: 5423.624 Peak Mbps: 5475.641 Avg Mbps: 5423.624 4000 679492380 5435.939 100.00% Conn: 1 Mbps: 5435.939 Peak Mbps: 5475.641 Avg Mbps: 5435.939 5000 678002976 5424.024 100.00% Conn: 1 Mbps: 5424.024 Peak Mbps: 5475.641 Avg Mbps: 5424.024 --- fc00:0:0:1::12 tcpbench statistics --- 4077595452 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5423.624/5439.157/5475.641/19.071 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.072 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.072/0.072/0.072/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.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-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 1164348400 9314.787 100.00% Conn: 1 Mbps: 9314.787 Peak Mbps: 9314.787 Avg Mbps: 9314.787 2000 1172557798 9389.852 100.00% Conn: 1 Mbps: 9389.852 Peak Mbps: 9389.852 Avg Mbps: 9389.852 3000 1158947942 9271.584 100.00% Conn: 1 Mbps: 9271.584 Peak Mbps: 9389.852 Avg Mbps: 9271.584 4000 1170005950 9360.048 100.00% Conn: 1 Mbps: 9360.048 Peak Mbps: 9389.852 Avg Mbps: 9360.048 5000 1172083416 9376.667 100.00% Conn: 1 Mbps: 9376.667 Peak Mbps: 9389.852 Avg Mbps: 9376.667 --- 169.254.0.13 tcpbench statistics --- 7000032184 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9271.584/9342.588/9389.852/43.623 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 1159761832 9278.095 100.00% Conn: 1 Mbps: 9278.095 Peak Mbps: 9278.095 Avg Mbps: 9278.095 2000 1155607424 9254.114 100.00% Conn: 1 Mbps: 9254.114 Peak Mbps: 9278.095 Avg Mbps: 9254.114 3000 1163552552 9308.420 100.00% Conn: 1 Mbps: 9308.420 Peak Mbps: 9308.420 Avg Mbps: 9308.420 4000 1161427312 9291.418 100.00% Conn: 1 Mbps: 9291.418 Peak Mbps: 9308.420 Avg Mbps: 9291.418 5000 1157307616 9258.461 100.00% Conn: 1 Mbps: 9258.461 Peak Mbps: 9308.420 Avg Mbps: 9258.461 --- fc00::13 tcpbench statistics --- 6956402976 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9254.114/9278.102/9308.420/20.287 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.063 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.063/0.063/0.063/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.059 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.059/0.059/0.059/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 1001 262233464 2095.772 100.00% Conn: 1 Mbps: 2095.772 Peak Mbps: 2095.772 Avg Mbps: 2095.772 2001 268951056 2151.608 100.00% Conn: 1 Mbps: 2151.608 Peak Mbps: 2151.608 Avg Mbps: 2151.608 3001 270659304 2167.442 100.00% Conn: 1 Mbps: 2167.442 Peak Mbps: 2167.442 Avg Mbps: 2167.442 4003 272082296 2174.484 100.00% Conn: 1 Mbps: 2174.484 Peak Mbps: 2174.484 Avg Mbps: 2174.484 5004 269010144 2149.931 100.00% Conn: 1 Mbps: 2149.931 Peak Mbps: 2174.484 Avg Mbps: 2149.931 --- 169.254.1.11 tcpbench statistics --- 1611940504 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2095.772/2147.847/2174.484/27.654 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 498293288 3986.346 100.00% Conn: 1 Mbps: 3986.346 Peak Mbps: 3986.346 Avg Mbps: 3986.346 2000 541881040 4335.048 100.00% Conn: 1 Mbps: 4335.048 Peak Mbps: 4335.048 Avg Mbps: 4335.048 3001 529071912 4232.575 100.00% Conn: 1 Mbps: 4232.575 Peak Mbps: 4335.048 Avg Mbps: 4232.575 4001 540408040 4323.264 100.00% Conn: 1 Mbps: 4323.264 Peak Mbps: 4335.048 Avg Mbps: 4323.264 5001 542615096 4340.921 100.00% Conn: 1 Mbps: 4340.921 Peak Mbps: 4340.921 Avg Mbps: 4340.921 --- fc00:0:0:1::11 tcpbench statistics --- 3188552832 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3986.346/4243.631/4340.921/134.523 Mbps # path MTU discovery in other rtable does not work in ip6_output() /sbin/route -T 13 -n get -host -inet6 fc00:0:0:1::11 route to: fc00:0:0:1::11 destination: fc00:: mask: ffff:ffff:ffff:: gateway: ::1 interface: lo13 if address: ::1 priority: 8 (static) flags: use mtu expire 7 32768 0 DISABLED ==== run-ping-3-2 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.048 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.064 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.064/0.064/0.064/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 1165363140 9322.905 100.00% Conn: 1 Mbps: 9322.905 Peak Mbps: 9322.905 Avg Mbps: 9322.905 2000 1171707182 9383.040 100.00% Conn: 1 Mbps: 9383.040 Peak Mbps: 9383.040 Avg Mbps: 9383.040 3000 1173293908 9386.351 100.00% Conn: 1 Mbps: 9386.351 Peak Mbps: 9386.351 Avg Mbps: 9386.351 4000 1169040828 9352.327 100.00% Conn: 1 Mbps: 9352.327 Peak Mbps: 9386.351 Avg Mbps: 9352.327 5000 1171854404 9374.835 100.00% Conn: 1 Mbps: 9374.835 Peak Mbps: 9386.351 Avg Mbps: 9374.835 --- 169.254.1.12 tcpbench statistics --- 7026499972 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9322.905/9363.892/9386.351/23.683 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 1149414016 9195.312 100.00% Conn: 1 Mbps: 9195.312 Peak Mbps: 9195.312 Avg Mbps: 9195.312 2000 1146877592 9184.205 100.00% Conn: 1 Mbps: 9184.205 Peak Mbps: 9195.312 Avg Mbps: 9184.205 3000 1150735720 9205.886 100.00% Conn: 1 Mbps: 9205.886 Peak Mbps: 9205.886 Avg Mbps: 9205.886 4000 1151487728 9211.902 100.00% Conn: 1 Mbps: 9211.902 Peak Mbps: 9211.902 Avg Mbps: 9211.902 5000 1152108952 9216.872 100.00% Conn: 1 Mbps: 9216.872 Peak Mbps: 9216.872 Avg Mbps: 9216.872 --- fc00:0:0:1::12 tcpbench statistics --- 6902602176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9184.205/9202.835/9216.872/11.766 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.042 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.042/0.042/0.042/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.046 ms --- fc00::13 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-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 1159445798 9275.566 100.00% Conn: 1 Mbps: 9275.566 Peak Mbps: 9275.566 Avg Mbps: 9275.566 2000 1167159658 9346.624 100.00% Conn: 1 Mbps: 9346.624 Peak Mbps: 9346.624 Avg Mbps: 9346.624 3000 1169089902 9352.719 100.00% Conn: 1 Mbps: 9352.719 Peak Mbps: 9352.719 Avg Mbps: 9352.719 4000 1168664594 9349.317 100.00% Conn: 1 Mbps: 9349.317 Peak Mbps: 9352.719 Avg Mbps: 9349.317 5000 1171298232 9370.386 100.00% Conn: 1 Mbps: 9370.386 Peak Mbps: 9370.386 Avg Mbps: 9370.386 --- 169.254.0.13 tcpbench statistics --- 6998597478 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9275.566/9338.922/9370.386/32.746 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 1189491012 9515.928 100.00% Conn: 1 Mbps: 9515.928 Peak Mbps: 9515.928 Avg Mbps: 9515.928 2000 1198243008 9595.540 100.00% Conn: 1 Mbps: 9595.540 Peak Mbps: 9595.540 Avg Mbps: 9595.540 3000 1196869776 9574.958 100.00% Conn: 1 Mbps: 9574.958 Peak Mbps: 9595.540 Avg Mbps: 9574.958 4000 1197850656 9592.398 100.00% Conn: 1 Mbps: 9592.398 Peak Mbps: 9595.540 Avg Mbps: 9592.398 5000 1199648936 9597.191 100.00% Conn: 1 Mbps: 9597.191 Peak Mbps: 9597.191 Avg Mbps: 9597.191 --- fc00::13 tcpbench statistics --- 7157230324 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9515.928/9575.203/9597.191/30.680 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.91s