START sys/net/pair 2024-12-29T15:53:01Z ==== 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.038 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.038/0.038/0.038/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 736142640 5889.141 100.00% Conn: 1 Mbps: 5889.141 Peak Mbps: 5889.141 Avg Mbps: 5889.141 2000 737479024 5905.738 100.00% Conn: 1 Mbps: 5905.738 Peak Mbps: 5905.738 Avg Mbps: 5905.738 3000 739370648 5914.965 100.00% Conn: 1 Mbps: 5914.965 Peak Mbps: 5914.965 Avg Mbps: 5914.965 4000 741809144 5934.473 100.00% Conn: 1 Mbps: 5934.473 Peak Mbps: 5934.473 Avg Mbps: 5934.473 5000 742438576 5939.509 100.00% Conn: 1 Mbps: 5939.509 Peak Mbps: 5939.509 Avg Mbps: 5939.509 --- 169.254.1.11 tcpbench statistics --- 4439225572 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5889.141/5916.765/5939.509/18.541 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 737613192 5900.906 100.00% Conn: 1 Mbps: 5900.906 Peak Mbps: 5900.906 Avg Mbps: 5900.906 2000 733450992 5873.481 100.00% Conn: 1 Mbps: 5873.481 Peak Mbps: 5900.906 Avg Mbps: 5873.481 3000 733474776 5867.798 100.00% Conn: 1 Mbps: 5867.798 Peak Mbps: 5900.906 Avg Mbps: 5867.798 4000 733971512 5871.772 100.00% Conn: 1 Mbps: 5871.772 Peak Mbps: 5900.906 Avg Mbps: 5871.772 5000 735647048 5885.176 100.00% Conn: 1 Mbps: 5885.176 Peak Mbps: 5900.906 Avg Mbps: 5885.176 --- fc00:0:0:1::11 tcpbench statistics --- 4404426656 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5867.798/5879.827/5900.906/12.023 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.075 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.075/0.075/0.075/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.149 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.149/0.149/0.149/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 273553824 2188.431 100.00% Conn: 1 Mbps: 2188.431 Peak Mbps: 2188.431 Avg Mbps: 2188.431 2000 291249592 2332.329 100.00% Conn: 1 Mbps: 2332.329 Peak Mbps: 2332.329 Avg Mbps: 2332.329 3001 291487616 2329.571 100.00% Conn: 1 Mbps: 2329.571 Peak Mbps: 2332.329 Avg Mbps: 2329.571 4002 290237776 2321.902 100.00% Conn: 1 Mbps: 2321.902 Peak Mbps: 2332.329 Avg Mbps: 2321.902 5001 291392160 2335.809 100.00% Conn: 1 Mbps: 2335.809 Peak Mbps: 2335.809 Avg Mbps: 2335.809 --- 169.254.1.12 tcpbench statistics --- 1727672096 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2188.431/2301.608/2335.809/56.774 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 242313720 1938.510 100.00% Conn: 1 Mbps: 1938.510 Peak Mbps: 1938.510 Avg Mbps: 1938.510 2000 255222176 2041.777 100.00% Conn: 1 Mbps: 2041.777 Peak Mbps: 2041.777 Avg Mbps: 2041.777 3001 259576728 2074.539 100.00% Conn: 1 Mbps: 2074.539 Peak Mbps: 2074.539 Avg Mbps: 2074.539 4002 261157440 2089.260 100.00% Conn: 1 Mbps: 2089.260 Peak Mbps: 2089.260 Avg Mbps: 2089.260 5002 261772696 2096.278 100.00% Conn: 1 Mbps: 2096.278 Peak Mbps: 2096.278 Avg Mbps: 2096.278 --- fc00:0:0:1::12 tcpbench statistics --- 1542514060 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1938.510/2048.073/2096.278/57.904 Mbps ==== run-ping-1-3 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=254 time=0.072 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.072/0.072/0.072/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.085 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.085/0.085/0.085/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 561359292 4490.874 100.00% Conn: 1 Mbps: 4490.874 Peak Mbps: 4490.874 Avg Mbps: 4490.874 2000 562956560 4503.652 100.00% Conn: 1 Mbps: 4503.652 Peak Mbps: 4503.652 Avg Mbps: 4503.652 3000 576365116 4610.921 100.00% Conn: 1 Mbps: 4610.921 Peak Mbps: 4610.921 Avg Mbps: 4610.921 4000 564586040 4516.688 100.00% Conn: 1 Mbps: 4516.688 Peak Mbps: 4610.921 Avg Mbps: 4516.688 5000 562694416 4501.555 100.00% Conn: 1 Mbps: 4501.555 Peak Mbps: 4610.921 Avg Mbps: 4501.555 --- 169.254.0.13 tcpbench statistics --- 3397221028 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4490.874/4524.738/4610.921/43.866 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 551512880 4412.103 100.00% Conn: 1 Mbps: 4412.103 Peak Mbps: 4412.103 Avg Mbps: 4412.103 2000 579720056 4637.760 100.00% Conn: 1 Mbps: 4637.760 Peak Mbps: 4637.760 Avg Mbps: 4637.760 3000 579470648 4640.406 100.00% Conn: 1 Mbps: 4640.406 Peak Mbps: 4640.406 Avg Mbps: 4640.406 4000 590761808 4726.094 100.00% Conn: 1 Mbps: 4726.094 Peak Mbps: 4726.094 Avg Mbps: 4726.094 5001 584027168 4672.217 100.00% Conn: 1 Mbps: 4672.217 Peak Mbps: 4726.094 Avg Mbps: 4672.217 --- fc00::13 tcpbench statistics --- 3469385992 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4412.103/4617.716/4726.094/107.619 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.054 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.054/0.054/0.054/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 1000 269489624 2155.917 100.00% Conn: 1 Mbps: 2155.917 Peak Mbps: 2155.917 Avg Mbps: 2155.917 2001 284958752 2279.670 100.00% Conn: 1 Mbps: 2279.670 Peak Mbps: 2279.670 Avg Mbps: 2279.670 3001 280821760 2246.574 100.00% Conn: 1 Mbps: 2246.574 Peak Mbps: 2279.670 Avg Mbps: 2246.574 4002 281822384 2254.579 100.00% Conn: 1 Mbps: 2254.579 Peak Mbps: 2279.670 Avg Mbps: 2254.579 5002 280397552 2243.180 100.00% Conn: 1 Mbps: 2243.180 Peak Mbps: 2279.670 Avg Mbps: 2243.180 --- 169.254.1.11 tcpbench statistics --- 1679941896 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2155.917/2235.984/2279.670/42.021 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 242575764 1940.606 100.00% Conn: 1 Mbps: 1940.606 Peak Mbps: 1940.606 Avg Mbps: 1940.606 2000 252379056 2019.032 100.00% Conn: 1 Mbps: 2019.032 Peak Mbps: 2019.032 Avg Mbps: 2019.032 3001 255467580 2043.741 100.00% Conn: 1 Mbps: 2043.741 Peak Mbps: 2043.741 Avg Mbps: 2043.741 4001 258823536 2070.588 100.00% Conn: 1 Mbps: 2070.588 Peak Mbps: 2070.588 Avg Mbps: 2070.588 5001 258999972 2074.074 100.00% Conn: 1 Mbps: 2074.074 Peak Mbps: 2074.074 Avg Mbps: 2074.074 --- fc00:0:0:1::11 tcpbench statistics --- 1525748516 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1940.606/2029.608/2074.074/48.764 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.039 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.039/0.039/0.039/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.057 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.057/0.057/0.057/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 702112032 5616.896 100.00% Conn: 1 Mbps: 5616.896 Peak Mbps: 5616.896 Avg Mbps: 5616.896 2000 701450296 5617.220 100.00% Conn: 1 Mbps: 5617.220 Peak Mbps: 5617.220 Avg Mbps: 5617.220 3000 701398168 5611.185 100.00% Conn: 1 Mbps: 5611.185 Peak Mbps: 5617.220 Avg Mbps: 5611.185 4000 698712128 5589.697 100.00% Conn: 1 Mbps: 5589.697 Peak Mbps: 5617.220 Avg Mbps: 5589.697 5000 701991848 5615.935 100.00% Conn: 1 Mbps: 5615.935 Peak Mbps: 5617.220 Avg Mbps: 5615.935 --- 169.254.1.12 tcpbench statistics --- 4206413104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5589.697/5610.187/5617.220/10.472 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 716464728 5731.718 100.00% Conn: 1 Mbps: 5731.718 Peak Mbps: 5731.718 Avg Mbps: 5731.718 2000 724200204 5799.401 100.00% Conn: 1 Mbps: 5799.401 Peak Mbps: 5799.401 Avg Mbps: 5799.401 3000 719944764 5759.558 100.00% Conn: 1 Mbps: 5759.558 Peak Mbps: 5799.401 Avg Mbps: 5759.558 4000 719306448 5754.452 100.00% Conn: 1 Mbps: 5754.452 Peak Mbps: 5799.401 Avg Mbps: 5754.452 5000 717782772 5748.010 100.00% Conn: 1 Mbps: 5748.010 Peak Mbps: 5799.401 Avg Mbps: 5748.010 --- fc00:0:0:1::12 tcpbench statistics --- 4317089616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5731.718/5758.628/5799.401/22.439 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.050 ms --- fc00::13 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-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 1183763304 9470.106 100.00% Conn: 1 Mbps: 9470.106 Peak Mbps: 9470.106 Avg Mbps: 9470.106 2000 1186658394 9502.770 100.00% Conn: 1 Mbps: 9502.770 Peak Mbps: 9502.770 Avg Mbps: 9502.770 3000 1186216728 9489.734 100.00% Conn: 1 Mbps: 9489.734 Peak Mbps: 9502.770 Avg Mbps: 9489.734 4000 1189226600 9513.813 100.00% Conn: 1 Mbps: 9513.813 Peak Mbps: 9513.813 Avg Mbps: 9513.813 5000 1188392342 9507.139 100.00% Conn: 1 Mbps: 9507.139 Peak Mbps: 9513.813 Avg Mbps: 9507.139 --- 169.254.0.13 tcpbench statistics --- 7135736110 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9470.106/9496.712/9513.813/15.456 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 1197263208 9578.106 100.00% Conn: 1 Mbps: 9578.106 Peak Mbps: 9578.106 Avg Mbps: 9578.106 2000 1197981440 9593.445 100.00% Conn: 1 Mbps: 9593.445 Peak Mbps: 9593.445 Avg Mbps: 9593.445 3000 1190134400 9521.075 100.00% Conn: 1 Mbps: 9521.075 Peak Mbps: 9593.445 Avg Mbps: 9521.075 4000 1198896928 9591.175 100.00% Conn: 1 Mbps: 9591.175 Peak Mbps: 9593.445 Avg Mbps: 9591.175 5000 1196542816 9572.343 100.00% Conn: 1 Mbps: 9572.343 Peak Mbps: 9593.445 Avg Mbps: 9572.343 --- fc00::13 tcpbench statistics --- 7167748984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9521.075/9571.229/9593.445/26.288 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.072 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.072/0.072/0.072/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.057 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.057/0.057/0.057/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 274985776 2199.886 100.00% Conn: 1 Mbps: 2199.886 Peak Mbps: 2199.886 Avg Mbps: 2199.886 2002 284518840 2273.877 100.00% Conn: 1 Mbps: 2273.877 Peak Mbps: 2273.877 Avg Mbps: 2273.877 3001 284739152 2280.193 100.00% Conn: 1 Mbps: 2280.193 Peak Mbps: 2280.193 Avg Mbps: 2280.193 4001 285506656 2284.053 100.00% Conn: 1 Mbps: 2284.053 Peak Mbps: 2284.053 Avg Mbps: 2284.053 5004 280730040 2241.358 100.00% Conn: 1 Mbps: 2241.358 Peak Mbps: 2284.053 Avg Mbps: 2241.358 --- 169.254.1.11 tcpbench statistics --- 1694537840 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2199.886/2255.873/2284.053/31.796 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 508310416 4066.483 100.00% Conn: 1 Mbps: 4066.483 Peak Mbps: 4066.483 Avg Mbps: 4066.483 2000 558468800 4467.750 100.00% Conn: 1 Mbps: 4467.750 Peak Mbps: 4467.750 Avg Mbps: 4467.750 3001 566559728 4532.478 100.00% Conn: 1 Mbps: 4532.478 Peak Mbps: 4532.478 Avg Mbps: 4532.478 4001 549898000 4399.184 100.00% Conn: 1 Mbps: 4399.184 Peak Mbps: 4532.478 Avg Mbps: 4399.184 5002 553866664 4430.933 100.00% Conn: 1 Mbps: 4430.933 Peak Mbps: 4532.478 Avg Mbps: 4430.933 --- fc00:0:0:1::11 tcpbench statistics --- 3287651192 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4066.483/4379.366/4532.478/162.605 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.057 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.057/0.057/0.057/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.057 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.057/0.057/0.057/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 1224184286 9793.474 100.00% Conn: 1 Mbps: 9793.474 Peak Mbps: 9793.474 Avg Mbps: 9793.474 2000 1218098470 9754.542 100.00% Conn: 1 Mbps: 9754.542 Peak Mbps: 9793.474 Avg Mbps: 9754.542 3000 1223251240 9786.010 100.00% Conn: 1 Mbps: 9786.010 Peak Mbps: 9793.474 Avg Mbps: 9786.010 4000 1229156478 9833.252 100.00% Conn: 1 Mbps: 9833.252 Peak Mbps: 9833.252 Avg Mbps: 9833.252 5000 1224150930 9793.207 100.00% Conn: 1 Mbps: 9793.207 Peak Mbps: 9833.252 Avg Mbps: 9793.207 --- 169.254.1.12 tcpbench statistics --- 7338444810 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9754.542/9792.097/9833.252/25.077 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 1179013464 9432.108 100.00% Conn: 1 Mbps: 9432.108 Peak Mbps: 9432.108 Avg Mbps: 9432.108 2000 1186505144 9501.543 100.00% Conn: 1 Mbps: 9501.543 Peak Mbps: 9501.543 Avg Mbps: 9501.543 3000 1187747592 9501.981 100.00% Conn: 1 Mbps: 9501.981 Peak Mbps: 9501.981 Avg Mbps: 9501.981 4000 1184903040 9479.224 100.00% Conn: 1 Mbps: 9479.224 Peak Mbps: 9501.981 Avg Mbps: 9479.224 5000 1182875888 9463.007 100.00% Conn: 1 Mbps: 9463.007 Peak Mbps: 9501.981 Avg Mbps: 9463.007 --- fc00:0:0:1::12 tcpbench statistics --- 7108106104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9432.108/9475.573/9501.981/26.200 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.044 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.044/0.044/0.044/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.056 ms --- fc00::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-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 1171108644 9368.869 100.00% Conn: 1 Mbps: 9368.869 Peak Mbps: 9368.869 Avg Mbps: 9368.869 2000 1172623230 9390.376 100.00% Conn: 1 Mbps: 9390.376 Peak Mbps: 9390.376 Avg Mbps: 9390.376 3000 1168893606 9351.149 100.00% Conn: 1 Mbps: 9351.149 Peak Mbps: 9390.376 Avg Mbps: 9351.149 4000 1169711506 9357.692 100.00% Conn: 1 Mbps: 9357.692 Peak Mbps: 9390.376 Avg Mbps: 9357.692 5000 1169711506 9357.692 100.00% Conn: 1 Mbps: 9357.692 Peak Mbps: 9390.376 Avg Mbps: 9357.692 --- 169.254.0.13 tcpbench statistics --- 7018619262 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9351.149/9365.156/9390.376/13.838 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 1233205940 9865.648 100.00% Conn: 1 Mbps: 9865.648 Peak Mbps: 9865.648 Avg Mbps: 9865.648 2000 1236464632 9901.619 100.00% Conn: 1 Mbps: 9901.619 Peak Mbps: 9901.619 Avg Mbps: 9901.619 3000 1243069224 9944.554 100.00% Conn: 1 Mbps: 9944.554 Peak Mbps: 9944.554 Avg Mbps: 9944.554 4000 1245881080 9967.049 100.00% Conn: 1 Mbps: 9967.049 Peak Mbps: 9967.049 Avg Mbps: 9967.049 5000 1243298096 9946.385 100.00% Conn: 1 Mbps: 9946.385 Peak Mbps: 9967.049 Avg Mbps: 9946.385 --- fc00::13 tcpbench statistics --- 7436029492 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9865.648/9925.051/9967.049/36.544 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.86s