START sys/net/pair 2024-02-05T02:57:16Z ==== 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.038 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.038/0.038/0.038/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.041 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.041/0.041/0.041/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 959252068 7674.017 100.00% Conn: 1 Mbps: 7674.017 Peak Mbps: 7674.017 Avg Mbps: 7674.017 2000 959967388 7687.427 100.00% Conn: 1 Mbps: 7687.427 Peak Mbps: 7687.427 Avg Mbps: 7687.427 3000 959434872 7683.162 100.00% Conn: 1 Mbps: 7683.162 Peak Mbps: 7687.427 Avg Mbps: 7683.162 4000 959490508 7675.924 100.00% Conn: 1 Mbps: 7675.924 Peak Mbps: 7687.427 Avg Mbps: 7675.924 5000 959744844 7677.959 100.00% Conn: 1 Mbps: 7677.959 Peak Mbps: 7687.427 Avg Mbps: 7677.959 --- 169.254.1.11 tcpbench statistics --- 5756013132 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7674.017/7679.698/7687.427/4.925 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 971568472 7772.548 100.00% Conn: 1 Mbps: 7772.548 Peak Mbps: 7772.548 Avg Mbps: 7772.548 2000 970379272 7770.805 100.00% Conn: 1 Mbps: 7770.805 Peak Mbps: 7772.548 Avg Mbps: 7770.805 3000 971766672 7774.133 100.00% Conn: 1 Mbps: 7774.133 Peak Mbps: 7774.133 Avg Mbps: 7774.133 4000 972488120 7779.905 100.00% Conn: 1 Mbps: 7779.905 Peak Mbps: 7779.905 Avg Mbps: 7779.905 5000 972868664 7782.949 100.00% Conn: 1 Mbps: 7782.949 Peak Mbps: 7782.949 Avg Mbps: 7782.949 --- fc00:0:0:1::11 tcpbench statistics --- 5832145992 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7770.805/7776.068/7782.949/4.602 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.062 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/0.000 ms ==== run-ping6-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.115 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.115/0.115/0.115/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 285556912 2284.455 100.00% Conn: 1 Mbps: 2284.455 Peak Mbps: 2284.455 Avg Mbps: 2284.455 2000 286172856 2289.383 100.00% Conn: 1 Mbps: 2289.383 Peak Mbps: 2289.383 Avg Mbps: 2289.383 3000 286127192 2289.018 100.00% Conn: 1 Mbps: 2289.018 Peak Mbps: 2289.383 Avg Mbps: 2289.018 4000 285938952 2289.801 100.00% Conn: 1 Mbps: 2289.801 Peak Mbps: 2289.801 Avg Mbps: 2289.801 5001 286285304 2290.282 100.00% Conn: 1 Mbps: 2290.282 Peak Mbps: 2290.282 Avg Mbps: 2290.282 --- 169.254.1.12 tcpbench statistics --- 1715250000 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2284.455/2288.588/2290.282/2.109 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 276582864 2212.663 100.00% Conn: 1 Mbps: 2212.663 Peak Mbps: 2212.663 Avg Mbps: 2212.663 2001 276895916 2215.167 100.00% Conn: 1 Mbps: 2215.167 Peak Mbps: 2215.167 Avg Mbps: 2215.167 3001 276996668 2215.973 100.00% Conn: 1 Mbps: 2215.973 Peak Mbps: 2215.973 Avg Mbps: 2215.973 4002 276906124 2215.249 100.00% Conn: 1 Mbps: 2215.249 Peak Mbps: 2215.973 Avg Mbps: 2215.249 5002 278716616 2231.965 100.00% Conn: 1 Mbps: 2231.965 Peak Mbps: 2231.965 Avg Mbps: 2231.965 --- fc00:0:0:1::12 tcpbench statistics --- 1664076444 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2212.663/2218.203/2231.965/6.971 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.052 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.052/0.052/0.052/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.060 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.060/0.060/0.060/0.000 ms ==== run-tcpbench-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 461349608 3690.797 100.00% Conn: 1 Mbps: 3690.797 Peak Mbps: 3690.797 Avg Mbps: 3690.797 2000 460284576 3685.963 100.00% Conn: 1 Mbps: 3685.963 Peak Mbps: 3690.797 Avg Mbps: 3685.963 3000 460999896 3687.999 100.00% Conn: 1 Mbps: 3687.999 Peak Mbps: 3690.797 Avg Mbps: 3687.999 4000 461087324 3688.699 100.00% Conn: 1 Mbps: 3688.699 Peak Mbps: 3690.797 Avg Mbps: 3688.699 5000 460745560 3685.964 100.00% Conn: 1 Mbps: 3685.964 Peak Mbps: 3690.797 Avg Mbps: 3685.964 --- 169.254.0.13 tcpbench statistics --- 2765236368 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3685.963/3687.884/3690.797/1.819 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 417654968 3341.240 100.00% Conn: 1 Mbps: 3341.240 Peak Mbps: 3341.240 Avg Mbps: 3341.240 2000 417314064 3338.513 100.00% Conn: 1 Mbps: 3338.513 Peak Mbps: 3341.240 Avg Mbps: 3338.513 3000 417631184 3341.049 100.00% Conn: 1 Mbps: 3341.049 Peak Mbps: 3341.240 Avg Mbps: 3341.049 4000 418162360 3348.648 100.00% Conn: 1 Mbps: 3348.648 Peak Mbps: 3348.648 Avg Mbps: 3348.648 5000 418875880 3351.007 100.00% Conn: 1 Mbps: 3351.007 Peak Mbps: 3351.007 Avg Mbps: 3351.007 --- fc00::13 tcpbench statistics --- 2509140648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3338.513/3344.091/3351.007/4.839 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.041 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.041/0.041/0.041/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.047 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.047/0.047/0.047/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 285319120 2282.553 100.00% Conn: 1 Mbps: 2282.553 Peak Mbps: 2282.553 Avg Mbps: 2282.553 2000 285213504 2281.708 100.00% Conn: 1 Mbps: 2281.708 Peak Mbps: 2282.553 Avg Mbps: 2281.708 3001 285429144 2283.433 100.00% Conn: 1 Mbps: 2283.433 Peak Mbps: 2283.433 Avg Mbps: 2283.433 4001 285209936 2281.679 100.00% Conn: 1 Mbps: 2281.679 Peak Mbps: 2283.433 Avg Mbps: 2281.679 5001 285211616 2283.977 100.00% Conn: 1 Mbps: 2283.977 Peak Mbps: 2283.977 Avg Mbps: 2283.977 --- 169.254.1.11 tcpbench statistics --- 1711688608 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2281.679/2282.670/2283.977/0.918 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 276959544 2215.676 100.00% Conn: 1 Mbps: 2215.676 Peak Mbps: 2215.676 Avg Mbps: 2215.676 2000 277149832 2219.418 100.00% Conn: 1 Mbps: 2219.418 Peak Mbps: 2219.418 Avg Mbps: 2219.418 3001 277767520 2222.140 100.00% Conn: 1 Mbps: 2222.140 Peak Mbps: 2222.140 Avg Mbps: 2222.140 4001 277402872 2221.444 100.00% Conn: 1 Mbps: 2221.444 Peak Mbps: 2222.140 Avg Mbps: 2221.444 5001 277498732 2219.990 100.00% Conn: 1 Mbps: 2219.990 Peak Mbps: 2222.140 Avg Mbps: 2219.990 --- fc00:0:0:1::11 tcpbench statistics --- 1663896620 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2215.676/2219.734/2222.140/2.251 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.041 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.041/0.041/0.041/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 951318624 7610.549 100.00% Conn: 1 Mbps: 7610.549 Peak Mbps: 7610.549 Avg Mbps: 7610.549 2000 955206504 7649.301 100.00% Conn: 1 Mbps: 7649.301 Peak Mbps: 7649.301 Avg Mbps: 7649.301 3000 956647264 7653.178 100.00% Conn: 1 Mbps: 7653.178 Peak Mbps: 7653.178 Avg Mbps: 7653.178 4000 955152928 7641.223 100.00% Conn: 1 Mbps: 7641.223 Peak Mbps: 7653.178 Avg Mbps: 7641.223 5000 954334808 7634.678 100.00% Conn: 1 Mbps: 7634.678 Peak Mbps: 7653.178 Avg Mbps: 7634.678 --- 169.254.1.12 tcpbench statistics --- 5726537368 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7610.549/7637.786/7653.178/15.052 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 968670948 7749.368 100.00% Conn: 1 Mbps: 7749.368 Peak Mbps: 7749.368 Avg Mbps: 7749.368 2000 968638104 7756.862 100.00% Conn: 1 Mbps: 7756.862 Peak Mbps: 7756.862 Avg Mbps: 7756.862 3000 967407168 7747.004 100.00% Conn: 1 Mbps: 7747.004 Peak Mbps: 7756.862 Avg Mbps: 7747.004 4000 968739492 7749.916 100.00% Conn: 1 Mbps: 7749.916 Peak Mbps: 7756.862 Avg Mbps: 7749.916 5000 967931244 7743.450 100.00% Conn: 1 Mbps: 7743.450 Peak Mbps: 7756.862 Avg Mbps: 7743.450 --- fc00:0:0:1::12 tcpbench statistics --- 5809470996 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7743.450/7749.320/7756.862/4.406 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.040 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.040/0.040/0.040/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.045 ms --- fc00::13 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-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 1375963496 11007.708 100.00% Conn: 1 Mbps: 11007.708 Peak Mbps: 11007.708 Avg Mbps: 11007.708 2000 1380582484 11055.716 100.00% Conn: 1 Mbps: 11055.716 Peak Mbps: 11055.716 Avg Mbps: 11055.716 3000 1390691728 11125.534 100.00% Conn: 1 Mbps: 11125.534 Peak Mbps: 11125.534 Avg Mbps: 11125.534 4000 1413658360 11309.267 100.00% Conn: 1 Mbps: 11309.267 Peak Mbps: 11309.267 Avg Mbps: 11309.267 5000 1414247248 11313.978 100.00% Conn: 1 Mbps: 11313.978 Peak Mbps: 11313.978 Avg Mbps: 11313.978 --- 169.254.0.13 tcpbench statistics --- 8360698632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11007.708/11162.440/11313.978/127.449 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 1308793980 10470.352 100.00% Conn: 1 Mbps: 10470.352 Peak Mbps: 10470.352 Avg Mbps: 10470.352 2000 1300058352 10410.878 100.00% Conn: 1 Mbps: 10410.878 Peak Mbps: 10470.352 Avg Mbps: 10410.878 3000 1312548224 10500.386 100.00% Conn: 1 Mbps: 10500.386 Peak Mbps: 10500.386 Avg Mbps: 10500.386 4000 1288124312 10304.994 100.00% Conn: 1 Mbps: 10304.994 Peak Mbps: 10500.386 Avg Mbps: 10304.994 5000 1285475936 10283.807 100.00% Conn: 1 Mbps: 10283.807 Peak Mbps: 10500.386 Avg Mbps: 10283.807 --- fc00::13 tcpbench statistics --- 7810785932 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10283.807/10394.083/10500.386/86.599 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.046 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.046/0.046/0.046/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.052 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.052/0.052/0.052/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 282921296 2263.370 100.00% Conn: 1 Mbps: 2263.370 Peak Mbps: 2263.370 Avg Mbps: 2263.370 2001 283180896 2265.447 100.00% Conn: 1 Mbps: 2265.447 Peak Mbps: 2265.447 Avg Mbps: 2265.447 3000 283014096 2266.379 100.00% Conn: 1 Mbps: 2266.379 Peak Mbps: 2266.379 Avg Mbps: 2266.379 4001 283210416 2265.683 100.00% Conn: 1 Mbps: 2265.683 Peak Mbps: 2266.379 Avg Mbps: 2265.683 5002 282971264 2263.770 100.00% Conn: 1 Mbps: 2263.770 Peak Mbps: 2266.379 Avg Mbps: 2263.770 --- 169.254.1.11 tcpbench statistics --- 1697597200 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2263.370/2264.930/2266.379/1.159 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 442267104 3538.137 100.00% Conn: 1 Mbps: 3538.137 Peak Mbps: 3538.137 Avg Mbps: 3538.137 2000 439374328 3514.995 100.00% Conn: 1 Mbps: 3514.995 Peak Mbps: 3538.137 Avg Mbps: 3514.995 3000 439032288 3512.258 100.00% Conn: 1 Mbps: 3512.258 Peak Mbps: 3538.137 Avg Mbps: 3512.258 4000 438919240 3514.869 100.00% Conn: 1 Mbps: 3514.869 Peak Mbps: 3538.137 Avg Mbps: 3514.869 5000 438434248 3507.474 100.00% Conn: 1 Mbps: 3507.474 Peak Mbps: 3538.137 Avg Mbps: 3507.474 --- fc00:0:0:1::11 tcpbench statistics --- 2636449832 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3507.474/3517.547/3538.137/10.650 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.043 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.043/0.043/0.043/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.046 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.046/0.046/0.046/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 1390741680 11125.933 100.00% Conn: 1 Mbps: 11125.933 Peak Mbps: 11125.933 Avg Mbps: 11125.933 2000 1395058342 11171.638 100.00% Conn: 1 Mbps: 11171.638 Peak Mbps: 11171.638 Avg Mbps: 11171.638 3000 1353853488 10830.828 100.00% Conn: 1 Mbps: 10830.828 Peak Mbps: 11171.638 Avg Mbps: 10830.828 4000 1357190544 10857.524 100.00% Conn: 1 Mbps: 10857.524 Peak Mbps: 11171.638 Avg Mbps: 10857.524 5000 1413805582 11310.445 100.00% Conn: 1 Mbps: 11310.445 Peak Mbps: 11310.445 Avg Mbps: 11310.445 --- 169.254.1.12 tcpbench statistics --- 8327481448 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10830.828/11059.274/11310.445/186.036 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 1340981212 10727.850 100.00% Conn: 1 Mbps: 10727.850 Peak Mbps: 10727.850 Avg Mbps: 10727.850 2000 1311044208 10498.853 100.00% Conn: 1 Mbps: 10498.853 Peak Mbps: 10727.850 Avg Mbps: 10498.853 3000 1314935032 10519.480 100.00% Conn: 1 Mbps: 10519.480 Peak Mbps: 10727.850 Avg Mbps: 10519.480 4000 1325005400 10600.043 100.00% Conn: 1 Mbps: 10600.043 Peak Mbps: 10727.850 Avg Mbps: 10600.043 5000 1323861040 10590.888 100.00% Conn: 1 Mbps: 10590.888 Peak Mbps: 10727.850 Avg Mbps: 10590.888 --- fc00:0:0:1::12 tcpbench statistics --- 7942140132 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10498.853/10587.423/10727.850/80.439 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.037 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.037/0.037/0.037/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.042 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/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 1416669350 11333.355 100.00% Conn: 1 Mbps: 11333.355 Peak Mbps: 11333.355 Avg Mbps: 11333.355 2000 1428904016 11442.675 100.00% Conn: 1 Mbps: 11442.675 Peak Mbps: 11442.675 Avg Mbps: 11442.675 3000 1428740436 11429.923 100.00% Conn: 1 Mbps: 11429.923 Peak Mbps: 11442.675 Avg Mbps: 11429.923 4000 1427431796 11419.454 100.00% Conn: 1 Mbps: 11419.454 Peak Mbps: 11442.675 Avg Mbps: 11419.454 5000 1422229952 11377.840 100.00% Conn: 1 Mbps: 11377.840 Peak Mbps: 11442.675 Avg Mbps: 11377.840 --- 169.254.0.13 tcpbench statistics --- 8552781418 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11333.355/11400.649/11442.675/40.064 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 1425974572 11407.797 100.00% Conn: 1 Mbps: 11407.797 Peak Mbps: 11407.797 Avg Mbps: 11407.797 2000 1438689392 11521.036 100.00% Conn: 1 Mbps: 11521.036 Peak Mbps: 11521.036 Avg Mbps: 11521.036 3000 1433163768 11465.310 100.00% Conn: 1 Mbps: 11465.310 Peak Mbps: 11521.036 Avg Mbps: 11465.310 4000 1431627056 11453.016 100.00% Conn: 1 Mbps: 11453.016 Peak Mbps: 11521.036 Avg Mbps: 11453.016 5000 1436956504 11495.652 100.00% Conn: 1 Mbps: 11495.652 Peak Mbps: 11521.036 Avg Mbps: 11495.652 --- fc00::13 tcpbench statistics --- 8605264164 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11407.797/11468.562/11521.036/38.554 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 1m51.87s