START sys/net/pair 2024-08-25T04:06:32Z ==== 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.045 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-ping6-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.053 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.053/0.053/0.053/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 546178612 4369.429 100.00% Conn: 1 Mbps: 4369.429 Peak Mbps: 4369.429 Avg Mbps: 4369.429 2000 544596960 4361.137 100.00% Conn: 1 Mbps: 4361.137 Peak Mbps: 4369.429 Avg Mbps: 4361.137 3000 544875140 4359.001 100.00% Conn: 1 Mbps: 4359.001 Peak Mbps: 4369.429 Avg Mbps: 4359.001 4000 543484240 4347.874 100.00% Conn: 1 Mbps: 4347.874 Peak Mbps: 4369.429 Avg Mbps: 4347.874 5000 545932224 4367.458 100.00% Conn: 1 Mbps: 4367.458 Peak Mbps: 4369.429 Avg Mbps: 4367.458 --- 169.254.1.11 tcpbench statistics --- 3269075984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4347.874/4360.980/4369.429/7.603 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 561381680 4491.053 100.00% Conn: 1 Mbps: 4491.053 Peak Mbps: 4491.053 Avg Mbps: 4491.053 2000 560462032 4488.184 100.00% Conn: 1 Mbps: 4488.184 Peak Mbps: 4491.053 Avg Mbps: 4488.184 3000 560287616 4482.301 100.00% Conn: 1 Mbps: 4482.301 Peak Mbps: 4491.053 Avg Mbps: 4482.301 4000 560113200 4485.391 100.00% Conn: 1 Mbps: 4485.391 Peak Mbps: 4491.053 Avg Mbps: 4485.391 5000 560723656 4485.789 100.00% Conn: 1 Mbps: 4485.789 Peak Mbps: 4491.053 Avg Mbps: 4485.789 --- fc00:0:0:1::11 tcpbench statistics --- 3365317080 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4482.301/4486.544/4491.053/2.930 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.085 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.085/0.085/0.085/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.146 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.146/0.146/0.146/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 209709856 1677.679 100.00% Conn: 1 Mbps: 1677.679 Peak Mbps: 1677.679 Avg Mbps: 1677.679 2000 212349208 1698.794 100.00% Conn: 1 Mbps: 1698.794 Peak Mbps: 1698.794 Avg Mbps: 1698.794 3000 210272992 1683.868 100.00% Conn: 1 Mbps: 1683.868 Peak Mbps: 1698.794 Avg Mbps: 1683.868 4001 210499680 1683.997 100.00% Conn: 1 Mbps: 1683.997 Peak Mbps: 1698.794 Avg Mbps: 1683.997 5000 209190312 1675.198 100.00% Conn: 1 Mbps: 1675.198 Peak Mbps: 1698.794 Avg Mbps: 1675.198 --- 169.254.1.12 tcpbench statistics --- 1261640352 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1675.198/1683.907/1698.794/8.201 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 209502520 1676.020 100.00% Conn: 1 Mbps: 1676.020 Peak Mbps: 1676.020 Avg Mbps: 1676.020 2000 207710780 1661.686 100.00% Conn: 1 Mbps: 1661.686 Peak Mbps: 1676.020 Avg Mbps: 1661.686 3001 207818460 1662.548 100.00% Conn: 1 Mbps: 1662.548 Peak Mbps: 1676.020 Avg Mbps: 1662.548 4001 204569280 1636.554 100.00% Conn: 1 Mbps: 1636.554 Peak Mbps: 1676.020 Avg Mbps: 1636.554 5002 208686572 1669.493 100.00% Conn: 1 Mbps: 1669.493 Peak Mbps: 1676.020 Avg Mbps: 1669.493 --- fc00:0:0:1::12 tcpbench statistics --- 1245264628 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1636.554/1661.260/1676.020/13.400 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.075 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.075/0.075/0.075/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.081 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.081/0.081/0.081/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 310774748 2486.198 100.00% Conn: 1 Mbps: 2486.198 Peak Mbps: 2486.198 Avg Mbps: 2486.198 2000 312108612 2499.368 100.00% Conn: 1 Mbps: 2499.368 Peak Mbps: 2499.368 Avg Mbps: 2499.368 3000 308787748 2472.775 100.00% Conn: 1 Mbps: 2472.775 Peak Mbps: 2499.368 Avg Mbps: 2472.775 4000 309961672 2479.693 100.00% Conn: 1 Mbps: 2479.693 Peak Mbps: 2499.368 Avg Mbps: 2479.693 5000 309876624 2479.013 100.00% Conn: 1 Mbps: 2479.013 Peak Mbps: 2499.368 Avg Mbps: 2479.013 --- 169.254.0.13 tcpbench statistics --- 1860907748 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2472.775/2483.409/2499.368/9.041 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 296158368 2369.267 100.00% Conn: 1 Mbps: 2369.267 Peak Mbps: 2369.267 Avg Mbps: 2369.267 2000 293906816 2353.608 100.00% Conn: 1 Mbps: 2353.608 Peak Mbps: 2369.267 Avg Mbps: 2353.608 3000 295222864 2361.783 100.00% Conn: 1 Mbps: 2361.783 Peak Mbps: 2369.267 Avg Mbps: 2361.783 4000 294977096 2359.817 100.00% Conn: 1 Mbps: 2359.817 Peak Mbps: 2369.267 Avg Mbps: 2359.817 5000 297537840 2380.303 100.00% Conn: 1 Mbps: 2380.303 Peak Mbps: 2380.303 Avg Mbps: 2380.303 --- fc00::13 tcpbench statistics --- 1776090736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2353.608/2364.955/2380.303/9.158 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.058 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.058/0.058/0.058/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.067 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.067/0.067/0.067/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 211402208 1691.218 100.00% Conn: 1 Mbps: 1691.218 Peak Mbps: 1691.218 Avg Mbps: 1691.218 2000 214299600 1714.397 100.00% Conn: 1 Mbps: 1714.397 Peak Mbps: 1714.397 Avg Mbps: 1714.397 3000 215201432 1721.611 100.00% Conn: 1 Mbps: 1721.611 Peak Mbps: 1721.611 Avg Mbps: 1721.611 4001 212689176 1701.513 100.00% Conn: 1 Mbps: 1701.513 Peak Mbps: 1721.611 Avg Mbps: 1701.513 5001 212121728 1696.974 100.00% Conn: 1 Mbps: 1696.974 Peak Mbps: 1721.611 Avg Mbps: 1696.974 --- 169.254.1.11 tcpbench statistics --- 1277950656 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1691.218/1705.143/1721.611/11.231 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 211088056 1688.704 100.00% Conn: 1 Mbps: 1688.704 Peak Mbps: 1688.704 Avg Mbps: 1688.704 2000 210009288 1680.074 100.00% Conn: 1 Mbps: 1680.074 Peak Mbps: 1688.704 Avg Mbps: 1680.074 3001 208466672 1667.733 100.00% Conn: 1 Mbps: 1667.733 Peak Mbps: 1688.704 Avg Mbps: 1667.733 4002 209009836 1670.408 100.00% Conn: 1 Mbps: 1670.408 Peak Mbps: 1688.704 Avg Mbps: 1670.408 5002 208346440 1668.440 100.00% Conn: 1 Mbps: 1668.440 Peak Mbps: 1688.704 Avg Mbps: 1668.440 --- fc00:0:0:1::11 tcpbench statistics --- 1256453880 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1667.733/1675.072/1688.704/8.130 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.056 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.056/0.056/0.056/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.052 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.052/0.052/0.052/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 549452288 4395.618 100.00% Conn: 1 Mbps: 4395.618 Peak Mbps: 4395.618 Avg Mbps: 4395.618 2000 540758496 4330.398 100.00% Conn: 1 Mbps: 4330.398 Peak Mbps: 4395.618 Avg Mbps: 4330.398 3000 536901024 4295.208 100.00% Conn: 1 Mbps: 4295.208 Peak Mbps: 4395.618 Avg Mbps: 4295.208 4000 539216376 4313.731 100.00% Conn: 1 Mbps: 4313.731 Peak Mbps: 4395.618 Avg Mbps: 4313.731 5000 538818176 4310.545 100.00% Conn: 1 Mbps: 4310.545 Peak Mbps: 4395.618 Avg Mbps: 4310.545 --- 169.254.1.12 tcpbench statistics --- 3244313504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4295.208/4329.100/4395.618/35.087 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 563313156 4506.505 100.00% Conn: 1 Mbps: 4506.505 Peak Mbps: 4506.505 Avg Mbps: 4506.505 2000 564656904 4521.777 100.00% Conn: 1 Mbps: 4521.777 Peak Mbps: 4521.777 Avg Mbps: 4521.777 3000 561937992 4500.004 100.00% Conn: 1 Mbps: 4500.004 Peak Mbps: 4521.777 Avg Mbps: 4500.004 4000 564365592 4514.925 100.00% Conn: 1 Mbps: 4514.925 Peak Mbps: 4521.777 Avg Mbps: 4514.925 5000 562167900 4497.343 100.00% Conn: 1 Mbps: 4497.343 Peak Mbps: 4521.777 Avg Mbps: 4497.343 --- fc00:0:0:1::12 tcpbench statistics --- 3379576200 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4497.343/4508.111/4521.777/9.137 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.051 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.051/0.051/0.051/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.060 ms --- fc00::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-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 1021919182 8175.353 100.00% Conn: 1 Mbps: 8175.353 Peak Mbps: 8175.353 Avg Mbps: 8175.353 2000 1021622532 8181.161 100.00% Conn: 1 Mbps: 8181.161 Peak Mbps: 8181.161 Avg Mbps: 8181.161 3000 1021295372 8170.363 100.00% Conn: 1 Mbps: 8170.363 Peak Mbps: 8181.161 Avg Mbps: 8170.363 4000 1019365128 8154.921 100.00% Conn: 1 Mbps: 8154.921 Peak Mbps: 8181.161 Avg Mbps: 8154.921 5000 1022702160 8189.807 100.00% Conn: 1 Mbps: 8189.807 Peak Mbps: 8189.807 Avg Mbps: 8189.807 --- 169.254.0.13 tcpbench statistics --- 6128690486 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8154.921/8174.321/8189.807/11.659 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 1047073700 8376.590 100.00% Conn: 1 Mbps: 8376.590 Peak Mbps: 8376.590 Avg Mbps: 8376.590 2000 1044898768 8367.558 100.00% Conn: 1 Mbps: 8367.558 Peak Mbps: 8376.590 Avg Mbps: 8367.558 3000 1042838920 8342.711 100.00% Conn: 1 Mbps: 8342.711 Peak Mbps: 8376.590 Avg Mbps: 8342.711 4000 1041563776 8340.851 100.00% Conn: 1 Mbps: 8340.851 Peak Mbps: 8376.590 Avg Mbps: 8340.851 5000 1043329360 8346.635 100.00% Conn: 1 Mbps: 8346.635 Peak Mbps: 8376.590 Avg Mbps: 8346.635 --- fc00::13 tcpbench statistics --- 6261333692 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8340.851/8354.869/8376.590/14.456 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.066 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.066/0.066/0.066/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.068 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.068/0.068/0.068/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 209818480 1678.548 100.00% Conn: 1 Mbps: 1678.548 Peak Mbps: 1678.548 Avg Mbps: 1678.548 2000 208650568 1670.875 100.00% Conn: 1 Mbps: 1670.875 Peak Mbps: 1678.548 Avg Mbps: 1670.875 3001 210034392 1678.597 100.00% Conn: 1 Mbps: 1678.597 Peak Mbps: 1678.597 Avg Mbps: 1678.597 4001 206650944 1653.208 100.00% Conn: 1 Mbps: 1653.208 Peak Mbps: 1678.597 Avg Mbps: 1653.208 5001 210540712 1684.326 100.00% Conn: 1 Mbps: 1684.326 Peak Mbps: 1684.326 Avg Mbps: 1684.326 --- 169.254.1.11 tcpbench statistics --- 1255335656 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1653.208/1673.111/1684.326/10.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 304986856 2439.895 100.00% Conn: 1 Mbps: 2439.895 Peak Mbps: 2439.895 Avg Mbps: 2439.895 2001 305668272 2445.346 100.00% Conn: 1 Mbps: 2445.346 Peak Mbps: 2445.346 Avg Mbps: 2445.346 3001 302004936 2418.458 100.00% Conn: 1 Mbps: 2418.458 Peak Mbps: 2445.346 Avg Mbps: 2418.458 4001 305329968 2442.640 100.00% Conn: 1 Mbps: 2442.640 Peak Mbps: 2445.346 Avg Mbps: 2442.640 5001 306177224 2449.418 100.00% Conn: 1 Mbps: 2449.418 Peak Mbps: 2449.418 Avg Mbps: 2449.418 --- fc00:0:0:1::11 tcpbench statistics --- 1827369088 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2418.458/2439.151/2449.418/10.814 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.062 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.062/0.062/0.062/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.056 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.056/0.056/0.056/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 1020891754 8167.134 100.00% Conn: 1 Mbps: 8167.134 Peak Mbps: 8167.134 Avg Mbps: 8167.134 2000 1012920076 8111.472 100.00% Conn: 1 Mbps: 8111.472 Peak Mbps: 8167.134 Avg Mbps: 8111.472 3000 1021458952 8171.672 100.00% Conn: 1 Mbps: 8171.672 Peak Mbps: 8171.672 Avg Mbps: 8171.672 4000 1021393520 8171.148 100.00% Conn: 1 Mbps: 8171.148 Peak Mbps: 8171.672 Avg Mbps: 8171.148 5000 1021851544 8174.812 100.00% Conn: 1 Mbps: 8174.812 Peak Mbps: 8174.812 Avg Mbps: 8174.812 --- 169.254.1.12 tcpbench statistics --- 6119647638 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8111.472/8159.248/8174.812/24.012 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 1047930204 8383.442 100.00% Conn: 1 Mbps: 8383.442 Peak Mbps: 8383.442 Avg Mbps: 8383.442 2000 1038850008 8319.119 100.00% Conn: 1 Mbps: 8319.119 Peak Mbps: 8383.442 Avg Mbps: 8319.119 3000 1037542168 8300.337 100.00% Conn: 1 Mbps: 8300.337 Peak Mbps: 8383.442 Avg Mbps: 8300.337 4000 1042544656 8340.357 100.00% Conn: 1 Mbps: 8340.357 Peak Mbps: 8383.442 Avg Mbps: 8340.357 5000 1042217696 8337.742 100.00% Conn: 1 Mbps: 8337.742 Peak Mbps: 8383.442 Avg Mbps: 8337.742 --- fc00:0:0:1::12 tcpbench statistics --- 6251465908 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8300.337/8336.199/8383.442/27.674 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.053 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.053/0.053/0.053/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.050 ms --- fc00::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-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 1039688370 8317.507 100.00% Conn: 1 Mbps: 8317.507 Peak Mbps: 8317.507 Avg Mbps: 8317.507 2000 1035134240 8289.363 100.00% Conn: 1 Mbps: 8289.363 Peak Mbps: 8317.507 Avg Mbps: 8289.363 3000 1040041640 8320.333 100.00% Conn: 1 Mbps: 8320.333 Peak Mbps: 8320.333 Avg Mbps: 8320.333 4000 1038111396 8304.891 100.00% Conn: 1 Mbps: 8304.891 Peak Mbps: 8320.333 Avg Mbps: 8304.891 5000 1039354604 8314.837 100.00% Conn: 1 Mbps: 8314.837 Peak Mbps: 8320.333 Avg Mbps: 8314.837 --- 169.254.0.13 tcpbench statistics --- 6230736090 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8289.363/8309.386/8320.333/11.284 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 1087216572 8697.733 100.00% Conn: 1 Mbps: 8697.733 Peak Mbps: 8697.733 Avg Mbps: 8697.733 2000 1084068576 8681.230 100.00% Conn: 1 Mbps: 8681.230 Peak Mbps: 8697.733 Avg Mbps: 8681.230 3000 1081027848 8648.223 100.00% Conn: 1 Mbps: 8648.223 Peak Mbps: 8697.733 Avg Mbps: 8648.223 4000 1080995152 8647.961 100.00% Conn: 1 Mbps: 8647.961 Peak Mbps: 8697.733 Avg Mbps: 8647.961 5000 1082041424 8656.331 100.00% Conn: 1 Mbps: 8656.331 Peak Mbps: 8697.733 Avg Mbps: 8656.331 --- fc00::13 tcpbench statistics --- 6494121396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8647.961/8666.296/8697.733/19.866 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.89s