START sys/net/pair 2024-11-06T05:02:40Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.049 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.049/0.049/0.049/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.045 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.045/0.045/0.045/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 572613660 4580.909 100.00% Conn: 1 Mbps: 4580.909 Peak Mbps: 4580.909 Avg Mbps: 4580.909 2000 573615108 4593.514 100.00% Conn: 1 Mbps: 4593.514 Peak Mbps: 4593.514 Avg Mbps: 4593.514 3000 574362220 4594.898 100.00% Conn: 1 Mbps: 4594.898 Peak Mbps: 4594.898 Avg Mbps: 4594.898 4000 574131728 4597.651 100.00% Conn: 1 Mbps: 4597.651 Peak Mbps: 4597.651 Avg Mbps: 4597.651 5000 574401960 4599.815 100.00% Conn: 1 Mbps: 4599.815 Peak Mbps: 4599.815 Avg Mbps: 4599.815 --- 169.254.1.11 tcpbench statistics --- 3443780972 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4580.909/4593.358/4599.815/6.595 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 572861424 4582.891 100.00% Conn: 1 Mbps: 4582.891 Peak Mbps: 4582.891 Avg Mbps: 4582.891 2000 568215616 4550.275 100.00% Conn: 1 Mbps: 4550.275 Peak Mbps: 4582.891 Avg Mbps: 4550.275 3000 568667512 4549.340 100.00% Conn: 1 Mbps: 4549.340 Peak Mbps: 4582.891 Avg Mbps: 4549.340 4000 567129480 4537.036 100.00% Conn: 1 Mbps: 4537.036 Peak Mbps: 4582.891 Avg Mbps: 4537.036 5000 567613088 4545.450 100.00% Conn: 1 Mbps: 4545.450 Peak Mbps: 4582.891 Avg Mbps: 4545.450 --- fc00:0:0:1::11 tcpbench statistics --- 3410807944 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4537.036/4552.999/4582.891/15.660 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.086 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.086/0.086/0.086/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 217605104 1740.841 100.00% Conn: 1 Mbps: 1740.841 Peak Mbps: 1740.841 Avg Mbps: 1740.841 2000 215683384 1727.194 100.00% Conn: 1 Mbps: 1727.194 Peak Mbps: 1740.841 Avg Mbps: 1727.194 3001 216733200 1733.866 100.00% Conn: 1 Mbps: 1733.866 Peak Mbps: 1740.841 Avg Mbps: 1733.866 4000 216005096 1729.771 100.00% Conn: 1 Mbps: 1729.771 Peak Mbps: 1740.841 Avg Mbps: 1729.771 5001 215810448 1726.484 100.00% Conn: 1 Mbps: 1726.484 Peak Mbps: 1740.841 Avg Mbps: 1726.484 --- 169.254.1.12 tcpbench statistics --- 1298793496 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1726.484/1731.631/1740.841/5.281 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 1001 206729068 1652.180 100.00% Conn: 1 Mbps: 1652.180 Peak Mbps: 1652.180 Avg Mbps: 1652.180 2001 206364408 1650.915 100.00% Conn: 1 Mbps: 1650.915 Peak Mbps: 1652.180 Avg Mbps: 1650.915 3001 204696104 1639.208 100.00% Conn: 1 Mbps: 1639.208 Peak Mbps: 1652.180 Avg Mbps: 1639.208 4001 206465976 1651.728 100.00% Conn: 1 Mbps: 1651.728 Peak Mbps: 1652.180 Avg Mbps: 1651.728 5002 207307888 1656.806 100.00% Conn: 1 Mbps: 1656.806 Peak Mbps: 1656.806 Avg Mbps: 1656.806 --- fc00:0:0:1::12 tcpbench statistics --- 1239952144 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1639.208/1650.168/1656.806/5.852 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.066 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.066/0.066/0.066/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 312030532 2496.244 100.00% Conn: 1 Mbps: 2496.244 Peak Mbps: 2496.244 Avg Mbps: 2496.244 2000 314906588 2519.253 100.00% Conn: 1 Mbps: 2519.253 Peak Mbps: 2519.253 Avg Mbps: 2519.253 3000 312809296 2502.474 100.00% Conn: 1 Mbps: 2502.474 Peak Mbps: 2519.253 Avg Mbps: 2502.474 4000 312173596 2497.389 100.00% Conn: 1 Mbps: 2497.389 Peak Mbps: 2519.253 Avg Mbps: 2497.389 5000 308453932 2467.631 100.00% Conn: 1 Mbps: 2467.631 Peak Mbps: 2519.253 Avg Mbps: 2467.631 --- 169.254.0.13 tcpbench statistics --- 1865124108 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2467.631/2496.598/2519.253/16.659 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 294534168 2356.273 100.00% Conn: 1 Mbps: 2356.273 Peak Mbps: 2356.273 Avg Mbps: 2356.273 2000 292725544 2344.149 100.00% Conn: 1 Mbps: 2344.149 Peak Mbps: 2356.273 Avg Mbps: 2344.149 3000 294160512 2353.284 100.00% Conn: 1 Mbps: 2353.284 Peak Mbps: 2356.273 Avg Mbps: 2353.284 4000 293431136 2347.449 100.00% Conn: 1 Mbps: 2347.449 Peak Mbps: 2356.273 Avg Mbps: 2347.449 5000 292622480 2340.980 100.00% Conn: 1 Mbps: 2340.980 Peak Mbps: 2356.273 Avg Mbps: 2340.980 --- fc00::13 tcpbench statistics --- 1760698848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2340.980/2348.427/2356.273/5.655 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.063 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.063/0.063/0.063/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.045 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.045/0.045/0.045/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 218848472 1750.788 100.00% Conn: 1 Mbps: 1750.788 Peak Mbps: 1750.788 Avg Mbps: 1750.788 2000 219762320 1758.099 100.00% Conn: 1 Mbps: 1758.099 Peak Mbps: 1758.099 Avg Mbps: 1758.099 3000 221358296 1770.866 100.00% Conn: 1 Mbps: 1770.866 Peak Mbps: 1770.866 Avg Mbps: 1770.866 4000 218998112 1751.985 100.00% Conn: 1 Mbps: 1751.985 Peak Mbps: 1770.866 Avg Mbps: 1751.985 5000 220742280 1767.706 100.00% Conn: 1 Mbps: 1767.706 Peak Mbps: 1770.866 Avg Mbps: 1767.706 --- 169.254.1.11 tcpbench statistics --- 1318088568 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1750.788/1759.889/1770.866/8.126 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 210255488 1682.044 100.00% Conn: 1 Mbps: 1682.044 Peak Mbps: 1682.044 Avg Mbps: 1682.044 2001 209608776 1676.870 100.00% Conn: 1 Mbps: 1676.870 Peak Mbps: 1682.044 Avg Mbps: 1676.870 3000 210290596 1684.009 100.00% Conn: 1 Mbps: 1684.009 Peak Mbps: 1684.009 Avg Mbps: 1684.009 4001 209810972 1678.488 100.00% Conn: 1 Mbps: 1678.488 Peak Mbps: 1684.009 Avg Mbps: 1678.488 5000 207725880 1663.471 100.00% Conn: 1 Mbps: 1663.471 Peak Mbps: 1684.009 Avg Mbps: 1663.471 --- fc00:0:0:1::11 tcpbench statistics --- 1256157324 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1663.471/1676.976/1684.009/7.209 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.061 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.061/0.061/0.061/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.044 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.044/0.044/0.044/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 578109656 4624.877 100.00% Conn: 1 Mbps: 4624.877 Peak Mbps: 4624.877 Avg Mbps: 4624.877 2000 571612480 4577.477 100.00% Conn: 1 Mbps: 4577.477 Peak Mbps: 4624.877 Avg Mbps: 4577.477 3000 571738456 4573.908 100.00% Conn: 1 Mbps: 4573.908 Peak Mbps: 4624.877 Avg Mbps: 4573.908 4000 571357632 4570.861 100.00% Conn: 1 Mbps: 4570.861 Peak Mbps: 4624.877 Avg Mbps: 4570.861 5000 571393888 4571.151 100.00% Conn: 1 Mbps: 4571.151 Peak Mbps: 4624.877 Avg Mbps: 4571.151 --- 169.254.1.12 tcpbench statistics --- 3435503136 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4570.861/4583.655/4624.877/20.748 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 567952728 4543.622 100.00% Conn: 1 Mbps: 4543.622 Peak Mbps: 4543.622 Avg Mbps: 4543.622 2000 569375016 4559.560 100.00% Conn: 1 Mbps: 4559.560 Peak Mbps: 4559.560 Avg Mbps: 4559.560 3000 567101640 4536.813 100.00% Conn: 1 Mbps: 4536.813 Peak Mbps: 4559.560 Avg Mbps: 4536.813 4000 567213024 4537.704 100.00% Conn: 1 Mbps: 4537.704 Peak Mbps: 4559.560 Avg Mbps: 4537.704 5000 567098784 4536.790 100.00% Conn: 1 Mbps: 4536.790 Peak Mbps: 4559.560 Avg Mbps: 4536.790 --- fc00:0:0:1::12 tcpbench statistics --- 3408707400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4536.790/4542.898/4559.560/8.711 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.057 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.057/0.057/0.057/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.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 1100832832 8806.663 100.00% Conn: 1 Mbps: 8806.663 Peak Mbps: 8806.663 Avg Mbps: 8806.663 2000 1104852036 8847.664 100.00% Conn: 1 Mbps: 8847.664 Peak Mbps: 8847.664 Avg Mbps: 8847.664 3000 1105015616 8840.125 100.00% Conn: 1 Mbps: 8840.125 Peak Mbps: 8847.664 Avg Mbps: 8840.125 4000 1105048332 8840.387 100.00% Conn: 1 Mbps: 8840.387 Peak Mbps: 8847.664 Avg Mbps: 8840.387 5000 1108254500 8866.036 100.00% Conn: 1 Mbps: 8866.036 Peak Mbps: 8866.036 Avg Mbps: 8866.036 --- 169.254.0.13 tcpbench statistics --- 6631897940 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8806.663/8840.175/8866.036/19.225 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 1029017908 8232.143 100.00% Conn: 1 Mbps: 8232.143 Peak Mbps: 8232.143 Avg Mbps: 8232.143 2000 1030904880 8255.495 100.00% Conn: 1 Mbps: 8255.495 Peak Mbps: 8255.495 Avg Mbps: 8255.495 3000 1028812336 8230.499 100.00% Conn: 1 Mbps: 8230.499 Peak Mbps: 8255.495 Avg Mbps: 8230.499 4000 1030479832 8243.839 100.00% Conn: 1 Mbps: 8243.839 Peak Mbps: 8255.495 Avg Mbps: 8243.839 5000 1032506984 8260.056 100.00% Conn: 1 Mbps: 8260.056 Peak Mbps: 8260.056 Avg Mbps: 8260.056 --- fc00::13 tcpbench statistics --- 6182332556 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8230.499/8244.406/8260.056/11.933 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.073 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.073/0.073/0.073/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 1000 214481816 1715.855 100.00% Conn: 1 Mbps: 1715.855 Peak Mbps: 1715.855 Avg Mbps: 1715.855 2000 214991016 1721.650 100.00% Conn: 1 Mbps: 1721.650 Peak Mbps: 1721.650 Avg Mbps: 1721.650 3000 216373128 1730.985 100.00% Conn: 1 Mbps: 1730.985 Peak Mbps: 1730.985 Avg Mbps: 1730.985 4000 216487760 1731.902 100.00% Conn: 1 Mbps: 1731.902 Peak Mbps: 1731.902 Avg Mbps: 1731.902 5000 213799384 1710.395 100.00% Conn: 1 Mbps: 1710.395 Peak Mbps: 1731.902 Avg Mbps: 1710.395 --- 169.254.1.11 tcpbench statistics --- 1288220848 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1710.395/1722.157/1731.902/8.381 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 305570904 2444.567 100.00% Conn: 1 Mbps: 2444.567 Peak Mbps: 2444.567 Avg Mbps: 2444.567 2001 305912608 2447.301 100.00% Conn: 1 Mbps: 2447.301 Peak Mbps: 2447.301 Avg Mbps: 2447.301 3001 305480392 2443.843 100.00% Conn: 1 Mbps: 2443.843 Peak Mbps: 2447.301 Avg Mbps: 2443.843 4002 305776512 2446.212 100.00% Conn: 1 Mbps: 2446.212 Peak Mbps: 2447.301 Avg Mbps: 2446.212 5002 309154096 2473.233 100.00% Conn: 1 Mbps: 2473.233 Peak Mbps: 2473.233 Avg Mbps: 2473.233 --- fc00:0:0:1::11 tcpbench statistics --- 1837147040 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2443.843/2451.031/2473.233/11.167 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 8 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.059 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.059/0.059/0.059/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.062 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.062/0.062/0.062/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 1086307504 8690.460 100.00% Conn: 1 Mbps: 8690.460 Peak Mbps: 8690.460 Avg Mbps: 8690.460 2000 1083194044 8674.227 100.00% Conn: 1 Mbps: 8674.227 Peak Mbps: 8690.460 Avg Mbps: 8674.227 3000 1087054532 8696.436 100.00% Conn: 1 Mbps: 8696.436 Peak Mbps: 8696.436 Avg Mbps: 8696.436 4000 1082572440 8660.580 100.00% Conn: 1 Mbps: 8660.580 Peak Mbps: 8696.436 Avg Mbps: 8660.580 5000 1086596508 8692.772 100.00% Conn: 1 Mbps: 8692.772 Peak Mbps: 8696.436 Avg Mbps: 8692.772 --- 169.254.1.12 tcpbench statistics --- 6510424008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8660.580/8682.895/8696.436/13.500 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 1026810676 8214.485 100.00% Conn: 1 Mbps: 8214.485 Peak Mbps: 8214.485 Avg Mbps: 8214.485 2000 1029760520 8246.330 100.00% Conn: 1 Mbps: 8246.330 Peak Mbps: 8246.330 Avg Mbps: 8246.330 3000 1033455168 8267.641 100.00% Conn: 1 Mbps: 8267.641 Peak Mbps: 8267.641 Avg Mbps: 8267.641 4000 1029858608 8238.869 100.00% Conn: 1 Mbps: 8238.869 Peak Mbps: 8267.641 Avg Mbps: 8238.869 5000 1029073904 8232.591 100.00% Conn: 1 Mbps: 8232.591 Peak Mbps: 8267.641 Avg Mbps: 8232.591 --- fc00:0:0:1::12 tcpbench statistics --- 6177869300 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8214.485/8239.983/8267.641/17.386 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.044 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/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 1134415866 9075.327 100.00% Conn: 1 Mbps: 9075.327 Peak Mbps: 9075.327 Avg Mbps: 9075.327 2000 1146306952 9179.635 100.00% Conn: 1 Mbps: 9179.635 Peak Mbps: 9179.635 Avg Mbps: 9179.635 3000 1146205060 9169.640 100.00% Conn: 1 Mbps: 9169.640 Peak Mbps: 9179.635 Avg Mbps: 9169.640 4000 1144438396 9155.507 100.00% Conn: 1 Mbps: 9155.507 Peak Mbps: 9179.635 Avg Mbps: 9155.507 5000 1145125432 9161.003 100.00% Conn: 1 Mbps: 9161.003 Peak Mbps: 9179.635 Avg Mbps: 9161.003 --- 169.254.0.13 tcpbench statistics --- 6861960656 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9075.327/9148.223/9179.635/37.352 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 1064933996 8519.472 100.00% Conn: 1 Mbps: 8519.472 Peak Mbps: 8519.472 Avg Mbps: 8519.472 2000 1072592280 8589.328 100.00% Conn: 1 Mbps: 8589.328 Peak Mbps: 8589.328 Avg Mbps: 8589.328 3000 1072069144 8576.553 100.00% Conn: 1 Mbps: 8576.553 Peak Mbps: 8589.328 Avg Mbps: 8576.553 4000 1072003752 8576.030 100.00% Conn: 1 Mbps: 8576.030 Peak Mbps: 8589.328 Avg Mbps: 8576.030 5000 1074586736 8596.694 100.00% Conn: 1 Mbps: 8596.694 Peak Mbps: 8596.694 Avg Mbps: 8596.694 --- fc00::13 tcpbench statistics --- 6438652380 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8519.472/8571.615/8596.694/27.223 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.83s