START sys/net/pair 2024-12-25T22:29:40Z ==== 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.051 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.051/0.051/0.051/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.043 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 641236692 5129.894 100.00% Conn: 1 Mbps: 5129.894 Peak Mbps: 5129.894 Avg Mbps: 5129.894 2000 638057492 5109.570 100.00% Conn: 1 Mbps: 5109.570 Peak Mbps: 5129.894 Avg Mbps: 5109.570 3000 639241744 5113.934 100.00% Conn: 1 Mbps: 5113.934 Peak Mbps: 5129.894 Avg Mbps: 5113.934 4000 638597956 5113.898 100.00% Conn: 1 Mbps: 5113.898 Peak Mbps: 5129.894 Avg Mbps: 5113.898 5000 641610248 5132.882 100.00% Conn: 1 Mbps: 5132.882 Peak Mbps: 5132.882 Avg Mbps: 5132.882 --- 169.254.1.11 tcpbench statistics --- 3837803072 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5109.570/5120.035/5132.882/9.451 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 658935720 5271.486 100.00% Conn: 1 Mbps: 5271.486 Peak Mbps: 5271.486 Avg Mbps: 5271.486 2000 659260768 5274.086 100.00% Conn: 1 Mbps: 5274.086 Peak Mbps: 5274.086 Avg Mbps: 5274.086 3000 655471184 5243.769 100.00% Conn: 1 Mbps: 5243.769 Peak Mbps: 5274.086 Avg Mbps: 5243.769 4000 655867584 5246.941 100.00% Conn: 1 Mbps: 5246.941 Peak Mbps: 5274.086 Avg Mbps: 5246.941 5000 654995504 5239.964 100.00% Conn: 1 Mbps: 5239.964 Peak Mbps: 5274.086 Avg Mbps: 5239.964 --- fc00:0:0:1::11 tcpbench statistics --- 3940485552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5239.964/5255.249/5274.086/14.511 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.074 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.074/0.074/0.074/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.155 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.155/0.155/0.155/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 214951280 1719.610 100.00% Conn: 1 Mbps: 1719.610 Peak Mbps: 1719.610 Avg Mbps: 1719.610 2000 213853592 1712.541 100.00% Conn: 1 Mbps: 1712.541 Peak Mbps: 1719.610 Avg Mbps: 1712.541 3000 215858520 1726.868 100.00% Conn: 1 Mbps: 1726.868 Peak Mbps: 1726.868 Avg Mbps: 1726.868 4001 215130896 1721.047 100.00% Conn: 1 Mbps: 1721.047 Peak Mbps: 1726.868 Avg Mbps: 1721.047 5001 214639528 1717.116 100.00% Conn: 1 Mbps: 1717.116 Peak Mbps: 1726.868 Avg Mbps: 1717.116 --- 169.254.1.12 tcpbench statistics --- 1291648168 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1712.541/1719.437/1726.868/4.707 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 205216848 1641.735 100.00% Conn: 1 Mbps: 1641.735 Peak Mbps: 1641.735 Avg Mbps: 1641.735 2001 209357708 1673.188 100.00% Conn: 1 Mbps: 1673.188 Peak Mbps: 1673.188 Avg Mbps: 1673.188 3001 207397912 1659.183 100.00% Conn: 1 Mbps: 1659.183 Peak Mbps: 1673.188 Avg Mbps: 1659.183 4002 206771416 1654.171 100.00% Conn: 1 Mbps: 1654.171 Peak Mbps: 1673.188 Avg Mbps: 1654.171 5002 207540132 1660.321 100.00% Conn: 1 Mbps: 1660.321 Peak Mbps: 1673.188 Avg Mbps: 1660.321 --- fc00:0:0:1::12 tcpbench statistics --- 1242347272 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1641.735/1657.720/1673.188/10.162 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.070 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.070/0.070/0.070/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.066 ms --- fc00::13 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-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 339204184 2713.633 100.00% Conn: 1 Mbps: 2713.633 Peak Mbps: 2713.633 Avg Mbps: 2713.633 2000 338155328 2707.951 100.00% Conn: 1 Mbps: 2707.951 Peak Mbps: 2713.633 Avg Mbps: 2707.951 3000 340618648 2724.949 100.00% Conn: 1 Mbps: 2724.949 Peak Mbps: 2724.949 Avg Mbps: 2724.949 4000 341119512 2728.956 100.00% Conn: 1 Mbps: 2728.956 Peak Mbps: 2728.956 Avg Mbps: 2728.956 5000 340833384 2729.396 100.00% Conn: 1 Mbps: 2729.396 Peak Mbps: 2729.396 Avg Mbps: 2729.396 --- 169.254.0.13 tcpbench statistics --- 2043855512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2707.951/2720.977/2729.396/8.648 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 309207856 2473.663 100.00% Conn: 1 Mbps: 2473.663 Peak Mbps: 2473.663 Avg Mbps: 2473.663 2000 308351632 2469.282 100.00% Conn: 1 Mbps: 2469.282 Peak Mbps: 2473.663 Avg Mbps: 2469.282 3000 308392832 2467.143 100.00% Conn: 1 Mbps: 2467.143 Peak Mbps: 2473.663 Avg Mbps: 2467.143 4000 309358488 2474.868 100.00% Conn: 1 Mbps: 2474.868 Peak Mbps: 2474.868 Avg Mbps: 2474.868 5000 308598440 2468.788 100.00% Conn: 1 Mbps: 2468.788 Peak Mbps: 2474.868 Avg Mbps: 2468.788 --- fc00::13 tcpbench statistics --- 1852413072 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2467.143/2470.749/2474.868/2.982 Mbps ==== run-ping-2-1 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.054 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.054/0.054/0.054/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.057 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.057/0.057/0.057/0.000 ms ==== run-tcpbench-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 220733808 1765.870 100.00% Conn: 1 Mbps: 1765.870 Peak Mbps: 1765.870 Avg Mbps: 1765.870 2000 220948848 1767.591 100.00% Conn: 1 Mbps: 1767.591 Peak Mbps: 1767.591 Avg Mbps: 1767.591 3001 220558280 1764.466 100.00% Conn: 1 Mbps: 1764.466 Peak Mbps: 1767.591 Avg Mbps: 1764.466 4002 220857960 1766.864 100.00% Conn: 1 Mbps: 1766.864 Peak Mbps: 1767.591 Avg Mbps: 1766.864 5002 222004608 1776.037 100.00% Conn: 1 Mbps: 1776.037 Peak Mbps: 1776.037 Avg Mbps: 1776.037 --- 169.254.1.11 tcpbench statistics --- 1325543544 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1764.466/1768.166/1776.037/4.073 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 207210744 1657.686 100.00% Conn: 1 Mbps: 1657.686 Peak Mbps: 1657.686 Avg Mbps: 1657.686 2000 207850996 1662.808 100.00% Conn: 1 Mbps: 1662.808 Peak Mbps: 1662.808 Avg Mbps: 1662.808 3001 209256644 1674.053 100.00% Conn: 1 Mbps: 1674.053 Peak Mbps: 1674.053 Avg Mbps: 1674.053 4001 207780304 1662.242 100.00% Conn: 1 Mbps: 1662.242 Peak Mbps: 1674.053 Avg Mbps: 1662.242 5001 209349408 1674.795 100.00% Conn: 1 Mbps: 1674.795 Peak Mbps: 1674.795 Avg Mbps: 1674.795 --- fc00:0:0:1::11 tcpbench statistics --- 1249901964 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1657.686/1666.317/1674.795/6.858 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.045 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.045/0.045/0.045/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 608983912 4871.871 100.00% Conn: 1 Mbps: 4871.871 Peak Mbps: 4871.871 Avg Mbps: 4871.871 2000 603787040 4835.131 100.00% Conn: 1 Mbps: 4835.131 Peak Mbps: 4871.871 Avg Mbps: 4835.131 3000 602767648 4822.141 100.00% Conn: 1 Mbps: 4822.141 Peak Mbps: 4871.871 Avg Mbps: 4822.141 4000 601355848 4810.847 100.00% Conn: 1 Mbps: 4810.847 Peak Mbps: 4871.871 Avg Mbps: 4810.847 5000 603328024 4826.624 100.00% Conn: 1 Mbps: 4826.624 Peak Mbps: 4871.871 Avg Mbps: 4826.624 --- 169.254.1.12 tcpbench statistics --- 3623282616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4810.847/4833.323/4871.871/20.805 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 618207724 4945.662 100.00% Conn: 1 Mbps: 4945.662 Peak Mbps: 4945.662 Avg Mbps: 4945.662 2000 618085524 4949.634 100.00% Conn: 1 Mbps: 4949.634 Peak Mbps: 4949.634 Avg Mbps: 4949.634 3000 619133676 4953.069 100.00% Conn: 1 Mbps: 4953.069 Peak Mbps: 4953.069 Avg Mbps: 4953.069 4000 622445208 4984.546 100.00% Conn: 1 Mbps: 4984.546 Peak Mbps: 4984.546 Avg Mbps: 4984.546 5000 618773820 4950.191 100.00% Conn: 1 Mbps: 4950.191 Peak Mbps: 4984.546 Avg Mbps: 4950.191 --- fc00:0:0:1::12 tcpbench statistics --- 3718452844 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4945.662/4956.620/4984.546/14.161 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.047 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.047/0.047/0.047/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.052 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/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 1085943762 8687.550 100.00% Conn: 1 Mbps: 8687.550 Peak Mbps: 8687.550 Avg Mbps: 8687.550 2000 1071432642 8580.041 100.00% Conn: 1 Mbps: 8580.041 Peak Mbps: 8687.550 Avg Mbps: 8580.041 3000 1073052084 8584.417 100.00% Conn: 1 Mbps: 8584.417 Peak Mbps: 8687.550 Avg Mbps: 8584.417 4000 1077076152 8616.609 100.00% Conn: 1 Mbps: 8616.609 Peak Mbps: 8687.550 Avg Mbps: 8616.609 5000 1076127388 8609.019 100.00% Conn: 1 Mbps: 8609.019 Peak Mbps: 8687.550 Avg Mbps: 8609.019 --- 169.254.0.13 tcpbench statistics --- 6456504174 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8580.041/8615.527/8687.550/38.621 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 1045851200 8366.810 100.00% Conn: 1 Mbps: 8366.810 Peak Mbps: 8366.810 Avg Mbps: 8366.810 2000 1034861096 8287.176 100.00% Conn: 1 Mbps: 8287.176 Peak Mbps: 8366.810 Avg Mbps: 8287.176 3000 1037476776 8299.814 100.00% Conn: 1 Mbps: 8299.814 Peak Mbps: 8366.810 Avg Mbps: 8299.814 4000 1032180024 8257.440 100.00% Conn: 1 Mbps: 8257.440 Peak Mbps: 8366.810 Avg Mbps: 8257.440 5000 1035057272 8280.458 100.00% Conn: 1 Mbps: 8280.458 Peak Mbps: 8366.810 Avg Mbps: 8280.458 --- fc00::13 tcpbench statistics --- 6212865472 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8257.440/8298.340/8366.810/36.898 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.061 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.061/0.061/0.061/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.060 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.060/0.060/0.060/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 215373840 1721.269 100.00% Conn: 1 Mbps: 1721.269 Peak Mbps: 1721.269 Avg Mbps: 1721.269 2001 216755624 1734.045 100.00% Conn: 1 Mbps: 1734.045 Peak Mbps: 1734.045 Avg Mbps: 1734.045 3000 216260128 1731.813 100.00% Conn: 1 Mbps: 1731.813 Peak Mbps: 1734.045 Avg Mbps: 1731.813 4001 216851464 1734.812 100.00% Conn: 1 Mbps: 1734.812 Peak Mbps: 1734.812 Avg Mbps: 1734.812 5002 216270816 1730.167 100.00% Conn: 1 Mbps: 1730.167 Peak Mbps: 1734.812 Avg Mbps: 1730.167 --- 169.254.1.11 tcpbench statistics --- 1295765560 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1721.269/1730.421/1734.812/4.861 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 317052504 2536.420 100.00% Conn: 1 Mbps: 2536.420 Peak Mbps: 2536.420 Avg Mbps: 2536.420 2001 314058648 2512.469 100.00% Conn: 1 Mbps: 2512.469 Peak Mbps: 2536.420 Avg Mbps: 2512.469 3001 315634992 2525.080 100.00% Conn: 1 Mbps: 2525.080 Peak Mbps: 2536.420 Avg Mbps: 2525.080 4001 312175472 2499.904 100.00% Conn: 1 Mbps: 2499.904 Peak Mbps: 2536.420 Avg Mbps: 2499.904 5001 314546280 2516.370 100.00% Conn: 1 Mbps: 2516.370 Peak Mbps: 2536.420 Avg Mbps: 2516.370 --- fc00:0:0:1::11 tcpbench statistics --- 1887154728 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2499.904/2518.049/2536.420/12.249 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.055 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.055/0.055/0.055/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.061 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.061/0.061/0.061/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 1057713736 8461.710 100.00% Conn: 1 Mbps: 8461.710 Peak Mbps: 8461.710 Avg Mbps: 8461.710 2000 1067784808 8550.829 100.00% Conn: 1 Mbps: 8550.829 Peak Mbps: 8550.829 Avg Mbps: 8550.829 3000 1052768164 8422.145 100.00% Conn: 1 Mbps: 8422.145 Peak Mbps: 8550.829 Avg Mbps: 8422.145 4000 1067719376 8541.755 100.00% Conn: 1 Mbps: 8541.755 Peak Mbps: 8550.829 Avg Mbps: 8541.755 5000 1061323398 8490.587 100.00% Conn: 1 Mbps: 8490.587 Peak Mbps: 8550.829 Avg Mbps: 8490.587 --- 169.254.1.12 tcpbench statistics --- 6376157560 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8422.145/8493.405/8550.829/48.427 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 1053867264 8430.938 100.00% Conn: 1 Mbps: 8430.938 Peak Mbps: 8430.938 Avg Mbps: 8430.938 2000 1046925920 8383.791 100.00% Conn: 1 Mbps: 8383.791 Peak Mbps: 8430.938 Avg Mbps: 8383.791 3000 1050359000 8402.872 100.00% Conn: 1 Mbps: 8402.872 Peak Mbps: 8430.938 Avg Mbps: 8402.872 4000 1048462632 8387.701 100.00% Conn: 1 Mbps: 8387.701 Peak Mbps: 8430.938 Avg Mbps: 8387.701 5000 1049803168 8398.425 100.00% Conn: 1 Mbps: 8398.425 Peak Mbps: 8430.938 Avg Mbps: 8398.425 --- fc00:0:0:1::12 tcpbench statistics --- 6298894192 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8383.791/8400.746/8430.938/16.608 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.050 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.050/0.050/0.050/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.045 ms --- fc00::13 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-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 1129021216 9032.170 100.00% Conn: 1 Mbps: 9032.170 Peak Mbps: 9032.170 Avg Mbps: 9032.170 2000 1128456630 9036.690 100.00% Conn: 1 Mbps: 9036.690 Peak Mbps: 9036.690 Avg Mbps: 9036.690 3000 1128260334 9026.083 100.00% Conn: 1 Mbps: 9026.083 Peak Mbps: 9036.690 Avg Mbps: 9026.083 4000 1129405394 9035.243 100.00% Conn: 1 Mbps: 9035.243 Peak Mbps: 9036.690 Avg Mbps: 9035.243 5000 1130779466 9046.236 100.00% Conn: 1 Mbps: 9046.236 Peak Mbps: 9046.236 Avg Mbps: 9046.236 --- 169.254.0.13 tcpbench statistics --- 6775017632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9026.083/9035.284/9046.236/6.577 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 1087939352 8703.515 100.00% Conn: 1 Mbps: 8703.515 Peak Mbps: 8703.515 Avg Mbps: 8703.515 2000 1091523264 8740.927 100.00% Conn: 1 Mbps: 8740.927 Peak Mbps: 8740.927 Avg Mbps: 8740.927 3000 1091686744 8733.494 100.00% Conn: 1 Mbps: 8733.494 Peak Mbps: 8740.927 Avg Mbps: 8733.494 4000 1093386936 8747.095 100.00% Conn: 1 Mbps: 8747.095 Peak Mbps: 8747.095 Avg Mbps: 8747.095 5000 1099174128 8793.393 100.00% Conn: 1 Mbps: 8793.393 Peak Mbps: 8793.393 Avg Mbps: 8793.393 --- fc00::13 tcpbench statistics --- 6557685888 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8703.515/8743.685/8793.393/29.009 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.85s