START sys/net/pair 2025-01-04T01:37:59Z ==== 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.048 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-ping6-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.055 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.055/0.055/0.055/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 683639272 5469.114 100.00% Conn: 1 Mbps: 5469.114 Peak Mbps: 5469.114 Avg Mbps: 5469.114 2000 685642168 5490.628 100.00% Conn: 1 Mbps: 5490.628 Peak Mbps: 5490.628 Avg Mbps: 5490.628 3000 684934796 5479.478 100.00% Conn: 1 Mbps: 5479.478 Peak Mbps: 5490.628 Avg Mbps: 5479.478 4000 682653720 5461.230 100.00% Conn: 1 Mbps: 5461.230 Peak Mbps: 5490.628 Avg Mbps: 5461.230 5000 681326404 5450.611 100.00% Conn: 1 Mbps: 5450.611 Peak Mbps: 5490.628 Avg Mbps: 5450.611 --- 169.254.1.11 tcpbench statistics --- 4103981592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5450.611/5470.212/5490.628/13.919 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 712536928 5700.295 100.00% Conn: 1 Mbps: 5700.295 Peak Mbps: 5700.295 Avg Mbps: 5700.295 2000 708350944 5672.480 100.00% Conn: 1 Mbps: 5672.480 Peak Mbps: 5700.295 Avg Mbps: 5672.480 3000 706915976 5655.328 100.00% Conn: 1 Mbps: 5655.328 Peak Mbps: 5700.295 Avg Mbps: 5655.328 4000 707954544 5663.636 100.00% Conn: 1 Mbps: 5663.636 Peak Mbps: 5700.295 Avg Mbps: 5663.636 5000 707137960 5657.104 100.00% Conn: 1 Mbps: 5657.104 Peak Mbps: 5700.295 Avg Mbps: 5657.104 --- fc00:0:0:1::11 tcpbench statistics --- 4245244112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5655.328/5669.769/5700.295/16.406 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.062 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.062/0.062/0.062/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.134 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.134/0.134/0.134/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 1001 263501304 2105.905 100.00% Conn: 1 Mbps: 2105.905 Peak Mbps: 2105.905 Avg Mbps: 2105.905 2002 276200024 2209.600 100.00% Conn: 1 Mbps: 2209.600 Peak Mbps: 2209.600 Avg Mbps: 2209.600 3002 272196024 2177.568 100.00% Conn: 1 Mbps: 2177.568 Peak Mbps: 2209.600 Avg Mbps: 2177.568 4003 274823256 2198.586 100.00% Conn: 1 Mbps: 2198.586 Peak Mbps: 2209.600 Avg Mbps: 2198.586 5003 271470016 2173.934 100.00% Conn: 1 Mbps: 2173.934 Peak Mbps: 2209.600 Avg Mbps: 2173.934 --- 169.254.1.12 tcpbench statistics --- 1633088448 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2105.905/2173.119/2209.600/36.105 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 1001 236484044 1889.982 100.00% Conn: 1 Mbps: 1889.982 Peak Mbps: 1889.982 Avg Mbps: 1889.982 2001 248491052 1989.918 100.00% Conn: 1 Mbps: 1989.918 Peak Mbps: 1989.918 Avg Mbps: 1989.918 3001 252585312 2020.682 100.00% Conn: 1 Mbps: 2020.682 Peak Mbps: 2020.682 Avg Mbps: 2020.682 4003 253330672 2024.621 100.00% Conn: 1 Mbps: 2024.621 Peak Mbps: 2024.621 Avg Mbps: 2024.621 5002 252931440 2025.477 100.00% Conn: 1 Mbps: 2025.477 Peak Mbps: 2025.477 Avg Mbps: 2025.477 --- fc00:0:0:1::12 tcpbench statistics --- 1498982092 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1889.982/1990.136/2025.477/51.773 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.074 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.074/0.074/0.074/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 556931976 4455.456 100.00% Conn: 1 Mbps: 4455.456 Peak Mbps: 4455.456 Avg Mbps: 4455.456 2000 574068424 4597.145 100.00% Conn: 1 Mbps: 4597.145 Peak Mbps: 4597.145 Avg Mbps: 4597.145 3000 587618784 4700.950 100.00% Conn: 1 Mbps: 4700.950 Peak Mbps: 4700.950 Avg Mbps: 4700.950 4000 577144300 4617.154 100.00% Conn: 1 Mbps: 4617.154 Peak Mbps: 4700.950 Avg Mbps: 4617.154 5000 572676684 4585.999 100.00% Conn: 1 Mbps: 4585.999 Peak Mbps: 4700.950 Avg Mbps: 4585.999 --- 169.254.0.13 tcpbench statistics --- 3431309300 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4455.456/4591.341/4700.950/79.003 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 527276464 4218.212 100.00% Conn: 1 Mbps: 4218.212 Peak Mbps: 4218.212 Avg Mbps: 4218.212 2001 553186728 4425.494 100.00% Conn: 1 Mbps: 4425.494 Peak Mbps: 4425.494 Avg Mbps: 4425.494 3000 555634920 4449.529 100.00% Conn: 1 Mbps: 4449.529 Peak Mbps: 4449.529 Avg Mbps: 4449.529 4001 557863208 4462.906 100.00% Conn: 1 Mbps: 4462.906 Peak Mbps: 4462.906 Avg Mbps: 4462.906 5001 554944144 4439.553 100.00% Conn: 1 Mbps: 4439.553 Peak Mbps: 4462.906 Avg Mbps: 4439.553 --- fc00::13 tcpbench statistics --- 3306967392 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4218.212/4399.139/4462.906/91.288 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.049 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.049/0.049/0.049/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.052 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/0.000 ms ==== run-tcpbench-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 1001 259738512 2075.832 100.00% Conn: 1 Mbps: 2075.832 Peak Mbps: 2075.832 Avg Mbps: 2075.832 2000 271919848 2177.536 100.00% Conn: 1 Mbps: 2177.536 Peak Mbps: 2177.536 Avg Mbps: 2177.536 3001 270709208 2165.674 100.00% Conn: 1 Mbps: 2165.674 Peak Mbps: 2177.536 Avg Mbps: 2165.674 4001 271850624 2176.982 100.00% Conn: 1 Mbps: 2176.982 Peak Mbps: 2177.536 Avg Mbps: 2176.982 5002 271337032 2170.696 100.00% Conn: 1 Mbps: 2170.696 Peak Mbps: 2177.536 Avg Mbps: 2170.696 --- 169.254.1.11 tcpbench statistics --- 1618195952 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2075.832/2153.344/2177.536/39.001 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 235156612 1879.374 100.00% Conn: 1 Mbps: 1879.374 Peak Mbps: 1879.374 Avg Mbps: 1879.374 2001 246706036 1973.648 100.00% Conn: 1 Mbps: 1973.648 Peak Mbps: 1973.648 Avg Mbps: 1973.648 3002 247368572 1978.949 100.00% Conn: 1 Mbps: 1978.949 Peak Mbps: 1978.949 Avg Mbps: 1978.949 4002 250650908 2007.214 100.00% Conn: 1 Mbps: 2007.214 Peak Mbps: 2007.214 Avg Mbps: 2007.214 5002 248147412 1985.179 100.00% Conn: 1 Mbps: 1985.179 Peak Mbps: 2007.214 Avg Mbps: 1985.179 --- fc00:0:0:1::11 tcpbench statistics --- 1477534344 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 1879.374/1964.873/2007.214/44.250 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.047 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.047/0.047/0.047/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 685751136 5486.009 100.00% Conn: 1 Mbps: 5486.009 Peak Mbps: 5486.009 Avg Mbps: 5486.009 2000 686769024 5499.652 100.00% Conn: 1 Mbps: 5499.652 Peak Mbps: 5499.652 Avg Mbps: 5499.652 3000 688357592 5506.861 100.00% Conn: 1 Mbps: 5506.861 Peak Mbps: 5506.861 Avg Mbps: 5506.861 4000 683718088 5469.745 100.00% Conn: 1 Mbps: 5469.745 Peak Mbps: 5506.861 Avg Mbps: 5469.745 5000 684001896 5472.015 100.00% Conn: 1 Mbps: 5472.015 Peak Mbps: 5506.861 Avg Mbps: 5472.015 --- 169.254.1.12 tcpbench statistics --- 4113154216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5469.745/5486.856/5506.861/14.681 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 686728056 5493.824 100.00% Conn: 1 Mbps: 5493.824 Peak Mbps: 5493.824 Avg Mbps: 5493.824 2000 691354776 5536.375 100.00% Conn: 1 Mbps: 5536.375 Peak Mbps: 5536.375 Avg Mbps: 5536.375 3000 691650372 5533.203 100.00% Conn: 1 Mbps: 5533.203 Peak Mbps: 5536.375 Avg Mbps: 5533.203 4000 691864572 5534.917 100.00% Conn: 1 Mbps: 5534.917 Peak Mbps: 5536.375 Avg Mbps: 5534.917 5000 688712000 5509.696 100.00% Conn: 1 Mbps: 5509.696 Peak Mbps: 5536.375 Avg Mbps: 5509.696 --- fc00:0:0:1::12 tcpbench statistics --- 4142779820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5493.824/5521.603/5536.375/16.991 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.071 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.071/0.071/0.071/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 1181249620 9449.997 100.00% Conn: 1 Mbps: 9449.997 Peak Mbps: 9449.997 Avg Mbps: 9449.997 2000 1185366112 9492.421 100.00% Conn: 1 Mbps: 9492.421 Peak Mbps: 9492.421 Avg Mbps: 9492.421 3000 1189341106 9514.729 100.00% Conn: 1 Mbps: 9514.729 Peak Mbps: 9514.729 Avg Mbps: 9514.729 4000 1189717340 9517.739 100.00% Conn: 1 Mbps: 9517.739 Peak Mbps: 9517.739 Avg Mbps: 9517.739 5000 1187983392 9503.867 100.00% Conn: 1 Mbps: 9503.867 Peak Mbps: 9517.739 Avg Mbps: 9503.867 --- 169.254.0.13 tcpbench statistics --- 7120365038 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9449.997/9495.751/9517.739/24.552 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 1161991244 9295.930 100.00% Conn: 1 Mbps: 9295.930 Peak Mbps: 9295.930 Avg Mbps: 9295.930 2000 1168522344 9357.536 100.00% Conn: 1 Mbps: 9357.536 Peak Mbps: 9357.536 Avg Mbps: 9357.536 3000 1166593280 9332.746 100.00% Conn: 1 Mbps: 9332.746 Peak Mbps: 9357.536 Avg Mbps: 9332.746 4000 1160021384 9280.171 100.00% Conn: 1 Mbps: 9280.171 Peak Mbps: 9357.536 Avg Mbps: 9280.171 5000 1167214504 9347.063 100.00% Conn: 1 Mbps: 9347.063 Peak Mbps: 9357.536 Avg Mbps: 9347.063 --- fc00::13 tcpbench statistics --- 6994303724 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9280.171/9322.689/9357.536/29.777 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.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 1001 260370728 2080.885 100.00% Conn: 1 Mbps: 2080.885 Peak Mbps: 2080.885 Avg Mbps: 2080.885 2000 272137768 2179.281 100.00% Conn: 1 Mbps: 2179.281 Peak Mbps: 2179.281 Avg Mbps: 2179.281 3002 272110368 2174.708 100.00% Conn: 1 Mbps: 2174.708 Peak Mbps: 2179.281 Avg Mbps: 2174.708 4003 271577728 2172.622 100.00% Conn: 1 Mbps: 2172.622 Peak Mbps: 2179.281 Avg Mbps: 2172.622 5003 269232248 2153.858 100.00% Conn: 1 Mbps: 2153.858 Peak Mbps: 2179.281 Avg Mbps: 2153.858 --- 169.254.1.11 tcpbench statistics --- 1610264896 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2080.885/2152.271/2179.281/36.730 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 498720296 3989.762 100.00% Conn: 1 Mbps: 3989.762 Peak Mbps: 3989.762 Avg Mbps: 3989.762 2000 540772448 4330.510 100.00% Conn: 1 Mbps: 4330.510 Peak Mbps: 4330.510 Avg Mbps: 4330.510 3000 543389728 4347.118 100.00% Conn: 1 Mbps: 4347.118 Peak Mbps: 4347.118 Avg Mbps: 4347.118 4000 545556224 4364.450 100.00% Conn: 1 Mbps: 4364.450 Peak Mbps: 4364.450 Avg Mbps: 4364.450 5001 542498024 4339.984 100.00% Conn: 1 Mbps: 4339.984 Peak Mbps: 4364.450 Avg Mbps: 4339.984 --- fc00:0:0:1::11 tcpbench statistics --- 3212719328 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3989.762/4274.365/4364.450/142.734 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.065 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.065/0.065/0.065/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.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-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 1200615266 9604.922 100.00% Conn: 1 Mbps: 9604.922 Peak Mbps: 9604.922 Avg Mbps: 9604.922 2000 1159618620 9286.235 100.00% Conn: 1 Mbps: 9286.235 Peak Mbps: 9604.922 Avg Mbps: 9286.235 3000 1202100346 9616.803 100.00% Conn: 1 Mbps: 9616.803 Peak Mbps: 9616.803 Avg Mbps: 9616.803 4000 1199859300 9598.874 100.00% Conn: 1 Mbps: 9598.874 Peak Mbps: 9616.803 Avg Mbps: 9598.874 5000 1199041400 9592.331 100.00% Conn: 1 Mbps: 9592.331 Peak Mbps: 9616.803 Avg Mbps: 9592.331 --- 169.254.1.12 tcpbench statistics --- 7158476952 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9286.235/9539.833/9616.803/127.055 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 1158098836 9264.791 100.00% Conn: 1 Mbps: 9264.791 Peak Mbps: 9264.791 Avg Mbps: 9264.791 2000 1166724064 9343.136 100.00% Conn: 1 Mbps: 9343.136 Peak Mbps: 9343.136 Avg Mbps: 9343.136 3000 1160054080 9280.433 100.00% Conn: 1 Mbps: 9280.433 Peak Mbps: 9343.136 Avg Mbps: 9280.433 4000 1169568616 9356.549 100.00% Conn: 1 Mbps: 9356.549 Peak Mbps: 9356.549 Avg Mbps: 9356.549 5000 1159615564 9276.925 100.00% Conn: 1 Mbps: 9276.925 Peak Mbps: 9356.549 Avg Mbps: 9276.925 --- fc00:0:0:1::12 tcpbench statistics --- 6981798800 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9264.791/9304.366/9356.549/37.731 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.054 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.054/0.054/0.054/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.048 ms --- fc00::13 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-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 1141497298 9131.978 100.00% Conn: 1 Mbps: 9131.978 Peak Mbps: 9131.978 Avg Mbps: 9131.978 2000 1139432848 9124.587 100.00% Conn: 1 Mbps: 9124.587 Peak Mbps: 9131.978 Avg Mbps: 9124.587 3000 1141772042 9134.176 100.00% Conn: 1 Mbps: 9134.176 Peak Mbps: 9134.176 Avg Mbps: 9134.176 4000 1133723906 9069.791 100.00% Conn: 1 Mbps: 9069.791 Peak Mbps: 9134.176 Avg Mbps: 9069.791 5000 1144062162 9152.497 100.00% Conn: 1 Mbps: 9152.497 Peak Mbps: 9152.497 Avg Mbps: 9152.497 --- 169.254.0.13 tcpbench statistics --- 6845875416 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9069.791/9122.606/9152.497/27.959 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 1207192960 9657.544 100.00% Conn: 1 Mbps: 9657.544 Peak Mbps: 9657.544 Avg Mbps: 9657.544 2000 1216029632 9737.975 100.00% Conn: 1 Mbps: 9737.975 Peak Mbps: 9737.975 Avg Mbps: 9737.975 3000 1215964240 9727.714 100.00% Conn: 1 Mbps: 9727.714 Peak Mbps: 9737.975 Avg Mbps: 9727.714 4000 1216683552 9733.468 100.00% Conn: 1 Mbps: 9733.468 Peak Mbps: 9737.975 Avg Mbps: 9733.468 5000 1216945120 9735.561 100.00% Conn: 1 Mbps: 9735.561 Peak Mbps: 9737.975 Avg Mbps: 9735.561 --- fc00::13 tcpbench statistics --- 7276257176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9657.544/9718.452/9737.975/30.643 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m53.09s