START sys/net/pair 2024-12-20T15:45:57Z ==== 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.044 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.044/0.044/0.044/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 621501808 4972.014 100.00% Conn: 1 Mbps: 4972.014 Peak Mbps: 4972.014 Avg Mbps: 4972.014 2000 620285764 4967.253 100.00% Conn: 1 Mbps: 4967.253 Peak Mbps: 4972.014 Avg Mbps: 4967.253 3000 621954844 4975.639 100.00% Conn: 1 Mbps: 4975.639 Peak Mbps: 4975.639 Avg Mbps: 4975.639 4000 619967844 4959.743 100.00% Conn: 1 Mbps: 4959.743 Peak Mbps: 4975.639 Avg Mbps: 4959.743 5000 622225076 4982.783 100.00% Conn: 1 Mbps: 4982.783 Peak Mbps: 4982.783 Avg Mbps: 4982.783 --- 169.254.1.11 tcpbench statistics --- 3725187860 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4959.743/4971.487/4982.783/7.759 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 613880896 4911.047 100.00% Conn: 1 Mbps: 4911.047 Peak Mbps: 4911.047 Avg Mbps: 4911.047 2000 610749336 4885.995 100.00% Conn: 1 Mbps: 4885.995 Peak Mbps: 4911.047 Avg Mbps: 4885.995 3000 608466072 4867.729 100.00% Conn: 1 Mbps: 4867.729 Peak Mbps: 4911.047 Avg Mbps: 4867.729 4000 608584992 4868.680 100.00% Conn: 1 Mbps: 4868.680 Peak Mbps: 4911.047 Avg Mbps: 4868.680 5000 610210232 4886.568 100.00% Conn: 1 Mbps: 4886.568 Peak Mbps: 4911.047 Avg Mbps: 4886.568 --- fc00:0:0:1::11 tcpbench statistics --- 3656623512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4867.729/4884.004/4911.047/15.758 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.088 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.088/0.088/0.088/0.000 ms ==== run-ping6-1-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.142 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.142/0.142/0.142/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 213163576 1705.309 100.00% Conn: 1 Mbps: 1705.309 Peak Mbps: 1705.309 Avg Mbps: 1705.309 2001 214428144 1715.425 100.00% Conn: 1 Mbps: 1715.425 Peak Mbps: 1715.425 Avg Mbps: 1715.425 3001 212725008 1701.800 100.00% Conn: 1 Mbps: 1701.800 Peak Mbps: 1715.425 Avg Mbps: 1701.800 4001 214475696 1717.523 100.00% Conn: 1 Mbps: 1717.523 Peak Mbps: 1717.523 Avg Mbps: 1717.523 5001 213536776 1708.294 100.00% Conn: 1 Mbps: 1708.294 Peak Mbps: 1717.523 Avg Mbps: 1708.294 --- 169.254.1.12 tcpbench statistics --- 1281160632 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1701.800/1709.670/1717.523/5.961 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 206502628 1652.021 100.00% Conn: 1 Mbps: 1652.021 Peak Mbps: 1652.021 Avg Mbps: 1652.021 2000 205808012 1646.464 100.00% Conn: 1 Mbps: 1646.464 Peak Mbps: 1652.021 Avg Mbps: 1646.464 3000 205886524 1647.092 100.00% Conn: 1 Mbps: 1647.092 Peak Mbps: 1652.021 Avg Mbps: 1647.092 4001 206193204 1649.546 100.00% Conn: 1 Mbps: 1649.546 Peak Mbps: 1652.021 Avg Mbps: 1649.546 5001 205297296 1642.378 100.00% Conn: 1 Mbps: 1642.378 Peak Mbps: 1652.021 Avg Mbps: 1642.378 --- fc00:0:0:1::12 tcpbench statistics --- 1235493400 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1642.378/1647.500/1652.021/3.228 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.091 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.091/0.091/0.091/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 325676968 2605.416 100.00% Conn: 1 Mbps: 2605.416 Peak Mbps: 2605.416 Avg Mbps: 2605.416 2000 325311500 2602.492 100.00% Conn: 1 Mbps: 2602.492 Peak Mbps: 2605.416 Avg Mbps: 2602.492 3000 327536800 2620.294 100.00% Conn: 1 Mbps: 2620.294 Peak Mbps: 2620.294 Avg Mbps: 2620.294 4000 327632316 2621.059 100.00% Conn: 1 Mbps: 2621.059 Peak Mbps: 2621.059 Avg Mbps: 2621.059 5000 330024384 2642.838 100.00% Conn: 1 Mbps: 2642.838 Peak Mbps: 2642.838 Avg Mbps: 2642.838 --- 169.254.0.13 tcpbench statistics --- 1965498840 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2602.492/2618.420/2642.838/14.349 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 300765056 2406.120 100.00% Conn: 1 Mbps: 2406.120 Peak Mbps: 2406.120 Avg Mbps: 2406.120 2000 300457424 2403.659 100.00% Conn: 1 Mbps: 2403.659 Peak Mbps: 2406.120 Avg Mbps: 2403.659 3000 299029344 2392.235 100.00% Conn: 1 Mbps: 2392.235 Peak Mbps: 2406.120 Avg Mbps: 2392.235 4000 299559480 2398.875 100.00% Conn: 1 Mbps: 2398.875 Peak Mbps: 2406.120 Avg Mbps: 2398.875 5000 300947920 2407.583 100.00% Conn: 1 Mbps: 2407.583 Peak Mbps: 2407.583 Avg Mbps: 2407.583 --- fc00::13 tcpbench statistics --- 1802492536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2392.235/2401.695/2407.583/5.578 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.072 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.072/0.072/0.072/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 217046544 1736.372 100.00% Conn: 1 Mbps: 1736.372 Peak Mbps: 1736.372 Avg Mbps: 1736.372 2000 217078416 1738.366 100.00% Conn: 1 Mbps: 1738.366 Peak Mbps: 1738.366 Avg Mbps: 1738.366 3000 217562768 1740.502 100.00% Conn: 1 Mbps: 1740.502 Peak Mbps: 1740.502 Avg Mbps: 1740.502 4001 217296000 1736.631 100.00% Conn: 1 Mbps: 1736.631 Peak Mbps: 1740.502 Avg Mbps: 1736.631 5001 218001456 1744.012 100.00% Conn: 1 Mbps: 1744.012 Peak Mbps: 1744.012 Avg Mbps: 1744.012 --- 169.254.1.11 tcpbench statistics --- 1304042488 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1736.372/1739.177/1744.012/2.833 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 205947560 1647.580 100.00% Conn: 1 Mbps: 1647.580 Peak Mbps: 1647.580 Avg Mbps: 1647.580 2001 207172796 1657.382 100.00% Conn: 1 Mbps: 1657.382 Peak Mbps: 1657.382 Avg Mbps: 1657.382 3001 207292748 1658.342 100.00% Conn: 1 Mbps: 1658.342 Peak Mbps: 1658.342 Avg Mbps: 1658.342 4002 209290888 1674.327 100.00% Conn: 1 Mbps: 1674.327 Peak Mbps: 1674.327 Avg Mbps: 1674.327 5002 208335472 1666.684 100.00% Conn: 1 Mbps: 1666.684 Peak Mbps: 1674.327 Avg Mbps: 1666.684 --- fc00:0:0:1::11 tcpbench statistics --- 1244870248 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1647.580/1660.863/1674.327/9.056 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.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 601826504 4814.612 100.00% Conn: 1 Mbps: 4814.612 Peak Mbps: 4814.612 Avg Mbps: 4814.612 2000 600016448 4804.937 100.00% Conn: 1 Mbps: 4804.937 Peak Mbps: 4814.612 Avg Mbps: 4804.937 3000 600190208 4801.522 100.00% Conn: 1 Mbps: 4801.522 Peak Mbps: 4814.612 Avg Mbps: 4801.522 4000 597268144 4782.928 100.00% Conn: 1 Mbps: 4782.928 Peak Mbps: 4814.612 Avg Mbps: 4782.928 5000 599376432 4795.011 100.00% Conn: 1 Mbps: 4795.011 Peak Mbps: 4814.612 Avg Mbps: 4795.011 --- 169.254.1.12 tcpbench statistics --- 3598645064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4782.928/4799.802/4814.612/10.548 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 590306032 4722.448 100.00% Conn: 1 Mbps: 4722.448 Peak Mbps: 4722.448 Avg Mbps: 4722.448 2000 593886636 4755.849 100.00% Conn: 1 Mbps: 4755.849 Peak Mbps: 4755.849 Avg Mbps: 4755.849 3000 589298472 4719.107 100.00% Conn: 1 Mbps: 4719.107 Peak Mbps: 4755.849 Avg Mbps: 4719.107 4000 593199160 4745.593 100.00% Conn: 1 Mbps: 4745.593 Peak Mbps: 4755.849 Avg Mbps: 4745.593 5000 593069820 4749.308 100.00% Conn: 1 Mbps: 4749.308 Peak Mbps: 4755.849 Avg Mbps: 4749.308 --- fc00:0:0:1::12 tcpbench statistics --- 3547583680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4719.107/4738.461/4755.849/14.845 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.062 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.062/0.062/0.062/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.052 ms --- fc00::13 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-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 1050433174 8403.465 100.00% Conn: 1 Mbps: 8403.465 Peak Mbps: 8403.465 Avg Mbps: 8403.465 2000 1063090062 8513.234 100.00% Conn: 1 Mbps: 8513.234 Peak Mbps: 8513.234 Avg Mbps: 8513.234 3000 1068242832 8545.943 100.00% Conn: 1 Mbps: 8545.943 Peak Mbps: 8545.943 Avg Mbps: 8545.943 4000 1058051798 8464.414 100.00% Conn: 1 Mbps: 8464.414 Peak Mbps: 8545.943 Avg Mbps: 8464.414 5000 1080658554 8645.268 100.00% Conn: 1 Mbps: 8645.268 Peak Mbps: 8645.268 Avg Mbps: 8645.268 --- 169.254.0.13 tcpbench statistics --- 6385693022 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8403.465/8514.465/8645.268/81.152 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 1025248544 8201.988 100.00% Conn: 1 Mbps: 8201.988 Peak Mbps: 8201.988 Avg Mbps: 8201.988 2000 1002067008 8024.561 100.00% Conn: 1 Mbps: 8024.561 Peak Mbps: 8201.988 Avg Mbps: 8024.561 3000 1002492056 8019.936 100.00% Conn: 1 Mbps: 8019.936 Peak Mbps: 8201.988 Avg Mbps: 8019.936 4000 1004813472 8038.508 100.00% Conn: 1 Mbps: 8038.508 Peak Mbps: 8201.988 Avg Mbps: 8038.508 5000 1005827048 8046.616 100.00% Conn: 1 Mbps: 8046.616 Peak Mbps: 8201.988 Avg Mbps: 8046.616 --- fc00::13 tcpbench statistics --- 6046929096 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8019.936/8066.322/8201.988/68.502 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.062 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.062/0.062/0.062/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.057 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.057/0.057/0.057/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 211905424 1695.243 100.00% Conn: 1 Mbps: 1695.243 Peak Mbps: 1695.243 Avg Mbps: 1695.243 2001 212936344 1703.491 100.00% Conn: 1 Mbps: 1703.491 Peak Mbps: 1703.491 Avg Mbps: 1703.491 3001 211377064 1691.017 100.00% Conn: 1 Mbps: 1691.017 Peak Mbps: 1703.491 Avg Mbps: 1691.017 4002 213337880 1706.703 100.00% Conn: 1 Mbps: 1706.703 Peak Mbps: 1706.703 Avg Mbps: 1706.703 5001 212713960 1703.415 100.00% Conn: 1 Mbps: 1703.415 Peak Mbps: 1706.703 Avg Mbps: 1703.415 --- 169.254.1.11 tcpbench statistics --- 1274452216 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1691.017/1699.974/1706.703/5.867 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 314793320 2518.347 100.00% Conn: 1 Mbps: 2518.347 Peak Mbps: 2518.347 Avg Mbps: 2518.347 2000 312495240 2499.962 100.00% Conn: 1 Mbps: 2499.962 Peak Mbps: 2518.347 Avg Mbps: 2499.962 3002 316259328 2527.547 100.00% Conn: 1 Mbps: 2527.547 Peak Mbps: 2527.547 Avg Mbps: 2527.547 4002 314821808 2518.574 100.00% Conn: 1 Mbps: 2518.574 Peak Mbps: 2527.547 Avg Mbps: 2518.574 5003 315929704 2527.438 100.00% Conn: 1 Mbps: 2527.438 Peak Mbps: 2527.547 Avg Mbps: 2527.438 --- fc00:0:0:1::11 tcpbench statistics --- 1886745688 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2499.962/2518.374/2527.547/10.053 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.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.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 1042479376 8339.835 100.00% Conn: 1 Mbps: 8339.835 Peak Mbps: 8339.835 Avg Mbps: 8339.835 2000 1056661368 8461.753 100.00% Conn: 1 Mbps: 8461.753 Peak Mbps: 8461.753 Avg Mbps: 8461.753 3000 1056923096 8455.385 100.00% Conn: 1 Mbps: 8455.385 Peak Mbps: 8461.753 Avg Mbps: 8455.385 4000 1038782074 8310.257 100.00% Conn: 1 Mbps: 8310.257 Peak Mbps: 8461.753 Avg Mbps: 8310.257 5000 1053078966 8424.632 100.00% Conn: 1 Mbps: 8424.632 Peak Mbps: 8461.753 Avg Mbps: 8424.632 --- 169.254.1.12 tcpbench statistics --- 6303522978 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8310.257/8398.372/8461.753/61.884 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 1023386708 8187.094 100.00% Conn: 1 Mbps: 8187.094 Peak Mbps: 8187.094 Avg Mbps: 8187.094 2000 1000661080 8013.302 100.00% Conn: 1 Mbps: 8013.302 Peak Mbps: 8187.094 Avg Mbps: 8013.302 3000 994383448 7955.068 100.00% Conn: 1 Mbps: 7955.068 Peak Mbps: 8187.094 Avg Mbps: 7955.068 4000 1003407544 8027.260 100.00% Conn: 1 Mbps: 8027.260 Peak Mbps: 8187.094 Avg Mbps: 8027.260 5000 1004192248 8033.538 100.00% Conn: 1 Mbps: 8033.538 Peak Mbps: 8187.094 Avg Mbps: 8033.538 --- fc00:0:0:1::12 tcpbench statistics --- 6028882740 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7955.068/8043.252/8187.094/77.090 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.039 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.039/0.039/0.039/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.043 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-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 1068767582 8550.141 100.00% Conn: 1 Mbps: 8550.141 Peak Mbps: 8550.141 Avg Mbps: 8550.141 2000 1056563220 8460.967 100.00% Conn: 1 Mbps: 8460.967 Peak Mbps: 8550.141 Avg Mbps: 8460.967 3000 1070582026 8564.656 100.00% Conn: 1 Mbps: 8564.656 Peak Mbps: 8564.656 Avg Mbps: 8564.656 4000 1075914734 8607.318 100.00% Conn: 1 Mbps: 8607.318 Peak Mbps: 8607.318 Avg Mbps: 8607.318 5000 1067424932 8539.399 100.00% Conn: 1 Mbps: 8539.399 Peak Mbps: 8607.318 Avg Mbps: 8539.399 --- 169.254.0.13 tcpbench statistics --- 6396044726 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8460.967/8544.496/8607.318/47.724 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 1050899716 8407.198 100.00% Conn: 1 Mbps: 8407.198 Peak Mbps: 8407.198 Avg Mbps: 8407.198 2000 1037182512 8305.766 100.00% Conn: 1 Mbps: 8305.766 Peak Mbps: 8407.198 Avg Mbps: 8305.766 3000 1038098000 8304.784 100.00% Conn: 1 Mbps: 8304.784 Peak Mbps: 8407.198 Avg Mbps: 8304.784 4000 1035580408 8284.643 100.00% Conn: 1 Mbps: 8284.643 Peak Mbps: 8407.198 Avg Mbps: 8284.643 5000 1021978872 8175.831 100.00% Conn: 1 Mbps: 8175.831 Peak Mbps: 8407.198 Avg Mbps: 8175.831 --- fc00::13 tcpbench statistics --- 6216606148 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8175.831/8295.644/8407.198/73.629 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