START sys/net/pair 2025-01-07T02:48:26Z ==== 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.043 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 858391948 6867.136 100.00% Conn: 1 Mbps: 6867.136 Peak Mbps: 6867.136 Avg Mbps: 6867.136 2000 853567512 6835.375 100.00% Conn: 1 Mbps: 6835.375 Peak Mbps: 6867.136 Avg Mbps: 6835.375 3000 854346416 6834.771 100.00% Conn: 1 Mbps: 6834.771 Peak Mbps: 6867.136 Avg Mbps: 6834.771 4000 858487324 6867.899 100.00% Conn: 1 Mbps: 6867.899 Peak Mbps: 6867.899 Avg Mbps: 6867.899 5000 855570408 6844.563 100.00% Conn: 1 Mbps: 6844.563 Peak Mbps: 6867.899 Avg Mbps: 6844.563 --- 169.254.1.11 tcpbench statistics --- 5138564804 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6834.771/6849.949/6867.899/14.760 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 899130336 7193.043 100.00% Conn: 1 Mbps: 7193.043 Peak Mbps: 7193.043 Avg Mbps: 7193.043 2000 899740792 7205.131 100.00% Conn: 1 Mbps: 7205.131 Peak Mbps: 7205.131 Avg Mbps: 7205.131 3000 897877712 7183.022 100.00% Conn: 1 Mbps: 7183.022 Peak Mbps: 7205.131 Avg Mbps: 7183.022 4000 900367104 7202.937 100.00% Conn: 1 Mbps: 7202.937 Peak Mbps: 7205.131 Avg Mbps: 7202.937 5000 903562088 7228.497 100.00% Conn: 1 Mbps: 7228.497 Peak Mbps: 7228.497 Avg Mbps: 7228.497 --- fc00:0:0:1::11 tcpbench statistics --- 5399982784 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7183.022/7202.526/7228.497/15.178 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.063 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.063/0.063/0.063/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.121 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.121/0.121/0.121/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 362966064 2900.828 100.00% Conn: 1 Mbps: 2900.828 Peak Mbps: 2900.828 Avg Mbps: 2900.828 2001 373030912 2984.247 100.00% Conn: 1 Mbps: 2984.247 Peak Mbps: 2984.247 Avg Mbps: 2984.247 3001 376438784 3014.525 100.00% Conn: 1 Mbps: 3014.525 Peak Mbps: 3014.525 Avg Mbps: 3014.525 4001 369360896 2954.887 100.00% Conn: 1 Mbps: 2954.887 Peak Mbps: 3014.525 Avg Mbps: 2954.887 5001 369094112 2952.753 100.00% Conn: 1 Mbps: 2952.753 Peak Mbps: 3014.525 Avg Mbps: 2952.753 --- 169.254.1.12 tcpbench statistics --- 2227329552 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2900.828/2961.448/3014.525/37.764 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 355521396 2841.330 100.00% Conn: 1 Mbps: 2841.330 Peak Mbps: 2841.330 Avg Mbps: 2841.330 2001 366585920 2932.687 100.00% Conn: 1 Mbps: 2932.687 Peak Mbps: 2932.687 Avg Mbps: 2932.687 3002 368574464 2948.596 100.00% Conn: 1 Mbps: 2948.596 Peak Mbps: 2948.596 Avg Mbps: 2948.596 4002 371720192 2973.762 100.00% Conn: 1 Mbps: 2973.762 Peak Mbps: 2973.762 Avg Mbps: 2973.762 5002 364642304 2917.138 100.00% Conn: 1 Mbps: 2917.138 Peak Mbps: 2973.762 Avg Mbps: 2917.138 --- fc00:0:0:1::12 tcpbench statistics --- 2187492276 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2841.330/2922.703/2973.762/44.788 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.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-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.064 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.064/0.064/0.064/0.000 ms ==== run-tcpbench-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 738647240 5909.178 100.00% Conn: 1 Mbps: 5909.178 Peak Mbps: 5909.178 Avg Mbps: 5909.178 2000 780231316 6241.851 100.00% Conn: 1 Mbps: 6241.851 Peak Mbps: 6241.851 Avg Mbps: 6241.851 3000 779437144 6241.739 100.00% Conn: 1 Mbps: 6241.739 Peak Mbps: 6241.851 Avg Mbps: 6241.739 4000 781733068 6253.865 100.00% Conn: 1 Mbps: 6253.865 Peak Mbps: 6253.865 Avg Mbps: 6253.865 5001 785596496 6284.772 100.00% Conn: 1 Mbps: 6284.772 Peak Mbps: 6284.772 Avg Mbps: 6284.772 --- 169.254.0.13 tcpbench statistics --- 4651527608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5909.178/6186.281/6284.772/139.440 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 665788112 5326.305 100.00% Conn: 1 Mbps: 5326.305 Peak Mbps: 5326.305 Avg Mbps: 5326.305 2001 690090680 5520.725 100.00% Conn: 1 Mbps: 5520.725 Peak Mbps: 5520.725 Avg Mbps: 5520.725 3001 697489584 5579.917 100.00% Conn: 1 Mbps: 5579.917 Peak Mbps: 5579.917 Avg Mbps: 5579.917 4001 697490624 5579.925 100.00% Conn: 1 Mbps: 5579.925 Peak Mbps: 5579.925 Avg Mbps: 5579.925 5001 695597632 5564.781 100.00% Conn: 1 Mbps: 5564.781 Peak Mbps: 5579.925 Avg Mbps: 5564.781 --- fc00::13 tcpbench statistics --- 4140814656 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5326.305/5514.331/5579.925/96.482 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.042 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.042/0.042/0.042/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.046 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.046/0.046/0.046/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 360084632 2880.677 100.00% Conn: 1 Mbps: 2880.677 Peak Mbps: 2880.677 Avg Mbps: 2880.677 2000 369098752 2955.746 100.00% Conn: 1 Mbps: 2955.746 Peak Mbps: 2955.746 Avg Mbps: 2955.746 3001 367788032 2942.304 100.00% Conn: 1 Mbps: 2942.304 Peak Mbps: 2955.746 Avg Mbps: 2942.304 4001 366477312 2931.818 100.00% Conn: 1 Mbps: 2931.818 Peak Mbps: 2955.746 Avg Mbps: 2931.818 5002 369098752 2952.790 100.00% Conn: 1 Mbps: 2952.790 Peak Mbps: 2955.746 Avg Mbps: 2952.790 --- 169.254.1.11 tcpbench statistics --- 2201908376 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2880.677/2932.667/2955.746/27.328 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 353217844 2822.920 100.00% Conn: 1 Mbps: 2822.920 Peak Mbps: 2822.920 Avg Mbps: 2822.920 2002 362283008 2898.264 100.00% Conn: 1 Mbps: 2898.264 Peak Mbps: 2898.264 Avg Mbps: 2898.264 3002 361758720 2894.070 100.00% Conn: 1 Mbps: 2894.070 Peak Mbps: 2898.264 Avg Mbps: 2894.070 4002 362539796 2900.318 100.00% Conn: 1 Mbps: 2900.318 Peak Mbps: 2900.318 Avg Mbps: 2900.318 5003 358612992 2868.904 100.00% Conn: 1 Mbps: 2868.904 Peak Mbps: 2900.318 Avg Mbps: 2868.904 --- fc00:0:0:1::11 tcpbench statistics --- 2157287496 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2822.920/2876.895/2900.318/29.249 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.036 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.036/0.036/0.036/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.040 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.040/0.040/0.040/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 863356968 6906.856 100.00% Conn: 1 Mbps: 6906.856 Peak Mbps: 6906.856 Avg Mbps: 6906.856 2000 865439192 6930.444 100.00% Conn: 1 Mbps: 6930.444 Peak Mbps: 6930.444 Avg Mbps: 6930.444 3000 865007688 6920.062 100.00% Conn: 1 Mbps: 6920.062 Peak Mbps: 6930.444 Avg Mbps: 6920.062 4000 868403248 6947.226 100.00% Conn: 1 Mbps: 6947.226 Peak Mbps: 6947.226 Avg Mbps: 6947.226 5000 869382096 6955.057 100.00% Conn: 1 Mbps: 6955.057 Peak Mbps: 6955.057 Avg Mbps: 6955.057 --- 169.254.1.12 tcpbench statistics --- 5202152856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6906.856/6931.929/6955.057/17.553 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 937142136 7497.137 100.00% Conn: 1 Mbps: 7497.137 Peak Mbps: 7497.137 Avg Mbps: 7497.137 2000 942735612 7549.434 100.00% Conn: 1 Mbps: 7549.434 Peak Mbps: 7549.434 Avg Mbps: 7549.434 3000 939442644 7515.541 100.00% Conn: 1 Mbps: 7515.541 Peak Mbps: 7549.434 Avg Mbps: 7515.541 4000 941670324 7533.363 100.00% Conn: 1 Mbps: 7533.363 Peak Mbps: 7549.434 Avg Mbps: 7533.363 5000 937670496 7501.364 100.00% Conn: 1 Mbps: 7501.364 Peak Mbps: 7549.434 Avg Mbps: 7501.364 --- fc00:0:0:1::12 tcpbench statistics --- 5641808088 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7497.137/7519.368/7549.434/19.661 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.040 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.040/0.040/0.040/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.041 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.041/0.041/0.041/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 1110464028 8883.712 100.00% Conn: 1 Mbps: 8883.712 Peak Mbps: 8883.712 Avg Mbps: 8883.712 2000 1104344938 8843.603 100.00% Conn: 1 Mbps: 8843.603 Peak Mbps: 8883.712 Avg Mbps: 8843.603 3000 1105097406 8840.779 100.00% Conn: 1 Mbps: 8840.779 Peak Mbps: 8883.712 Avg Mbps: 8840.779 4000 1109694004 8877.552 100.00% Conn: 1 Mbps: 8877.552 Peak Mbps: 8883.712 Avg Mbps: 8877.552 5000 1105980738 8847.846 100.00% Conn: 1 Mbps: 8847.846 Peak Mbps: 8883.712 Avg Mbps: 8847.846 --- 169.254.0.13 tcpbench statistics --- 6638584696 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8840.779/8858.699/8883.712/18.154 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 1099758908 8798.071 100.00% Conn: 1 Mbps: 8798.071 Peak Mbps: 8798.071 Avg Mbps: 8798.071 2000 1103097648 8833.615 100.00% Conn: 1 Mbps: 8833.615 Peak Mbps: 8833.615 Avg Mbps: 8833.615 3000 1103163040 8825.304 100.00% Conn: 1 Mbps: 8825.304 Peak Mbps: 8833.615 Avg Mbps: 8825.304 4000 1106007592 8848.061 100.00% Conn: 1 Mbps: 8848.061 Peak Mbps: 8848.061 Avg Mbps: 8848.061 5000 1105517152 8844.137 100.00% Conn: 1 Mbps: 8844.137 Peak Mbps: 8848.061 Avg Mbps: 8844.137 --- fc00::13 tcpbench statistics --- 6625088644 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8798.071/8829.838/8848.061/17.779 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.044 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.044/0.044/0.044/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.050 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 360025720 2877.328 100.00% Conn: 1 Mbps: 2877.328 Peak Mbps: 2877.328 Avg Mbps: 2877.328 2001 365428736 2923.430 100.00% Conn: 1 Mbps: 2923.430 Peak Mbps: 2923.430 Avg Mbps: 2923.430 3001 366215168 2929.721 100.00% Conn: 1 Mbps: 2929.721 Peak Mbps: 2929.721 Avg Mbps: 2929.721 4002 368836608 2950.693 100.00% Conn: 1 Mbps: 2950.693 Peak Mbps: 2950.693 Avg Mbps: 2950.693 5002 367525888 2940.207 100.00% Conn: 1 Mbps: 2940.207 Peak Mbps: 2950.693 Avg Mbps: 2940.207 --- 169.254.1.11 tcpbench statistics --- 2195820152 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2877.328/2924.276/2950.693/25.243 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 821712880 6573.703 100.00% Conn: 1 Mbps: 6573.703 Peak Mbps: 6573.703 Avg Mbps: 6573.703 2000 858521600 6868.173 100.00% Conn: 1 Mbps: 6868.173 Peak Mbps: 6868.173 Avg Mbps: 6868.173 3000 855375872 6843.007 100.00% Conn: 1 Mbps: 6843.007 Peak Mbps: 6868.173 Avg Mbps: 6843.007 4001 849076752 6792.614 100.00% Conn: 1 Mbps: 6792.614 Peak Mbps: 6868.173 Avg Mbps: 6792.614 5001 854851584 6838.813 100.00% Conn: 1 Mbps: 6838.813 Peak Mbps: 6868.173 Avg Mbps: 6838.813 --- fc00:0:0:1::11 tcpbench statistics --- 5104089600 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6573.703/6783.262/6868.173/107.580 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.041 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.041/0.041/0.041/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.041 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.041/0.041/0.041/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 1172437586 9379.501 100.00% Conn: 1 Mbps: 9379.501 Peak Mbps: 9379.501 Avg Mbps: 9379.501 2000 1183632164 9478.536 100.00% Conn: 1 Mbps: 9478.536 Peak Mbps: 9478.536 Avg Mbps: 9478.536 3000 1174209956 9393.680 100.00% Conn: 1 Mbps: 9393.680 Peak Mbps: 9478.536 Avg Mbps: 9393.680 4000 1177955938 9423.648 100.00% Conn: 1 Mbps: 9423.648 Peak Mbps: 9478.536 Avg Mbps: 9423.648 5000 1177187112 9417.497 100.00% Conn: 1 Mbps: 9417.497 Peak Mbps: 9478.536 Avg Mbps: 9417.497 --- 169.254.1.12 tcpbench statistics --- 7065554308 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9379.501/9418.572/9478.536/33.967 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 1102018208 8816.146 100.00% Conn: 1 Mbps: 8816.146 Peak Mbps: 8816.146 Avg Mbps: 8816.146 2000 1103195736 8834.400 100.00% Conn: 1 Mbps: 8834.400 Peak Mbps: 8834.400 Avg Mbps: 8834.400 3000 1102411032 8819.288 100.00% Conn: 1 Mbps: 8819.288 Peak Mbps: 8834.400 Avg Mbps: 8819.288 4000 1108230920 8865.847 100.00% Conn: 1 Mbps: 8865.847 Peak Mbps: 8865.847 Avg Mbps: 8865.847 5000 1109931112 8879.449 100.00% Conn: 1 Mbps: 8879.449 Peak Mbps: 8879.449 Avg Mbps: 8879.449 --- fc00:0:0:1::12 tcpbench statistics --- 6629571272 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8816.146/8843.026/8879.449/25.329 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.039 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.039/0.039/0.039/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.038 ms --- fc00::13 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-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 1255265382 10042.123 100.00% Conn: 1 Mbps: 10042.123 Peak Mbps: 10042.123 Avg Mbps: 10042.123 2000 1257472176 10069.847 100.00% Conn: 1 Mbps: 10069.847 Peak Mbps: 10069.847 Avg Mbps: 10069.847 3000 1257799336 10062.395 100.00% Conn: 1 Mbps: 10062.395 Peak Mbps: 10069.847 Avg Mbps: 10062.395 4000 1257930200 10063.442 100.00% Conn: 1 Mbps: 10063.442 Peak Mbps: 10069.847 Avg Mbps: 10063.442 5000 1258208286 10065.666 100.00% Conn: 1 Mbps: 10065.666 Peak Mbps: 10069.847 Avg Mbps: 10065.666 --- 169.254.0.13 tcpbench statistics --- 7546912058 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10042.123/10060.695/10069.847/9.631 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 1281491164 10251.929 100.00% Conn: 1 Mbps: 10251.929 Peak Mbps: 10251.929 Avg Mbps: 10251.929 2000 1281813984 10264.777 100.00% Conn: 1 Mbps: 10264.777 Peak Mbps: 10264.777 Avg Mbps: 10264.777 3000 1282729472 10261.836 100.00% Conn: 1 Mbps: 10261.836 Peak Mbps: 10264.777 Avg Mbps: 10261.836 4000 1287993528 10303.948 100.00% Conn: 1 Mbps: 10303.948 Peak Mbps: 10303.948 Avg Mbps: 10303.948 5000 1290511120 10324.089 100.00% Conn: 1 Mbps: 10324.089 Peak Mbps: 10324.089 Avg Mbps: 10324.089 --- fc00::13 tcpbench statistics --- 7716096660 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10251.929/10281.316/10324.089/27.779 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 1m51.84s