START sys/net/pair 2024-07-06T01:51:42Z ==== 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.038 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.038/0.038/0.038/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.042 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.042/0.042/0.042/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 929645768 7437.166 100.00% Conn: 1 Mbps: 7437.166 Peak Mbps: 7437.166 Avg Mbps: 7437.166 2000 927229576 7425.262 100.00% Conn: 1 Mbps: 7425.262 Peak Mbps: 7437.166 Avg Mbps: 7425.262 3000 929590132 7436.721 100.00% Conn: 1 Mbps: 7436.721 Peak Mbps: 7437.166 Avg Mbps: 7436.721 4000 928715852 7437.164 100.00% Conn: 1 Mbps: 7437.164 Peak Mbps: 7437.166 Avg Mbps: 7437.164 5000 929510652 7436.085 100.00% Conn: 1 Mbps: 7436.085 Peak Mbps: 7437.166 Avg Mbps: 7436.085 --- 169.254.1.11 tcpbench statistics --- 5573717804 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7425.262/7434.480/7437.166/4.626 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 938088528 7504.708 100.00% Conn: 1 Mbps: 7504.708 Peak Mbps: 7504.708 Avg Mbps: 7504.708 2000 938128168 7512.538 100.00% Conn: 1 Mbps: 7512.538 Peak Mbps: 7512.538 Avg Mbps: 7512.538 3000 937454288 7499.634 100.00% Conn: 1 Mbps: 7499.634 Peak Mbps: 7512.538 Avg Mbps: 7499.634 4000 937692128 7501.537 100.00% Conn: 1 Mbps: 7501.537 Peak Mbps: 7512.538 Avg Mbps: 7501.537 5000 939142952 7513.144 100.00% Conn: 1 Mbps: 7513.144 Peak Mbps: 7513.144 Avg Mbps: 7513.144 --- fc00:0:0:1::11 tcpbench statistics --- 5629117840 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7499.634/7506.312/7513.144/5.575 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.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-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.120 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.120/0.120/0.120/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 275903976 2207.232 100.00% Conn: 1 Mbps: 2207.232 Peak Mbps: 2207.232 Avg Mbps: 2207.232 2000 276085640 2210.896 100.00% Conn: 1 Mbps: 2210.896 Peak Mbps: 2210.896 Avg Mbps: 2210.896 3000 276310144 2210.481 100.00% Conn: 1 Mbps: 2210.481 Peak Mbps: 2210.896 Avg Mbps: 2210.481 4001 276125632 2209.005 100.00% Conn: 1 Mbps: 2209.005 Peak Mbps: 2210.896 Avg Mbps: 2209.005 5001 276061024 2210.699 100.00% Conn: 1 Mbps: 2210.699 Peak Mbps: 2210.896 Avg Mbps: 2210.699 --- 169.254.1.12 tcpbench statistics --- 1656395848 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2207.232/2209.663/2210.896/1.386 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 268138776 2145.110 100.00% Conn: 1 Mbps: 2145.110 Peak Mbps: 2145.110 Avg Mbps: 2145.110 2000 268584448 2148.676 100.00% Conn: 1 Mbps: 2148.676 Peak Mbps: 2148.676 Avg Mbps: 2148.676 3000 268795920 2150.367 100.00% Conn: 1 Mbps: 2150.367 Peak Mbps: 2150.367 Avg Mbps: 2150.367 4000 268693104 2149.545 100.00% Conn: 1 Mbps: 2149.545 Peak Mbps: 2150.367 Avg Mbps: 2149.545 5001 268875224 2151.002 100.00% Conn: 1 Mbps: 2151.002 Peak Mbps: 2151.002 Avg Mbps: 2151.002 --- fc00:0:0:1::12 tcpbench statistics --- 1611565500 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2145.110/2148.940/2151.002/2.068 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.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-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.065 ms --- fc00::13 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-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 421697036 3373.576 100.00% Conn: 1 Mbps: 3373.576 Peak Mbps: 3373.576 Avg Mbps: 3373.576 2000 419900788 3362.569 100.00% Conn: 1 Mbps: 3362.569 Peak Mbps: 3373.576 Avg Mbps: 3362.569 3000 420632004 3368.424 100.00% Conn: 1 Mbps: 3368.424 Peak Mbps: 3373.576 Avg Mbps: 3368.424 4000 422658744 3381.270 100.00% Conn: 1 Mbps: 3381.270 Peak Mbps: 3381.270 Avg Mbps: 3381.270 5000 421601660 3372.813 100.00% Conn: 1 Mbps: 3372.813 Peak Mbps: 3381.270 Avg Mbps: 3372.813 --- 169.254.0.13 tcpbench statistics --- 2528680044 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3362.569/3371.731/3381.270/6.172 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 408038304 3264.306 100.00% Conn: 1 Mbps: 3264.306 Peak Mbps: 3264.306 Avg Mbps: 3264.306 2000 409005520 3275.319 100.00% Conn: 1 Mbps: 3275.319 Peak Mbps: 3275.319 Avg Mbps: 3275.319 3000 408347496 3266.780 100.00% Conn: 1 Mbps: 3266.780 Peak Mbps: 3275.319 Avg Mbps: 3266.780 4000 408236504 3265.892 100.00% Conn: 1 Mbps: 3265.892 Peak Mbps: 3275.319 Avg Mbps: 3265.892 5000 409608048 3276.864 100.00% Conn: 1 Mbps: 3276.864 Peak Mbps: 3276.864 Avg Mbps: 3276.864 --- fc00::13 tcpbench statistics --- 2451329672 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3264.306/3269.832/3276.864/5.195 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.041 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.041/0.041/0.041/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.047 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.047/0.047/0.047/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 278555728 2228.446 100.00% Conn: 1 Mbps: 2228.446 Peak Mbps: 2228.446 Avg Mbps: 2228.446 2001 280408480 2243.268 100.00% Conn: 1 Mbps: 2243.268 Peak Mbps: 2243.268 Avg Mbps: 2243.268 3000 279891040 2241.370 100.00% Conn: 1 Mbps: 2241.370 Peak Mbps: 2243.268 Avg Mbps: 2241.370 4001 280205704 2241.646 100.00% Conn: 1 Mbps: 2241.646 Peak Mbps: 2243.268 Avg Mbps: 2241.646 5001 279957544 2239.660 100.00% Conn: 1 Mbps: 2239.660 Peak Mbps: 2243.268 Avg Mbps: 2239.660 --- 169.254.1.11 tcpbench statistics --- 1678661152 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2228.446/2238.878/2243.268/5.340 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 270109840 2160.879 100.00% Conn: 1 Mbps: 2160.879 Peak Mbps: 2160.879 Avg Mbps: 2160.879 2000 270567856 2166.710 100.00% Conn: 1 Mbps: 2166.710 Peak Mbps: 2166.710 Avg Mbps: 2166.710 3000 270543764 2164.350 100.00% Conn: 1 Mbps: 2164.350 Peak Mbps: 2166.710 Avg Mbps: 2164.350 4000 270649380 2165.195 100.00% Conn: 1 Mbps: 2165.195 Peak Mbps: 2166.710 Avg Mbps: 2165.195 5001 270674008 2165.392 100.00% Conn: 1 Mbps: 2165.392 Peak Mbps: 2166.710 Avg Mbps: 2165.392 --- fc00:0:0:1::11 tcpbench statistics --- 1622595344 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2160.879/2164.505/2166.710/1.965 Mbps ==== run-ping-2-2 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.038 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.041 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.041/0.041/0.041/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 943351728 7546.814 100.00% Conn: 1 Mbps: 7546.814 Peak Mbps: 7546.814 Avg Mbps: 7546.814 2000 942493064 7547.492 100.00% Conn: 1 Mbps: 7547.492 Peak Mbps: 7547.492 Avg Mbps: 7547.492 3000 942307720 7538.462 100.00% Conn: 1 Mbps: 7538.462 Peak Mbps: 7547.492 Avg Mbps: 7538.462 4000 941999296 7535.994 100.00% Conn: 1 Mbps: 7535.994 Peak Mbps: 7547.492 Avg Mbps: 7535.994 5000 942029704 7536.238 100.00% Conn: 1 Mbps: 7536.238 Peak Mbps: 7547.492 Avg Mbps: 7536.238 --- 169.254.1.12 tcpbench statistics --- 5653820256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7535.994/7541.000/7547.492/5.101 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 947316636 7578.533 100.00% Conn: 1 Mbps: 7578.533 Peak Mbps: 7578.533 Avg Mbps: 7578.533 2000 948993108 7599.544 100.00% Conn: 1 Mbps: 7599.544 Peak Mbps: 7599.544 Avg Mbps: 7599.544 3000 948110604 7584.885 100.00% Conn: 1 Mbps: 7584.885 Peak Mbps: 7599.544 Avg Mbps: 7584.885 4000 947355192 7578.842 100.00% Conn: 1 Mbps: 7578.842 Peak Mbps: 7599.544 Avg Mbps: 7578.842 5000 947633652 7581.069 100.00% Conn: 1 Mbps: 7581.069 Peak Mbps: 7599.544 Avg Mbps: 7581.069 --- fc00:0:0:1::12 tcpbench statistics --- 5686405956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7578.533/7584.575/7599.544/7.821 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.041 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.041/0.041/0.041/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.044 ms --- fc00::13 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-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 1378432976 11027.464 100.00% Conn: 1 Mbps: 11027.464 Peak Mbps: 11027.464 Avg Mbps: 11027.464 2000 1389414916 11126.446 100.00% Conn: 1 Mbps: 11126.446 Peak Mbps: 11126.446 Avg Mbps: 11126.446 3000 1393520666 11148.165 100.00% Conn: 1 Mbps: 11148.165 Peak Mbps: 11148.165 Avg Mbps: 11148.165 4000 1388809634 11110.477 100.00% Conn: 1 Mbps: 11110.477 Peak Mbps: 11148.165 Avg Mbps: 11110.477 5000 1393194214 11145.554 100.00% Conn: 1 Mbps: 11145.554 Peak Mbps: 11148.165 Avg Mbps: 11145.554 --- 169.254.0.13 tcpbench statistics --- 8342701158 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11027.464/11111.621/11148.165/44.250 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 1307818860 10462.551 100.00% Conn: 1 Mbps: 10462.551 Peak Mbps: 10462.551 Avg Mbps: 10462.551 2000 1350214016 10812.525 100.00% Conn: 1 Mbps: 10812.525 Peak Mbps: 10812.525 Avg Mbps: 10812.525 3000 1295415520 10363.324 100.00% Conn: 1 Mbps: 10363.324 Peak Mbps: 10812.525 Avg Mbps: 10363.324 4000 1332721656 10661.773 100.00% Conn: 1 Mbps: 10661.773 Peak Mbps: 10812.525 Avg Mbps: 10661.773 5000 1326672896 10613.383 100.00% Conn: 1 Mbps: 10613.383 Peak Mbps: 10812.525 Avg Mbps: 10613.383 --- fc00::13 tcpbench statistics --- 7943570148 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10363.324/10582.711/10812.525/156.573 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.046 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-ping6-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.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-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 272378952 2179.032 100.00% Conn: 1 Mbps: 2179.032 Peak Mbps: 2179.032 Avg Mbps: 2179.032 2000 272848184 2184.970 100.00% Conn: 1 Mbps: 2184.970 Peak Mbps: 2184.970 Avg Mbps: 2184.970 3000 272884336 2183.075 100.00% Conn: 1 Mbps: 2183.075 Peak Mbps: 2184.970 Avg Mbps: 2183.075 4000 272697200 2183.761 100.00% Conn: 1 Mbps: 2183.761 Peak Mbps: 2184.970 Avg Mbps: 2183.761 5001 272904328 2183.235 100.00% Conn: 1 Mbps: 2183.235 Peak Mbps: 2184.970 Avg Mbps: 2183.235 --- 169.254.1.11 tcpbench statistics --- 1636401848 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2179.032/2182.815/2184.970/2.005 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 430885040 3447.080 100.00% Conn: 1 Mbps: 3447.080 Peak Mbps: 3447.080 Avg Mbps: 3447.080 2001 429271832 3434.175 100.00% Conn: 1 Mbps: 3434.175 Peak Mbps: 3447.080 Avg Mbps: 3434.175 3001 428732808 3429.862 100.00% Conn: 1 Mbps: 3429.862 Peak Mbps: 3447.080 Avg Mbps: 3429.862 4001 429046248 3432.370 100.00% Conn: 1 Mbps: 3432.370 Peak Mbps: 3447.080 Avg Mbps: 3432.370 5001 429422808 3435.382 100.00% Conn: 1 Mbps: 3435.382 Peak Mbps: 3447.080 Avg Mbps: 3435.382 --- fc00:0:0:1::11 tcpbench statistics --- 2575795704 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3429.862/3435.774/3447.080/5.951 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.042 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/0.000 ms ==== run-ping6-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.045 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.045/0.045/0.045/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 1404590646 11236.725 100.00% Conn: 1 Mbps: 11236.725 Peak Mbps: 11236.725 Avg Mbps: 11236.725 2000 1416275640 11341.547 100.00% Conn: 1 Mbps: 11341.547 Peak Mbps: 11341.547 Avg Mbps: 11341.547 3000 1412644164 11301.153 100.00% Conn: 1 Mbps: 11301.153 Peak Mbps: 11341.547 Avg Mbps: 11301.153 4000 1412676880 11301.415 100.00% Conn: 1 Mbps: 11301.415 Peak Mbps: 11341.547 Avg Mbps: 11301.415 5000 1417486132 11339.889 100.00% Conn: 1 Mbps: 11339.889 Peak Mbps: 11341.547 Avg Mbps: 11339.889 --- 169.254.1.12 tcpbench statistics --- 8475826886 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11236.725/11304.146/11341.547/38.048 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 1359599028 10876.792 100.00% Conn: 1 Mbps: 10876.792 Peak Mbps: 10876.792 Avg Mbps: 10876.792 2000 1355576160 10855.465 100.00% Conn: 1 Mbps: 10855.465 Peak Mbps: 10876.792 Avg Mbps: 10855.465 3000 1381209824 11049.679 100.00% Conn: 1 Mbps: 11049.679 Peak Mbps: 11049.679 Avg Mbps: 11049.679 4000 1363259720 10906.078 100.00% Conn: 1 Mbps: 10906.078 Peak Mbps: 11049.679 Avg Mbps: 10906.078 5000 1378823016 11030.584 100.00% Conn: 1 Mbps: 11030.584 Peak Mbps: 11049.679 Avg Mbps: 11030.584 --- fc00:0:0:1::12 tcpbench statistics --- 8193291900 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10855.465/10943.719/11049.679/80.570 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.038 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.038/0.038/0.038/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.040 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-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 1405797154 11246.377 100.00% Conn: 1 Mbps: 11246.377 Peak Mbps: 11246.377 Avg Mbps: 11246.377 2000 1413984584 11323.200 100.00% Conn: 1 Mbps: 11323.200 Peak Mbps: 11323.200 Avg Mbps: 11323.200 3000 1415620456 11324.964 100.00% Conn: 1 Mbps: 11324.964 Peak Mbps: 11324.964 Avg Mbps: 11324.964 4000 1413789224 11310.314 100.00% Conn: 1 Mbps: 11310.314 Peak Mbps: 11324.964 Avg Mbps: 11310.314 5000 1415621320 11324.971 100.00% Conn: 1 Mbps: 11324.971 Peak Mbps: 11324.971 Avg Mbps: 11324.971 --- 169.254.0.13 tcpbench statistics --- 8480270478 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11246.377/11305.965/11324.971/30.295 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 1427637780 11421.102 100.00% Conn: 1 Mbps: 11421.102 Peak Mbps: 11421.102 Avg Mbps: 11421.102 2000 1431888624 11466.576 100.00% Conn: 1 Mbps: 11466.576 Peak Mbps: 11466.576 Avg Mbps: 11466.576 3000 1426559176 11412.473 100.00% Conn: 1 Mbps: 11412.473 Peak Mbps: 11466.576 Avg Mbps: 11412.473 4000 1431398184 11451.185 100.00% Conn: 1 Mbps: 11451.185 Peak Mbps: 11466.576 Avg Mbps: 11451.185 5000 1435517880 11484.143 100.00% Conn: 1 Mbps: 11484.143 Peak Mbps: 11484.143 Avg Mbps: 11484.143 --- fc00::13 tcpbench statistics --- 8573544756 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11412.473/11447.096/11484.143/26.993 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 1m51.80s