START sys/net/pair 2025-01-16T14:58:59Z ==== 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.040 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.040/0.040/0.040/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.041 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.041/0.041/0.041/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 853233696 6825.870 100.00% Conn: 1 Mbps: 6825.870 Peak Mbps: 6825.870 Avg Mbps: 6825.870 2000 852558116 6827.292 100.00% Conn: 1 Mbps: 6827.292 Peak Mbps: 6827.292 Avg Mbps: 6827.292 3000 852486584 6819.893 100.00% Conn: 1 Mbps: 6819.893 Peak Mbps: 6827.292 Avg Mbps: 6819.893 4000 849235852 6793.887 100.00% Conn: 1 Mbps: 6793.887 Peak Mbps: 6827.292 Avg Mbps: 6793.887 5000 849935276 6799.482 100.00% Conn: 1 Mbps: 6799.482 Peak Mbps: 6827.292 Avg Mbps: 6799.482 --- 169.254.1.11 tcpbench statistics --- 5108370352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6793.887/6813.285/6827.292/13.893 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 860084936 6880.679 100.00% Conn: 1 Mbps: 6880.679 Peak Mbps: 6880.679 Avg Mbps: 6880.679 2000 857325992 6865.473 100.00% Conn: 1 Mbps: 6865.473 Peak Mbps: 6880.679 Avg Mbps: 6865.473 3000 858372488 6866.980 100.00% Conn: 1 Mbps: 6866.980 Peak Mbps: 6880.679 Avg Mbps: 6866.980 4000 859197000 6873.576 100.00% Conn: 1 Mbps: 6873.576 Peak Mbps: 6880.679 Avg Mbps: 6873.576 5000 859553760 6876.430 100.00% Conn: 1 Mbps: 6876.430 Peak Mbps: 6880.679 Avg Mbps: 6876.430 --- fc00:0:0:1::11 tcpbench statistics --- 5153889736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6865.473/6872.628/6880.679/5.714 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.066 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.066/0.066/0.066/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.131 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.131/0.131/0.131/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 366734956 2930.949 100.00% Conn: 1 Mbps: 2930.949 Peak Mbps: 2930.949 Avg Mbps: 2930.949 2001 375652352 3008.227 100.00% Conn: 1 Mbps: 3008.227 Peak Mbps: 3008.227 Avg Mbps: 3008.227 3001 375652352 3005.219 100.00% Conn: 1 Mbps: 3005.219 Peak Mbps: 3008.227 Avg Mbps: 3005.219 4002 375128064 3001.025 100.00% Conn: 1 Mbps: 3001.025 Peak Mbps: 3008.227 Avg Mbps: 3001.025 5002 375128064 3001.025 100.00% Conn: 1 Mbps: 3001.025 Peak Mbps: 3008.227 Avg Mbps: 3001.025 --- 169.254.1.12 tcpbench statistics --- 2250501740 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2930.949/2989.289/3008.227/29.297 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 350622828 2802.180 100.00% Conn: 1 Mbps: 2802.180 Peak Mbps: 2802.180 Avg Mbps: 2802.180 2001 364004680 2912.037 100.00% Conn: 1 Mbps: 2912.037 Peak Mbps: 2912.037 Avg Mbps: 2912.037 3001 362283008 2898.264 100.00% Conn: 1 Mbps: 2898.264 Peak Mbps: 2912.037 Avg Mbps: 2898.264 4002 362545152 2900.361 100.00% Conn: 1 Mbps: 2900.361 Peak Mbps: 2912.037 Avg Mbps: 2900.361 5002 360710144 2888.570 100.00% Conn: 1 Mbps: 2888.570 Peak Mbps: 2912.037 Avg Mbps: 2888.570 --- fc00:0:0:1::12 tcpbench statistics --- 2167953844 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2802.180/2880.283/2912.037/39.758 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.054 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.054/0.054/0.054/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.063 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.063/0.063/0.063/0.000 ms ==== run-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 731891440 5855.132 100.00% Conn: 1 Mbps: 5855.132 Peak Mbps: 5855.132 Avg Mbps: 5855.132 2000 762864936 6102.919 100.00% Conn: 1 Mbps: 6102.919 Peak Mbps: 6102.919 Avg Mbps: 6102.919 3000 761265576 6090.125 100.00% Conn: 1 Mbps: 6090.125 Peak Mbps: 6102.919 Avg Mbps: 6090.125 4000 772474208 6179.794 100.00% Conn: 1 Mbps: 6179.794 Peak Mbps: 6179.794 Avg Mbps: 6179.794 5001 774174660 6193.397 100.00% Conn: 1 Mbps: 6193.397 Peak Mbps: 6193.397 Avg Mbps: 6193.397 --- 169.254.0.13 tcpbench statistics --- 4580127304 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5855.132/6084.273/6193.397/121.590 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 653402496 5227.220 100.00% Conn: 1 Mbps: 5227.220 Peak Mbps: 5227.220 Avg Mbps: 5227.220 2001 681111376 5448.891 100.00% Conn: 1 Mbps: 5448.891 Peak Mbps: 5448.891 Avg Mbps: 5448.891 3001 682077032 5456.616 100.00% Conn: 1 Mbps: 5456.616 Peak Mbps: 5456.616 Avg Mbps: 5456.616 4001 679636248 5437.090 100.00% Conn: 1 Mbps: 5437.090 Peak Mbps: 5456.616 Avg Mbps: 5437.090 5002 683420744 5467.366 100.00% Conn: 1 Mbps: 5467.366 Peak Mbps: 5467.366 Avg Mbps: 5467.366 --- fc00::13 tcpbench statistics --- 4071183552 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5227.220/5407.437/5467.366/90.649 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.040 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.040/0.040/0.040/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 366231080 2929.849 100.00% Conn: 1 Mbps: 2929.849 Peak Mbps: 2929.849 Avg Mbps: 2929.849 2000 373030912 2984.247 100.00% Conn: 1 Mbps: 2984.247 Peak Mbps: 2984.247 Avg Mbps: 2984.247 3001 373817344 2990.539 100.00% Conn: 1 Mbps: 2990.539 Peak Mbps: 2990.539 Avg Mbps: 2990.539 4001 378605552 3028.844 100.00% Conn: 1 Mbps: 3028.844 Peak Mbps: 3028.844 Avg Mbps: 3028.844 5001 376700928 3013.607 100.00% Conn: 1 Mbps: 3013.607 Peak Mbps: 3028.844 Avg Mbps: 3013.607 --- 169.254.1.11 tcpbench statistics --- 2242989592 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2929.849/2989.417/3028.844/33.811 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 350697776 2802.779 100.00% Conn: 1 Mbps: 2802.779 Peak Mbps: 2802.779 Avg Mbps: 2802.779 2001 355991552 2850.783 100.00% Conn: 1 Mbps: 2850.783 Peak Mbps: 2850.783 Avg Mbps: 2850.783 3001 360185856 2881.487 100.00% Conn: 1 Mbps: 2881.487 Peak Mbps: 2881.487 Avg Mbps: 2881.487 4001 361234432 2889.875 100.00% Conn: 1 Mbps: 2889.875 Peak Mbps: 2889.875 Avg Mbps: 2889.875 5001 358612992 2868.904 100.00% Conn: 1 Mbps: 2868.904 Peak Mbps: 2889.875 Avg Mbps: 2868.904 --- fc00:0:0:1::11 tcpbench statistics --- 2144287024 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2802.779/2858.766/2889.875/30.936 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.039 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.039/0.039/0.039/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 811958760 6495.670 100.00% Conn: 1 Mbps: 6495.670 Peak Mbps: 6495.670 Avg Mbps: 6495.670 2000 810489040 6490.403 100.00% Conn: 1 Mbps: 6490.403 Peak Mbps: 6495.670 Avg Mbps: 6490.403 3000 808793432 6470.347 100.00% Conn: 1 Mbps: 6470.347 Peak Mbps: 6495.670 Avg Mbps: 6470.347 4000 806666320 6453.331 100.00% Conn: 1 Mbps: 6453.331 Peak Mbps: 6495.670 Avg Mbps: 6453.331 5000 809172808 6473.382 100.00% Conn: 1 Mbps: 6473.382 Peak Mbps: 6495.670 Avg Mbps: 6473.382 --- 169.254.1.12 tcpbench statistics --- 4854763176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6453.331/6476.627/6495.670/15.133 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 837958968 6703.672 100.00% Conn: 1 Mbps: 6703.672 Peak Mbps: 6703.672 Avg Mbps: 6703.672 2000 839129928 6719.759 100.00% Conn: 1 Mbps: 6719.759 Peak Mbps: 6719.759 Avg Mbps: 6719.759 3000 837115020 6703.624 100.00% Conn: 1 Mbps: 6703.624 Peak Mbps: 6719.759 Avg Mbps: 6703.624 4000 836042592 6688.341 100.00% Conn: 1 Mbps: 6688.341 Peak Mbps: 6719.759 Avg Mbps: 6688.341 5000 836847984 6694.784 100.00% Conn: 1 Mbps: 6694.784 Peak Mbps: 6719.759 Avg Mbps: 6694.784 --- fc00:0:0:1::12 tcpbench statistics --- 5023773972 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6688.341/6702.036/6719.759/10.578 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.041 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.041/0.041/0.041/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.043 ms --- fc00::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-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 1247158694 9977.270 100.00% Conn: 1 Mbps: 9977.270 Peak Mbps: 9977.270 Avg Mbps: 9977.270 2000 1256817856 10064.607 100.00% Conn: 1 Mbps: 10064.607 Peak Mbps: 10064.607 Avg Mbps: 10064.607 3000 1258584520 10068.676 100.00% Conn: 1 Mbps: 10068.676 Peak Mbps: 10068.676 Avg Mbps: 10068.676 4000 1257864768 10062.918 100.00% Conn: 1 Mbps: 10062.918 Peak Mbps: 10068.676 Avg Mbps: 10062.918 5000 1260220320 10081.763 100.00% Conn: 1 Mbps: 10081.763 Peak Mbps: 10081.763 Avg Mbps: 10081.763 --- 169.254.0.13 tcpbench statistics --- 7536547966 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9977.270/10051.047/10081.763/37.476 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 1093844136 8750.753 100.00% Conn: 1 Mbps: 8750.753 Peak Mbps: 8750.753 Avg Mbps: 8750.753 2000 1095217912 8770.514 100.00% Conn: 1 Mbps: 8770.514 Peak Mbps: 8770.514 Avg Mbps: 8770.514 3000 1093190760 8745.526 100.00% Conn: 1 Mbps: 8745.526 Peak Mbps: 8770.514 Avg Mbps: 8745.526 4000 1096035312 8768.282 100.00% Conn: 1 Mbps: 8768.282 Peak Mbps: 8770.514 Avg Mbps: 8768.282 5000 1097081584 8776.653 100.00% Conn: 1 Mbps: 8776.653 Peak Mbps: 8776.653 Avg Mbps: 8776.653 --- fc00::13 tcpbench statistics --- 6573007120 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8745.526/8762.346/8776.653/12.033 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.046 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-ping6-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.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-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 363494120 2905.048 100.00% Conn: 1 Mbps: 2905.048 Peak Mbps: 2905.048 Avg Mbps: 2905.048 2001 372244480 2977.956 100.00% Conn: 1 Mbps: 2977.956 Peak Mbps: 2977.956 Avg Mbps: 2977.956 3001 367001600 2936.013 100.00% Conn: 1 Mbps: 2936.013 Peak Mbps: 2977.956 Avg Mbps: 2936.013 4002 368574464 2948.596 100.00% Conn: 1 Mbps: 2948.596 Peak Mbps: 2977.956 Avg Mbps: 2948.596 5002 366739456 2933.916 100.00% Conn: 1 Mbps: 2933.916 Peak Mbps: 2977.956 Avg Mbps: 2933.916 --- 169.254.1.11 tcpbench statistics --- 2204531432 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2905.048/2940.306/2977.956/23.616 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 808160824 6465.287 100.00% Conn: 1 Mbps: 6465.287 Peak Mbps: 6465.287 Avg Mbps: 6465.287 2000 826070440 6615.179 100.00% Conn: 1 Mbps: 6615.179 Peak Mbps: 6615.179 Avg Mbps: 6615.179 3000 836746752 6693.974 100.00% Conn: 1 Mbps: 6693.974 Peak Mbps: 6693.974 Avg Mbps: 6693.974 4000 823394304 6587.154 100.00% Conn: 1 Mbps: 6587.154 Peak Mbps: 6693.974 Avg Mbps: 6587.154 5001 827326464 6618.612 100.00% Conn: 1 Mbps: 6618.612 Peak Mbps: 6693.974 Avg Mbps: 6618.612 --- fc00:0:0:1::11 tcpbench statistics --- 4953481696 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6465.287/6596.041/6693.974/74.354 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.043 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.043/0.043/0.043/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.042 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.042/0.042/0.042/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 1256806714 10054.454 100.00% Conn: 1 Mbps: 10054.454 Peak Mbps: 10054.454 Avg Mbps: 10054.454 2000 1264816918 10128.664 100.00% Conn: 1 Mbps: 10128.664 Peak Mbps: 10128.664 Avg Mbps: 10128.664 3000 1264915066 10119.321 100.00% Conn: 1 Mbps: 10119.321 Peak Mbps: 10128.664 Avg Mbps: 10119.321 4000 1259925876 10079.407 100.00% Conn: 1 Mbps: 10079.407 Peak Mbps: 10128.664 Avg Mbps: 10079.407 5000 1263720932 10109.767 100.00% Conn: 1 Mbps: 10109.767 Peak Mbps: 10128.664 Avg Mbps: 10109.767 --- 169.254.1.12 tcpbench statistics --- 7574217240 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10054.454/10098.323/10128.664/27.476 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 1150214096 9201.713 100.00% Conn: 1 Mbps: 9201.713 Peak Mbps: 9201.713 Avg Mbps: 9201.713 2000 1137690016 9110.631 100.00% Conn: 1 Mbps: 9110.631 Peak Mbps: 9201.713 Avg Mbps: 9110.631 3000 1151487728 9211.902 100.00% Conn: 1 Mbps: 9211.902 Peak Mbps: 9211.902 Avg Mbps: 9211.902 4000 1147400728 9179.206 100.00% Conn: 1 Mbps: 9179.206 Peak Mbps: 9211.902 Avg Mbps: 9179.206 5000 1145308184 9162.465 100.00% Conn: 1 Mbps: 9162.465 Peak Mbps: 9211.902 Avg Mbps: 9162.465 --- fc00:0:0:1::12 tcpbench statistics --- 6871000520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9110.631/9173.183/9211.902/35.713 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.037 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.037/0.037/0.037/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.040 ms --- fc00::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-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 1278910604 10231.285 100.00% Conn: 1 Mbps: 10231.285 Peak Mbps: 10231.285 Avg Mbps: 10231.285 2000 1284282938 10284.548 100.00% Conn: 1 Mbps: 10284.548 Peak Mbps: 10284.548 Avg Mbps: 10284.548 3000 1282532632 10260.261 100.00% Conn: 1 Mbps: 10260.261 Peak Mbps: 10284.548 Avg Mbps: 10260.261 4000 1281763806 10254.110 100.00% Conn: 1 Mbps: 10254.110 Peak Mbps: 10284.548 Avg Mbps: 10254.110 5000 1283105162 10264.841 100.00% Conn: 1 Mbps: 10264.841 Peak Mbps: 10284.548 Avg Mbps: 10264.841 --- 169.254.0.13 tcpbench statistics --- 7691083024 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10231.285/10259.009/10284.548/17.207 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 1278335748 10226.686 100.00% Conn: 1 Mbps: 10226.686 Peak Mbps: 10226.686 Avg Mbps: 10226.686 2000 1282402512 10269.490 100.00% Conn: 1 Mbps: 10269.490 Peak Mbps: 10269.490 Avg Mbps: 10269.490 3000 1283644960 10269.160 100.00% Conn: 1 Mbps: 10269.160 Peak Mbps: 10269.490 Avg Mbps: 10269.160 4000 1283612264 10268.898 100.00% Conn: 1 Mbps: 10268.898 Peak Mbps: 10269.490 Avg Mbps: 10268.898 5000 1281977464 10255.820 100.00% Conn: 1 Mbps: 10255.820 Peak Mbps: 10269.490 Avg Mbps: 10255.820 --- fc00::13 tcpbench statistics --- 7691688844 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10226.686/10258.011/10269.490/16.496 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.81s