START sys/net/pair 2024-12-30T16:46:34Z ==== 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.048 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.048/0.048/0.048/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.054 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.054/0.054/0.054/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 716177404 5729.419 100.00% Conn: 1 Mbps: 5729.419 Peak Mbps: 5729.419 Avg Mbps: 5729.419 2000 715192832 5727.270 100.00% Conn: 1 Mbps: 5727.270 Peak Mbps: 5729.419 Avg Mbps: 5727.270 3000 713951404 5711.611 100.00% Conn: 1 Mbps: 5711.611 Peak Mbps: 5729.419 Avg Mbps: 5711.611 4000 714278812 5714.230 100.00% Conn: 1 Mbps: 5714.230 Peak Mbps: 5729.419 Avg Mbps: 5714.230 5000 713625536 5709.004 100.00% Conn: 1 Mbps: 5709.004 Peak Mbps: 5729.419 Avg Mbps: 5709.004 --- 169.254.1.11 tcpbench statistics --- 4285764048 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5709.004/5718.307/5729.419/8.388 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 708477792 5667.822 100.00% Conn: 1 Mbps: 5667.822 Peak Mbps: 5667.822 Avg Mbps: 5667.822 2000 706646424 5658.830 100.00% Conn: 1 Mbps: 5658.830 Peak Mbps: 5667.822 Avg Mbps: 5658.830 3000 711403224 5691.226 100.00% Conn: 1 Mbps: 5691.226 Peak Mbps: 5691.226 Avg Mbps: 5691.226 4000 708533288 5668.266 100.00% Conn: 1 Mbps: 5668.266 Peak Mbps: 5691.226 Avg Mbps: 5668.266 5000 711664848 5693.319 100.00% Conn: 1 Mbps: 5693.319 Peak Mbps: 5693.319 Avg Mbps: 5693.319 --- fc00:0:0:1::11 tcpbench statistics --- 4252959744 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5658.830/5675.893/5693.319/13.807 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.089 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.089/0.089/0.089/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 1001 270156536 2159.093 100.00% Conn: 1 Mbps: 2159.093 Peak Mbps: 2159.093 Avg Mbps: 2159.093 2002 279484144 2235.873 100.00% Conn: 1 Mbps: 2235.873 Peak Mbps: 2235.873 Avg Mbps: 2235.873 3001 284217768 2276.018 100.00% Conn: 1 Mbps: 2276.018 Peak Mbps: 2276.018 Avg Mbps: 2276.018 4002 285717456 2285.740 100.00% Conn: 1 Mbps: 2285.740 Peak Mbps: 2285.740 Avg Mbps: 2285.740 5003 282352640 2256.565 100.00% Conn: 1 Mbps: 2256.565 Peak Mbps: 2285.740 Avg Mbps: 2256.565 --- 169.254.1.12 tcpbench statistics --- 1683908816 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2159.093/2242.658/2285.740/45.147 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 237626092 1901.009 100.00% Conn: 1 Mbps: 1901.009 Peak Mbps: 1901.009 Avg Mbps: 1901.009 2001 249795932 1998.367 100.00% Conn: 1 Mbps: 1998.367 Peak Mbps: 1998.367 Avg Mbps: 1998.367 3002 251333564 2008.660 100.00% Conn: 1 Mbps: 2008.660 Peak Mbps: 2008.660 Avg Mbps: 2008.660 4003 253264616 2024.093 100.00% Conn: 1 Mbps: 2024.093 Peak Mbps: 2024.093 Avg Mbps: 2024.093 5003 255153012 2041.224 100.00% Conn: 1 Mbps: 2041.224 Peak Mbps: 2041.224 Avg Mbps: 2041.224 --- fc00:0:0:1::12 tcpbench statistics --- 1501794560 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1901.009/1994.671/2041.224/49.020 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.089 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.089/0.089/0.089/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.079 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.079/0.079/0.079/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 575204428 4601.635 100.00% Conn: 1 Mbps: 4601.635 Peak Mbps: 4601.635 Avg Mbps: 4601.635 2000 591887420 4735.099 100.00% Conn: 1 Mbps: 4735.099 Peak Mbps: 4735.099 Avg Mbps: 4735.099 3000 603332260 4826.658 100.00% Conn: 1 Mbps: 4826.658 Peak Mbps: 4826.658 Avg Mbps: 4826.658 4000 593389172 4747.113 100.00% Conn: 1 Mbps: 4747.113 Peak Mbps: 4826.658 Avg Mbps: 4747.113 5000 603801472 4830.412 100.00% Conn: 1 Mbps: 4830.412 Peak Mbps: 4830.412 Avg Mbps: 4830.412 --- 169.254.0.13 tcpbench statistics --- 3538368020 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4601.635/4748.184/4830.412/83.149 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 533397920 4267.183 100.00% Conn: 1 Mbps: 4267.183 Peak Mbps: 4267.183 Avg Mbps: 4267.183 2001 568423824 4547.391 100.00% Conn: 1 Mbps: 4547.391 Peak Mbps: 4547.391 Avg Mbps: 4547.391 3001 565196608 4521.573 100.00% Conn: 1 Mbps: 4521.573 Peak Mbps: 4547.391 Avg Mbps: 4521.573 4001 561564416 4492.515 100.00% Conn: 1 Mbps: 4492.515 Peak Mbps: 4547.391 Avg Mbps: 4492.515 5002 563104136 4504.833 100.00% Conn: 1 Mbps: 4504.833 Peak Mbps: 4547.391 Avg Mbps: 4504.833 --- fc00::13 tcpbench statistics --- 3353370888 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4267.183/4466.699/4547.391/101.439 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.043 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.043/0.043/0.043/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 269127512 2153.020 100.00% Conn: 1 Mbps: 2153.020 Peak Mbps: 2153.020 Avg Mbps: 2153.020 2001 283503904 2268.031 100.00% Conn: 1 Mbps: 2268.031 Peak Mbps: 2268.031 Avg Mbps: 2268.031 3001 279525752 2236.206 100.00% Conn: 1 Mbps: 2236.206 Peak Mbps: 2268.031 Avg Mbps: 2236.206 4002 280840480 2246.724 100.00% Conn: 1 Mbps: 2246.724 Peak Mbps: 2268.031 Avg Mbps: 2246.724 5002 281895560 2257.422 100.00% Conn: 1 Mbps: 2257.422 Peak Mbps: 2268.031 Avg Mbps: 2257.422 --- 169.254.1.11 tcpbench statistics --- 1677768624 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2153.020/2232.281/2268.031/41.028 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 234915576 1879.325 100.00% Conn: 1 Mbps: 1879.325 Peak Mbps: 1879.325 Avg Mbps: 1879.325 2000 247521792 1980.174 100.00% Conn: 1 Mbps: 1980.174 Peak Mbps: 1980.174 Avg Mbps: 1980.174 3002 248789588 1988.328 100.00% Conn: 1 Mbps: 1988.328 Peak Mbps: 1988.328 Avg Mbps: 1988.328 4001 252702548 2025.672 100.00% Conn: 1 Mbps: 2025.672 Peak Mbps: 2025.672 Avg Mbps: 2025.672 5001 251852280 2016.835 100.00% Conn: 1 Mbps: 2016.835 Peak Mbps: 2025.672 Avg Mbps: 2016.835 --- fc00:0:0:1::11 tcpbench statistics --- 1482963048 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1879.325/1978.067/2025.672/52.209 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.048 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.048/0.048/0.048/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.044 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.044/0.044/0.044/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 685442656 5483.541 100.00% Conn: 1 Mbps: 5483.541 Peak Mbps: 5483.541 Avg Mbps: 5483.541 2000 681659032 5458.731 100.00% Conn: 1 Mbps: 5458.731 Peak Mbps: 5483.541 Avg Mbps: 5458.731 3000 676857464 5414.860 100.00% Conn: 1 Mbps: 5414.860 Peak Mbps: 5483.541 Avg Mbps: 5414.860 4000 681622832 5452.983 100.00% Conn: 1 Mbps: 5452.983 Peak Mbps: 5483.541 Avg Mbps: 5452.983 5000 682621952 5460.976 100.00% Conn: 1 Mbps: 5460.976 Peak Mbps: 5483.541 Avg Mbps: 5460.976 --- 169.254.1.12 tcpbench statistics --- 4091027160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5414.860/5454.218/5483.541/22.255 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 681111732 5448.894 100.00% Conn: 1 Mbps: 5448.894 Peak Mbps: 5448.894 Avg Mbps: 5448.894 2000 682361232 5464.354 100.00% Conn: 1 Mbps: 5464.354 Peak Mbps: 5464.354 Avg Mbps: 5464.354 3000 679739424 5437.915 100.00% Conn: 1 Mbps: 5437.915 Peak Mbps: 5464.354 Avg Mbps: 5437.915 4000 681474444 5451.796 100.00% Conn: 1 Mbps: 5451.796 Peak Mbps: 5464.354 Avg Mbps: 5451.796 5000 676541976 5412.336 100.00% Conn: 1 Mbps: 5412.336 Peak Mbps: 5464.354 Avg Mbps: 5412.336 --- fc00:0:0:1::12 tcpbench statistics --- 4084420952 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5412.336/5443.059/5464.354/17.517 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.049 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.049/0.049/0.049/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.053 ms --- fc00::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-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 1177612932 9420.903 100.00% Conn: 1 Mbps: 9420.903 Peak Mbps: 9420.903 Avg Mbps: 9420.903 2000 1178430320 9436.879 100.00% Conn: 1 Mbps: 9436.879 Peak Mbps: 9436.879 Avg Mbps: 9436.879 3000 1178773838 9430.191 100.00% Conn: 1 Mbps: 9430.191 Peak Mbps: 9436.879 Avg Mbps: 9430.191 4000 1178904702 9431.238 100.00% Conn: 1 Mbps: 9431.238 Peak Mbps: 9436.879 Avg Mbps: 9431.238 5000 1178593900 9428.751 100.00% Conn: 1 Mbps: 9428.751 Peak Mbps: 9436.879 Avg Mbps: 9428.751 --- 169.254.0.13 tcpbench statistics --- 7072970700 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9420.903/9429.592/9436.879/5.145 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 1144462900 9155.703 100.00% Conn: 1 Mbps: 9155.703 Peak Mbps: 9155.703 Avg Mbps: 9155.703 2000 1150212584 9210.912 100.00% Conn: 1 Mbps: 9210.912 Peak Mbps: 9210.912 Avg Mbps: 9210.912 3000 1146027496 9168.220 100.00% Conn: 1 Mbps: 9168.220 Peak Mbps: 9210.912 Avg Mbps: 9168.220 4000 1147302640 9178.421 100.00% Conn: 1 Mbps: 9178.421 Peak Mbps: 9210.912 Avg Mbps: 9178.421 5000 1145733232 9175.041 100.00% Conn: 1 Mbps: 9175.041 Peak Mbps: 9210.912 Avg Mbps: 9175.041 --- fc00::13 tcpbench statistics --- 6879079732 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9155.703/9177.659/9210.912/18.354 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.066 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.066/0.066/0.066/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.058 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.058/0.058/0.058/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 272451832 2179.615 100.00% Conn: 1 Mbps: 2179.615 Peak Mbps: 2179.615 Avg Mbps: 2179.615 2001 281037240 2248.298 100.00% Conn: 1 Mbps: 2248.298 Peak Mbps: 2248.298 Avg Mbps: 2248.298 3001 282845176 2265.026 100.00% Conn: 1 Mbps: 2265.026 Peak Mbps: 2265.026 Avg Mbps: 2265.026 4001 281144944 2251.411 100.00% Conn: 1 Mbps: 2251.411 Peak Mbps: 2265.026 Avg Mbps: 2251.411 5001 283428440 2267.428 100.00% Conn: 1 Mbps: 2267.428 Peak Mbps: 2267.428 Avg Mbps: 2267.428 --- 169.254.1.11 tcpbench statistics --- 1679849272 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2179.615/2242.355/2267.428/32.238 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 490699480 3921.674 100.00% Conn: 1 Mbps: 3921.674 Peak Mbps: 3921.674 Avg Mbps: 3921.674 2001 535312144 4282.497 100.00% Conn: 1 Mbps: 4282.497 Peak Mbps: 4282.497 Avg Mbps: 4282.497 3001 539846328 4318.771 100.00% Conn: 1 Mbps: 4318.771 Peak Mbps: 4318.771 Avg Mbps: 4318.771 4001 540600896 4324.807 100.00% Conn: 1 Mbps: 4324.807 Peak Mbps: 4324.807 Avg Mbps: 4324.807 5001 537737304 4306.205 100.00% Conn: 1 Mbps: 4306.205 Peak Mbps: 4324.807 Avg Mbps: 4306.205 --- fc00:0:0:1::11 tcpbench statistics --- 3182587600 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3921.674/4230.791/4324.807/155.238 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.058 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.058/0.058/0.058/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.061 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.061/0.061/0.061/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 1197656434 9581.251 100.00% Conn: 1 Mbps: 9581.251 Peak Mbps: 9581.251 Avg Mbps: 9581.251 2000 1203670714 9639.005 100.00% Conn: 1 Mbps: 9639.005 Peak Mbps: 9639.005 Avg Mbps: 9639.005 3000 1204897564 9639.181 100.00% Conn: 1 Mbps: 9639.181 Peak Mbps: 9639.181 Avg Mbps: 9639.181 4000 1201380594 9611.045 100.00% Conn: 1 Mbps: 9611.045 Peak Mbps: 9639.181 Avg Mbps: 9611.045 5000 1198207142 9585.657 100.00% Conn: 1 Mbps: 9585.657 Peak Mbps: 9639.181 Avg Mbps: 9585.657 --- 169.254.1.12 tcpbench statistics --- 7208730694 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9581.251/9611.228/9639.181/24.921 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 1169182996 9353.464 100.00% Conn: 1 Mbps: 9353.464 Peak Mbps: 9353.464 Avg Mbps: 9353.464 2000 1166233624 9339.208 100.00% Conn: 1 Mbps: 9339.208 Peak Mbps: 9353.464 Avg Mbps: 9339.208 3000 1160577216 9284.618 100.00% Conn: 1 Mbps: 9284.618 Peak Mbps: 9353.464 Avg Mbps: 9284.618 4000 1165743184 9325.945 100.00% Conn: 1 Mbps: 9325.945 Peak Mbps: 9353.464 Avg Mbps: 9325.945 5000 1166037448 9328.300 100.00% Conn: 1 Mbps: 9328.300 Peak Mbps: 9353.464 Avg Mbps: 9328.300 --- fc00:0:0:1::12 tcpbench statistics --- 6993321476 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9284.618/9326.307/9353.464/23.005 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.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-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.046 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-tcpbench-3-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1114392702 8915.142 100.00% Conn: 1 Mbps: 8915.142 Peak Mbps: 8915.142 Avg Mbps: 8915.142 2000 1121062814 8977.480 100.00% Conn: 1 Mbps: 8977.480 Peak Mbps: 8977.480 Avg Mbps: 8977.480 3000 1126640892 9013.127 100.00% Conn: 1 Mbps: 9013.127 Peak Mbps: 9013.127 Avg Mbps: 9013.127 4000 1123238428 8985.907 100.00% Conn: 1 Mbps: 8985.907 Peak Mbps: 9013.127 Avg Mbps: 8985.907 5000 1128636568 9029.093 100.00% Conn: 1 Mbps: 9029.093 Peak Mbps: 9029.093 Avg Mbps: 9029.093 --- 169.254.0.13 tcpbench statistics --- 6736261068 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8915.142/8984.150/9029.093/39.164 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 1191579792 9532.638 100.00% Conn: 1 Mbps: 9532.638 Peak Mbps: 9532.638 Avg Mbps: 9532.638 2000 1194286792 9563.858 100.00% Conn: 1 Mbps: 9563.858 Peak Mbps: 9563.858 Avg Mbps: 9563.858 3000 1196869776 9574.958 100.00% Conn: 1 Mbps: 9574.958 Peak Mbps: 9574.958 Avg Mbps: 9574.958 4000 1202787752 9622.302 100.00% Conn: 1 Mbps: 9622.302 Peak Mbps: 9622.302 Avg Mbps: 9622.302 5000 1200597120 9604.777 100.00% Conn: 1 Mbps: 9604.777 Peak Mbps: 9622.302 Avg Mbps: 9604.777 --- fc00::13 tcpbench statistics --- 7186718352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9532.638/9579.707/9622.302/31.407 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