START sys/net/pair 2024-03-05T02:48:07Z ==== 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.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 937426860 7499.415 100.00% Conn: 1 Mbps: 7499.415 Peak Mbps: 7499.415 Avg Mbps: 7499.415 2000 937291744 7505.840 100.00% Conn: 1 Mbps: 7505.840 Peak Mbps: 7505.840 Avg Mbps: 7505.840 3000 933365432 7466.923 100.00% Conn: 1 Mbps: 7466.923 Peak Mbps: 7505.840 Avg Mbps: 7466.923 4000 937768624 7502.149 100.00% Conn: 1 Mbps: 7502.149 Peak Mbps: 7505.840 Avg Mbps: 7502.149 5000 938507788 7508.062 100.00% Conn: 1 Mbps: 7508.062 Peak Mbps: 7508.062 Avg Mbps: 7508.062 --- 169.254.1.11 tcpbench statistics --- 5621199156 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7466.923/7496.478/7508.062/15.074 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 959946024 7679.568 100.00% Conn: 1 Mbps: 7679.568 Peak Mbps: 7679.568 Avg Mbps: 7679.568 2000 960532696 7691.954 100.00% Conn: 1 Mbps: 7691.954 Peak Mbps: 7691.954 Avg Mbps: 7691.954 3000 961309640 7698.175 100.00% Conn: 1 Mbps: 7698.175 Peak Mbps: 7698.175 Avg Mbps: 7698.175 4000 958693400 7669.547 100.00% Conn: 1 Mbps: 7669.547 Peak Mbps: 7698.175 Avg Mbps: 7669.547 5000 959700256 7677.602 100.00% Conn: 1 Mbps: 7677.602 Peak Mbps: 7698.175 Avg Mbps: 7677.602 --- fc00:0:0:1::11 tcpbench statistics --- 5759588936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7669.547/7683.369/7698.175/10.312 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.060 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.060/0.060/0.060/0.000 ms ==== run-ping6-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.124 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.124/0.124/0.124/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 280780688 2246.246 100.00% Conn: 1 Mbps: 2246.246 Peak Mbps: 2246.246 Avg Mbps: 2246.246 2000 281427264 2251.418 100.00% Conn: 1 Mbps: 2251.418 Peak Mbps: 2251.418 Avg Mbps: 2251.418 3000 281669472 2253.356 100.00% Conn: 1 Mbps: 2253.356 Peak Mbps: 2253.356 Avg Mbps: 2253.356 4001 281631768 2253.054 100.00% Conn: 1 Mbps: 2253.054 Peak Mbps: 2253.356 Avg Mbps: 2253.054 5001 281475608 2251.805 100.00% Conn: 1 Mbps: 2251.805 Peak Mbps: 2253.356 Avg Mbps: 2251.805 --- 169.254.1.12 tcpbench statistics --- 1689256800 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2246.246/2251.176/2253.356/2.571 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 270591740 2164.734 100.00% Conn: 1 Mbps: 2164.734 Peak Mbps: 2164.734 Avg Mbps: 2164.734 2000 270813344 2168.675 100.00% Conn: 1 Mbps: 2168.675 Peak Mbps: 2168.675 Avg Mbps: 2168.675 3001 271246396 2169.971 100.00% Conn: 1 Mbps: 2169.971 Peak Mbps: 2169.971 Avg Mbps: 2169.971 4000 271747680 2176.158 100.00% Conn: 1 Mbps: 2176.158 Peak Mbps: 2176.158 Avg Mbps: 2176.158 5000 271812096 2174.497 100.00% Conn: 1 Mbps: 2174.497 Peak Mbps: 2176.158 Avg Mbps: 2174.497 --- fc00:0:0:1::12 tcpbench statistics --- 1627711736 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2164.734/2170.807/2176.158/4.108 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.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 451152324 3609.219 100.00% Conn: 1 Mbps: 3609.219 Peak Mbps: 3609.219 Avg Mbps: 3609.219 2000 451255648 3613.659 100.00% Conn: 1 Mbps: 3613.659 Peak Mbps: 3613.659 Avg Mbps: 3613.659 3000 451025156 3611.813 100.00% Conn: 1 Mbps: 3611.813 Peak Mbps: 3613.659 Avg Mbps: 3611.813 4000 453075740 3624.606 100.00% Conn: 1 Mbps: 3624.606 Peak Mbps: 3624.606 Avg Mbps: 3624.606 5000 453393660 3627.149 100.00% Conn: 1 Mbps: 3627.149 Peak Mbps: 3627.149 Avg Mbps: 3627.149 --- 169.254.0.13 tcpbench statistics --- 2713073644 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3609.219/3617.289/3627.149/7.198 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 403598624 3228.789 100.00% Conn: 1 Mbps: 3228.789 Peak Mbps: 3228.789 Avg Mbps: 3228.789 2000 405889816 3247.119 100.00% Conn: 1 Mbps: 3247.119 Peak Mbps: 3247.119 Avg Mbps: 3247.119 3000 405208008 3241.664 100.00% Conn: 1 Mbps: 3241.664 Peak Mbps: 3247.119 Avg Mbps: 3241.664 4000 405866032 3246.928 100.00% Conn: 1 Mbps: 3246.928 Peak Mbps: 3247.119 Avg Mbps: 3246.928 5000 406088016 3248.704 100.00% Conn: 1 Mbps: 3248.704 Peak Mbps: 3248.704 Avg Mbps: 3248.704 --- fc00::13 tcpbench statistics --- 2432389680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3228.789/3242.641/3248.704/7.322 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.043 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.043/0.043/0.043/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.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-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 282950616 2263.605 100.00% Conn: 1 Mbps: 2263.605 Peak Mbps: 2263.605 Avg Mbps: 2263.605 2000 283172208 2267.645 100.00% Conn: 1 Mbps: 2267.645 Peak Mbps: 2267.645 Avg Mbps: 2267.645 3001 283538168 2268.305 100.00% Conn: 1 Mbps: 2268.305 Peak Mbps: 2268.305 Avg Mbps: 2268.305 4001 283334664 2266.677 100.00% Conn: 1 Mbps: 2266.677 Peak Mbps: 2268.305 Avg Mbps: 2266.677 5001 283388464 2267.108 100.00% Conn: 1 Mbps: 2267.108 Peak Mbps: 2268.305 Avg Mbps: 2267.108 --- 169.254.1.11 tcpbench statistics --- 1699135904 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2263.605/2266.668/2268.305/1.626 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 274198952 2193.592 100.00% Conn: 1 Mbps: 2193.592 Peak Mbps: 2193.592 Avg Mbps: 2193.592 2000 274509728 2198.276 100.00% Conn: 1 Mbps: 2198.276 Peak Mbps: 2198.276 Avg Mbps: 2198.276 3001 274764548 2198.116 100.00% Conn: 1 Mbps: 2198.116 Peak Mbps: 2198.276 Avg Mbps: 2198.116 4001 274500340 2196.003 100.00% Conn: 1 Mbps: 2196.003 Peak Mbps: 2198.276 Avg Mbps: 2196.003 5002 274595296 2196.762 100.00% Conn: 1 Mbps: 2196.762 Peak Mbps: 2198.276 Avg Mbps: 2196.762 --- fc00:0:0:1::11 tcpbench statistics --- 1646460608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2193.592/2196.550/2198.276/1.705 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.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 938377848 7507.023 100.00% Conn: 1 Mbps: 7507.023 Peak Mbps: 7507.023 Avg Mbps: 7507.023 2000 939608648 7524.394 100.00% Conn: 1 Mbps: 7524.394 Peak Mbps: 7524.394 Avg Mbps: 7524.394 3000 942506096 7540.049 100.00% Conn: 1 Mbps: 7540.049 Peak Mbps: 7540.049 Avg Mbps: 7540.049 4000 942278760 7538.230 100.00% Conn: 1 Mbps: 7538.230 Peak Mbps: 7540.049 Avg Mbps: 7538.230 5000 941931240 7542.993 100.00% Conn: 1 Mbps: 7542.993 Peak Mbps: 7542.993 Avg Mbps: 7542.993 --- 169.254.1.12 tcpbench statistics --- 5645782408 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7507.023/7530.538/7542.993/13.383 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 961910796 7695.286 100.00% Conn: 1 Mbps: 7695.286 Peak Mbps: 7695.286 Avg Mbps: 7695.286 2000 963884292 7718.793 100.00% Conn: 1 Mbps: 7718.793 Peak Mbps: 7718.793 Avg Mbps: 7718.793 3000 962807580 7702.461 100.00% Conn: 1 Mbps: 7702.461 Peak Mbps: 7718.793 Avg Mbps: 7702.461 4000 963377352 7714.734 100.00% Conn: 1 Mbps: 7714.734 Peak Mbps: 7718.793 Avg Mbps: 7714.734 5000 962184972 7697.480 100.00% Conn: 1 Mbps: 7697.480 Peak Mbps: 7718.793 Avg Mbps: 7697.480 --- fc00:0:0:1::12 tcpbench statistics --- 5775575988 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7695.286/7705.751/7718.793/9.376 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.046 ms --- fc00::13 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-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 1372266238 10978.130 100.00% Conn: 1 Mbps: 10978.130 Peak Mbps: 10978.130 Avg Mbps: 10978.130 2000 1383690504 11080.605 100.00% Conn: 1 Mbps: 11080.605 Peak Mbps: 11080.605 Avg Mbps: 11080.605 3000 1367201640 10937.613 100.00% Conn: 1 Mbps: 10937.613 Peak Mbps: 11080.605 Avg Mbps: 10937.613 4000 1407475036 11259.800 100.00% Conn: 1 Mbps: 11259.800 Peak Mbps: 11259.800 Avg Mbps: 11259.800 5000 1387092968 11096.744 100.00% Conn: 1 Mbps: 11096.744 Peak Mbps: 11259.800 Avg Mbps: 11096.744 --- 169.254.0.13 tcpbench statistics --- 8301907630 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10937.613/11070.578/11259.800/112.086 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 1298405652 10387.245 100.00% Conn: 1 Mbps: 10387.245 Peak Mbps: 10387.245 Avg Mbps: 10387.245 2000 1303818392 10440.988 100.00% Conn: 1 Mbps: 10440.988 Peak Mbps: 10440.988 Avg Mbps: 10440.988 3000 1306532160 10452.257 100.00% Conn: 1 Mbps: 10452.257 Peak Mbps: 10452.257 Avg Mbps: 10452.257 4000 1319872128 10558.977 100.00% Conn: 1 Mbps: 10558.977 Peak Mbps: 10558.977 Avg Mbps: 10558.977 5000 1306205200 10449.642 100.00% Conn: 1 Mbps: 10449.642 Peak Mbps: 10558.977 Avg Mbps: 10449.642 --- fc00::13 tcpbench statistics --- 7875304140 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10387.245/10457.822/10558.977/55.847 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.051 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 279783312 2238.266 100.00% Conn: 1 Mbps: 2238.266 Peak Mbps: 2238.266 Avg Mbps: 2238.266 2001 280185104 2241.481 100.00% Conn: 1 Mbps: 2241.481 Peak Mbps: 2241.481 Avg Mbps: 2241.481 3001 280160432 2243.527 100.00% Conn: 1 Mbps: 2243.527 Peak Mbps: 2243.527 Avg Mbps: 2243.527 4000 280224480 2244.040 100.00% Conn: 1 Mbps: 2244.040 Peak Mbps: 2244.040 Avg Mbps: 2244.040 5001 280294264 2242.354 100.00% Conn: 1 Mbps: 2242.354 Peak Mbps: 2244.040 Avg Mbps: 2242.354 --- 169.254.1.11 tcpbench statistics --- 1680284072 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2238.266/2241.934/2244.040/2.040 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 436327072 3490.617 100.00% Conn: 1 Mbps: 3490.617 Peak Mbps: 3490.617 Avg Mbps: 3490.617 2000 434758088 3478.065 100.00% Conn: 1 Mbps: 3478.065 Peak Mbps: 3490.617 Avg Mbps: 3478.065 3001 434286848 3474.295 100.00% Conn: 1 Mbps: 3474.295 Peak Mbps: 3490.617 Avg Mbps: 3474.295 4001 434086608 3472.693 100.00% Conn: 1 Mbps: 3472.693 Peak Mbps: 3490.617 Avg Mbps: 3472.693 5001 433988304 3475.382 100.00% Conn: 1 Mbps: 3475.382 Peak Mbps: 3490.617 Avg Mbps: 3475.382 --- fc00:0:0:1::11 tcpbench statistics --- 2607837968 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3472.693/3478.210/3490.617/6.445 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.044 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.044/0.044/0.044/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 1356985678 10855.885 100.00% Conn: 1 Mbps: 10855.885 Peak Mbps: 10855.885 Avg Mbps: 10855.885 2000 1330886880 10657.753 100.00% Conn: 1 Mbps: 10657.753 Peak Mbps: 10855.885 Avg Mbps: 10657.753 3000 1385882476 11087.060 100.00% Conn: 1 Mbps: 11087.060 Peak Mbps: 11087.060 Avg Mbps: 11087.060 4000 1336448600 10691.589 100.00% Conn: 1 Mbps: 10691.589 Peak Mbps: 11087.060 Avg Mbps: 10691.589 5000 1377932488 11023.460 100.00% Conn: 1 Mbps: 11023.460 Peak Mbps: 11087.060 Avg Mbps: 11023.460 --- 169.254.1.12 tcpbench statistics --- 8150822954 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10657.753/10863.149/11087.060/171.761 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 1327568252 10620.546 100.00% Conn: 1 Mbps: 10620.546 Peak Mbps: 10620.546 Avg Mbps: 10620.546 2000 1278053944 10234.666 100.00% Conn: 1 Mbps: 10234.666 Peak Mbps: 10620.546 Avg Mbps: 10234.666 3000 1321833888 10574.671 100.00% Conn: 1 Mbps: 10574.671 Peak Mbps: 10620.546 Avg Mbps: 10574.671 4000 1301235408 10409.883 100.00% Conn: 1 Mbps: 10409.883 Peak Mbps: 10620.546 Avg Mbps: 10409.883 5000 1336383608 10691.069 100.00% Conn: 1 Mbps: 10691.069 Peak Mbps: 10691.069 Avg Mbps: 10691.069 --- fc00:0:0:1::12 tcpbench statistics --- 7860261748 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10234.666/10506.167/10691.069/164.285 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.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-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 1399805034 11198.440 100.00% Conn: 1 Mbps: 11198.440 Peak Mbps: 11198.440 Avg Mbps: 11198.440 2000 1421902792 11386.609 100.00% Conn: 1 Mbps: 11386.609 Peak Mbps: 11386.609 Avg Mbps: 11386.609 3000 1413134904 11305.079 100.00% Conn: 1 Mbps: 11305.079 Peak Mbps: 11386.609 Avg Mbps: 11305.079 4000 1411957128 11295.657 100.00% Conn: 1 Mbps: 11295.657 Peak Mbps: 11386.609 Avg Mbps: 11295.657 5000 1413691076 11309.529 100.00% Conn: 1 Mbps: 11309.529 Peak Mbps: 11386.609 Avg Mbps: 11309.529 --- 169.254.0.13 tcpbench statistics --- 8470583250 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11198.440/11299.063/11386.609/59.911 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 1412662832 11301.303 100.00% Conn: 1 Mbps: 11301.303 Peak Mbps: 11301.303 Avg Mbps: 11301.303 2000 1419169880 11364.724 100.00% Conn: 1 Mbps: 11364.724 Peak Mbps: 11364.724 Avg Mbps: 11364.724 3000 1427147704 11417.182 100.00% Conn: 1 Mbps: 11417.182 Peak Mbps: 11417.182 Avg Mbps: 11417.182 4000 1439245224 11513.962 100.00% Conn: 1 Mbps: 11513.962 Peak Mbps: 11513.962 Avg Mbps: 11513.962 5000 1432771416 11462.171 100.00% Conn: 1 Mbps: 11462.171 Peak Mbps: 11513.962 Avg Mbps: 11462.171 --- fc00::13 tcpbench statistics --- 8563768472 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11301.303/11411.868/11513.962/74.066 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.86s