START sys/net/pair 2025-02-16T01:44:33Z ==== 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.039 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.039/0.039/0.039/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.040 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.040/0.040/0.040/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 919901520 7359.212 100.00% Conn: 1 Mbps: 7359.212 Peak Mbps: 7359.212 Avg Mbps: 7359.212 2000 920203544 7368.997 100.00% Conn: 1 Mbps: 7368.997 Peak Mbps: 7368.997 Avg Mbps: 7368.997 3000 920505568 7364.045 100.00% Conn: 1 Mbps: 7364.045 Peak Mbps: 7368.997 Avg Mbps: 7364.045 4000 921157304 7369.258 100.00% Conn: 1 Mbps: 7369.258 Peak Mbps: 7369.258 Avg Mbps: 7369.258 5000 922206440 7377.652 100.00% Conn: 1 Mbps: 7377.652 Peak Mbps: 7377.652 Avg Mbps: 7377.652 --- 169.254.1.11 tcpbench statistics --- 5525393964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7359.212/7367.833/7377.652/6.139 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 928836552 7430.692 100.00% Conn: 1 Mbps: 7430.692 Peak Mbps: 7430.692 Avg Mbps: 7430.692 2000 925498864 7411.402 100.00% Conn: 1 Mbps: 7411.402 Peak Mbps: 7430.692 Avg Mbps: 7411.402 3000 928820696 7430.566 100.00% Conn: 1 Mbps: 7430.566 Peak Mbps: 7430.692 Avg Mbps: 7430.566 4000 925697064 7405.577 100.00% Conn: 1 Mbps: 7405.577 Peak Mbps: 7430.692 Avg Mbps: 7405.577 5000 928226096 7425.809 100.00% Conn: 1 Mbps: 7425.809 Peak Mbps: 7430.692 Avg Mbps: 7425.809 --- fc00:0:0:1::11 tcpbench statistics --- 5568159448 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7405.577/7420.809/7430.692/10.377 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.118 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.118/0.118/0.118/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 373097424 2981.798 100.00% Conn: 1 Mbps: 2981.798 Peak Mbps: 2981.798 Avg Mbps: 2981.798 2001 379846656 3038.773 100.00% Conn: 1 Mbps: 3038.773 Peak Mbps: 3038.773 Avg Mbps: 3038.773 3001 380067024 3040.536 100.00% Conn: 1 Mbps: 3040.536 Peak Mbps: 3040.536 Avg Mbps: 3040.536 4002 380873152 3046.985 100.00% Conn: 1 Mbps: 3046.985 Peak Mbps: 3046.985 Avg Mbps: 3046.985 5002 383778816 3070.231 100.00% Conn: 1 Mbps: 3070.231 Peak Mbps: 3070.231 Avg Mbps: 3070.231 --- 169.254.1.12 tcpbench statistics --- 2281441888 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2981.798/3035.665/3070.231/29.182 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 348994820 2791.959 100.00% Conn: 1 Mbps: 2791.959 Peak Mbps: 2791.959 Avg Mbps: 2791.959 2000 359923712 2882.272 100.00% Conn: 1 Mbps: 2882.272 Peak Mbps: 2882.272 Avg Mbps: 2882.272 3001 356376248 2851.010 100.00% Conn: 1 Mbps: 2851.010 Peak Mbps: 2882.272 Avg Mbps: 2851.010 4001 356775448 2854.204 100.00% Conn: 1 Mbps: 2854.204 Peak Mbps: 2882.272 Avg Mbps: 2854.204 5002 357302272 2858.418 100.00% Conn: 1 Mbps: 2858.418 Peak Mbps: 2882.272 Avg Mbps: 2858.418 --- fc00:0:0:1::12 tcpbench statistics --- 2135888340 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2791.959/2847.572/2882.272/29.901 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.057 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.057/0.057/0.057/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.059 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.059/0.059/0.059/0.000 ms ==== run-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 737470796 5899.766 100.00% Conn: 1 Mbps: 5899.766 Peak Mbps: 5899.766 Avg Mbps: 5899.766 2001 781497652 6251.981 100.00% Conn: 1 Mbps: 6251.981 Peak Mbps: 6251.981 Avg Mbps: 6251.981 3000 783521088 6274.443 100.00% Conn: 1 Mbps: 6274.443 Peak Mbps: 6274.443 Avg Mbps: 6274.443 4001 771877968 6175.024 100.00% Conn: 1 Mbps: 6175.024 Peak Mbps: 6274.443 Avg Mbps: 6175.024 5001 778101252 6231.041 100.00% Conn: 1 Mbps: 6231.041 Peak Mbps: 6274.443 Avg Mbps: 6231.041 --- 169.254.0.13 tcpbench statistics --- 4630172608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5899.766/6166.451/6274.443/137.364 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 653743400 5229.947 100.00% Conn: 1 Mbps: 5229.947 Peak Mbps: 5229.947 Avg Mbps: 5229.947 2000 685669456 5490.846 100.00% Conn: 1 Mbps: 5490.846 Peak Mbps: 5490.846 Avg Mbps: 5490.846 3001 684709128 5472.201 100.00% Conn: 1 Mbps: 5472.201 Peak Mbps: 5490.846 Avg Mbps: 5472.201 4002 687230752 5497.846 100.00% Conn: 1 Mbps: 5497.846 Peak Mbps: 5497.846 Avg Mbps: 5497.846 5002 685294248 5482.354 100.00% Conn: 1 Mbps: 5482.354 Peak Mbps: 5497.846 Avg Mbps: 5482.354 --- fc00::13 tcpbench statistics --- 4076227216 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5229.947/5434.639/5497.846/102.704 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.041 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.041/0.041/0.041/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.045 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.045/0.045/0.045/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 371365312 2967.955 100.00% Conn: 1 Mbps: 2967.955 Peak Mbps: 2967.955 Avg Mbps: 2967.955 2001 383254528 3066.036 100.00% Conn: 1 Mbps: 3066.036 Peak Mbps: 3066.036 Avg Mbps: 3066.036 3002 385875968 3087.008 100.00% Conn: 1 Mbps: 3087.008 Peak Mbps: 3087.008 Avg Mbps: 3087.008 4003 385875968 3083.924 100.00% Conn: 1 Mbps: 3083.924 Peak Mbps: 3087.008 Avg Mbps: 3083.924 5003 385613824 3084.911 100.00% Conn: 1 Mbps: 3084.911 Peak Mbps: 3087.008 Avg Mbps: 3084.911 --- 169.254.1.11 tcpbench statistics --- 2296570064 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2967.955/3057.967/3087.008/45.630 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 347769460 2782.156 100.00% Conn: 1 Mbps: 2782.156 Peak Mbps: 2782.156 Avg Mbps: 2782.156 2001 360710144 2885.681 100.00% Conn: 1 Mbps: 2885.681 Peak Mbps: 2885.681 Avg Mbps: 2885.681 3001 360707716 2888.550 100.00% Conn: 1 Mbps: 2888.550 Peak Mbps: 2888.550 Avg Mbps: 2888.550 4001 360185856 2881.487 100.00% Conn: 1 Mbps: 2881.487 Peak Mbps: 2888.550 Avg Mbps: 2881.487 5002 356582800 2852.662 100.00% Conn: 1 Mbps: 2852.662 Peak Mbps: 2888.550 Avg Mbps: 2852.662 --- fc00:0:0:1::11 tcpbench statistics --- 2140217056 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2782.156/2858.107/2888.550/40.080 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.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 907186480 7257.492 100.00% Conn: 1 Mbps: 7257.492 Peak Mbps: 7257.492 Avg Mbps: 7257.492 2000 908266688 7273.407 100.00% Conn: 1 Mbps: 7273.407 Peak Mbps: 7273.407 Avg Mbps: 7273.407 3000 907917720 7263.342 100.00% Conn: 1 Mbps: 7263.342 Peak Mbps: 7273.407 Avg Mbps: 7263.342 4000 911211920 7289.695 100.00% Conn: 1 Mbps: 7289.695 Peak Mbps: 7289.695 Avg Mbps: 7289.695 5000 908036456 7264.292 100.00% Conn: 1 Mbps: 7264.292 Peak Mbps: 7289.695 Avg Mbps: 7264.292 --- 169.254.1.12 tcpbench statistics --- 5452830616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7257.492/7269.646/7289.695/11.245 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 898404780 7187.238 100.00% Conn: 1 Mbps: 7187.238 Peak Mbps: 7187.238 Avg Mbps: 7187.238 2000 894957588 7166.828 100.00% Conn: 1 Mbps: 7166.828 Peak Mbps: 7187.238 Avg Mbps: 7166.828 3000 894453504 7155.628 100.00% Conn: 1 Mbps: 7155.628 Peak Mbps: 7187.238 Avg Mbps: 7155.628 4000 892797024 7142.376 100.00% Conn: 1 Mbps: 7142.376 Peak Mbps: 7187.238 Avg Mbps: 7142.376 5000 892599960 7140.800 100.00% Conn: 1 Mbps: 7140.800 Peak Mbps: 7187.238 Avg Mbps: 7140.800 --- fc00:0:0:1::12 tcpbench statistics --- 5363126748 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7140.800/7158.574/7187.238/17.186 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.042 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.042/0.042/0.042/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 1272838910 10182.711 100.00% Conn: 1 Mbps: 10182.711 Peak Mbps: 10182.711 Avg Mbps: 10182.711 2000 1272128944 10187.219 100.00% Conn: 1 Mbps: 10187.219 Peak Mbps: 10187.219 Avg Mbps: 10187.219 3000 1270951168 10167.609 100.00% Conn: 1 Mbps: 10167.609 Peak Mbps: 10187.219 Avg Mbps: 10167.609 4000 1271245612 10169.965 100.00% Conn: 1 Mbps: 10169.965 Peak Mbps: 10187.219 Avg Mbps: 10169.965 5000 1272668758 10181.350 100.00% Conn: 1 Mbps: 10181.350 Peak Mbps: 10187.219 Avg Mbps: 10181.350 --- 169.254.0.13 tcpbench statistics --- 7629377772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10167.609/10177.771/10187.219/7.625 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 1249112652 9992.901 100.00% Conn: 1 Mbps: 9992.901 Peak Mbps: 9992.901 Avg Mbps: 9992.901 2000 1251635576 10023.108 100.00% Conn: 1 Mbps: 10023.108 Peak Mbps: 10023.108 Avg Mbps: 10023.108 3000 1251079744 10008.638 100.00% Conn: 1 Mbps: 10008.638 Peak Mbps: 10023.108 Avg Mbps: 10008.638 4000 1253826208 10030.610 100.00% Conn: 1 Mbps: 10030.610 Peak Mbps: 10030.610 Avg Mbps: 10030.610 5000 1251210528 10009.684 100.00% Conn: 1 Mbps: 10009.684 Peak Mbps: 10030.610 Avg Mbps: 10009.684 --- fc00::13 tcpbench statistics --- 7510069692 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9992.901/10012.988/10030.610/13.010 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.045 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.045/0.045/0.045/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.048 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.048/0.048/0.048/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 375105728 2997.848 100.00% Conn: 1 Mbps: 2997.848 Peak Mbps: 2997.848 Avg Mbps: 2997.848 2001 382730240 3061.842 100.00% Conn: 1 Mbps: 3061.842 Peak Mbps: 3061.842 Avg Mbps: 3061.842 3001 378535936 3028.287 100.00% Conn: 1 Mbps: 3028.287 Peak Mbps: 3061.842 Avg Mbps: 3028.287 4002 382730240 3061.842 100.00% Conn: 1 Mbps: 3061.842 Peak Mbps: 3061.842 Avg Mbps: 3061.842 5002 382468096 3059.745 100.00% Conn: 1 Mbps: 3059.745 Peak Mbps: 3061.842 Avg Mbps: 3059.745 --- 169.254.1.11 tcpbench statistics --- 2283251904 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2997.848/3041.913/3061.842/25.455 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 840470712 6723.766 100.00% Conn: 1 Mbps: 6723.766 Peak Mbps: 6723.766 Avg Mbps: 6723.766 2000 881852416 7054.819 100.00% Conn: 1 Mbps: 7054.819 Peak Mbps: 7054.819 Avg Mbps: 7054.819 3000 883163136 7065.305 100.00% Conn: 1 Mbps: 7065.305 Peak Mbps: 7065.305 Avg Mbps: 7065.305 4000 902916744 7223.334 100.00% Conn: 1 Mbps: 7223.334 Peak Mbps: 7223.334 Avg Mbps: 7223.334 5001 887766688 7102.134 100.00% Conn: 1 Mbps: 7102.134 Peak Mbps: 7223.334 Avg Mbps: 7102.134 --- fc00:0:0:1::11 tcpbench statistics --- 5285146640 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6723.766/7033.872/7223.334/166.222 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.040 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.040/0.040/0.040/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 1280953854 10247.631 100.00% Conn: 1 Mbps: 10247.631 Peak Mbps: 10247.631 Avg Mbps: 10247.631 2000 1286393120 10301.446 100.00% Conn: 1 Mbps: 10301.446 Peak Mbps: 10301.446 Avg Mbps: 10301.446 3000 1286720280 10293.762 100.00% Conn: 1 Mbps: 10293.762 Peak Mbps: 10301.446 Avg Mbps: 10293.762 4000 1286589416 10292.715 100.00% Conn: 1 Mbps: 10292.715 Peak Mbps: 10301.446 Avg Mbps: 10292.715 5000 1283677692 10269.422 100.00% Conn: 1 Mbps: 10269.422 Peak Mbps: 10301.446 Avg Mbps: 10269.422 --- 169.254.1.12 tcpbench statistics --- 7713999082 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10247.631/10280.995/10301.446/19.828 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 1261596908 10092.775 100.00% Conn: 1 Mbps: 10092.775 Peak Mbps: 10092.775 Avg Mbps: 10092.775 2000 1270730040 10176.016 100.00% Conn: 1 Mbps: 10176.016 Peak Mbps: 10176.016 Avg Mbps: 10176.016 3000 1269226024 10153.808 100.00% Conn: 1 Mbps: 10153.808 Peak Mbps: 10176.016 Avg Mbps: 10153.808 4000 1268212448 10145.700 100.00% Conn: 1 Mbps: 10145.700 Peak Mbps: 10176.016 Avg Mbps: 10145.700 5000 1273051456 10184.412 100.00% Conn: 1 Mbps: 10184.412 Peak Mbps: 10184.412 Avg Mbps: 10184.412 --- fc00:0:0:1::12 tcpbench statistics --- 7612696820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10092.775/10150.542/10184.412/32.147 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.036 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.036/0.036/0.036/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.039 ms --- fc00::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-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 1268335140 10146.681 100.00% Conn: 1 Mbps: 10146.681 Peak Mbps: 10146.681 Avg Mbps: 10146.681 2000 1267008890 10146.217 100.00% Conn: 1 Mbps: 10146.217 Peak Mbps: 10146.681 Avg Mbps: 10146.217 3000 1265880188 10127.042 100.00% Conn: 1 Mbps: 10127.042 Peak Mbps: 10146.681 Avg Mbps: 10127.042 4000 1263132044 10115.172 100.00% Conn: 1 Mbps: 10115.172 Peak Mbps: 10146.681 Avg Mbps: 10115.172 5000 1265307658 10122.461 100.00% Conn: 1 Mbps: 10122.461 Peak Mbps: 10146.681 Avg Mbps: 10122.461 --- 169.254.0.13 tcpbench statistics --- 7592910470 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10115.172/10131.515/10146.681/12.769 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 1288717988 10309.744 100.00% Conn: 1 Mbps: 10309.744 Peak Mbps: 10309.744 Avg Mbps: 10309.744 2000 1291557392 10342.802 100.00% Conn: 1 Mbps: 10342.802 Peak Mbps: 10342.802 Avg Mbps: 10342.802 3000 1290511120 10324.089 100.00% Conn: 1 Mbps: 10324.089 Peak Mbps: 10342.802 Avg Mbps: 10324.089 4000 1291917048 10335.336 100.00% Conn: 1 Mbps: 10335.336 Peak Mbps: 10342.802 Avg Mbps: 10335.336 5000 1285475936 10283.807 100.00% Conn: 1 Mbps: 10283.807 Peak Mbps: 10342.802 Avg Mbps: 10283.807 --- fc00::13 tcpbench statistics --- 7741862116 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10283.807/10319.156/10342.802/20.897 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.66s