START sys/net/pair 2025-02-11T04:49:48Z ==== 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.037 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.037/0.037/0.037/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.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-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 526070172 4208.561 100.00% Conn: 1 Mbps: 4208.561 Peak Mbps: 4208.561 Avg Mbps: 4208.561 2000 523781148 4194.444 100.00% Conn: 1 Mbps: 4194.444 Peak Mbps: 4208.561 Avg Mbps: 4194.444 3000 523367852 4186.943 100.00% Conn: 1 Mbps: 4186.943 Peak Mbps: 4208.561 Avg Mbps: 4186.943 4000 523653980 4189.232 100.00% Conn: 1 Mbps: 4189.232 Peak Mbps: 4208.561 Avg Mbps: 4189.232 5000 524138808 4193.110 100.00% Conn: 1 Mbps: 4193.110 Peak Mbps: 4208.561 Avg Mbps: 4193.110 --- 169.254.1.11 tcpbench statistics --- 3145349468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4186.943/4194.458/4208.561/7.543 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 508168944 4065.352 100.00% Conn: 1 Mbps: 4065.352 Peak Mbps: 4065.352 Avg Mbps: 4065.352 2000 507066952 4060.596 100.00% Conn: 1 Mbps: 4060.596 Peak Mbps: 4065.352 Avg Mbps: 4060.596 3000 507384072 4059.073 100.00% Conn: 1 Mbps: 4059.073 Peak Mbps: 4065.352 Avg Mbps: 4059.073 4000 507510920 4060.087 100.00% Conn: 1 Mbps: 4060.087 Peak Mbps: 4065.352 Avg Mbps: 4060.087 5000 506408928 4051.271 100.00% Conn: 1 Mbps: 4051.271 Peak Mbps: 4065.352 Avg Mbps: 4051.271 --- fc00:0:0:1::11 tcpbench statistics --- 3043265864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4051.271/4059.276/4065.352/4.548 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.083 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.083/0.083/0.083/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.141 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.141/0.141/0.141/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 271159816 2167.111 100.00% Conn: 1 Mbps: 2167.111 Peak Mbps: 2167.111 Avg Mbps: 2167.111 2002 287037976 2296.304 100.00% Conn: 1 Mbps: 2296.304 Peak Mbps: 2296.304 Avg Mbps: 2296.304 3001 286404520 2293.530 100.00% Conn: 1 Mbps: 2293.530 Peak Mbps: 2296.304 Avg Mbps: 2293.530 4001 287192520 2297.540 100.00% Conn: 1 Mbps: 2297.540 Peak Mbps: 2297.540 Avg Mbps: 2297.540 5002 288138568 2305.109 100.00% Conn: 1 Mbps: 2305.109 Peak Mbps: 2305.109 Avg Mbps: 2305.109 --- 169.254.1.12 tcpbench statistics --- 1706899304 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2167.111/2271.919/2305.109/52.544 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 256801560 2052.360 100.00% Conn: 1 Mbps: 2052.360 Peak Mbps: 2052.360 Avg Mbps: 2052.360 2002 269145348 2153.163 100.00% Conn: 1 Mbps: 2153.163 Peak Mbps: 2153.163 Avg Mbps: 2153.163 3002 271249668 2172.170 100.00% Conn: 1 Mbps: 2172.170 Peak Mbps: 2172.170 Avg Mbps: 2172.170 4002 272880344 2183.043 100.00% Conn: 1 Mbps: 2183.043 Peak Mbps: 2183.043 Avg Mbps: 2183.043 5004 275970156 2205.556 100.00% Conn: 1 Mbps: 2205.556 Peak Mbps: 2205.556 Avg Mbps: 2205.556 --- fc00:0:0:1::12 tcpbench statistics --- 1619388820 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2052.360/2153.258/2205.556/53.217 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.075 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.075/0.075/0.075/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.072 ms --- fc00::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-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 611909660 4895.277 100.00% Conn: 1 Mbps: 4895.277 Peak Mbps: 4895.277 Avg Mbps: 4895.277 2000 616058096 4928.465 100.00% Conn: 1 Mbps: 4928.465 Peak Mbps: 4928.465 Avg Mbps: 4928.465 3000 596426676 4776.190 100.00% Conn: 1 Mbps: 4776.190 Peak Mbps: 4928.465 Avg Mbps: 4776.190 4000 590167152 4721.337 100.00% Conn: 1 Mbps: 4721.337 Peak Mbps: 4928.465 Avg Mbps: 4721.337 5000 608286912 4866.295 100.00% Conn: 1 Mbps: 4866.295 Peak Mbps: 4928.465 Avg Mbps: 4866.295 --- 169.254.0.13 tcpbench statistics --- 3613199012 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4721.337/4837.513/4928.465/77.065 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 549431856 4395.455 100.00% Conn: 1 Mbps: 4395.455 Peak Mbps: 4395.455 Avg Mbps: 4395.455 2000 577230288 4617.842 100.00% Conn: 1 Mbps: 4617.842 Peak Mbps: 4617.842 Avg Mbps: 4617.842 3000 576320904 4610.567 100.00% Conn: 1 Mbps: 4610.567 Peak Mbps: 4617.842 Avg Mbps: 4610.567 4000 580830248 4646.642 100.00% Conn: 1 Mbps: 4646.642 Peak Mbps: 4646.642 Avg Mbps: 4646.642 5001 579853160 4638.825 100.00% Conn: 1 Mbps: 4638.825 Peak Mbps: 4646.642 Avg Mbps: 4638.825 --- fc00::13 tcpbench statistics --- 3446495728 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4395.455/4581.866/4646.642/94.135 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.058 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.058/0.058/0.058/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.062 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.062/0.062/0.062/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 274473280 2195.786 100.00% Conn: 1 Mbps: 2195.786 Peak Mbps: 2195.786 Avg Mbps: 2195.786 2000 284455904 2275.647 100.00% Conn: 1 Mbps: 2275.647 Peak Mbps: 2275.647 Avg Mbps: 2275.647 3000 286406640 2293.547 100.00% Conn: 1 Mbps: 2293.547 Peak Mbps: 2293.547 Avg Mbps: 2293.547 4001 287192072 2297.537 100.00% Conn: 1 Mbps: 2297.537 Peak Mbps: 2297.537 Avg Mbps: 2297.537 5001 285448624 2283.589 100.00% Conn: 1 Mbps: 2283.589 Peak Mbps: 2297.537 Avg Mbps: 2283.589 --- 169.254.1.11 tcpbench statistics --- 1704150864 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2195.786/2269.221/2297.537/37.507 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 253607336 2028.859 100.00% Conn: 1 Mbps: 2028.859 Peak Mbps: 2028.859 Avg Mbps: 2028.859 2001 267062728 2136.502 100.00% Conn: 1 Mbps: 2136.502 Peak Mbps: 2136.502 Avg Mbps: 2136.502 3000 267326444 2140.752 100.00% Conn: 1 Mbps: 2140.752 Peak Mbps: 2140.752 Avg Mbps: 2140.752 4001 268717740 2149.742 100.00% Conn: 1 Mbps: 2149.742 Peak Mbps: 2149.742 Avg Mbps: 2149.742 5002 270868124 2164.780 100.00% Conn: 1 Mbps: 2164.780 Peak Mbps: 2164.780 Avg Mbps: 2164.780 --- fc00:0:0:1::11 tcpbench statistics --- 1598117208 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2028.859/2124.127/2164.780/48.609 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.053 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.053/0.053/0.053/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.048 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.048/0.048/0.048/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 519386016 4155.088 100.00% Conn: 1 Mbps: 4155.088 Peak Mbps: 4155.088 Avg Mbps: 4155.088 2000 521571048 4176.745 100.00% Conn: 1 Mbps: 4176.745 Peak Mbps: 4176.745 Avg Mbps: 4176.745 3000 519616248 4156.930 100.00% Conn: 1 Mbps: 4156.930 Peak Mbps: 4176.745 Avg Mbps: 4156.930 4000 520584960 4164.680 100.00% Conn: 1 Mbps: 4164.680 Peak Mbps: 4176.745 Avg Mbps: 4164.680 5000 522652704 4181.222 100.00% Conn: 1 Mbps: 4181.222 Peak Mbps: 4181.222 Avg Mbps: 4181.222 --- 169.254.1.12 tcpbench statistics --- 3125900408 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4155.088/4166.933/4181.222/10.449 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 527511768 4220.094 100.00% Conn: 1 Mbps: 4220.094 Peak Mbps: 4220.094 Avg Mbps: 4220.094 2000 527253300 4222.249 100.00% Conn: 1 Mbps: 4222.249 Peak Mbps: 4222.249 Avg Mbps: 4222.249 3000 525074172 4200.593 100.00% Conn: 1 Mbps: 4200.593 Peak Mbps: 4222.249 Avg Mbps: 4200.593 4000 525304080 4202.433 100.00% Conn: 1 Mbps: 4202.433 Peak Mbps: 4222.249 Avg Mbps: 4202.433 5000 529381020 4235.048 100.00% Conn: 1 Mbps: 4235.048 Peak Mbps: 4235.048 Avg Mbps: 4235.048 --- fc00:0:0:1::12 tcpbench statistics --- 3161026512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4200.593/4216.083/4235.048/12.962 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.056 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.056/0.056/0.056/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.061 ms --- fc00::13 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-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 770988894 6167.911 100.00% Conn: 1 Mbps: 6167.911 Peak Mbps: 6167.911 Avg Mbps: 6167.911 2000 771312416 6176.676 100.00% Conn: 1 Mbps: 6176.676 Peak Mbps: 6176.676 Avg Mbps: 6176.676 3000 772032168 6176.257 100.00% Conn: 1 Mbps: 6176.257 Peak Mbps: 6176.676 Avg Mbps: 6176.257 4000 771639576 6173.117 100.00% Conn: 1 Mbps: 6173.117 Peak Mbps: 6176.676 Avg Mbps: 6173.117 5000 771574144 6172.593 100.00% Conn: 1 Mbps: 6172.593 Peak Mbps: 6176.676 Avg Mbps: 6172.593 --- 169.254.0.13 tcpbench statistics --- 4629219490 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6167.911/6173.311/6176.676/3.153 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 767052012 6136.416 100.00% Conn: 1 Mbps: 6136.416 Peak Mbps: 6136.416 Avg Mbps: 6136.416 2000 766459632 6137.815 100.00% Conn: 1 Mbps: 6137.815 Peak Mbps: 6137.815 Avg Mbps: 6137.815 3000 766590416 6132.723 100.00% Conn: 1 Mbps: 6132.723 Peak Mbps: 6137.815 Avg Mbps: 6132.723 4000 766753896 6134.031 100.00% Conn: 1 Mbps: 6134.031 Peak Mbps: 6137.815 Avg Mbps: 6134.031 5000 765903800 6127.230 100.00% Conn: 1 Mbps: 6127.230 Peak Mbps: 6137.815 Avg Mbps: 6127.230 --- fc00::13 tcpbench statistics --- 4598957820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6127.230/6133.643/6137.815/3.666 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.061 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.061/0.061/0.061/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 275000480 2197.806 100.00% Conn: 1 Mbps: 2197.806 Peak Mbps: 2197.806 Avg Mbps: 2197.806 2002 282931104 2261.188 100.00% Conn: 1 Mbps: 2261.188 Peak Mbps: 2261.188 Avg Mbps: 2261.188 3003 285899456 2287.196 100.00% Conn: 1 Mbps: 2287.196 Peak Mbps: 2287.196 Avg Mbps: 2287.196 4004 283977064 2271.817 100.00% Conn: 1 Mbps: 2271.817 Peak Mbps: 2287.196 Avg Mbps: 2271.817 5004 284496392 2275.971 100.00% Conn: 1 Mbps: 2275.971 Peak Mbps: 2287.196 Avg Mbps: 2275.971 --- 169.254.1.11 tcpbench statistics --- 1695304824 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2197.806/2258.795/2287.196/31.612 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 538624696 4304.693 100.00% Conn: 1 Mbps: 4304.693 Peak Mbps: 4304.693 Avg Mbps: 4304.693 2001 604752088 4838.017 100.00% Conn: 1 Mbps: 4838.017 Peak Mbps: 4838.017 Avg Mbps: 4838.017 3001 601603896 4817.649 100.00% Conn: 1 Mbps: 4817.649 Peak Mbps: 4838.017 Avg Mbps: 4817.649 4000 606704608 4858.495 100.00% Conn: 1 Mbps: 4858.495 Peak Mbps: 4858.495 Avg Mbps: 4858.495 5001 602559832 4820.479 100.00% Conn: 1 Mbps: 4820.479 Peak Mbps: 4858.495 Avg Mbps: 4820.479 --- fc00:0:0:1::11 tcpbench statistics --- 3555089616 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4304.693/4727.866/4858.495/212.090 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.051 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.051/0.051/0.051/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 775491578 6203.933 100.00% Conn: 1 Mbps: 6203.933 Peak Mbps: 6203.933 Avg Mbps: 6203.933 2000 777888332 6229.336 100.00% Conn: 1 Mbps: 6229.336 Peak Mbps: 6229.336 Avg Mbps: 6229.336 3000 777495740 6219.966 100.00% Conn: 1 Mbps: 6219.966 Peak Mbps: 6229.336 Avg Mbps: 6219.966 4000 776677840 6213.423 100.00% Conn: 1 Mbps: 6213.423 Peak Mbps: 6229.336 Avg Mbps: 6213.423 5000 777037716 6216.302 100.00% Conn: 1 Mbps: 6216.302 Peak Mbps: 6229.336 Avg Mbps: 6216.302 --- 169.254.1.12 tcpbench statistics --- 4661792502 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6203.933/6216.592/6229.336/8.297 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 753392140 6027.137 100.00% Conn: 1 Mbps: 6027.137 Peak Mbps: 6027.137 Avg Mbps: 6027.137 2000 759397296 6081.260 100.00% Conn: 1 Mbps: 6081.260 Peak Mbps: 6081.260 Avg Mbps: 6081.260 3000 759560776 6082.569 100.00% Conn: 1 Mbps: 6082.569 Peak Mbps: 6082.569 Avg Mbps: 6082.569 4000 760018520 6080.148 100.00% Conn: 1 Mbps: 6080.148 Peak Mbps: 6082.569 Avg Mbps: 6080.148 5000 759201120 6073.609 100.00% Conn: 1 Mbps: 6073.609 Peak Mbps: 6082.569 Avg Mbps: 6073.609 --- fc00:0:0:1::12 tcpbench statistics --- 4550836364 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6027.137/6068.945/6082.569/21.130 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.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-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 790521078 6324.169 100.00% Conn: 1 Mbps: 6324.169 Peak Mbps: 6324.169 Avg Mbps: 6324.169 2000 799906200 6405.655 100.00% Conn: 1 Mbps: 6405.655 Peak Mbps: 6405.655 Avg Mbps: 6405.655 3000 801640148 6413.121 100.00% Conn: 1 Mbps: 6413.121 Peak Mbps: 6413.121 Avg Mbps: 6413.121 4000 801542000 6412.336 100.00% Conn: 1 Mbps: 6412.336 Peak Mbps: 6413.121 Avg Mbps: 6412.336 5000 802425332 6419.403 100.00% Conn: 1 Mbps: 6419.403 Peak Mbps: 6419.403 Avg Mbps: 6419.403 --- 169.254.0.13 tcpbench statistics --- 4776245926 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6324.169/6394.937/6419.403/35.651 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 784479628 6275.837 100.00% Conn: 1 Mbps: 6275.837 Peak Mbps: 6275.837 Avg Mbps: 6275.837 2000 775483728 6210.080 100.00% Conn: 1 Mbps: 6210.080 Peak Mbps: 6275.837 Avg Mbps: 6210.080 3000 795199416 6361.595 100.00% Conn: 1 Mbps: 6361.595 Peak Mbps: 6361.595 Avg Mbps: 6361.595 4000 776072256 6208.578 100.00% Conn: 1 Mbps: 6208.578 Peak Mbps: 6361.595 Avg Mbps: 6208.578 5000 778786024 6230.288 100.00% Conn: 1 Mbps: 6230.288 Peak Mbps: 6361.595 Avg Mbps: 6230.288 --- fc00::13 tcpbench statistics --- 4691095796 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6208.578/6257.276/6361.595/57.540 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.88s