START sys/net/pair 2025-01-01T05:07:08Z ==== 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.043 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.043/0.043/0.043/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 710430580 5683.445 100.00% Conn: 1 Mbps: 5683.445 Peak Mbps: 5683.445 Avg Mbps: 5683.445 2000 706084424 5654.330 100.00% Conn: 1 Mbps: 5654.330 Peak Mbps: 5683.445 Avg Mbps: 5654.330 3000 704510720 5636.086 100.00% Conn: 1 Mbps: 5636.086 Peak Mbps: 5683.445 Avg Mbps: 5636.086 4000 706299020 5650.392 100.00% Conn: 1 Mbps: 5650.392 Peak Mbps: 5683.445 Avg Mbps: 5650.392 5000 706656680 5653.253 100.00% Conn: 1 Mbps: 5653.253 Peak Mbps: 5683.445 Avg Mbps: 5653.253 --- 169.254.1.11 tcpbench statistics --- 4241016668 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5636.086/5655.501/5683.445/15.429 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 725487512 5803.900 100.00% Conn: 1 Mbps: 5803.900 Peak Mbps: 5803.900 Avg Mbps: 5803.900 2000 726501128 5817.827 100.00% Conn: 1 Mbps: 5817.827 Peak Mbps: 5817.827 Avg Mbps: 5817.827 3000 726911952 5815.296 100.00% Conn: 1 Mbps: 5815.296 Peak Mbps: 5817.827 Avg Mbps: 5815.296 4000 722492288 5779.938 100.00% Conn: 1 Mbps: 5779.938 Peak Mbps: 5817.827 Avg Mbps: 5779.938 5000 723229592 5785.837 100.00% Conn: 1 Mbps: 5785.837 Peak Mbps: 5817.827 Avg Mbps: 5785.837 --- fc00:0:0:1::11 tcpbench statistics --- 4347592648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5779.938/5800.560/5817.827/15.287 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.078 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.078/0.078/0.078/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 272462864 2177.525 100.00% Conn: 1 Mbps: 2177.525 Peak Mbps: 2177.525 Avg Mbps: 2177.525 2002 285965728 2287.726 100.00% Conn: 1 Mbps: 2287.726 Peak Mbps: 2287.726 Avg Mbps: 2287.726 3002 288122968 2304.984 100.00% Conn: 1 Mbps: 2304.984 Peak Mbps: 2304.984 Avg Mbps: 2304.984 4002 287579296 2300.634 100.00% Conn: 1 Mbps: 2300.634 Peak Mbps: 2304.984 Avg Mbps: 2300.634 5002 284280584 2274.245 100.00% Conn: 1 Mbps: 2274.245 Peak Mbps: 2304.984 Avg Mbps: 2274.245 --- 169.254.1.12 tcpbench statistics --- 1709276968 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2177.525/2269.023/2304.984/46.992 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 240796576 1924.448 100.00% Conn: 1 Mbps: 1924.448 Peak Mbps: 1924.448 Avg Mbps: 1924.448 2002 253844128 2030.753 100.00% Conn: 1 Mbps: 2030.753 Peak Mbps: 2030.753 Avg Mbps: 2030.753 3003 259528940 2074.157 100.00% Conn: 1 Mbps: 2074.157 Peak Mbps: 2074.157 Avg Mbps: 2074.157 4003 257110332 2056.883 100.00% Conn: 1 Mbps: 2056.883 Peak Mbps: 2074.157 Avg Mbps: 2056.883 5003 258249396 2068.063 100.00% Conn: 1 Mbps: 2068.063 Peak Mbps: 2074.157 Avg Mbps: 2068.063 --- fc00:0:0:1::12 tcpbench statistics --- 1525711392 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1924.448/2030.861/2074.157/55.244 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.072 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.072/0.072/0.072/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.070 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.070/0.070/0.070/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 563854964 4510.840 100.00% Conn: 1 Mbps: 4510.840 Peak Mbps: 4510.840 Avg Mbps: 4510.840 2000 577485644 4619.885 100.00% Conn: 1 Mbps: 4619.885 Peak Mbps: 4619.885 Avg Mbps: 4619.885 3000 562074472 4496.596 100.00% Conn: 1 Mbps: 4496.596 Peak Mbps: 4619.885 Avg Mbps: 4496.596 4000 567987784 4548.451 100.00% Conn: 1 Mbps: 4548.451 Peak Mbps: 4619.885 Avg Mbps: 4548.451 5000 556733556 4458.327 100.00% Conn: 1 Mbps: 4458.327 Peak Mbps: 4619.885 Avg Mbps: 4458.327 --- 169.254.0.13 tcpbench statistics --- 3386769548 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4458.327/4526.820/4619.885/54.753 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 556420832 4451.367 100.00% Conn: 1 Mbps: 4451.367 Peak Mbps: 4451.367 Avg Mbps: 4451.367 2000 583606984 4673.529 100.00% Conn: 1 Mbps: 4673.529 Peak Mbps: 4673.529 Avg Mbps: 4673.529 3000 588190928 4705.527 100.00% Conn: 1 Mbps: 4705.527 Peak Mbps: 4705.527 Avg Mbps: 4705.527 4000 586967416 4695.739 100.00% Conn: 1 Mbps: 4695.739 Peak Mbps: 4705.527 Avg Mbps: 4695.739 5000 587625440 4701.004 100.00% Conn: 1 Mbps: 4701.004 Peak Mbps: 4705.527 Avg Mbps: 4701.004 --- fc00::13 tcpbench statistics --- 3490863072 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4451.367/4645.433/4705.527/97.654 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.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 1000 267317568 2138.541 100.00% Conn: 1 Mbps: 2138.541 Peak Mbps: 2138.541 Avg Mbps: 2138.541 2000 280599440 2244.796 100.00% Conn: 1 Mbps: 2244.796 Peak Mbps: 2244.796 Avg Mbps: 2244.796 3001 280649168 2245.193 100.00% Conn: 1 Mbps: 2245.193 Peak Mbps: 2245.193 Avg Mbps: 2245.193 4001 281413992 2253.566 100.00% Conn: 1 Mbps: 2253.566 Peak Mbps: 2253.566 Avg Mbps: 2253.566 5001 280704136 2245.633 100.00% Conn: 1 Mbps: 2245.633 Peak Mbps: 2253.566 Avg Mbps: 2245.633 --- 169.254.1.11 tcpbench statistics --- 1673949840 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2138.541/2225.546/2253.566/43.624 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 245057176 1960.457 100.00% Conn: 1 Mbps: 1960.457 Peak Mbps: 1960.457 Avg Mbps: 1960.457 2001 252244428 2017.955 100.00% Conn: 1 Mbps: 2017.955 Peak Mbps: 2017.955 Avg Mbps: 2017.955 3002 252548168 2018.367 100.00% Conn: 1 Mbps: 2018.367 Peak Mbps: 2018.367 Avg Mbps: 2018.367 4001 255845364 2048.812 100.00% Conn: 1 Mbps: 2048.812 Peak Mbps: 2048.812 Avg Mbps: 2048.812 5002 252384288 2019.074 100.00% Conn: 1 Mbps: 2019.074 Peak Mbps: 2048.812 Avg Mbps: 2019.074 --- fc00:0:0:1::11 tcpbench statistics --- 1515419480 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1960.457/2012.933/2048.812/28.752 Mbps ==== run-ping-2-2 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.038 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.045 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-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 688398192 5507.186 100.00% Conn: 1 Mbps: 5507.186 Peak Mbps: 5507.186 Avg Mbps: 5507.186 2000 687062968 5502.006 100.00% Conn: 1 Mbps: 5502.006 Peak Mbps: 5507.186 Avg Mbps: 5502.006 3000 686685712 5493.486 100.00% Conn: 1 Mbps: 5493.486 Peak Mbps: 5507.186 Avg Mbps: 5493.486 4000 685561952 5484.496 100.00% Conn: 1 Mbps: 5484.496 Peak Mbps: 5507.186 Avg Mbps: 5484.496 5000 686997808 5501.484 100.00% Conn: 1 Mbps: 5501.484 Peak Mbps: 5507.186 Avg Mbps: 5501.484 --- 169.254.1.12 tcpbench statistics --- 4121438008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5484.496/5497.731/5507.186/7.937 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 697307104 5578.457 100.00% Conn: 1 Mbps: 5578.457 Peak Mbps: 5578.457 Avg Mbps: 5578.457 2000 695640712 5570.696 100.00% Conn: 1 Mbps: 5570.696 Peak Mbps: 5578.457 Avg Mbps: 5570.696 3000 696010056 5568.080 100.00% Conn: 1 Mbps: 5568.080 Peak Mbps: 5578.457 Avg Mbps: 5568.080 4000 697754068 5582.033 100.00% Conn: 1 Mbps: 5582.033 Peak Mbps: 5582.033 Avg Mbps: 5582.033 5000 696883412 5580.648 100.00% Conn: 1 Mbps: 5580.648 Peak Mbps: 5582.033 Avg Mbps: 5580.648 --- fc00:0:0:1::12 tcpbench statistics --- 4178307356 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5568.080/5575.983/5582.033/5.566 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.048 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.048/0.048/0.048/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.064 ms --- fc00::13 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-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 1206403712 9651.230 100.00% Conn: 1 Mbps: 9651.230 Peak Mbps: 9651.230 Avg Mbps: 9651.230 2000 1217198780 9747.338 100.00% Conn: 1 Mbps: 9747.338 Peak Mbps: 9747.338 Avg Mbps: 9747.338 3000 1213665452 9709.324 100.00% Conn: 1 Mbps: 9709.324 Peak Mbps: 9747.338 Avg Mbps: 9709.324 4000 1215710202 9725.682 100.00% Conn: 1 Mbps: 9725.682 Peak Mbps: 9747.338 Avg Mbps: 9725.682 5000 1210819160 9686.553 100.00% Conn: 1 Mbps: 9686.553 Peak Mbps: 9747.338 Avg Mbps: 9686.553 --- 169.254.0.13 tcpbench statistics --- 7267222650 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9651.230/9704.025/9747.338/33.063 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 1197150068 9577.201 100.00% Conn: 1 Mbps: 9577.201 Peak Mbps: 9577.201 Avg Mbps: 9577.201 2000 1202068440 9626.174 100.00% Conn: 1 Mbps: 9626.174 Peak Mbps: 9626.174 Avg Mbps: 9626.174 3000 1198864232 9590.914 100.00% Conn: 1 Mbps: 9590.914 Peak Mbps: 9626.174 Avg Mbps: 9590.914 4000 1197131344 9577.051 100.00% Conn: 1 Mbps: 9577.051 Peak Mbps: 9626.174 Avg Mbps: 9577.051 5000 1195136888 9561.095 100.00% Conn: 1 Mbps: 9561.095 Peak Mbps: 9626.174 Avg Mbps: 9561.095 --- fc00::13 tcpbench statistics --- 7180518068 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9561.095/9586.487/9626.174/21.976 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.052 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.052/0.052/0.052/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.057 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.057/0.057/0.057/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 272439136 2177.336 100.00% Conn: 1 Mbps: 2177.336 Peak Mbps: 2177.336 Avg Mbps: 2177.336 2001 282498880 2262.253 100.00% Conn: 1 Mbps: 2262.253 Peak Mbps: 2262.253 Avg Mbps: 2262.253 3001 279430792 2237.684 100.00% Conn: 1 Mbps: 2237.684 Peak Mbps: 2262.253 Avg Mbps: 2237.684 4001 283328528 2266.628 100.00% Conn: 1 Mbps: 2266.628 Peak Mbps: 2266.628 Avg Mbps: 2266.628 5002 279631504 2237.052 100.00% Conn: 1 Mbps: 2237.052 Peak Mbps: 2266.628 Avg Mbps: 2237.052 --- 169.254.1.11 tcpbench statistics --- 1677965760 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2177.336/2236.191/2266.628/31.851 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 498432032 3987.456 100.00% Conn: 1 Mbps: 3987.456 Peak Mbps: 3987.456 Avg Mbps: 3987.456 2000 547740256 4381.922 100.00% Conn: 1 Mbps: 4381.922 Peak Mbps: 4381.922 Avg Mbps: 4381.922 3001 545603648 4364.829 100.00% Conn: 1 Mbps: 4364.829 Peak Mbps: 4381.922 Avg Mbps: 4364.829 4001 541681600 4333.453 100.00% Conn: 1 Mbps: 4333.453 Peak Mbps: 4381.922 Avg Mbps: 4333.453 5001 538844192 4310.754 100.00% Conn: 1 Mbps: 4310.754 Peak Mbps: 4381.922 Avg Mbps: 4310.754 --- fc00:0:0:1::11 tcpbench statistics --- 3218153544 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3987.456/4275.683/4381.922/146.202 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.050 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.050/0.050/0.050/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 1176406090 9411.249 100.00% Conn: 1 Mbps: 9411.249 Peak Mbps: 9411.249 Avg Mbps: 9411.249 2000 1183452226 9477.095 100.00% Conn: 1 Mbps: 9477.095 Peak Mbps: 9477.095 Avg Mbps: 9477.095 3000 1185873210 9486.986 100.00% Conn: 1 Mbps: 9486.986 Peak Mbps: 9486.986 Avg Mbps: 9486.986 4000 1184957162 9479.657 100.00% Conn: 1 Mbps: 9479.657 Peak Mbps: 9486.986 Avg Mbps: 9479.657 5000 1181849142 9454.793 100.00% Conn: 1 Mbps: 9454.793 Peak Mbps: 9486.986 Avg Mbps: 9454.793 --- 169.254.1.12 tcpbench statistics --- 7093814442 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9411.249/9461.956/9486.986/27.537 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 1164457380 9315.659 100.00% Conn: 1 Mbps: 9315.659 Peak Mbps: 9315.659 Avg Mbps: 9315.659 2000 1173590224 9398.120 100.00% Conn: 1 Mbps: 9398.120 Peak Mbps: 9398.120 Avg Mbps: 9398.120 3000 1171628464 9373.028 100.00% Conn: 1 Mbps: 9373.028 Peak Mbps: 9398.120 Avg Mbps: 9373.028 4000 1173492136 9387.937 100.00% Conn: 1 Mbps: 9387.937 Peak Mbps: 9398.120 Avg Mbps: 9387.937 5000 1168228080 9345.825 100.00% Conn: 1 Mbps: 9345.825 Peak Mbps: 9398.120 Avg Mbps: 9345.825 --- fc00:0:0:1::12 tcpbench statistics --- 7021259164 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9315.659/9364.114/9398.120/29.953 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.042 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.042/0.042/0.042/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.058 ms --- fc00::13 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-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 1159195172 9273.561 100.00% Conn: 1 Mbps: 9273.561 Peak Mbps: 9273.561 Avg Mbps: 9273.561 2000 1161990530 9305.229 100.00% Conn: 1 Mbps: 9305.229 Peak Mbps: 9305.229 Avg Mbps: 9305.229 3000 1154351344 9244.055 100.00% Conn: 1 Mbps: 9244.055 Peak Mbps: 9305.229 Avg Mbps: 9244.055 4000 1156935908 9255.487 100.00% Conn: 1 Mbps: 9255.487 Peak Mbps: 9305.229 Avg Mbps: 9255.487 5000 1154809368 9238.475 100.00% Conn: 1 Mbps: 9238.475 Peak Mbps: 9305.229 Avg Mbps: 9238.475 --- 169.254.0.13 tcpbench statistics --- 6945445080 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9238.475/9263.362/9305.229/24.129 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 1225776244 9806.210 100.00% Conn: 1 Mbps: 9806.210 Peak Mbps: 9806.210 Avg Mbps: 9806.210 2000 1221587952 9782.486 100.00% Conn: 1 Mbps: 9782.486 Peak Mbps: 9806.210 Avg Mbps: 9782.486 3000 1219331928 9754.655 100.00% Conn: 1 Mbps: 9754.655 Peak Mbps: 9806.210 Avg Mbps: 9754.655 4000 1221195600 9769.565 100.00% Conn: 1 Mbps: 9769.565 Peak Mbps: 9806.210 Avg Mbps: 9769.565 5000 1224628680 9797.029 100.00% Conn: 1 Mbps: 9797.029 Peak Mbps: 9806.210 Avg Mbps: 9797.029 --- fc00::13 tcpbench statistics --- 7335154628 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9754.655/9781.989/9806.210/18.518 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.87s