START sys/net/pair 2024-11-21T05:02:34Z ==== 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.048 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.048/0.048/0.048/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.069 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.069/0.069/0.069/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 569847756 4558.782 100.00% Conn: 1 Mbps: 4558.782 Peak Mbps: 4558.782 Avg Mbps: 4558.782 2000 566358584 4535.404 100.00% Conn: 1 Mbps: 4535.404 Peak Mbps: 4558.782 Avg Mbps: 4535.404 3000 568218416 4545.747 100.00% Conn: 1 Mbps: 4545.747 Peak Mbps: 4558.782 Avg Mbps: 4545.747 4000 566525492 4532.204 100.00% Conn: 1 Mbps: 4532.204 Peak Mbps: 4558.782 Avg Mbps: 4532.204 5000 567733588 4541.869 100.00% Conn: 1 Mbps: 4541.869 Peak Mbps: 4558.782 Avg Mbps: 4541.869 --- 169.254.1.11 tcpbench statistics --- 3405360340 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4532.204/4542.801/4558.782/9.295 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 556212624 4449.701 100.00% Conn: 1 Mbps: 4449.701 Peak Mbps: 4449.701 Avg Mbps: 4449.701 2000 555015496 4444.569 100.00% Conn: 1 Mbps: 4444.569 Peak Mbps: 4449.701 Avg Mbps: 4444.569 3000 558186696 4469.964 100.00% Conn: 1 Mbps: 4469.964 Peak Mbps: 4469.964 Avg Mbps: 4469.964 4000 552882864 4423.063 100.00% Conn: 1 Mbps: 4423.063 Peak Mbps: 4469.964 Avg Mbps: 4423.063 5000 555055136 4444.886 100.00% Conn: 1 Mbps: 4444.886 Peak Mbps: 4469.964 Avg Mbps: 4444.886 --- fc00:0:0:1::11 tcpbench statistics --- 3334770496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4423.063/4446.436/4469.964/14.943 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.080 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.080/0.080/0.080/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.144 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.144/0.144/0.144/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 219038104 1752.305 100.00% Conn: 1 Mbps: 1752.305 Peak Mbps: 1752.305 Avg Mbps: 1752.305 2001 217930024 1743.440 100.00% Conn: 1 Mbps: 1743.440 Peak Mbps: 1752.305 Avg Mbps: 1743.440 3001 218894784 1752.911 100.00% Conn: 1 Mbps: 1752.911 Peak Mbps: 1752.911 Avg Mbps: 1752.911 4001 218012256 1744.098 100.00% Conn: 1 Mbps: 1744.098 Peak Mbps: 1752.911 Avg Mbps: 1744.098 5001 218864168 1750.913 100.00% Conn: 1 Mbps: 1750.913 Peak Mbps: 1752.911 Avg Mbps: 1750.913 --- 169.254.1.12 tcpbench statistics --- 1310427456 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1743.440/1748.734/1752.911/4.110 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 210193012 1681.544 100.00% Conn: 1 Mbps: 1681.544 Peak Mbps: 1681.544 Avg Mbps: 1681.544 2001 209771580 1678.173 100.00% Conn: 1 Mbps: 1678.173 Peak Mbps: 1681.544 Avg Mbps: 1678.173 3000 211655268 1694.937 100.00% Conn: 1 Mbps: 1694.937 Peak Mbps: 1694.937 Avg Mbps: 1694.937 4001 208293092 1666.345 100.00% Conn: 1 Mbps: 1666.345 Peak Mbps: 1694.937 Avg Mbps: 1666.345 5001 208229880 1665.839 100.00% Conn: 1 Mbps: 1665.839 Peak Mbps: 1694.937 Avg Mbps: 1665.839 --- fc00:0:0:1::12 tcpbench statistics --- 1255477172 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1665.839/1677.368/1694.937/10.781 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.065 ms --- fc00::13 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-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 312467532 2499.740 100.00% Conn: 1 Mbps: 2499.740 Peak Mbps: 2499.740 Avg Mbps: 2499.740 2000 308676476 2469.412 100.00% Conn: 1 Mbps: 2469.412 Peak Mbps: 2499.740 Avg Mbps: 2469.412 3000 311195992 2492.060 100.00% Conn: 1 Mbps: 2492.060 Peak Mbps: 2499.740 Avg Mbps: 2492.060 4000 311044840 2488.359 100.00% Conn: 1 Mbps: 2488.359 Peak Mbps: 2499.740 Avg Mbps: 2488.359 5000 313055544 2504.444 100.00% Conn: 1 Mbps: 2504.444 Peak Mbps: 2504.444 Avg Mbps: 2504.444 --- 169.254.0.13 tcpbench statistics --- 1866309060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2469.412/2490.803/2504.444/12.092 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 294596552 2356.772 100.00% Conn: 1 Mbps: 2356.772 Peak Mbps: 2356.772 Avg Mbps: 2356.772 2000 295167368 2363.703 100.00% Conn: 1 Mbps: 2363.703 Peak Mbps: 2363.703 Avg Mbps: 2363.703 3000 295302144 2362.417 100.00% Conn: 1 Mbps: 2362.417 Peak Mbps: 2363.703 Avg Mbps: 2362.417 4000 294453848 2355.631 100.00% Conn: 1 Mbps: 2355.631 Peak Mbps: 2363.703 Avg Mbps: 2355.631 5000 292995096 2343.961 100.00% Conn: 1 Mbps: 2343.961 Peak Mbps: 2363.703 Avg Mbps: 2343.961 --- fc00::13 tcpbench statistics --- 1765327760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2343.961/2356.497/2363.703/6.999 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.053 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.053/0.053/0.053/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.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-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 221539296 1772.314 100.00% Conn: 1 Mbps: 1772.314 Peak Mbps: 1772.314 Avg Mbps: 1772.314 2000 219246704 1753.974 100.00% Conn: 1 Mbps: 1753.974 Peak Mbps: 1772.314 Avg Mbps: 1753.974 3000 219915144 1759.321 100.00% Conn: 1 Mbps: 1759.321 Peak Mbps: 1772.314 Avg Mbps: 1759.321 4001 221286176 1770.289 100.00% Conn: 1 Mbps: 1770.289 Peak Mbps: 1772.314 Avg Mbps: 1770.289 5001 220323248 1762.586 100.00% Conn: 1 Mbps: 1762.586 Peak Mbps: 1772.314 Avg Mbps: 1762.586 --- 169.254.1.11 tcpbench statistics --- 1321923024 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1753.974/1763.697/1772.314/6.821 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 209654176 1677.233 100.00% Conn: 1 Mbps: 1677.233 Peak Mbps: 1677.233 Avg Mbps: 1677.233 2000 210815292 1688.211 100.00% Conn: 1 Mbps: 1688.211 Peak Mbps: 1688.211 Avg Mbps: 1688.211 3001 208766088 1670.129 100.00% Conn: 1 Mbps: 1670.129 Peak Mbps: 1688.211 Avg Mbps: 1670.129 4000 208079628 1666.303 100.00% Conn: 1 Mbps: 1666.303 Peak Mbps: 1688.211 Avg Mbps: 1666.303 5001 207136992 1657.096 100.00% Conn: 1 Mbps: 1657.096 Peak Mbps: 1688.211 Avg Mbps: 1657.096 --- fc00:0:0:1::11 tcpbench statistics --- 1251645468 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1657.096/1671.794/1688.211/10.469 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.038 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.038/0.038/0.038/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.045 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-2-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 579837120 4638.697 100.00% Conn: 1 Mbps: 4638.697 Peak Mbps: 4638.697 Avg Mbps: 4638.697 2000 572277112 4582.800 100.00% Conn: 1 Mbps: 4582.800 Peak Mbps: 4638.697 Avg Mbps: 4582.800 3000 571474920 4571.799 100.00% Conn: 1 Mbps: 4571.799 Peak Mbps: 4638.697 Avg Mbps: 4571.799 4000 572196024 4577.568 100.00% Conn: 1 Mbps: 4577.568 Peak Mbps: 4638.697 Avg Mbps: 4577.568 5000 572930160 4583.441 100.00% Conn: 1 Mbps: 4583.441 Peak Mbps: 4638.697 Avg Mbps: 4583.441 --- 169.254.1.12 tcpbench statistics --- 3440516056 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4571.799/4590.861/4638.697/24.283 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 560061600 4480.493 100.00% Conn: 1 Mbps: 4480.493 Peak Mbps: 4480.493 Avg Mbps: 4480.493 2000 561675240 4493.402 100.00% Conn: 1 Mbps: 4493.402 Peak Mbps: 4493.402 Avg Mbps: 4493.402 3000 563216052 4505.728 100.00% Conn: 1 Mbps: 4505.728 Peak Mbps: 4505.728 Avg Mbps: 4505.728 4000 563661588 4509.293 100.00% Conn: 1 Mbps: 4509.293 Peak Mbps: 4509.293 Avg Mbps: 4509.293 5000 563150364 4505.203 100.00% Conn: 1 Mbps: 4505.203 Peak Mbps: 4509.293 Avg Mbps: 4505.203 --- fc00:0:0:1::12 tcpbench statistics --- 3373127352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4480.493/4498.824/4509.293/10.615 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.049 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.049/0.049/0.049/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.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-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 1072501646 8580.013 100.00% Conn: 1 Mbps: 8580.013 Peak Mbps: 8580.013 Avg Mbps: 8580.013 2000 1082408860 8667.939 100.00% Conn: 1 Mbps: 8667.939 Peak Mbps: 8667.939 Avg Mbps: 8667.939 3000 1086171200 8689.370 100.00% Conn: 1 Mbps: 8689.370 Peak Mbps: 8689.370 Avg Mbps: 8689.370 4000 1084780770 8678.246 100.00% Conn: 1 Mbps: 8678.246 Peak Mbps: 8689.370 Avg Mbps: 8678.246 5000 1084568116 8676.545 100.00% Conn: 1 Mbps: 8676.545 Peak Mbps: 8689.370 Avg Mbps: 8676.545 --- 169.254.0.13 tcpbench statistics --- 6492774020 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8580.013/8658.423/8689.370/39.794 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 1034772692 8278.182 100.00% Conn: 1 Mbps: 8278.182 Peak Mbps: 8278.182 Avg Mbps: 8278.182 2000 1033684040 8277.750 100.00% Conn: 1 Mbps: 8277.750 Peak Mbps: 8278.182 Avg Mbps: 8277.750 3000 1032506984 8260.056 100.00% Conn: 1 Mbps: 8260.056 Peak Mbps: 8278.182 Avg Mbps: 8260.056 4000 1032278112 8258.225 100.00% Conn: 1 Mbps: 8258.225 Peak Mbps: 8278.182 Avg Mbps: 8258.225 5000 1030643312 8245.146 100.00% Conn: 1 Mbps: 8245.146 Peak Mbps: 8278.182 Avg Mbps: 8245.146 --- fc00::13 tcpbench statistics --- 6195182372 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8245.146/8263.872/8278.182/12.605 Mbps ==== run-ping-3-1 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.061 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.061/0.061/0.061/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.055 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.055/0.055/0.055/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 215969192 1726.028 100.00% Conn: 1 Mbps: 1726.028 Peak Mbps: 1726.028 Avg Mbps: 1726.028 2001 217613160 1740.905 100.00% Conn: 1 Mbps: 1740.905 Peak Mbps: 1740.905 Avg Mbps: 1740.905 3001 216605392 1734.578 100.00% Conn: 1 Mbps: 1734.578 Peak Mbps: 1740.905 Avg Mbps: 1734.578 4001 217495408 1739.963 100.00% Conn: 1 Mbps: 1739.963 Peak Mbps: 1740.905 Avg Mbps: 1739.963 5001 217127680 1738.760 100.00% Conn: 1 Mbps: 1738.760 Peak Mbps: 1740.905 Avg Mbps: 1738.760 --- 169.254.1.11 tcpbench statistics --- 1301446424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1726.028/1736.047/1740.905/5.456 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 306203440 2449.628 100.00% Conn: 1 Mbps: 2449.628 Peak Mbps: 2449.628 Avg Mbps: 2449.628 2001 305074912 2440.599 100.00% Conn: 1 Mbps: 2440.599 Peak Mbps: 2449.628 Avg Mbps: 2440.599 3001 306593616 2452.749 100.00% Conn: 1 Mbps: 2452.749 Peak Mbps: 2452.749 Avg Mbps: 2452.749 4001 308997488 2474.454 100.00% Conn: 1 Mbps: 2474.454 Peak Mbps: 2474.454 Avg Mbps: 2474.454 5001 305555064 2444.441 100.00% Conn: 1 Mbps: 2444.441 Peak Mbps: 2474.454 Avg Mbps: 2444.441 --- fc00:0:0:1::11 tcpbench statistics --- 1840727824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2440.599/2452.374/2474.454/11.805 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.073 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.073/0.073/0.073/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.049 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.049/0.049/0.049/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 1048815298 8390.522 100.00% Conn: 1 Mbps: 8390.522 Peak Mbps: 8390.522 Avg Mbps: 8390.522 2000 1064218764 8522.272 100.00% Conn: 1 Mbps: 8522.272 Peak Mbps: 8522.272 Avg Mbps: 8522.272 3000 1059736672 8477.893 100.00% Conn: 1 Mbps: 8477.893 Peak Mbps: 8522.272 Avg Mbps: 8477.893 4000 1064120616 8512.965 100.00% Conn: 1 Mbps: 8512.965 Peak Mbps: 8522.272 Avg Mbps: 8512.965 5000 1063237284 8505.898 100.00% Conn: 1 Mbps: 8505.898 Peak Mbps: 8522.272 Avg Mbps: 8505.898 --- 169.254.1.12 tcpbench statistics --- 6361926414 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8390.522/8481.910/8522.272/48.035 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 1023982940 8191.864 100.00% Conn: 1 Mbps: 8191.864 Peak Mbps: 8191.864 Avg Mbps: 8191.864 2000 1026883272 8223.289 100.00% Conn: 1 Mbps: 8223.289 Peak Mbps: 8223.289 Avg Mbps: 8223.289 3000 1027831456 8222.652 100.00% Conn: 1 Mbps: 8222.652 Peak Mbps: 8223.289 Avg Mbps: 8222.652 4000 1028093024 8224.744 100.00% Conn: 1 Mbps: 8224.744 Peak Mbps: 8224.744 Avg Mbps: 8224.744 5000 1027733368 8221.867 100.00% Conn: 1 Mbps: 8221.867 Peak Mbps: 8224.744 Avg Mbps: 8221.867 --- fc00:0:0:1::12 tcpbench statistics --- 6158922436 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8191.864/8216.883/8224.744/12.545 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.041 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.041/0.041/0.041/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 1129313902 9034.511 100.00% Conn: 1 Mbps: 9034.511 Peak Mbps: 9034.511 Avg Mbps: 9034.511 2000 1133380388 9076.119 100.00% Conn: 1 Mbps: 9076.119 Peak Mbps: 9076.119 Avg Mbps: 9076.119 3000 1130716946 9045.736 100.00% Conn: 1 Mbps: 9045.736 Peak Mbps: 9076.119 Avg Mbps: 9045.736 4000 1131744588 9053.957 100.00% Conn: 1 Mbps: 9053.957 Peak Mbps: 9076.119 Avg Mbps: 9053.957 5000 1129225456 9033.804 100.00% Conn: 1 Mbps: 9033.804 Peak Mbps: 9076.119 Avg Mbps: 9033.804 --- 169.254.0.13 tcpbench statistics --- 6785831424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9033.804/9048.825/9076.119/15.565 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 1077734660 8621.877 100.00% Conn: 1 Mbps: 8621.877 Peak Mbps: 8621.877 Avg Mbps: 8621.877 2000 1082760736 8670.757 100.00% Conn: 1 Mbps: 8670.757 Peak Mbps: 8670.757 Avg Mbps: 8670.757 3000 1088449840 8707.599 100.00% Conn: 1 Mbps: 8707.599 Peak Mbps: 8707.599 Avg Mbps: 8707.599 4000 1085343720 8682.750 100.00% Conn: 1 Mbps: 8682.750 Peak Mbps: 8707.599 Avg Mbps: 8682.750 5000 1086455384 8691.643 100.00% Conn: 1 Mbps: 8691.643 Peak Mbps: 8707.599 Avg Mbps: 8691.643 --- fc00::13 tcpbench statistics --- 6505074484 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8621.877/8674.925/8707.599/29.120 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.82s