START sys/net/pair 2025-02-01T05:30:28Z ==== 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.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-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.044 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.044/0.044/0.044/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 516151068 4129.209 100.00% Conn: 1 Mbps: 4129.209 Peak Mbps: 4129.209 Avg Mbps: 4129.209 2000 514370716 4119.085 100.00% Conn: 1 Mbps: 4119.085 Peak Mbps: 4129.209 Avg Mbps: 4119.085 3000 513933576 4111.469 100.00% Conn: 1 Mbps: 4111.469 Peak Mbps: 4129.209 Avg Mbps: 4111.469 4000 513607708 4108.862 100.00% Conn: 1 Mbps: 4108.862 Peak Mbps: 4129.209 Avg Mbps: 4108.862 5000 513114932 4104.919 100.00% Conn: 1 Mbps: 4104.919 Peak Mbps: 4129.209 Avg Mbps: 4104.919 --- 169.254.1.11 tcpbench statistics --- 3084205504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4104.919/4114.709/4129.209/8.601 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 511990240 4095.922 100.00% Conn: 1 Mbps: 4095.922 Peak Mbps: 4095.922 Avg Mbps: 4095.922 2000 510801040 4090.499 100.00% Conn: 1 Mbps: 4090.499 Peak Mbps: 4095.922 Avg Mbps: 4090.499 3000 512259792 4098.078 100.00% Conn: 1 Mbps: 4098.078 Peak Mbps: 4098.078 Avg Mbps: 4098.078 4000 513163584 4105.309 100.00% Conn: 1 Mbps: 4105.309 Peak Mbps: 4105.309 Avg Mbps: 4105.309 5000 512854392 4102.835 100.00% Conn: 1 Mbps: 4102.835 Peak Mbps: 4105.309 Avg Mbps: 4102.835 --- fc00:0:0:1::11 tcpbench statistics --- 3074359480 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4090.499/4098.529/4105.309/5.215 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.142 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.142/0.142/0.142/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 269823712 2158.590 100.00% Conn: 1 Mbps: 2158.590 Peak Mbps: 2158.590 Avg Mbps: 2158.590 2001 280224536 2239.557 100.00% Conn: 1 Mbps: 2239.557 Peak Mbps: 2239.557 Avg Mbps: 2239.557 3001 283511152 2270.360 100.00% Conn: 1 Mbps: 2270.360 Peak Mbps: 2270.360 Avg Mbps: 2270.360 4002 283239336 2263.651 100.00% Conn: 1 Mbps: 2263.651 Peak Mbps: 2270.360 Avg Mbps: 2263.651 5002 284348880 2274.791 100.00% Conn: 1 Mbps: 2274.791 Peak Mbps: 2274.791 Avg Mbps: 2274.791 --- 169.254.1.12 tcpbench statistics --- 1684643120 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2158.590/2241.390/2274.791/43.150 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 253908516 2031.268 100.00% Conn: 1 Mbps: 2031.268 Peak Mbps: 2031.268 Avg Mbps: 2031.268 2001 266460452 2131.684 100.00% Conn: 1 Mbps: 2131.684 Peak Mbps: 2131.684 Avg Mbps: 2131.684 3001 269012924 2152.103 100.00% Conn: 1 Mbps: 2152.103 Peak Mbps: 2152.103 Avg Mbps: 2152.103 4002 268859140 2150.873 100.00% Conn: 1 Mbps: 2150.873 Peak Mbps: 2152.103 Avg Mbps: 2150.873 5002 272571896 2180.575 100.00% Conn: 1 Mbps: 2180.575 Peak Mbps: 2180.575 Avg Mbps: 2180.575 --- fc00:0:0:1::12 tcpbench statistics --- 1604453436 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2031.268/2129.301/2180.575/51.440 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.063 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.063/0.063/0.063/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.072 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.072/0.072/0.072/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 600000336 4800.003 100.00% Conn: 1 Mbps: 4800.003 Peak Mbps: 4800.003 Avg Mbps: 4800.003 2000 620413040 4968.273 100.00% Conn: 1 Mbps: 4968.273 Peak Mbps: 4968.273 Avg Mbps: 4968.273 3000 619117236 4957.896 100.00% Conn: 1 Mbps: 4957.896 Peak Mbps: 4968.273 Avg Mbps: 4957.896 4000 590739128 4725.913 100.00% Conn: 1 Mbps: 4725.913 Peak Mbps: 4968.273 Avg Mbps: 4725.913 5000 589777560 4718.220 100.00% Conn: 1 Mbps: 4718.220 Peak Mbps: 4968.273 Avg Mbps: 4718.220 --- 169.254.0.13 tcpbench statistics --- 3569530740 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4718.220/4834.061/4968.273/109.200 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 549990064 4399.921 100.00% Conn: 1 Mbps: 4399.921 Peak Mbps: 4399.921 Avg Mbps: 4399.921 2001 585385856 4683.087 100.00% Conn: 1 Mbps: 4683.087 Peak Mbps: 4683.087 Avg Mbps: 4683.087 3001 585971488 4687.772 100.00% Conn: 1 Mbps: 4687.772 Peak Mbps: 4687.772 Avg Mbps: 4687.772 4001 587125208 4701.703 100.00% Conn: 1 Mbps: 4701.703 Peak Mbps: 4701.703 Avg Mbps: 4701.703 5001 587903712 4703.230 100.00% Conn: 1 Mbps: 4703.230 Peak Mbps: 4703.230 Avg Mbps: 4703.230 --- fc00::13 tcpbench statistics --- 3480067416 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4399.921/4635.142/4703.230/117.868 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.046 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-ping6-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.050 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.050/0.050/0.050/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 267365176 2138.921 100.00% Conn: 1 Mbps: 2138.921 Peak Mbps: 2138.921 Avg Mbps: 2138.921 2001 278908032 2231.264 100.00% Conn: 1 Mbps: 2231.264 Peak Mbps: 2231.264 Avg Mbps: 2231.264 3001 280693960 2245.552 100.00% Conn: 1 Mbps: 2245.552 Peak Mbps: 2245.552 Avg Mbps: 2245.552 4002 284244496 2273.956 100.00% Conn: 1 Mbps: 2273.956 Peak Mbps: 2273.956 Avg Mbps: 2273.956 5000 285175360 2285.975 100.00% Conn: 1 Mbps: 2285.975 Peak Mbps: 2285.975 Avg Mbps: 2285.975 --- 169.254.1.11 tcpbench statistics --- 1681100240 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2138.921/2235.134/2285.975/51.908 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 251109832 2008.879 100.00% Conn: 1 Mbps: 2008.879 Peak Mbps: 2008.879 Avg Mbps: 2008.879 2000 263614872 2111.030 100.00% Conn: 1 Mbps: 2111.030 Peak Mbps: 2111.030 Avg Mbps: 2111.030 3000 264664792 2117.318 100.00% Conn: 1 Mbps: 2117.318 Peak Mbps: 2117.318 Avg Mbps: 2117.318 4001 267528752 2140.230 100.00% Conn: 1 Mbps: 2140.230 Peak Mbps: 2140.230 Avg Mbps: 2140.230 5001 267175852 2139.546 100.00% Conn: 1 Mbps: 2139.546 Peak Mbps: 2140.230 Avg Mbps: 2139.546 --- fc00:0:0:1::11 tcpbench statistics --- 1584034164 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2008.879/2103.401/2140.230/48.681 Mbps ==== run-ping-2-2 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.053 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.047 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.047/0.047/0.047/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 526332072 4210.657 100.00% Conn: 1 Mbps: 4210.657 Peak Mbps: 4210.657 Avg Mbps: 4210.657 2000 527125576 4221.226 100.00% Conn: 1 Mbps: 4221.226 Peak Mbps: 4221.226 Avg Mbps: 4221.226 3000 527040144 4216.321 100.00% Conn: 1 Mbps: 4216.321 Peak Mbps: 4221.226 Avg Mbps: 4216.321 4000 523929840 4191.439 100.00% Conn: 1 Mbps: 4191.439 Peak Mbps: 4221.226 Avg Mbps: 4191.439 5000 526153968 4209.232 100.00% Conn: 1 Mbps: 4209.232 Peak Mbps: 4221.226 Avg Mbps: 4209.232 --- 169.254.1.12 tcpbench statistics --- 3157375584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4191.439/4209.775/4221.226/10.112 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 529338180 4234.705 100.00% Conn: 1 Mbps: 4234.705 Peak Mbps: 4234.705 Avg Mbps: 4234.705 2000 529449564 4239.836 100.00% Conn: 1 Mbps: 4239.836 Peak Mbps: 4239.836 Avg Mbps: 4239.836 3000 530073600 4240.589 100.00% Conn: 1 Mbps: 4240.589 Peak Mbps: 4240.589 Avg Mbps: 4240.589 4000 530890416 4247.123 100.00% Conn: 1 Mbps: 4247.123 Peak Mbps: 4247.123 Avg Mbps: 4247.123 5000 530036472 4240.292 100.00% Conn: 1 Mbps: 4240.292 Peak Mbps: 4247.123 Avg Mbps: 4240.292 --- fc00:0:0:1::12 tcpbench statistics --- 3179139264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4234.705/4240.509/4247.123/3.948 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.056 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.065 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.065/0.065/0.065/0.000 ms ==== run-tcpbench-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 788969954 6311.760 100.00% Conn: 1 Mbps: 6311.760 Peak Mbps: 6311.760 Avg Mbps: 6311.760 2000 788390168 6313.435 100.00% Conn: 1 Mbps: 6313.435 Peak Mbps: 6313.435 Avg Mbps: 6313.435 3000 790680288 6325.442 100.00% Conn: 1 Mbps: 6325.442 Peak Mbps: 6325.442 Avg Mbps: 6325.442 4000 789011772 6312.094 100.00% Conn: 1 Mbps: 6312.094 Peak Mbps: 6325.442 Avg Mbps: 6312.094 5000 788030292 6304.242 100.00% Conn: 1 Mbps: 6304.242 Peak Mbps: 6325.442 Avg Mbps: 6304.242 --- 169.254.0.13 tcpbench statistics --- 4732622026 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6304.242/6313.395/6325.442/6.830 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 775843924 6206.751 100.00% Conn: 1 Mbps: 6206.751 Peak Mbps: 6206.751 Avg Mbps: 6206.751 2000 775058680 6206.676 100.00% Conn: 1 Mbps: 6206.676 Peak Mbps: 6206.751 Avg Mbps: 6206.676 3000 774960592 6199.685 100.00% Conn: 1 Mbps: 6199.685 Peak Mbps: 6206.751 Avg Mbps: 6199.685 4000 776301128 6210.409 100.00% Conn: 1 Mbps: 6210.409 Peak Mbps: 6210.409 Avg Mbps: 6210.409 5000 775091376 6200.731 100.00% Conn: 1 Mbps: 6200.731 Peak Mbps: 6210.409 Avg Mbps: 6200.731 --- fc00::13 tcpbench statistics --- 4652870212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6199.685/6204.850/6210.409/4.037 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.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-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.072 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.072/0.072/0.072/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 269140832 2153.127 100.00% Conn: 1 Mbps: 2153.127 Peak Mbps: 2153.127 Avg Mbps: 2153.127 2001 278004360 2221.813 100.00% Conn: 1 Mbps: 2221.813 Peak Mbps: 2221.813 Avg Mbps: 2221.813 3001 282047400 2256.379 100.00% Conn: 1 Mbps: 2256.379 Peak Mbps: 2256.379 Avg Mbps: 2256.379 4002 279179520 2233.436 100.00% Conn: 1 Mbps: 2233.436 Peak Mbps: 2256.379 Avg Mbps: 2233.436 5004 281468472 2249.498 100.00% Conn: 1 Mbps: 2249.498 Peak Mbps: 2256.379 Avg Mbps: 2249.498 --- 169.254.1.11 tcpbench statistics --- 1668767816 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2153.127/2222.851/2256.379/36.902 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 528653616 4229.229 100.00% Conn: 1 Mbps: 4229.229 Peak Mbps: 4229.229 Avg Mbps: 4229.229 2000 582372872 4658.983 100.00% Conn: 1 Mbps: 4658.983 Peak Mbps: 4658.983 Avg Mbps: 4658.983 3000 581030128 4652.894 100.00% Conn: 1 Mbps: 4652.894 Peak Mbps: 4658.983 Avg Mbps: 4652.894 4001 579482096 4635.857 100.00% Conn: 1 Mbps: 4635.857 Peak Mbps: 4658.983 Avg Mbps: 4635.857 5001 582379240 4659.034 100.00% Conn: 1 Mbps: 4659.034 Peak Mbps: 4659.034 Avg Mbps: 4659.034 --- fc00:0:0:1::11 tcpbench statistics --- 3438775040 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4229.229/4567.199/4659.034/169.198 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.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 791237986 6329.904 100.00% Conn: 1 Mbps: 6329.904 Peak Mbps: 6329.904 Avg Mbps: 6329.904 2000 790614856 6331.250 100.00% Conn: 1 Mbps: 6331.250 Peak Mbps: 6331.250 Avg Mbps: 6331.250 3000 790222264 6321.778 100.00% Conn: 1 Mbps: 6321.778 Peak Mbps: 6331.250 Avg Mbps: 6321.778 4000 789796956 6318.376 100.00% Conn: 1 Mbps: 6318.376 Peak Mbps: 6331.250 Avg Mbps: 6318.376 5000 790189548 6321.516 100.00% Conn: 1 Mbps: 6321.516 Peak Mbps: 6331.250 Avg Mbps: 6321.516 --- 169.254.1.12 tcpbench statistics --- 4741367826 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6318.376/6324.565/6331.250/5.071 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 768375372 6147.003 100.00% Conn: 1 Mbps: 6147.003 Peak Mbps: 6147.003 Avg Mbps: 6147.003 2000 761162880 6089.303 100.00% Conn: 1 Mbps: 6089.303 Peak Mbps: 6147.003 Avg Mbps: 6089.303 3000 760476264 6083.810 100.00% Conn: 1 Mbps: 6083.810 Peak Mbps: 6147.003 Avg Mbps: 6083.810 4000 760116608 6080.933 100.00% Conn: 1 Mbps: 6080.933 Peak Mbps: 6147.003 Avg Mbps: 6080.933 5000 757631712 6061.054 100.00% Conn: 1 Mbps: 6061.054 Peak Mbps: 6147.003 Avg Mbps: 6061.054 --- fc00:0:0:1::12 tcpbench statistics --- 4569023804 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6061.054/6092.421/6147.003/28.910 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.053 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.053/0.053/0.053/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.067 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.067/0.067/0.067/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 795636974 6365.096 100.00% Conn: 1 Mbps: 6365.096 Peak Mbps: 6365.096 Avg Mbps: 6365.096 2000 793461148 6354.043 100.00% Conn: 1 Mbps: 6354.043 Peak Mbps: 6365.096 Avg Mbps: 6354.043 3000 793788308 6350.306 100.00% Conn: 1 Mbps: 6350.306 Peak Mbps: 6365.096 Avg Mbps: 6350.306 4000 793461148 6347.689 100.00% Conn: 1 Mbps: 6347.689 Peak Mbps: 6365.096 Avg Mbps: 6347.689 5000 794213616 6353.709 100.00% Conn: 1 Mbps: 6353.709 Peak Mbps: 6365.096 Avg Mbps: 6353.709 --- 169.254.0.13 tcpbench statistics --- 4764611230 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6347.689/6354.169/6365.096/5.942 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 788563604 6308.509 100.00% Conn: 1 Mbps: 6308.509 Peak Mbps: 6308.509 Avg Mbps: 6308.509 2000 787613944 6307.219 100.00% Conn: 1 Mbps: 6307.219 Peak Mbps: 6308.509 Avg Mbps: 6307.219 3000 787581248 6300.650 100.00% Conn: 1 Mbps: 6300.650 Peak Mbps: 6308.509 Avg Mbps: 6300.650 4000 786698456 6293.588 100.00% Conn: 1 Mbps: 6293.588 Peak Mbps: 6308.509 Avg Mbps: 6293.588 5000 787973600 6303.789 100.00% Conn: 1 Mbps: 6303.789 Peak Mbps: 6308.509 Avg Mbps: 6303.789 --- fc00::13 tcpbench statistics --- 4725717836 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6293.588/6302.751/6308.509/5.340 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.83s