START sys/net/pair 2023-12-05T05:10:53Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.039 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.050 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.050/0.050/0.050/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 465673320 3725.387 100.00% Conn: 1 Mbps: 3725.387 Peak Mbps: 3725.387 Avg Mbps: 3725.387 2000 466436328 3735.226 100.00% Conn: 1 Mbps: 3735.226 Peak Mbps: 3735.226 Avg Mbps: 3735.226 3000 468471016 3747.768 100.00% Conn: 1 Mbps: 3747.768 Peak Mbps: 3747.768 Avg Mbps: 3747.768 4000 468876364 3751.011 100.00% Conn: 1 Mbps: 3751.011 Peak Mbps: 3751.011 Avg Mbps: 3751.011 5000 465728956 3725.832 100.00% Conn: 1 Mbps: 3725.832 Peak Mbps: 3751.011 Avg Mbps: 3725.832 --- 169.254.1.11 tcpbench statistics --- 2801805116 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3725.387/3737.045/3751.011/10.724 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 462879920 3703.039 100.00% Conn: 1 Mbps: 3703.039 Peak Mbps: 3703.039 Avg Mbps: 3703.039 2000 465175400 3721.403 100.00% Conn: 1 Mbps: 3721.403 Peak Mbps: 3721.403 Avg Mbps: 3721.403 3000 462567088 3704.241 100.00% Conn: 1 Mbps: 3704.241 Peak Mbps: 3721.403 Avg Mbps: 3704.241 4000 462773216 3702.186 100.00% Conn: 1 Mbps: 3702.186 Peak Mbps: 3721.403 Avg Mbps: 3702.186 5000 463011056 3704.088 100.00% Conn: 1 Mbps: 3704.088 Peak Mbps: 3721.403 Avg Mbps: 3704.088 --- fc00:0:0:1::11 tcpbench statistics --- 2781891272 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3702.186/3706.992/3721.403/7.244 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.142 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.142/0.142/0.142/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 224259448 1794.076 100.00% Conn: 1 Mbps: 1794.076 Peak Mbps: 1794.076 Avg Mbps: 1794.076 2000 227378496 1819.028 100.00% Conn: 1 Mbps: 1819.028 Peak Mbps: 1819.028 Avg Mbps: 1819.028 3000 223812128 1792.289 100.00% Conn: 1 Mbps: 1792.289 Peak Mbps: 1819.028 Avg Mbps: 1792.289 4001 227775192 1822.202 100.00% Conn: 1 Mbps: 1822.202 Peak Mbps: 1822.202 Avg Mbps: 1822.202 5001 227803904 1822.431 100.00% Conn: 1 Mbps: 1822.431 Peak Mbps: 1822.431 Avg Mbps: 1822.431 --- 169.254.1.12 tcpbench statistics --- 1354104560 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1792.289/1810.005/1822.431/13.800 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 216298552 1730.388 100.00% Conn: 1 Mbps: 1730.388 Peak Mbps: 1730.388 Avg Mbps: 1730.388 2000 223429376 1787.435 100.00% Conn: 1 Mbps: 1787.435 Peak Mbps: 1787.435 Avg Mbps: 1787.435 3000 222625836 1781.007 100.00% Conn: 1 Mbps: 1781.007 Peak Mbps: 1787.435 Avg Mbps: 1781.007 4000 221393896 1772.924 100.00% Conn: 1 Mbps: 1772.924 Peak Mbps: 1787.435 Avg Mbps: 1772.924 5000 222016688 1776.134 100.00% Conn: 1 Mbps: 1776.134 Peak Mbps: 1787.435 Avg Mbps: 1776.134 --- fc00:0:0:1::12 tcpbench statistics --- 1328623344 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1730.388/1769.578/1787.435/20.196 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.064 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.064/0.064/0.064/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.085 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.085/0.085/0.085/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 262164780 2097.318 100.00% Conn: 1 Mbps: 2097.318 Peak Mbps: 2097.318 Avg Mbps: 2097.318 2000 261489200 2094.008 100.00% Conn: 1 Mbps: 2094.008 Peak Mbps: 2097.318 Avg Mbps: 2094.008 3000 261473304 2091.786 100.00% Conn: 1 Mbps: 2091.786 Peak Mbps: 2097.318 Avg Mbps: 2091.786 4000 261640212 2093.122 100.00% Conn: 1 Mbps: 2093.122 Peak Mbps: 2097.318 Avg Mbps: 2093.122 5000 261894548 2095.156 100.00% Conn: 1 Mbps: 2095.156 Peak Mbps: 2097.318 Avg Mbps: 2095.156 --- 169.254.0.13 tcpbench statistics --- 1570381736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2091.786/2094.278/2097.318/1.878 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 236151336 1889.211 100.00% Conn: 1 Mbps: 1889.211 Peak Mbps: 1889.211 Avg Mbps: 1889.211 2000 235659800 1887.166 100.00% Conn: 1 Mbps: 1887.166 Peak Mbps: 1889.211 Avg Mbps: 1887.166 3000 235176192 1881.410 100.00% Conn: 1 Mbps: 1881.410 Peak Mbps: 1889.211 Avg Mbps: 1881.410 4000 234597448 1876.780 100.00% Conn: 1 Mbps: 1876.780 Peak Mbps: 1889.211 Avg Mbps: 1876.780 5000 235739080 1885.913 100.00% Conn: 1 Mbps: 1885.913 Peak Mbps: 1889.211 Avg Mbps: 1885.913 --- fc00::13 tcpbench statistics --- 1414553400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1876.780/1884.096/1889.211/4.464 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.065 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.065/0.065/0.065/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 224850344 1798.803 100.00% Conn: 1 Mbps: 1798.803 Peak Mbps: 1798.803 Avg Mbps: 1798.803 2000 228082648 1824.661 100.00% Conn: 1 Mbps: 1824.661 Peak Mbps: 1824.661 Avg Mbps: 1824.661 3000 222474360 1779.795 100.00% Conn: 1 Mbps: 1779.795 Peak Mbps: 1824.661 Avg Mbps: 1779.795 4001 222594264 1780.754 100.00% Conn: 1 Mbps: 1780.754 Peak Mbps: 1824.661 Avg Mbps: 1780.754 5000 224377536 1796.817 100.00% Conn: 1 Mbps: 1796.817 Peak Mbps: 1824.661 Avg Mbps: 1796.817 --- 169.254.1.11 tcpbench statistics --- 1347170928 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1779.795/1796.166/1824.661/16.278 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 211193452 1689.548 100.00% Conn: 1 Mbps: 1689.548 Peak Mbps: 1689.548 Avg Mbps: 1689.548 2000 221292904 1770.343 100.00% Conn: 1 Mbps: 1770.343 Peak Mbps: 1770.343 Avg Mbps: 1770.343 3001 221527704 1772.222 100.00% Conn: 1 Mbps: 1772.222 Peak Mbps: 1772.222 Avg Mbps: 1772.222 4001 219362248 1754.898 100.00% Conn: 1 Mbps: 1754.898 Peak Mbps: 1772.222 Avg Mbps: 1754.898 5002 220824096 1766.593 100.00% Conn: 1 Mbps: 1766.593 Peak Mbps: 1772.222 Avg Mbps: 1766.593 --- fc00:0:0:1::11 tcpbench statistics --- 1314565504 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1689.548/1750.721/1772.222/31.173 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.053 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.053/0.053/0.053/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.054 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.054/0.054/0.054/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 468526464 3748.212 100.00% Conn: 1 Mbps: 3748.212 Peak Mbps: 3748.212 Avg Mbps: 3748.212 2000 467092944 3740.484 100.00% Conn: 1 Mbps: 3740.484 Peak Mbps: 3748.212 Avg Mbps: 3740.484 3000 467929888 3743.439 100.00% Conn: 1 Mbps: 3743.439 Peak Mbps: 3748.212 Avg Mbps: 3743.439 4000 467418744 3739.350 100.00% Conn: 1 Mbps: 3739.350 Peak Mbps: 3748.212 Avg Mbps: 3739.350 5000 466810584 3734.485 100.00% Conn: 1 Mbps: 3734.485 Peak Mbps: 3748.212 Avg Mbps: 3734.485 --- 169.254.1.12 tcpbench statistics --- 2804739800 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3734.485/3741.194/3748.212/4.543 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 462650580 3701.205 100.00% Conn: 1 Mbps: 3701.205 Peak Mbps: 3701.205 Avg Mbps: 3701.205 2000 460522860 3687.871 100.00% Conn: 1 Mbps: 3687.871 Peak Mbps: 3701.205 Avg Mbps: 3687.871 3000 461661216 3693.290 100.00% Conn: 1 Mbps: 3693.290 Peak Mbps: 3701.205 Avg Mbps: 3693.290 4000 461356812 3690.854 100.00% Conn: 1 Mbps: 3690.854 Peak Mbps: 3701.205 Avg Mbps: 3690.854 5000 460143012 3684.829 100.00% Conn: 1 Mbps: 3684.829 Peak Mbps: 3701.205 Avg Mbps: 3684.829 --- fc00:0:0:1::12 tcpbench statistics --- 2765105184 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3684.829/3691.610/3701.205/5.575 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.060 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.060/0.060/0.060/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.067 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.067/0.067/0.067/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 863711922 6909.695 100.00% Conn: 1 Mbps: 6909.695 Peak Mbps: 6909.695 Avg Mbps: 6909.695 2000 863702400 6916.536 100.00% Conn: 1 Mbps: 6916.536 Peak Mbps: 6916.536 Avg Mbps: 6916.536 3000 865961468 6927.692 100.00% Conn: 1 Mbps: 6927.692 Peak Mbps: 6927.692 Avg Mbps: 6927.692 4000 867628320 6941.027 100.00% Conn: 1 Mbps: 6941.027 Peak Mbps: 6941.027 Avg Mbps: 6941.027 5000 868024228 6944.194 100.00% Conn: 1 Mbps: 6944.194 Peak Mbps: 6944.194 Avg Mbps: 6944.194 --- 169.254.0.13 tcpbench statistics --- 5189099262 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6909.695/6927.829/6944.194/13.404 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 926780324 7414.243 100.00% Conn: 1 Mbps: 7414.243 Peak Mbps: 7414.243 Avg Mbps: 7414.243 2000 876252800 7017.039 100.00% Conn: 1 Mbps: 7017.039 Peak Mbps: 7414.243 Avg Mbps: 7017.039 3000 876740140 7013.921 100.00% Conn: 1 Mbps: 7013.921 Peak Mbps: 7414.243 Avg Mbps: 7013.921 4000 876710544 7013.684 100.00% Conn: 1 Mbps: 7013.684 Peak Mbps: 7414.243 Avg Mbps: 7013.684 5000 873081288 6991.642 100.00% Conn: 1 Mbps: 6991.642 Peak Mbps: 7414.243 Avg Mbps: 6991.642 --- fc00::13 tcpbench statistics --- 5303035636 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6991.642/7090.106/7414.243/162.322 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.056 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.056/0.056/0.056/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.076 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.076/0.076/0.076/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 230035128 1840.281 100.00% Conn: 1 Mbps: 1840.281 Peak Mbps: 1840.281 Avg Mbps: 1840.281 2001 228039048 1824.312 100.00% Conn: 1 Mbps: 1824.312 Peak Mbps: 1840.281 Avg Mbps: 1824.312 3001 221290176 1772.094 100.00% Conn: 1 Mbps: 1772.094 Peak Mbps: 1840.281 Avg Mbps: 1772.094 4001 220692872 1765.543 100.00% Conn: 1 Mbps: 1765.543 Peak Mbps: 1840.281 Avg Mbps: 1765.543 5001 220905896 1767.247 100.00% Conn: 1 Mbps: 1767.247 Peak Mbps: 1840.281 Avg Mbps: 1767.247 --- 169.254.1.11 tcpbench statistics --- 1340107128 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1765.543/1793.895/1840.281/31.831 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 303060464 2424.484 100.00% Conn: 1 Mbps: 2424.484 Peak Mbps: 2424.484 Avg Mbps: 2424.484 2000 301932336 2415.459 100.00% Conn: 1 Mbps: 2415.459 Peak Mbps: 2424.484 Avg Mbps: 2415.459 3001 304388904 2435.111 100.00% Conn: 1 Mbps: 2435.111 Peak Mbps: 2435.111 Avg Mbps: 2435.111 4001 302509912 2420.079 100.00% Conn: 1 Mbps: 2420.079 Peak Mbps: 2435.111 Avg Mbps: 2420.079 5001 304838432 2438.707 100.00% Conn: 1 Mbps: 2438.707 Peak Mbps: 2438.707 Avg Mbps: 2438.707 --- fc00:0:0:1::11 tcpbench statistics --- 1822320288 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2415.459/2426.768/2438.707/8.832 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.072 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.072/0.072/0.072/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.060 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.060/0.060/0.060/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 867192408 6937.539 100.00% Conn: 1 Mbps: 6937.539 Peak Mbps: 6937.539 Avg Mbps: 6937.539 2000 869296836 6961.336 100.00% Conn: 1 Mbps: 6961.336 Peak Mbps: 6961.336 Avg Mbps: 6961.336 3000 869332868 6954.663 100.00% Conn: 1 Mbps: 6954.663 Peak Mbps: 6961.336 Avg Mbps: 6954.663 4000 871783252 6974.266 100.00% Conn: 1 Mbps: 6974.266 Peak Mbps: 6974.266 Avg Mbps: 6974.266 5000 870016588 6960.133 100.00% Conn: 1 Mbps: 6960.133 Peak Mbps: 6974.266 Avg Mbps: 6960.133 --- 169.254.1.12 tcpbench statistics --- 5220942856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6937.539/6957.587/6974.266/11.910 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 867493188 6939.946 100.00% Conn: 1 Mbps: 6939.946 Peak Mbps: 6939.946 Avg Mbps: 6939.946 2000 866285128 6937.218 100.00% Conn: 1 Mbps: 6937.218 Peak Mbps: 6939.946 Avg Mbps: 6937.218 3000 873068972 6984.552 100.00% Conn: 1 Mbps: 6984.552 Peak Mbps: 6984.552 Avg Mbps: 6984.552 4000 858029964 6864.240 100.00% Conn: 1 Mbps: 6864.240 Peak Mbps: 6984.552 Avg Mbps: 6864.240 5000 864639164 6917.113 100.00% Conn: 1 Mbps: 6917.113 Peak Mbps: 6984.552 Avg Mbps: 6917.113 --- fc00:0:0:1::12 tcpbench statistics --- 5195102612 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6864.240/6928.614/6984.552/39.007 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.068 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.068/0.068/0.068/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.049 ms --- fc00::13 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-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 912929610 7303.437 100.00% Conn: 1 Mbps: 7303.437 Peak Mbps: 7303.437 Avg Mbps: 7303.437 2000 918796144 7357.727 100.00% Conn: 1 Mbps: 7357.727 Peak Mbps: 7357.727 Avg Mbps: 7357.727 3000 893902168 7151.217 100.00% Conn: 1 Mbps: 7151.217 Peak Mbps: 7357.727 Avg Mbps: 7151.217 4000 898904816 7191.239 100.00% Conn: 1 Mbps: 7191.239 Peak Mbps: 7357.727 Avg Mbps: 7191.239 5000 891118408 7128.947 100.00% Conn: 1 Mbps: 7128.947 Peak Mbps: 7357.727 Avg Mbps: 7128.947 --- 169.254.0.13 tcpbench statistics --- 5395485422 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7128.947/7226.513/7357.727/88.957 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 889035204 7112.282 100.00% Conn: 1 Mbps: 7112.282 Peak Mbps: 7112.282 Avg Mbps: 7112.282 2000 919576152 7363.973 100.00% Conn: 1 Mbps: 7363.973 Peak Mbps: 7363.973 Avg Mbps: 7363.973 3000 916011136 7328.089 100.00% Conn: 1 Mbps: 7328.089 Peak Mbps: 7363.973 Avg Mbps: 7328.089 4000 887394428 7099.155 100.00% Conn: 1 Mbps: 7099.155 Peak Mbps: 7363.973 Avg Mbps: 7099.155 5000 889756248 7118.050 100.00% Conn: 1 Mbps: 7118.050 Peak Mbps: 7363.973 Avg Mbps: 7118.050 --- fc00::13 tcpbench statistics --- 5391006280 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7099.155/7204.310/7363.973/116.431 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.99s