START sys/net/pair 2025-02-13T16:38:02Z ==== 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.047 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.047/0.047/0.047/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 519449488 4155.596 100.00% Conn: 1 Mbps: 4155.596 Peak Mbps: 4155.596 Avg Mbps: 4155.596 2000 518495728 4152.118 100.00% Conn: 1 Mbps: 4152.118 Peak Mbps: 4155.596 Avg Mbps: 4152.118 3000 519155412 4153.243 100.00% Conn: 1 Mbps: 4153.243 Peak Mbps: 4155.596 Avg Mbps: 4153.243 4000 518654688 4149.238 100.00% Conn: 1 Mbps: 4149.238 Peak Mbps: 4155.596 Avg Mbps: 4149.238 5000 518400352 4147.203 100.00% Conn: 1 Mbps: 4147.203 Peak Mbps: 4155.596 Avg Mbps: 4147.203 --- 169.254.1.11 tcpbench statistics --- 3112126828 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4147.203/4151.479/4155.596/2.959 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 513670976 4109.368 100.00% Conn: 1 Mbps: 4109.368 Peak Mbps: 4109.368 Avg Mbps: 4109.368 2000 512339072 4102.815 100.00% Conn: 1 Mbps: 4102.815 Peak Mbps: 4109.368 Avg Mbps: 4102.815 3000 511752400 4094.019 100.00% Conn: 1 Mbps: 4094.019 Peak Mbps: 4109.368 Avg Mbps: 4094.019 4000 511720688 4093.766 100.00% Conn: 1 Mbps: 4093.766 Peak Mbps: 4109.368 Avg Mbps: 4093.766 5000 511887176 4095.097 100.00% Conn: 1 Mbps: 4095.097 Peak Mbps: 4109.368 Avg Mbps: 4095.097 --- fc00:0:0:1::11 tcpbench statistics --- 3072813520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4093.766/4099.013/4109.368/6.156 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.082 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.082/0.082/0.082/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.133 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.133/0.133/0.133/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 1001 273457456 2185.474 100.00% Conn: 1 Mbps: 2185.474 Peak Mbps: 2185.474 Avg Mbps: 2185.474 2002 289236384 2313.891 100.00% Conn: 1 Mbps: 2313.891 Peak Mbps: 2313.891 Avg Mbps: 2313.891 3002 289799304 2318.394 100.00% Conn: 1 Mbps: 2318.394 Peak Mbps: 2318.394 Avg Mbps: 2318.394 4002 289114624 2312.917 100.00% Conn: 1 Mbps: 2312.917 Peak Mbps: 2318.394 Avg Mbps: 2312.917 5003 290005992 2317.730 100.00% Conn: 1 Mbps: 2317.730 Peak Mbps: 2318.394 Avg Mbps: 2317.730 --- 169.254.1.12 tcpbench statistics --- 1720557584 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2185.474/2289.681/2318.394/52.147 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 251612844 2010.892 100.00% Conn: 1 Mbps: 2010.892 Peak Mbps: 2010.892 Avg Mbps: 2010.892 2001 270911192 2169.459 100.00% Conn: 1 Mbps: 2169.459 Peak Mbps: 2169.459 Avg Mbps: 2169.459 3002 272569976 2180.560 100.00% Conn: 1 Mbps: 2180.560 Peak Mbps: 2180.560 Avg Mbps: 2180.560 4002 270765352 2166.123 100.00% Conn: 1 Mbps: 2166.123 Peak Mbps: 2180.560 Avg Mbps: 2166.123 5003 276977448 2215.820 100.00% Conn: 1 Mbps: 2215.820 Peak Mbps: 2215.820 Avg Mbps: 2215.820 --- fc00:0:0:1::12 tcpbench statistics --- 1620833400 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2010.892/2148.571/2215.820/71.057 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.074 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.074/0.074/0.074/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.074 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.074/0.074/0.074/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 613753876 4910.031 100.00% Conn: 1 Mbps: 4910.031 Peak Mbps: 4910.031 Avg Mbps: 4910.031 2000 625642964 5005.144 100.00% Conn: 1 Mbps: 5005.144 Peak Mbps: 5005.144 Avg Mbps: 5005.144 3000 609929208 4884.318 100.00% Conn: 1 Mbps: 4884.318 Peak Mbps: 5005.144 Avg Mbps: 4884.318 4000 623081748 4984.654 100.00% Conn: 1 Mbps: 4984.654 Peak Mbps: 5005.144 Avg Mbps: 4984.654 5000 615170720 4926.292 100.00% Conn: 1 Mbps: 4926.292 Peak Mbps: 5005.144 Avg Mbps: 4926.292 --- 169.254.0.13 tcpbench statistics --- 3688937012 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4884.318/4942.088/5005.144/45.612 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 552038088 4416.305 100.00% Conn: 1 Mbps: 4416.305 Peak Mbps: 4416.305 Avg Mbps: 4416.305 2000 581603944 4652.832 100.00% Conn: 1 Mbps: 4652.832 Peak Mbps: 4652.832 Avg Mbps: 4652.832 3001 580714320 4645.715 100.00% Conn: 1 Mbps: 4645.715 Peak Mbps: 4652.832 Avg Mbps: 4645.715 4001 585851400 4686.811 100.00% Conn: 1 Mbps: 4686.811 Peak Mbps: 4686.811 Avg Mbps: 4686.811 5002 584939552 4679.516 100.00% Conn: 1 Mbps: 4679.516 Peak Mbps: 4686.811 Avg Mbps: 4679.516 --- fc00::13 tcpbench statistics --- 3470149112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4416.305/4616.236/4686.811/101.159 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.057 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.057/0.057/0.057/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.053 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/0.000 ms ==== run-tcpbench-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 272901080 2183.209 100.00% Conn: 1 Mbps: 2183.209 Peak Mbps: 2183.209 Avg Mbps: 2183.209 2001 283834152 2270.673 100.00% Conn: 1 Mbps: 2270.673 Peak Mbps: 2270.673 Avg Mbps: 2270.673 3000 284512592 2278.379 100.00% Conn: 1 Mbps: 2278.379 Peak Mbps: 2278.379 Avg Mbps: 2278.379 4001 285564024 2284.512 100.00% Conn: 1 Mbps: 2284.512 Peak Mbps: 2284.512 Avg Mbps: 2284.512 5001 286511288 2292.090 100.00% Conn: 1 Mbps: 2292.090 Peak Mbps: 2292.090 Avg Mbps: 2292.090 --- 169.254.1.11 tcpbench statistics --- 1698106784 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2183.209/2261.773/2292.090/39.909 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 1001 253698204 2027.558 100.00% Conn: 1 Mbps: 2027.558 Peak Mbps: 2027.558 Avg Mbps: 2027.558 2000 266233784 2134.139 100.00% Conn: 1 Mbps: 2134.139 Peak Mbps: 2134.139 Avg Mbps: 2134.139 3002 271762052 2171.924 100.00% Conn: 1 Mbps: 2171.924 Peak Mbps: 2171.924 Avg Mbps: 2171.924 4001 270168036 2163.508 100.00% Conn: 1 Mbps: 2163.508 Peak Mbps: 2171.924 Avg Mbps: 2163.508 5002 272954928 2183.639 100.00% Conn: 1 Mbps: 2183.639 Peak Mbps: 2183.639 Avg Mbps: 2183.639 --- fc00:0:0:1::11 tcpbench statistics --- 1608519440 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2027.558/2136.154/2183.639/56.709 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.051 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.051/0.051/0.051/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.048 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.048/0.048/0.048/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 520492288 4163.938 100.00% Conn: 1 Mbps: 4163.938 Peak Mbps: 4163.938 Avg Mbps: 4163.938 2000 519176056 4157.566 100.00% Conn: 1 Mbps: 4157.566 Peak Mbps: 4163.938 Avg Mbps: 4157.566 3000 517933672 4143.469 100.00% Conn: 1 Mbps: 4143.469 Peak Mbps: 4163.938 Avg Mbps: 4143.469 4000 517994488 4143.956 100.00% Conn: 1 Mbps: 4143.956 Peak Mbps: 4163.938 Avg Mbps: 4143.956 5000 518127704 4145.022 100.00% Conn: 1 Mbps: 4145.022 Peak Mbps: 4163.938 Avg Mbps: 4145.022 --- 169.254.1.12 tcpbench statistics --- 3111195968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4143.469/4150.790/4163.938/8.395 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 523343436 4186.747 100.00% Conn: 1 Mbps: 4186.747 Peak Mbps: 4186.747 Avg Mbps: 4186.747 2000 525990948 4212.140 100.00% Conn: 1 Mbps: 4212.140 Peak Mbps: 4212.140 Avg Mbps: 4212.140 3000 525256956 4202.056 100.00% Conn: 1 Mbps: 4202.056 Peak Mbps: 4212.140 Avg Mbps: 4202.056 4000 525695352 4205.563 100.00% Conn: 1 Mbps: 4205.563 Peak Mbps: 4212.140 Avg Mbps: 4205.563 5000 525205548 4201.644 100.00% Conn: 1 Mbps: 4201.644 Peak Mbps: 4212.140 Avg Mbps: 4201.644 --- fc00:0:0:1::12 tcpbench statistics --- 3150844872 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4186.747/4201.630/4212.140/8.338 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.044 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.044/0.044/0.044/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.062 ms --- fc00::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-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 778398538 6227.188 100.00% Conn: 1 Mbps: 6227.188 Peak Mbps: 6227.188 Avg Mbps: 6227.188 2000 776972284 6222.000 100.00% Conn: 1 Mbps: 6222.000 Peak Mbps: 6227.188 Avg Mbps: 6222.000 3000 778313640 6226.509 100.00% Conn: 1 Mbps: 6226.509 Peak Mbps: 6227.188 Avg Mbps: 6226.509 4000 777888332 6223.107 100.00% Conn: 1 Mbps: 6223.107 Peak Mbps: 6227.188 Avg Mbps: 6223.107 5000 778051912 6224.415 100.00% Conn: 1 Mbps: 6224.415 Peak Mbps: 6227.188 Avg Mbps: 6224.415 --- 169.254.0.13 tcpbench statistics --- 4667333100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6222.000/6224.644/6227.188/1.968 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 762344004 6098.752 100.00% Conn: 1 Mbps: 6098.752 Peak Mbps: 6098.752 Avg Mbps: 6098.752 2000 763549688 6114.512 100.00% Conn: 1 Mbps: 6114.512 Peak Mbps: 6114.512 Avg Mbps: 6114.512 3000 763974736 6111.798 100.00% Conn: 1 Mbps: 6111.798 Peak Mbps: 6114.512 Avg Mbps: 6111.798 4000 764105520 6112.844 100.00% Conn: 1 Mbps: 6112.844 Peak Mbps: 6114.512 Avg Mbps: 6112.844 5000 764301696 6114.414 100.00% Conn: 1 Mbps: 6114.414 Peak Mbps: 6114.512 Avg Mbps: 6114.414 --- fc00::13 tcpbench statistics --- 4583067780 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6098.752/6110.464/6114.512/5.943 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.059 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.059/0.059/0.059/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.058 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.058/0.058/0.058/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 274809608 2198.477 100.00% Conn: 1 Mbps: 2198.477 Peak Mbps: 2198.477 Avg Mbps: 2198.477 2000 281077392 2250.870 100.00% Conn: 1 Mbps: 2250.870 Peak Mbps: 2250.870 Avg Mbps: 2250.870 3002 282450200 2257.344 100.00% Conn: 1 Mbps: 2257.344 Peak Mbps: 2257.344 Avg Mbps: 2257.344 4001 283316224 2268.799 100.00% Conn: 1 Mbps: 2268.799 Peak Mbps: 2268.799 Avg Mbps: 2268.799 5003 282783640 2260.009 100.00% Conn: 1 Mbps: 2260.009 Peak Mbps: 2268.799 Avg Mbps: 2260.009 --- 169.254.1.11 tcpbench statistics --- 1685356056 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2198.477/2247.100/2268.799/24.983 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 543998664 4351.989 100.00% Conn: 1 Mbps: 4351.989 Peak Mbps: 4351.989 Avg Mbps: 4351.989 2001 606074816 4848.599 100.00% Conn: 1 Mbps: 4848.599 Peak Mbps: 4848.599 Avg Mbps: 4848.599 3001 608882648 4871.061 100.00% Conn: 1 Mbps: 4871.061 Peak Mbps: 4871.061 Avg Mbps: 4871.061 4001 604584752 4836.678 100.00% Conn: 1 Mbps: 4836.678 Peak Mbps: 4871.061 Avg Mbps: 4836.678 5001 602206760 4817.654 100.00% Conn: 1 Mbps: 4817.654 Peak Mbps: 4871.061 Avg Mbps: 4817.654 --- fc00:0:0:1::11 tcpbench statistics --- 3574225856 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4351.989/4745.196/4871.061/197.365 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.048 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.048/0.048/0.048/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.063 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.063/0.063/0.063/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 773226448 6185.812 100.00% Conn: 1 Mbps: 6185.812 Peak Mbps: 6185.812 Avg Mbps: 6185.812 2000 775205452 6207.851 100.00% Conn: 1 Mbps: 6207.851 Peak Mbps: 6207.851 Avg Mbps: 6207.851 3000 772163032 6177.304 100.00% Conn: 1 Mbps: 6177.304 Peak Mbps: 6207.851 Avg Mbps: 6177.304 4000 772032168 6182.440 100.00% Conn: 1 Mbps: 6182.440 Peak Mbps: 6207.851 Avg Mbps: 6182.440 5000 771574144 6172.593 100.00% Conn: 1 Mbps: 6172.593 Peak Mbps: 6207.851 Avg Mbps: 6172.593 --- 169.254.1.12 tcpbench statistics --- 4636724152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6172.593/6185.200/6207.851/12.185 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 760388452 6083.108 100.00% Conn: 1 Mbps: 6083.108 Peak Mbps: 6083.108 Avg Mbps: 6083.108 2000 761391752 6097.231 100.00% Conn: 1 Mbps: 6097.231 Peak Mbps: 6097.231 Avg Mbps: 6097.231 3000 761424448 6091.396 100.00% Conn: 1 Mbps: 6091.396 Peak Mbps: 6097.231 Avg Mbps: 6091.396 4000 757631712 6061.054 100.00% Conn: 1 Mbps: 6061.054 Peak Mbps: 6097.231 Avg Mbps: 6061.054 5000 763353512 6106.828 100.00% Conn: 1 Mbps: 6106.828 Peak Mbps: 6106.828 Avg Mbps: 6106.828 --- fc00:0:0:1::12 tcpbench statistics --- 4567968436 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6061.054/6087.923/6106.828/15.500 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.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-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 785713266 6285.706 100.00% Conn: 1 Mbps: 6285.706 Peak Mbps: 6285.706 Avg Mbps: 6285.706 2000 786427208 6297.715 100.00% Conn: 1 Mbps: 6297.715 Peak Mbps: 6297.715 Avg Mbps: 6297.715 3000 787048812 6296.390 100.00% Conn: 1 Mbps: 6296.390 Peak Mbps: 6297.715 Avg Mbps: 6296.390 4000 787081528 6296.652 100.00% Conn: 1 Mbps: 6296.652 Peak Mbps: 6297.715 Avg Mbps: 6296.652 5000 786917948 6295.344 100.00% Conn: 1 Mbps: 6295.344 Peak Mbps: 6297.715 Avg Mbps: 6295.344 --- 169.254.0.13 tcpbench statistics --- 4719288810 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6285.706/6294.362/6297.715/4.393 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 786135060 6289.080 100.00% Conn: 1 Mbps: 6289.080 Peak Mbps: 6289.080 Avg Mbps: 6289.080 2000 787090808 6303.029 100.00% Conn: 1 Mbps: 6303.029 Peak Mbps: 6303.029 Avg Mbps: 6303.029 3000 787123504 6296.988 100.00% Conn: 1 Mbps: 6296.988 Peak Mbps: 6303.029 Avg Mbps: 6296.988 4000 787581248 6300.650 100.00% Conn: 1 Mbps: 6300.650 Peak Mbps: 6303.029 Avg Mbps: 6300.650 5000 787875512 6303.004 100.00% Conn: 1 Mbps: 6303.004 Peak Mbps: 6303.029 Avg Mbps: 6303.004 --- fc00::13 tcpbench statistics --- 4723747036 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6289.080/6298.550/6303.029/5.224 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.85s