START sys/net/pair 2024-11-12T05:05:20Z ==== 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.047 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.047/0.047/0.047/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.054 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.054/0.054/0.054/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 575411356 4603.291 100.00% Conn: 1 Mbps: 4603.291 Peak Mbps: 4603.291 Avg Mbps: 4603.291 2000 576142572 4613.754 100.00% Conn: 1 Mbps: 4613.754 Peak Mbps: 4613.754 Avg Mbps: 4613.754 3000 576158468 4609.268 100.00% Conn: 1 Mbps: 4609.268 Peak Mbps: 4613.754 Avg Mbps: 4609.268 4000 575705432 4610.254 100.00% Conn: 1 Mbps: 4610.254 Peak Mbps: 4613.754 Avg Mbps: 4610.254 5000 573877392 4591.019 100.00% Conn: 1 Mbps: 4591.019 Peak Mbps: 4613.754 Avg Mbps: 4591.019 --- 169.254.1.11 tcpbench statistics --- 3454542564 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4591.019/4605.517/4613.754/7.994 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 561976280 4495.810 100.00% Conn: 1 Mbps: 4495.810 Peak Mbps: 4495.810 Avg Mbps: 4495.810 2000 560121128 4485.454 100.00% Conn: 1 Mbps: 4485.454 Peak Mbps: 4495.810 Avg Mbps: 4485.454 3000 560247976 4481.984 100.00% Conn: 1 Mbps: 4481.984 Peak Mbps: 4495.810 Avg Mbps: 4481.984 4000 558765440 4470.124 100.00% Conn: 1 Mbps: 4470.124 Peak Mbps: 4495.810 Avg Mbps: 4470.124 5000 559954640 4479.637 100.00% Conn: 1 Mbps: 4479.637 Peak Mbps: 4495.810 Avg Mbps: 4479.637 --- fc00:0:0:1::11 tcpbench statistics --- 3361527496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4470.124/4482.602/4495.810/8.336 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.087 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.087/0.087/0.087/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.178 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.178/0.178/0.178/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 217587360 1740.699 100.00% Conn: 1 Mbps: 1740.699 Peak Mbps: 1740.699 Avg Mbps: 1740.699 2000 216487480 1731.900 100.00% Conn: 1 Mbps: 1731.900 Peak Mbps: 1740.699 Avg Mbps: 1731.900 3001 217358952 1738.872 100.00% Conn: 1 Mbps: 1738.872 Peak Mbps: 1740.699 Avg Mbps: 1738.872 4002 214333216 1714.666 100.00% Conn: 1 Mbps: 1714.666 Peak Mbps: 1740.699 Avg Mbps: 1714.666 5002 215243504 1723.672 100.00% Conn: 1 Mbps: 1723.672 Peak Mbps: 1740.699 Avg Mbps: 1723.672 --- 169.254.1.12 tcpbench statistics --- 1296660072 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1714.666/1729.962/1740.699/9.716 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 208131804 1665.054 100.00% Conn: 1 Mbps: 1665.054 Peak Mbps: 1665.054 Avg Mbps: 1665.054 2000 207918344 1663.347 100.00% Conn: 1 Mbps: 1663.347 Peak Mbps: 1665.054 Avg Mbps: 1663.347 3000 207307616 1658.461 100.00% Conn: 1 Mbps: 1658.461 Peak Mbps: 1665.054 Avg Mbps: 1658.461 4001 207093516 1656.748 100.00% Conn: 1 Mbps: 1656.748 Peak Mbps: 1665.054 Avg Mbps: 1656.748 5001 207669172 1661.353 100.00% Conn: 1 Mbps: 1661.353 Peak Mbps: 1665.054 Avg Mbps: 1661.353 --- fc00:0:0:1::12 tcpbench statistics --- 1245315924 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1656.748/1660.993/1665.054/3.053 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.058 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.058/0.058/0.058/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.087 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.087/0.087/0.087/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 303430796 2427.446 100.00% Conn: 1 Mbps: 2427.446 Peak Mbps: 2427.446 Avg Mbps: 2427.446 2000 302015912 2416.127 100.00% Conn: 1 Mbps: 2416.127 Peak Mbps: 2427.446 Avg Mbps: 2416.127 3000 300990760 2407.926 100.00% Conn: 1 Mbps: 2407.926 Peak Mbps: 2427.446 Avg Mbps: 2407.926 4000 299051168 2392.409 100.00% Conn: 1 Mbps: 2392.409 Peak Mbps: 2427.446 Avg Mbps: 2392.409 5000 299154772 2393.238 100.00% Conn: 1 Mbps: 2393.238 Peak Mbps: 2427.446 Avg Mbps: 2393.238 --- 169.254.0.13 tcpbench statistics --- 1805053684 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2392.409/2407.429/2427.446/13.443 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 289475064 2315.801 100.00% Conn: 1 Mbps: 2315.801 Peak Mbps: 2315.801 Avg Mbps: 2315.801 2000 292099232 2339.133 100.00% Conn: 1 Mbps: 2339.133 Peak Mbps: 2339.133 Avg Mbps: 2339.133 3000 291028952 2328.232 100.00% Conn: 1 Mbps: 2328.232 Peak Mbps: 2339.133 Avg Mbps: 2328.232 4000 293383568 2347.069 100.00% Conn: 1 Mbps: 2347.069 Peak Mbps: 2347.069 Avg Mbps: 2347.069 5000 291187512 2329.500 100.00% Conn: 1 Mbps: 2329.500 Peak Mbps: 2347.069 Avg Mbps: 2329.500 --- fc00::13 tcpbench statistics --- 1748607608 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2315.801/2331.947/2347.069/10.591 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.052 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.052/0.052/0.052/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.047 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-tcpbench-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 218867864 1750.943 100.00% Conn: 1 Mbps: 1750.943 Peak Mbps: 1750.943 Avg Mbps: 1750.943 2001 220362496 1762.900 100.00% Conn: 1 Mbps: 1762.900 Peak Mbps: 1762.900 Avg Mbps: 1762.900 3000 218141944 1746.882 100.00% Conn: 1 Mbps: 1746.882 Peak Mbps: 1762.900 Avg Mbps: 1746.882 4001 218570616 1748.565 100.00% Conn: 1 Mbps: 1748.565 Peak Mbps: 1762.900 Avg Mbps: 1748.565 5001 217469808 1739.758 100.00% Conn: 1 Mbps: 1739.758 Peak Mbps: 1762.900 Avg Mbps: 1739.758 --- 169.254.1.11 tcpbench statistics --- 1313787608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1739.758/1749.810/1762.900/7.534 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 209548568 1676.389 100.00% Conn: 1 Mbps: 1676.389 Peak Mbps: 1676.389 Avg Mbps: 1676.389 2001 209174508 1673.396 100.00% Conn: 1 Mbps: 1673.396 Peak Mbps: 1676.389 Avg Mbps: 1673.396 3001 207679944 1663.103 100.00% Conn: 1 Mbps: 1663.103 Peak Mbps: 1676.389 Avg Mbps: 1663.103 4001 207303292 1658.426 100.00% Conn: 1 Mbps: 1658.426 Peak Mbps: 1676.389 Avg Mbps: 1658.426 5001 208590500 1670.394 100.00% Conn: 1 Mbps: 1670.394 Peak Mbps: 1676.389 Avg Mbps: 1670.394 --- fc00:0:0:1::11 tcpbench statistics --- 1252571928 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1658.426/1668.342/1676.389/6.637 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.043 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.043/0.043/0.043/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 582455104 4659.641 100.00% Conn: 1 Mbps: 4659.641 Peak Mbps: 4659.641 Avg Mbps: 4659.641 2000 575737832 4610.513 100.00% Conn: 1 Mbps: 4610.513 Peak Mbps: 4659.641 Avg Mbps: 4610.513 3000 575994128 4607.953 100.00% Conn: 1 Mbps: 4607.953 Peak Mbps: 4659.641 Avg Mbps: 4607.953 4000 573767104 4590.137 100.00% Conn: 1 Mbps: 4590.137 Peak Mbps: 4659.641 Avg Mbps: 4590.137 5000 576372056 4610.976 100.00% Conn: 1 Mbps: 4610.976 Peak Mbps: 4659.641 Avg Mbps: 4610.976 --- 169.254.1.12 tcpbench statistics --- 3461470064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4590.137/4615.844/4659.641/23.209 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 559594644 4476.757 100.00% Conn: 1 Mbps: 4476.757 Peak Mbps: 4476.757 Avg Mbps: 4476.757 2000 559546092 4476.369 100.00% Conn: 1 Mbps: 4476.369 Peak Mbps: 4476.757 Avg Mbps: 4476.369 3000 558676440 4473.885 100.00% Conn: 1 Mbps: 4473.885 Peak Mbps: 4476.757 Avg Mbps: 4473.885 4000 560695632 4485.565 100.00% Conn: 1 Mbps: 4485.565 Peak Mbps: 4485.565 Avg Mbps: 4485.565 5000 559411860 4475.295 100.00% Conn: 1 Mbps: 4475.295 Peak Mbps: 4485.565 Avg Mbps: 4475.295 --- fc00:0:0:1::12 tcpbench statistics --- 3355344468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4473.885/4477.574/4485.565/4.118 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.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-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.077 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.077/0.077/0.077/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 1061263558 8490.108 100.00% Conn: 1 Mbps: 8490.108 Peak Mbps: 8490.108 Avg Mbps: 8490.108 2000 1066705180 8542.184 100.00% Conn: 1 Mbps: 8542.184 Peak Mbps: 8542.184 Avg Mbps: 8542.184 3000 1069257028 8554.056 100.00% Conn: 1 Mbps: 8554.056 Peak Mbps: 8554.056 Avg Mbps: 8554.056 4000 1062026792 8496.214 100.00% Conn: 1 Mbps: 8496.214 Peak Mbps: 8554.056 Avg Mbps: 8496.214 5000 1058853340 8470.827 100.00% Conn: 1 Mbps: 8470.827 Peak Mbps: 8554.056 Avg Mbps: 8470.827 --- 169.254.0.13 tcpbench statistics --- 6381179602 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8470.827/8510.678/8554.056/31.921 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 1040608172 8324.865 100.00% Conn: 1 Mbps: 8324.865 Peak Mbps: 8324.865 Avg Mbps: 8324.865 2000 1034566832 8284.819 100.00% Conn: 1 Mbps: 8284.819 Peak Mbps: 8324.865 Avg Mbps: 8284.819 3000 1034664920 8277.319 100.00% Conn: 1 Mbps: 8277.319 Peak Mbps: 8324.865 Avg Mbps: 8277.319 4000 1035711192 8293.984 100.00% Conn: 1 Mbps: 8293.984 Peak Mbps: 8324.865 Avg Mbps: 8293.984 5000 1034109088 8272.873 100.00% Conn: 1 Mbps: 8272.873 Peak Mbps: 8324.865 Avg Mbps: 8272.873 --- fc00::13 tcpbench statistics --- 6210466996 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8272.873/8290.772/8324.865/18.490 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.060 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.060/0.060/0.060/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.059 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.059/0.059/0.059/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 217653816 1741.231 100.00% Conn: 1 Mbps: 1741.231 Peak Mbps: 1741.231 Avg Mbps: 1741.231 2001 217815568 1742.525 100.00% Conn: 1 Mbps: 1742.525 Peak Mbps: 1742.525 Avg Mbps: 1742.525 3001 216553824 1732.431 100.00% Conn: 1 Mbps: 1732.431 Peak Mbps: 1742.525 Avg Mbps: 1732.431 4002 217204152 1737.633 100.00% Conn: 1 Mbps: 1737.633 Peak Mbps: 1742.525 Avg Mbps: 1737.633 5002 214801256 1718.410 100.00% Conn: 1 Mbps: 1718.410 Peak Mbps: 1742.525 Avg Mbps: 1718.410 --- 169.254.1.11 tcpbench statistics --- 1302360552 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1718.410/1734.446/1742.525/8.748 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 304605400 2436.843 100.00% Conn: 1 Mbps: 2436.843 Peak Mbps: 2436.843 Avg Mbps: 2436.843 2000 303995752 2434.400 100.00% Conn: 1 Mbps: 2434.400 Peak Mbps: 2436.843 Avg Mbps: 2434.400 3000 303265336 2426.123 100.00% Conn: 1 Mbps: 2426.123 Peak Mbps: 2436.843 Avg Mbps: 2426.123 4000 302358088 2418.865 100.00% Conn: 1 Mbps: 2418.865 Peak Mbps: 2436.843 Avg Mbps: 2418.865 5000 305542936 2446.790 100.00% Conn: 1 Mbps: 2446.790 Peak Mbps: 2446.790 Avg Mbps: 2446.790 --- fc00:0:0:1::11 tcpbench statistics --- 1822823888 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2418.865/2432.604/2446.790/9.521 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.049 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.049/0.049/0.049/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.051 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.051/0.051/0.051/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 1060902356 8487.219 100.00% Conn: 1 Mbps: 8487.219 Peak Mbps: 8487.219 Avg Mbps: 8487.219 2000 1058035440 8472.756 100.00% Conn: 1 Mbps: 8472.756 Peak Mbps: 8487.219 Avg Mbps: 8472.756 3000 1070467520 8563.740 100.00% Conn: 1 Mbps: 8563.740 Peak Mbps: 8563.740 Avg Mbps: 8563.740 4000 1056988516 8455.908 100.00% Conn: 1 Mbps: 8455.908 Peak Mbps: 8563.740 Avg Mbps: 8455.908 5000 1064709504 8517.676 100.00% Conn: 1 Mbps: 8517.676 Peak Mbps: 8563.740 Avg Mbps: 8517.676 --- 169.254.1.12 tcpbench statistics --- 6373490004 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8455.908/8499.460/8563.740/38.009 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 1036617892 8292.943 100.00% Conn: 1 Mbps: 8292.943 Peak Mbps: 8292.943 Avg Mbps: 8292.943 2000 1032049240 8264.659 100.00% Conn: 1 Mbps: 8264.659 Peak Mbps: 8292.943 Avg Mbps: 8264.659 3000 1030806792 8246.454 100.00% Conn: 1 Mbps: 8246.454 Peak Mbps: 8292.943 Avg Mbps: 8246.454 4000 1027864152 8222.913 100.00% Conn: 1 Mbps: 8222.913 Peak Mbps: 8292.943 Avg Mbps: 8222.913 5000 1030316352 8242.531 100.00% Conn: 1 Mbps: 8242.531 Peak Mbps: 8292.943 Avg Mbps: 8242.531 --- fc00:0:0:1::12 tcpbench statistics --- 6190422980 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8222.913/8253.900/8292.943/23.601 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.038 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.038/0.038/0.038/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.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-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 1140630784 9125.046 100.00% Conn: 1 Mbps: 9125.046 Peak Mbps: 9125.046 Avg Mbps: 9125.046 2000 1143456916 9156.812 100.00% Conn: 1 Mbps: 9156.812 Peak Mbps: 9156.812 Avg Mbps: 9156.812 3000 1134983472 9079.868 100.00% Conn: 1 Mbps: 9079.868 Peak Mbps: 9156.812 Avg Mbps: 9079.868 4000 1142966176 9143.729 100.00% Conn: 1 Mbps: 9143.729 Peak Mbps: 9156.812 Avg Mbps: 9143.729 5000 1144700124 9157.601 100.00% Conn: 1 Mbps: 9157.601 Peak Mbps: 9157.601 Avg Mbps: 9157.601 --- 169.254.0.13 tcpbench statistics --- 6848493156 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9079.868/9132.611/9157.601/28.889 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 1094993900 8759.951 100.00% Conn: 1 Mbps: 8759.951 Peak Mbps: 8759.951 Avg Mbps: 8759.951 2000 1102541816 8829.164 100.00% Conn: 1 Mbps: 8829.164 Peak Mbps: 8829.164 Avg Mbps: 8829.164 3000 1102378336 8819.027 100.00% Conn: 1 Mbps: 8819.027 Peak Mbps: 8829.164 Avg Mbps: 8819.027 4000 1101397456 8811.180 100.00% Conn: 1 Mbps: 8811.180 Peak Mbps: 8829.164 Avg Mbps: 8811.180 5000 1097604720 8780.838 100.00% Conn: 1 Mbps: 8780.838 Peak Mbps: 8829.164 Avg Mbps: 8780.838 --- fc00::13 tcpbench statistics --- 6610057092 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8759.951/8800.032/8829.164/25.724 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.87s