START sys/net/pair 2025-02-16T04:55:37Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.062 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.062/0.062/0.062/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.046 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.046/0.046/0.046/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 519099776 4152.798 100.00% Conn: 1 Mbps: 4152.798 Peak Mbps: 4152.798 Avg Mbps: 4152.798 2000 517979108 4147.981 100.00% Conn: 1 Mbps: 4147.981 Peak Mbps: 4152.798 Avg Mbps: 4147.981 3000 517756564 4142.053 100.00% Conn: 1 Mbps: 4142.053 Peak Mbps: 4152.798 Avg Mbps: 4142.053 4000 517454540 4139.636 100.00% Conn: 1 Mbps: 4139.636 Peak Mbps: 4152.798 Avg Mbps: 4139.636 5000 518702376 4149.619 100.00% Conn: 1 Mbps: 4149.619 Peak Mbps: 4152.798 Avg Mbps: 4149.619 --- 169.254.1.11 tcpbench statistics --- 3109019160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4139.636/4146.417/4152.798/4.867 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 519085800 4152.686 100.00% Conn: 1 Mbps: 4152.686 Peak Mbps: 4152.686 Avg Mbps: 4152.686 2000 518895528 4155.320 100.00% Conn: 1 Mbps: 4155.320 Peak Mbps: 4155.320 Avg Mbps: 4155.320 3000 521369064 4170.953 100.00% Conn: 1 Mbps: 4170.953 Peak Mbps: 4170.953 Avg Mbps: 4170.953 4000 525325136 4202.601 100.00% Conn: 1 Mbps: 4202.601 Peak Mbps: 4202.601 Avg Mbps: 4202.601 5000 524778104 4198.225 100.00% Conn: 1 Mbps: 4198.225 Peak Mbps: 4202.601 Avg Mbps: 4198.225 --- fc00:0:0:1::11 tcpbench statistics --- 3134429936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4152.686/4175.957/4202.601/20.968 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.073 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.073/0.073/0.073/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.131 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.131/0.131/0.131/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 271597056 2170.606 100.00% Conn: 1 Mbps: 2170.606 Peak Mbps: 2170.606 Avg Mbps: 2170.606 2001 284891928 2279.135 100.00% Conn: 1 Mbps: 2279.135 Peak Mbps: 2279.135 Avg Mbps: 2279.135 3001 286003320 2288.027 100.00% Conn: 1 Mbps: 2288.027 Peak Mbps: 2288.027 Avg Mbps: 2288.027 4003 287228152 2295.530 100.00% Conn: 1 Mbps: 2295.530 Peak Mbps: 2295.530 Avg Mbps: 2295.530 5005 287737968 2299.604 100.00% Conn: 1 Mbps: 2299.604 Peak Mbps: 2299.604 Avg Mbps: 2299.604 --- 169.254.1.12 tcpbench statistics --- 1703436504 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2170.606/2266.580/2299.604/48.492 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 256322756 2050.582 100.00% Conn: 1 Mbps: 2050.582 Peak Mbps: 2050.582 Avg Mbps: 2050.582 2001 269079448 2152.636 100.00% Conn: 1 Mbps: 2152.636 Peak Mbps: 2152.636 Avg Mbps: 2152.636 3002 271234680 2167.710 100.00% Conn: 1 Mbps: 2167.710 Peak Mbps: 2167.710 Avg Mbps: 2167.710 4002 271697000 2173.576 100.00% Conn: 1 Mbps: 2173.576 Peak Mbps: 2173.576 Avg Mbps: 2173.576 5003 271194712 2169.558 100.00% Conn: 1 Mbps: 2169.558 Peak Mbps: 2173.576 Avg Mbps: 2169.558 --- fc00:0:0:1::12 tcpbench statistics --- 1610234988 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2050.582/2142.812/2173.576/46.657 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.077 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.077/0.077/0.077/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 611330576 4890.645 100.00% Conn: 1 Mbps: 4890.645 Peak Mbps: 4890.645 Avg Mbps: 4890.645 2000 616413096 4931.305 100.00% Conn: 1 Mbps: 4931.305 Peak Mbps: 4931.305 Avg Mbps: 4931.305 3000 617237588 4937.901 100.00% Conn: 1 Mbps: 4937.901 Peak Mbps: 4937.901 Avg Mbps: 4937.901 4000 615069184 4925.479 100.00% Conn: 1 Mbps: 4925.479 Peak Mbps: 4937.901 Avg Mbps: 4925.479 5001 624427620 4995.421 100.00% Conn: 1 Mbps: 4995.421 Peak Mbps: 4995.421 Avg Mbps: 4995.421 --- 169.254.0.13 tcpbench statistics --- 3704404736 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4890.645/4936.150/4995.421/33.835 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 557612120 4460.897 100.00% Conn: 1 Mbps: 4460.897 Peak Mbps: 4460.897 Avg Mbps: 4460.897 2002 583725656 4665.140 100.00% Conn: 1 Mbps: 4665.140 Peak Mbps: 4665.140 Avg Mbps: 4665.140 3001 585630328 4689.732 100.00% Conn: 1 Mbps: 4689.732 Peak Mbps: 4689.732 Avg Mbps: 4689.732 4002 583885776 4666.420 100.00% Conn: 1 Mbps: 4666.420 Peak Mbps: 4689.732 Avg Mbps: 4666.420 5001 588053952 4709.141 100.00% Conn: 1 Mbps: 4709.141 Peak Mbps: 4709.141 Avg Mbps: 4709.141 --- fc00::13 tcpbench statistics --- 3484201024 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4460.897/4638.266/4709.141/90.163 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.060 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.060/0.060/0.060/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.052 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 271445288 2169.393 100.00% Conn: 1 Mbps: 2169.393 Peak Mbps: 2169.393 Avg Mbps: 2169.393 2003 283825080 2268.332 100.00% Conn: 1 Mbps: 2268.332 Peak Mbps: 2268.332 Avg Mbps: 2268.332 3003 282587032 2260.696 100.00% Conn: 1 Mbps: 2260.696 Peak Mbps: 2268.332 Avg Mbps: 2260.696 4004 286765240 2294.122 100.00% Conn: 1 Mbps: 2294.122 Peak Mbps: 2294.122 Avg Mbps: 2294.122 5005 285198224 2281.586 100.00% Conn: 1 Mbps: 2281.586 Peak Mbps: 2294.122 Avg Mbps: 2281.586 --- 169.254.1.11 tcpbench statistics --- 1693897336 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2169.393/2254.826/2294.122/44.218 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 257451244 2059.610 100.00% Conn: 1 Mbps: 2059.610 Peak Mbps: 2059.610 Avg Mbps: 2059.610 2001 267587540 2140.700 100.00% Conn: 1 Mbps: 2140.700 Peak Mbps: 2140.700 Avg Mbps: 2140.700 3002 271967768 2175.742 100.00% Conn: 1 Mbps: 2175.742 Peak Mbps: 2175.742 Avg Mbps: 2175.742 4001 272030304 2178.421 100.00% Conn: 1 Mbps: 2178.421 Peak Mbps: 2178.421 Avg Mbps: 2178.421 5003 271301868 2168.247 100.00% Conn: 1 Mbps: 2168.247 Peak Mbps: 2178.421 Avg Mbps: 2168.247 --- fc00:0:0:1::11 tcpbench statistics --- 1612364348 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2059.610/2144.544/2178.421/44.523 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.052 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.052/0.052/0.052/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.055 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.055/0.055/0.055/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 531653472 4253.228 100.00% Conn: 1 Mbps: 4253.228 Peak Mbps: 4253.228 Avg Mbps: 4253.228 2000 534382952 4279.343 100.00% Conn: 1 Mbps: 4279.343 Peak Mbps: 4279.343 Avg Mbps: 4279.343 3000 534298968 4274.392 100.00% Conn: 1 Mbps: 4274.392 Peak Mbps: 4279.343 Avg Mbps: 4274.392 4000 533298400 4266.387 100.00% Conn: 1 Mbps: 4266.387 Peak Mbps: 4279.343 Avg Mbps: 4266.387 5000 532119728 4256.958 100.00% Conn: 1 Mbps: 4256.958 Peak Mbps: 4279.343 Avg Mbps: 4256.958 --- 169.254.1.12 tcpbench statistics --- 3198020944 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4253.228/4266.062/4279.343/9.935 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 526018080 4208.145 100.00% Conn: 1 Mbps: 4208.145 Peak Mbps: 4208.145 Avg Mbps: 4208.145 2000 524924232 4203.597 100.00% Conn: 1 Mbps: 4203.597 Peak Mbps: 4208.145 Avg Mbps: 4203.597 3000 525649656 4205.197 100.00% Conn: 1 Mbps: 4205.197 Peak Mbps: 4208.145 Avg Mbps: 4205.197 4000 525992376 4207.939 100.00% Conn: 1 Mbps: 4207.939 Peak Mbps: 4208.145 Avg Mbps: 4207.939 5000 526040928 4208.327 100.00% Conn: 1 Mbps: 4208.327 Peak Mbps: 4208.327 Avg Mbps: 4208.327 --- fc00:0:0:1::12 tcpbench statistics --- 3154420584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4203.597/4206.641/4208.327/1.905 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.057 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.057/0.057/0.057/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.062 ms --- fc00::13 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-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 778596334 6228.771 100.00% Conn: 1 Mbps: 6228.771 Peak Mbps: 6228.771 Avg Mbps: 6228.771 2000 776808260 6220.687 100.00% Conn: 1 Mbps: 6220.687 Peak Mbps: 6228.771 Avg Mbps: 6220.687 3000 771835500 6174.684 100.00% Conn: 1 Mbps: 6174.684 Peak Mbps: 6228.771 Avg Mbps: 6174.684 4000 783711312 6269.690 100.00% Conn: 1 Mbps: 6269.690 Peak Mbps: 6269.690 Avg Mbps: 6269.690 5000 783416904 6267.335 100.00% Conn: 1 Mbps: 6267.335 Peak Mbps: 6269.690 Avg Mbps: 6267.335 --- 169.254.0.13 tcpbench statistics --- 4673532086 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6174.684/6232.233/6269.690/34.907 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 771161228 6169.290 100.00% Conn: 1 Mbps: 6169.290 Peak Mbps: 6169.290 Avg Mbps: 6169.290 2000 773129616 6191.228 100.00% Conn: 1 Mbps: 6191.228 Peak Mbps: 6191.228 Avg Mbps: 6191.228 3000 773358488 6186.868 100.00% Conn: 1 Mbps: 6186.868 Peak Mbps: 6191.228 Avg Mbps: 6186.868 4000 773358488 6186.868 100.00% Conn: 1 Mbps: 6186.868 Peak Mbps: 6191.228 Avg Mbps: 6186.868 5000 773358488 6186.868 100.00% Conn: 1 Mbps: 6186.868 Peak Mbps: 6191.228 Avg Mbps: 6186.868 --- fc00::13 tcpbench statistics --- 4637757492 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6169.290/6184.224/6191.228/7.656 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.064 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.064/0.064/0.064/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.068 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.068/0.068/0.068/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 269328200 2154.626 100.00% Conn: 1 Mbps: 2154.626 Peak Mbps: 2154.626 Avg Mbps: 2154.626 2000 283463192 2267.706 100.00% Conn: 1 Mbps: 2267.706 Peak Mbps: 2267.706 Avg Mbps: 2267.706 3001 281187384 2247.252 100.00% Conn: 1 Mbps: 2247.252 Peak Mbps: 2267.706 Avg Mbps: 2247.252 4002 281554960 2252.440 100.00% Conn: 1 Mbps: 2252.440 Peak Mbps: 2267.706 Avg Mbps: 2252.440 5003 282303960 2258.432 100.00% Conn: 1 Mbps: 2258.432 Peak Mbps: 2267.706 Avg Mbps: 2258.432 --- 169.254.1.11 tcpbench statistics --- 1681368176 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2154.626/2236.091/2267.706/41.297 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 534195984 4273.568 100.00% Conn: 1 Mbps: 4273.568 Peak Mbps: 4273.568 Avg Mbps: 4273.568 2001 591114736 4724.194 100.00% Conn: 1 Mbps: 4724.194 Peak Mbps: 4724.194 Avg Mbps: 4724.194 3001 597732712 4786.648 100.00% Conn: 1 Mbps: 4786.648 Peak Mbps: 4786.648 Avg Mbps: 4786.648 4001 607876720 4863.014 100.00% Conn: 1 Mbps: 4863.014 Peak Mbps: 4863.014 Avg Mbps: 4863.014 5001 598515840 4788.127 100.00% Conn: 1 Mbps: 4788.127 Peak Mbps: 4863.014 Avg Mbps: 4788.127 --- fc00:0:0:1::11 tcpbench statistics --- 3525328416 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4273.568/4687.110/4863.014/211.399 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.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-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 794999094 6359.993 100.00% Conn: 1 Mbps: 6359.993 Peak Mbps: 6359.993 Avg Mbps: 6359.993 2000 795456824 6370.025 100.00% Conn: 1 Mbps: 6370.025 Peak Mbps: 6370.025 Avg Mbps: 6370.025 3000 794671640 6357.373 100.00% Conn: 1 Mbps: 6357.373 Peak Mbps: 6370.025 Avg Mbps: 6357.373 4000 794737072 6357.897 100.00% Conn: 1 Mbps: 6357.897 Peak Mbps: 6370.025 Avg Mbps: 6357.897 5000 795489540 6363.916 100.00% Conn: 1 Mbps: 6363.916 Peak Mbps: 6370.025 Avg Mbps: 6363.916 --- 169.254.1.12 tcpbench statistics --- 4770778278 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6357.373/6361.841/6370.025/4.695 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 775910684 6207.285 100.00% Conn: 1 Mbps: 6207.285 Peak Mbps: 6207.285 Avg Mbps: 6207.285 2000 769925408 6165.569 100.00% Conn: 1 Mbps: 6165.569 Peak Mbps: 6207.285 Avg Mbps: 6165.569 3000 776497304 6211.978 100.00% Conn: 1 Mbps: 6211.978 Peak Mbps: 6211.978 Avg Mbps: 6211.978 4000 776791568 6214.333 100.00% Conn: 1 Mbps: 6214.333 Peak Mbps: 6214.333 Avg Mbps: 6214.333 5000 777510880 6220.087 100.00% Conn: 1 Mbps: 6220.087 Peak Mbps: 6220.087 Avg Mbps: 6220.087 --- fc00:0:0:1::12 tcpbench statistics --- 4654114028 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6165.569/6203.850/6220.087/19.580 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.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-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.054 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.054/0.054/0.054/0.000 ms ==== run-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 789649778 6317.198 100.00% Conn: 1 Mbps: 6317.198 Peak Mbps: 6317.198 Avg Mbps: 6317.198 2000 788521032 6314.483 100.00% Conn: 1 Mbps: 6314.483 Peak Mbps: 6317.198 Avg Mbps: 6314.483 3000 788455600 6307.645 100.00% Conn: 1 Mbps: 6307.645 Peak Mbps: 6317.198 Avg Mbps: 6307.645 4000 788259304 6306.074 100.00% Conn: 1 Mbps: 6306.074 Peak Mbps: 6317.198 Avg Mbps: 6306.074 5000 788913624 6311.309 100.00% Conn: 1 Mbps: 6311.309 Peak Mbps: 6317.198 Avg Mbps: 6311.309 --- 169.254.0.13 tcpbench statistics --- 4732614814 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6306.074/6311.342/6317.198/4.137 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 793044180 6344.353 100.00% Conn: 1 Mbps: 6344.353 Peak Mbps: 6344.353 Avg Mbps: 6344.353 2000 791766336 6340.471 100.00% Conn: 1 Mbps: 6340.471 Peak Mbps: 6344.353 Avg Mbps: 6340.471 3000 792518344 6340.147 100.00% Conn: 1 Mbps: 6340.147 Peak Mbps: 6344.353 Avg Mbps: 6340.147 4000 792845304 6342.762 100.00% Conn: 1 Mbps: 6342.762 Peak Mbps: 6344.353 Avg Mbps: 6342.762 5000 792452952 6339.624 100.00% Conn: 1 Mbps: 6339.624 Peak Mbps: 6344.353 Avg Mbps: 6339.624 --- fc00::13 tcpbench statistics --- 4754916588 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6339.624/6341.471/6344.353/1.797 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m53.72s