START sys/net/pair 2025-03-28T04:57:32Z ==== 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.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-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.054 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.054/0.054/0.054/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 518519572 4148.157 100.00% Conn: 1 Mbps: 4148.157 Peak Mbps: 4148.157 Avg Mbps: 4148.157 2000 518360612 4151.036 100.00% Conn: 1 Mbps: 4151.036 Peak Mbps: 4151.036 Avg Mbps: 4151.036 3000 517637344 4141.099 100.00% Conn: 1 Mbps: 4141.099 Peak Mbps: 4151.036 Avg Mbps: 4141.099 4000 518130120 4145.041 100.00% Conn: 1 Mbps: 4145.041 Peak Mbps: 4151.036 Avg Mbps: 4145.041 5000 518138068 4145.105 100.00% Conn: 1 Mbps: 4145.105 Peak Mbps: 4151.036 Avg Mbps: 4145.105 --- 169.254.1.11 tcpbench statistics --- 3109194016 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4141.099/4146.087/4151.036/3.338 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 512331144 4098.649 100.00% Conn: 1 Mbps: 4098.649 Peak Mbps: 4098.649 Avg Mbps: 4098.649 2000 511506632 4096.149 100.00% Conn: 1 Mbps: 4096.149 Peak Mbps: 4098.649 Avg Mbps: 4096.149 3000 511998168 4095.985 100.00% Conn: 1 Mbps: 4095.985 Peak Mbps: 4098.649 Avg Mbps: 4095.985 4000 511736544 4093.892 100.00% Conn: 1 Mbps: 4093.892 Peak Mbps: 4098.649 Avg Mbps: 4093.892 5000 511530416 4092.243 100.00% Conn: 1 Mbps: 4092.243 Peak Mbps: 4098.649 Avg Mbps: 4092.243 --- fc00:0:0:1::11 tcpbench statistics --- 3070791880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4092.243/4095.384/4098.649/2.177 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.061 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.061/0.061/0.061/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.125 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.125/0.125/0.125/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 275077952 2198.425 100.00% Conn: 1 Mbps: 2198.425 Peak Mbps: 2198.425 Avg Mbps: 2198.425 2002 289281480 2314.252 100.00% Conn: 1 Mbps: 2314.252 Peak Mbps: 2314.252 Avg Mbps: 2314.252 3003 288346128 2306.769 100.00% Conn: 1 Mbps: 2306.769 Peak Mbps: 2314.252 Avg Mbps: 2306.769 4003 287860872 2302.887 100.00% Conn: 1 Mbps: 2302.887 Peak Mbps: 2314.252 Avg Mbps: 2302.887 5004 288866184 2308.621 100.00% Conn: 1 Mbps: 2308.621 Peak Mbps: 2314.252 Avg Mbps: 2308.621 --- 169.254.1.12 tcpbench statistics --- 1716788976 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 2198.425/2286.191/2314.252/44.035 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 258177008 2063.353 100.00% Conn: 1 Mbps: 2063.353 Peak Mbps: 2063.353 Avg Mbps: 2063.353 2002 270974984 2167.800 100.00% Conn: 1 Mbps: 2167.800 Peak Mbps: 2167.800 Avg Mbps: 2167.800 3002 274644916 2199.359 100.00% Conn: 1 Mbps: 2199.359 Peak Mbps: 2199.359 Avg Mbps: 2199.359 4002 274559208 2196.474 100.00% Conn: 1 Mbps: 2196.474 Peak Mbps: 2199.359 Avg Mbps: 2196.474 5002 275011304 2200.090 100.00% Conn: 1 Mbps: 2200.090 Peak Mbps: 2200.090 Avg Mbps: 2200.090 --- fc00:0:0:1::12 tcpbench statistics --- 1626512880 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2063.353/2165.415/2200.090/52.424 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.061 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.061/0.061/0.061/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.074 ms --- fc00::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-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 570052444 4560.420 100.00% Conn: 1 Mbps: 4560.420 Peak Mbps: 4560.420 Avg Mbps: 4560.420 2000 569838268 4558.706 100.00% Conn: 1 Mbps: 4558.706 Peak Mbps: 4560.420 Avg Mbps: 4558.706 3000 552480956 4424.272 100.00% Conn: 1 Mbps: 4424.272 Peak Mbps: 4560.420 Avg Mbps: 4424.272 4000 530600392 4244.803 100.00% Conn: 1 Mbps: 4244.803 Peak Mbps: 4560.420 Avg Mbps: 4244.803 5000 539891744 4319.134 100.00% Conn: 1 Mbps: 4319.134 Peak Mbps: 4560.420 Avg Mbps: 4319.134 --- 169.254.0.13 tcpbench statistics --- 3246483708 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4244.803/4421.467/4560.420/126.359 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 599598808 4796.790 100.00% Conn: 1 Mbps: 4796.790 Peak Mbps: 4796.790 Avg Mbps: 4796.790 2000 635360328 5082.883 100.00% Conn: 1 Mbps: 5082.883 Peak Mbps: 5082.883 Avg Mbps: 5082.883 3000 633518176 5073.219 100.00% Conn: 1 Mbps: 5073.219 Peak Mbps: 5082.883 Avg Mbps: 5073.219 4000 640159496 5121.276 100.00% Conn: 1 Mbps: 5121.276 Peak Mbps: 5121.276 Avg Mbps: 5121.276 5001 636066312 5088.530 100.00% Conn: 1 Mbps: 5088.530 Peak Mbps: 5121.276 Avg Mbps: 5088.530 --- fc00::13 tcpbench statistics --- 3777349864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4796.790/5032.540/5121.276/118.976 Mbps ==== run-ping-2-1 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.047 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.051 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 271950368 2173.430 100.00% Conn: 1 Mbps: 2173.430 Peak Mbps: 2173.430 Avg Mbps: 2173.430 2001 286232544 2292.153 100.00% Conn: 1 Mbps: 2292.153 Peak Mbps: 2292.153 Avg Mbps: 2292.153 3001 285816376 2286.531 100.00% Conn: 1 Mbps: 2286.531 Peak Mbps: 2292.153 Avg Mbps: 2286.531 4001 286637752 2295.397 100.00% Conn: 1 Mbps: 2295.397 Peak Mbps: 2295.397 Avg Mbps: 2295.397 5002 289205128 2313.641 100.00% Conn: 1 Mbps: 2313.641 Peak Mbps: 2313.641 Avg Mbps: 2313.641 --- 169.254.1.11 tcpbench statistics --- 1707658096 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 2173.430/2272.230/2313.641/50.229 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 255483232 2043.866 100.00% Conn: 1 Mbps: 2043.866 Peak Mbps: 2043.866 Avg Mbps: 2043.866 2000 269500680 2156.005 100.00% Conn: 1 Mbps: 2156.005 Peak Mbps: 2156.005 Avg Mbps: 2156.005 3002 267315132 2134.253 100.00% Conn: 1 Mbps: 2134.253 Peak Mbps: 2156.005 Avg Mbps: 2134.253 4002 269474156 2155.793 100.00% Conn: 1 Mbps: 2155.793 Peak Mbps: 2156.005 Avg Mbps: 2155.793 5003 274436160 2195.489 100.00% Conn: 1 Mbps: 2195.489 Peak Mbps: 2195.489 Avg Mbps: 2195.489 --- fc00:0:0:1::11 tcpbench statistics --- 1606699644 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2043.866/2137.081/2195.489/50.630 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.041 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.041/0.041/0.041/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.060 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.060/0.060/0.060/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 527310920 4218.487 100.00% Conn: 1 Mbps: 4218.487 Peak Mbps: 4218.487 Avg Mbps: 4218.487 2000 527190736 4221.748 100.00% Conn: 1 Mbps: 4221.748 Peak Mbps: 4221.748 Avg Mbps: 4221.748 3000 527089376 4216.715 100.00% Conn: 1 Mbps: 4216.715 Peak Mbps: 4221.748 Avg Mbps: 4216.715 4000 527434000 4223.696 100.00% Conn: 1 Mbps: 4223.696 Peak Mbps: 4223.696 Avg Mbps: 4223.696 5000 527597624 4220.781 100.00% Conn: 1 Mbps: 4220.781 Peak Mbps: 4223.696 Avg Mbps: 4220.781 --- 169.254.1.12 tcpbench statistics --- 3164185528 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4216.715/4220.285/4223.696/2.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 526403640 4211.229 100.00% Conn: 1 Mbps: 4211.229 Peak Mbps: 4211.229 Avg Mbps: 4211.229 2000 527023392 4220.408 100.00% Conn: 1 Mbps: 4220.408 Peak Mbps: 4220.408 Avg Mbps: 4220.408 3000 527874480 4222.996 100.00% Conn: 1 Mbps: 4222.996 Peak Mbps: 4222.996 Avg Mbps: 4222.996 4000 526927716 4215.422 100.00% Conn: 1 Mbps: 4215.422 Peak Mbps: 4222.996 Avg Mbps: 4215.422 5000 526974840 4215.799 100.00% Conn: 1 Mbps: 4215.799 Peak Mbps: 4222.996 Avg Mbps: 4215.799 --- fc00:0:0:1::12 tcpbench statistics --- 3162097512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4211.229/4217.171/4222.996/4.115 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.049 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.049/0.049/0.049/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.060 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.060/0.060/0.060/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 789295220 6314.362 100.00% Conn: 1 Mbps: 6314.362 Peak Mbps: 6314.362 Avg Mbps: 6314.362 2000 791432756 6337.800 100.00% Conn: 1 Mbps: 6337.800 Peak Mbps: 6337.800 Avg Mbps: 6337.800 3000 791334608 6330.677 100.00% Conn: 1 Mbps: 6330.677 Peak Mbps: 6337.800 Avg Mbps: 6330.677 4000 790320412 6322.563 100.00% Conn: 1 Mbps: 6322.563 Peak Mbps: 6337.800 Avg Mbps: 6322.563 5000 791694484 6333.556 100.00% Conn: 1 Mbps: 6333.556 Peak Mbps: 6337.800 Avg Mbps: 6333.556 --- 169.254.0.13 tcpbench statistics --- 4745510236 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6314.362/6327.792/6337.800/8.360 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 768788860 6150.311 100.00% Conn: 1 Mbps: 6150.311 Peak Mbps: 6150.311 Avg Mbps: 6150.311 2000 770677416 6165.419 100.00% Conn: 1 Mbps: 6165.419 Peak Mbps: 6165.419 Avg Mbps: 6165.419 3000 769892712 6165.307 100.00% Conn: 1 Mbps: 6165.307 Peak Mbps: 6165.419 Avg Mbps: 6165.307 4000 769598448 6156.788 100.00% Conn: 1 Mbps: 6156.788 Peak Mbps: 6165.419 Avg Mbps: 6156.788 5000 768781048 6150.248 100.00% Conn: 1 Mbps: 6150.248 Peak Mbps: 6165.419 Avg Mbps: 6150.248 --- fc00::13 tcpbench statistics --- 4615800220 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6150.248/6157.615/6165.419/6.758 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.051 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.051/0.051/0.051/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.058 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.058/0.058/0.058/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 271666336 2171.160 100.00% Conn: 1 Mbps: 2171.160 Peak Mbps: 2171.160 Avg Mbps: 2171.160 2001 280154344 2241.235 100.00% Conn: 1 Mbps: 2241.235 Peak Mbps: 2241.235 Avg Mbps: 2241.235 3002 284212352 2273.699 100.00% Conn: 1 Mbps: 2273.699 Peak Mbps: 2273.699 Avg Mbps: 2273.699 4003 282371344 2258.971 100.00% Conn: 1 Mbps: 2258.971 Peak Mbps: 2273.699 Avg Mbps: 2258.971 5004 283199264 2263.331 100.00% Conn: 1 Mbps: 2263.331 Peak Mbps: 2273.699 Avg Mbps: 2263.331 --- 169.254.1.11 tcpbench statistics --- 1683120888 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2171.160/2241.679/2273.699/36.787 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: <UP,GATEWAY,HOST,DYNAMIC,DONE> ==== 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 536798400 4294.387 100.00% Conn: 1 Mbps: 4294.387 Peak Mbps: 4294.387 Avg Mbps: 4294.387 2001 603177864 4825.423 100.00% Conn: 1 Mbps: 4825.423 Peak Mbps: 4825.423 Avg Mbps: 4825.423 3001 602447200 4819.578 100.00% Conn: 1 Mbps: 4819.578 Peak Mbps: 4825.423 Avg Mbps: 4819.578 4001 593311072 4746.489 100.00% Conn: 1 Mbps: 4746.489 Peak Mbps: 4825.423 Avg Mbps: 4746.489 5001 597857736 4782.862 100.00% Conn: 1 Mbps: 4782.862 Peak Mbps: 4825.423 Avg Mbps: 4782.862 --- fc00:0:0:1::11 tcpbench statistics --- 3527375544 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4294.387/4693.748/4825.423/201.685 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: <UP,GATEWAY,DONE,STATIC> 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.059 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.059/0.059/0.059/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.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-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 778779402 6230.235 100.00% Conn: 1 Mbps: 6230.235 Peak Mbps: 6230.235 Avg Mbps: 6230.235 2000 781945116 6255.561 100.00% Conn: 1 Mbps: 6255.561 Peak Mbps: 6255.561 Avg Mbps: 6255.561 3000 781716104 6253.729 100.00% Conn: 1 Mbps: 6253.729 Peak Mbps: 6255.561 Avg Mbps: 6253.729 4000 780309316 6242.475 100.00% Conn: 1 Mbps: 6242.475 Peak Mbps: 6255.561 Avg Mbps: 6242.475 5000 780669192 6245.354 100.00% Conn: 1 Mbps: 6245.354 Peak Mbps: 6255.561 Avg Mbps: 6245.354 --- 169.254.1.12 tcpbench statistics --- 4684873506 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6230.235/6245.471/6255.561/9.068 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 773866320 6190.931 100.00% Conn: 1 Mbps: 6190.931 Peak Mbps: 6190.931 Avg Mbps: 6190.931 2000 772214128 6183.897 100.00% Conn: 1 Mbps: 6183.897 Peak Mbps: 6190.931 Avg Mbps: 6183.897 3000 773260400 6186.083 100.00% Conn: 1 Mbps: 6186.083 Peak Mbps: 6190.931 Avg Mbps: 6186.083 4000 773064224 6184.514 100.00% Conn: 1 Mbps: 6184.514 Peak Mbps: 6190.931 Avg Mbps: 6184.514 5000 773489272 6187.914 100.00% Conn: 1 Mbps: 6187.914 Peak Mbps: 6190.931 Avg Mbps: 6187.914 --- fc00:0:0:1::12 tcpbench statistics --- 4639187440 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6183.897/6186.668/6190.931/2.545 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.052 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.052/0.052/0.052/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.057 ms --- fc00::13 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-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 787245990 6297.968 100.00% Conn: 1 Mbps: 6297.968 Peak Mbps: 6297.968 Avg Mbps: 6297.968 2000 786459924 6297.977 100.00% Conn: 1 Mbps: 6297.977 Peak Mbps: 6297.977 Avg Mbps: 6297.977 3000 787310540 6298.484 100.00% Conn: 1 Mbps: 6298.484 Peak Mbps: 6298.484 Avg Mbps: 6298.484 4000 787572268 6300.578 100.00% Conn: 1 Mbps: 6300.578 Peak Mbps: 6300.578 Avg Mbps: 6300.578 5000 787179676 6297.437 100.00% Conn: 1 Mbps: 6297.437 Peak Mbps: 6300.578 Avg Mbps: 6297.437 --- 169.254.0.13 tcpbench statistics --- 4722588198 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6297.437/6298.489/6300.578/1.096 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 788516756 6308.134 100.00% Conn: 1 Mbps: 6308.134 Peak Mbps: 6308.134 Avg Mbps: 6308.134 2000 786796544 6300.673 100.00% Conn: 1 Mbps: 6300.673 Peak Mbps: 6308.134 Avg Mbps: 6300.673 3000 788006296 6304.050 100.00% Conn: 1 Mbps: 6304.050 Peak Mbps: 6308.134 Avg Mbps: 6304.050 4000 787483160 6299.865 100.00% Conn: 1 Mbps: 6299.865 Peak Mbps: 6308.134 Avg Mbps: 6299.865 5000 782971112 6263.769 100.00% Conn: 1 Mbps: 6263.769 Peak Mbps: 6308.134 Avg Mbps: 6263.769 --- fc00::13 tcpbench statistics --- 4719360660 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6263.769/6295.298/6308.134/16.032 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.86s