START sys/net/pair 2024-12-31T05:04:23Z ==== 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.037 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.037/0.037/0.037/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.047 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.047/0.047/0.047/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 742025280 5936.202 100.00% Conn: 1 Mbps: 5936.202 Peak Mbps: 5936.202 Avg Mbps: 5936.202 2000 741151000 5929.208 100.00% Conn: 1 Mbps: 5929.208 Peak Mbps: 5936.202 Avg Mbps: 5929.208 3000 742095552 5936.764 100.00% Conn: 1 Mbps: 5936.764 Peak Mbps: 5936.764 Avg Mbps: 5936.764 4000 740308512 5922.468 100.00% Conn: 1 Mbps: 5922.468 Peak Mbps: 5936.764 Avg Mbps: 5922.468 5000 738742756 5909.942 100.00% Conn: 1 Mbps: 5909.942 Peak Mbps: 5936.764 Avg Mbps: 5909.942 --- 169.254.1.11 tcpbench statistics --- 4439179284 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5909.942/5926.917/5936.764/9.964 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 750372336 6002.979 100.00% Conn: 1 Mbps: 6002.979 Peak Mbps: 6002.979 Avg Mbps: 6002.979 2000 746653328 5979.206 100.00% Conn: 1 Mbps: 5979.206 Peak Mbps: 6002.979 Avg Mbps: 5979.206 3000 745054856 5960.439 100.00% Conn: 1 Mbps: 5960.439 Peak Mbps: 6002.979 Avg Mbps: 5960.439 4000 747631976 5981.056 100.00% Conn: 1 Mbps: 5981.056 Peak Mbps: 6002.979 Avg Mbps: 5981.056 5000 747433256 5985.451 100.00% Conn: 1 Mbps: 5985.451 Peak Mbps: 6002.979 Avg Mbps: 5985.451 --- fc00:0:0:1::11 tcpbench statistics --- 4484615400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5960.439/5981.826/6002.979/13.605 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.091 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.091/0.091/0.091/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.138 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.138/0.138/0.138/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 274544976 2196.360 100.00% Conn: 1 Mbps: 2196.360 Peak Mbps: 2196.360 Avg Mbps: 2196.360 2001 290441328 2323.531 100.00% Conn: 1 Mbps: 2323.531 Peak Mbps: 2323.531 Avg Mbps: 2323.531 3001 290609512 2324.876 100.00% Conn: 1 Mbps: 2324.876 Peak Mbps: 2324.876 Avg Mbps: 2324.876 4002 292815432 2342.523 100.00% Conn: 1 Mbps: 2342.523 Peak Mbps: 2342.523 Avg Mbps: 2342.523 5003 295810624 2364.121 100.00% Conn: 1 Mbps: 2364.121 Peak Mbps: 2364.121 Avg Mbps: 2364.121 --- 169.254.1.12 tcpbench statistics --- 1736493472 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2196.360/2310.282/2364.121/58.830 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 246748056 1972.012 100.00% Conn: 1 Mbps: 1972.012 Peak Mbps: 1972.012 Avg Mbps: 1972.012 2002 260666504 2085.332 100.00% Conn: 1 Mbps: 2085.332 Peak Mbps: 2085.332 Avg Mbps: 2085.332 3003 260722748 2083.698 100.00% Conn: 1 Mbps: 2083.698 Peak Mbps: 2085.332 Avg Mbps: 2083.698 4004 260141524 2081.132 100.00% Conn: 1 Mbps: 2081.132 Peak Mbps: 2085.332 Avg Mbps: 2081.132 5004 262237984 2097.904 100.00% Conn: 1 Mbps: 2097.904 Peak Mbps: 2097.904 Avg Mbps: 2097.904 --- fc00:0:0:1::12 tcpbench statistics --- 1551560752 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1972.012/2064.016/2097.904/46.363 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.070 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.070/0.070/0.070/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 566039404 4528.315 100.00% Conn: 1 Mbps: 4528.315 Peak Mbps: 4528.315 Avg Mbps: 4528.315 2000 602275596 4823.028 100.00% Conn: 1 Mbps: 4823.028 Peak Mbps: 4823.028 Avg Mbps: 4823.028 3000 585711824 4685.695 100.00% Conn: 1 Mbps: 4685.695 Peak Mbps: 4823.028 Avg Mbps: 4685.695 4000 572438384 4579.507 100.00% Conn: 1 Mbps: 4579.507 Peak Mbps: 4823.028 Avg Mbps: 4579.507 5000 563497304 4512.491 100.00% Conn: 1 Mbps: 4512.491 Peak Mbps: 4823.028 Avg Mbps: 4512.491 --- 169.254.0.13 tcpbench statistics --- 3447824544 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4512.491/4625.807/4823.028/115.734 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 556350000 4450.800 100.00% Conn: 1 Mbps: 4450.800 Peak Mbps: 4450.800 Avg Mbps: 4450.800 2000 590667192 4725.338 100.00% Conn: 1 Mbps: 4725.338 Peak Mbps: 4725.338 Avg Mbps: 4725.338 3001 590005400 4720.043 100.00% Conn: 1 Mbps: 4720.043 Peak Mbps: 4725.338 Avg Mbps: 4720.043 4001 589997472 4719.980 100.00% Conn: 1 Mbps: 4719.980 Peak Mbps: 4725.338 Avg Mbps: 4719.980 5002 589069896 4712.559 100.00% Conn: 1 Mbps: 4712.559 Peak Mbps: 4725.338 Avg Mbps: 4712.559 --- fc00::13 tcpbench statistics --- 3504858072 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4450.800/4665.744/4725.338/107.549 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.057 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.057/0.057/0.057/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.051 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 273195888 2183.384 100.00% Conn: 1 Mbps: 2183.384 Peak Mbps: 2183.384 Avg Mbps: 2183.384 2001 289690320 2319.842 100.00% Conn: 1 Mbps: 2319.842 Peak Mbps: 2319.842 Avg Mbps: 2319.842 3001 290258712 2322.070 100.00% Conn: 1 Mbps: 2322.070 Peak Mbps: 2322.070 Avg Mbps: 2322.070 4002 288350872 2304.502 100.00% Conn: 1 Mbps: 2304.502 Peak Mbps: 2322.070 Avg Mbps: 2304.502 5002 288879608 2311.037 100.00% Conn: 1 Mbps: 2311.037 Peak Mbps: 2322.070 Avg Mbps: 2311.037 --- 169.254.1.11 tcpbench statistics --- 1720320224 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2183.384/2288.167/2322.070/52.768 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 1001 243156960 1943.312 100.00% Conn: 1 Mbps: 1943.312 Peak Mbps: 1943.312 Avg Mbps: 1943.312 2001 257504176 2060.033 100.00% Conn: 1 Mbps: 2060.033 Peak Mbps: 2060.033 Avg Mbps: 2060.033 3002 258241152 2065.929 100.00% Conn: 1 Mbps: 2065.929 Peak Mbps: 2065.929 Avg Mbps: 2065.929 4002 258553036 2068.424 100.00% Conn: 1 Mbps: 2068.424 Peak Mbps: 2068.424 Avg Mbps: 2068.424 5002 258669736 2069.358 100.00% Conn: 1 Mbps: 2069.358 Peak Mbps: 2069.358 Avg Mbps: 2069.358 --- fc00:0:0:1::11 tcpbench statistics --- 1536916040 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1943.312/2041.411/2069.358/49.157 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.051 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.051/0.051/0.051/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 705916152 5647.329 100.00% Conn: 1 Mbps: 5647.329 Peak Mbps: 5647.329 Avg Mbps: 5647.329 2000 704415800 5640.967 100.00% Conn: 1 Mbps: 5640.967 Peak Mbps: 5647.329 Avg Mbps: 5640.967 3000 701611024 5612.888 100.00% Conn: 1 Mbps: 5612.888 Peak Mbps: 5647.329 Avg Mbps: 5612.888 4000 703825016 5630.600 100.00% Conn: 1 Mbps: 5630.600 Peak Mbps: 5647.329 Avg Mbps: 5630.600 5000 703679384 5629.435 100.00% Conn: 1 Mbps: 5629.435 Peak Mbps: 5647.329 Avg Mbps: 5629.435 --- 169.254.1.12 tcpbench statistics --- 4221387096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5612.888/5632.244/5647.329/11.738 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 714705432 5717.643 100.00% Conn: 1 Mbps: 5717.643 Peak Mbps: 5717.643 Avg Mbps: 5717.643 2000 717520020 5745.906 100.00% Conn: 1 Mbps: 5745.906 Peak Mbps: 5745.906 Avg Mbps: 5745.906 3000 719843376 5758.747 100.00% Conn: 1 Mbps: 5758.747 Peak Mbps: 5758.747 Avg Mbps: 5758.747 4000 722895364 5783.163 100.00% Conn: 1 Mbps: 5783.163 Peak Mbps: 5783.163 Avg Mbps: 5783.163 5000 722276376 5778.211 100.00% Conn: 1 Mbps: 5778.211 Peak Mbps: 5783.163 Avg Mbps: 5778.211 --- fc00:0:0:1::12 tcpbench statistics --- 4314594940 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5717.643/5756.734/5783.163/23.703 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.059 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.059/0.059/0.059/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.052 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/0.000 ms ==== run-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 1179927492 9439.420 100.00% Conn: 1 Mbps: 9439.420 Peak Mbps: 9439.420 Avg Mbps: 9439.420 2000 1194052210 9561.980 100.00% Conn: 1 Mbps: 9561.980 Peak Mbps: 9561.980 Avg Mbps: 9561.980 3000 1181718254 9453.746 100.00% Conn: 1 Mbps: 9453.746 Peak Mbps: 9561.980 Avg Mbps: 9453.746 4000 1195229986 9561.840 100.00% Conn: 1 Mbps: 9561.840 Peak Mbps: 9561.980 Avg Mbps: 9561.840 5000 1189455612 9515.645 100.00% Conn: 1 Mbps: 9515.645 Peak Mbps: 9561.980 Avg Mbps: 9515.645 --- 169.254.0.13 tcpbench statistics --- 7134550270 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9439.420/9506.526/9561.980/51.975 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 1174490120 9395.921 100.00% Conn: 1 Mbps: 9395.921 Peak Mbps: 9395.921 Avg Mbps: 9395.921 2000 1175780856 9415.663 100.00% Conn: 1 Mbps: 9415.663 Peak Mbps: 9415.663 Avg Mbps: 9415.663 3000 1173688312 9398.905 100.00% Conn: 1 Mbps: 9398.905 Peak Mbps: 9415.663 Avg Mbps: 9398.905 4000 1175225024 9401.800 100.00% Conn: 1 Mbps: 9401.800 Peak Mbps: 9415.663 Avg Mbps: 9401.800 5000 1173622920 9388.983 100.00% Conn: 1 Mbps: 9388.983 Peak Mbps: 9415.663 Avg Mbps: 9388.983 --- fc00::13 tcpbench statistics --- 7048947744 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9388.983/9400.254/9415.663/8.803 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.055 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.055/0.055/0.055/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.060 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.060/0.060/0.060/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 275088304 2200.706 100.00% Conn: 1 Mbps: 2200.706 Peak Mbps: 2200.706 Avg Mbps: 2200.706 2000 287375408 2299.003 100.00% Conn: 1 Mbps: 2299.003 Peak Mbps: 2299.003 Avg Mbps: 2299.003 3001 285833288 2286.666 100.00% Conn: 1 Mbps: 2286.666 Peak Mbps: 2299.003 Avg Mbps: 2286.666 4001 284509704 2276.078 100.00% Conn: 1 Mbps: 2276.078 Peak Mbps: 2299.003 Avg Mbps: 2276.078 5001 287471144 2299.769 100.00% Conn: 1 Mbps: 2299.769 Peak Mbps: 2299.769 Avg Mbps: 2299.769 --- 169.254.1.11 tcpbench statistics --- 1708204440 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2200.706/2272.445/2299.769/36.916 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 509141800 4073.134 100.00% Conn: 1 Mbps: 4073.134 Peak Mbps: 4073.134 Avg Mbps: 4073.134 2000 560100496 4485.289 100.00% Conn: 1 Mbps: 4485.289 Peak Mbps: 4485.289 Avg Mbps: 4485.289 3000 557786104 4462.289 100.00% Conn: 1 Mbps: 4462.289 Peak Mbps: 4485.289 Avg Mbps: 4462.289 4001 564106904 4512.855 100.00% Conn: 1 Mbps: 4512.855 Peak Mbps: 4512.855 Avg Mbps: 4512.855 5001 562143328 4497.147 100.00% Conn: 1 Mbps: 4497.147 Peak Mbps: 4512.855 Avg Mbps: 4497.147 --- fc00:0:0:1::11 tcpbench statistics --- 3317654792 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4073.134/4406.143/4512.855/167.320 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.060 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.060/0.060/0.060/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 1199860290 9598.882 100.00% Conn: 1 Mbps: 9598.882 Peak Mbps: 9598.882 Avg Mbps: 9598.882 2000 1202198494 9627.215 100.00% Conn: 1 Mbps: 9627.215 Peak Mbps: 9627.215 Avg Mbps: 9627.215 3000 1203703430 9629.627 100.00% Conn: 1 Mbps: 9629.627 Peak Mbps: 9629.627 Avg Mbps: 9629.627 4000 1203229048 9625.832 100.00% Conn: 1 Mbps: 9625.832 Peak Mbps: 9629.627 Avg Mbps: 9625.832 5000 1203785220 9630.282 100.00% Conn: 1 Mbps: 9630.282 Peak Mbps: 9630.282 Avg Mbps: 9630.282 --- 169.254.1.12 tcpbench statistics --- 7217085158 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9598.882/9622.368/9630.282/11.852 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 1180492356 9443.939 100.00% Conn: 1 Mbps: 9443.939 Peak Mbps: 9443.939 Avg Mbps: 9443.939 2000 1178494624 9437.394 100.00% Conn: 1 Mbps: 9437.394 Peak Mbps: 9443.939 Avg Mbps: 9437.394 3000 1179050456 9432.404 100.00% Conn: 1 Mbps: 9432.404 Peak Mbps: 9443.939 Avg Mbps: 9432.404 4000 1173492136 9387.937 100.00% Conn: 1 Mbps: 9387.937 Peak Mbps: 9443.939 Avg Mbps: 9387.937 5000 1167672248 9350.729 100.00% Conn: 1 Mbps: 9350.729 Peak Mbps: 9443.939 Avg Mbps: 9350.729 --- fc00:0:0:1::12 tcpbench statistics --- 7058644628 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9350.729/9410.481/9443.939/35.785 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.043 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.043/0.043/0.043/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.047 ms --- fc00::13 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-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 1210901602 9687.213 100.00% Conn: 1 Mbps: 9687.213 Peak Mbps: 9687.213 Avg Mbps: 9687.213 2000 1204653406 9646.874 100.00% Conn: 1 Mbps: 9646.874 Peak Mbps: 9687.213 Avg Mbps: 9646.874 3000 1208152806 9665.222 100.00% Conn: 1 Mbps: 9665.222 Peak Mbps: 9687.213 Avg Mbps: 9665.222 4000 1207711140 9661.689 100.00% Conn: 1 Mbps: 9661.689 Peak Mbps: 9687.213 Avg Mbps: 9661.689 5000 1201691396 9613.531 100.00% Conn: 1 Mbps: 9613.531 Peak Mbps: 9687.213 Avg Mbps: 9613.531 --- 169.254.0.13 tcpbench statistics --- 7244698336 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9613.531/9654.906/9687.213/24.383 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 1234568912 9876.551 100.00% Conn: 1 Mbps: 9876.551 Peak Mbps: 9876.551 Avg Mbps: 9876.551 2000 1234829832 9888.527 100.00% Conn: 1 Mbps: 9888.527 Peak Mbps: 9888.527 Avg Mbps: 9888.527 3000 1233031552 9864.252 100.00% Conn: 1 Mbps: 9864.252 Peak Mbps: 9888.527 Avg Mbps: 9864.252 4000 1232475720 9869.675 100.00% Conn: 1 Mbps: 9869.675 Peak Mbps: 9888.527 Avg Mbps: 9869.675 5000 1232639200 9861.114 100.00% Conn: 1 Mbps: 9861.114 Peak Mbps: 9888.527 Avg Mbps: 9861.114 --- fc00::13 tcpbench statistics --- 7403519408 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9861.114/9872.024/9888.527/9.775 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.85s