START sys/net/pair 2025-01-25T05:31:28Z ==== 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.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 506716792 4053.734 100.00% Conn: 1 Mbps: 4053.734 Peak Mbps: 4053.734 Avg Mbps: 4053.734 2000 506478352 4055.883 100.00% Conn: 1 Mbps: 4055.883 Peak Mbps: 4055.883 Avg Mbps: 4055.883 3000 506541936 4052.335 100.00% Conn: 1 Mbps: 4052.335 Peak Mbps: 4055.883 Avg Mbps: 4052.335 4000 506414768 4051.318 100.00% Conn: 1 Mbps: 4051.318 Peak Mbps: 4055.883 Avg Mbps: 4051.318 5000 506756532 4054.052 100.00% Conn: 1 Mbps: 4054.052 Peak Mbps: 4055.883 Avg Mbps: 4054.052 --- 169.254.1.11 tcpbench statistics --- 3039076760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4051.318/4053.465/4055.883/1.559 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 501398432 4011.187 100.00% Conn: 1 Mbps: 4011.187 Peak Mbps: 4011.187 Avg Mbps: 4011.187 2000 499685984 4001.489 100.00% Conn: 1 Mbps: 4001.489 Peak Mbps: 4011.187 Avg Mbps: 4001.489 3000 499749408 3997.995 100.00% Conn: 1 Mbps: 3997.995 Peak Mbps: 4011.187 Avg Mbps: 3997.995 4000 500153736 4001.230 100.00% Conn: 1 Mbps: 4001.230 Peak Mbps: 4011.187 Avg Mbps: 4001.230 5000 499852472 3998.820 100.00% Conn: 1 Mbps: 3998.820 Peak Mbps: 4011.187 Avg Mbps: 3998.820 --- fc00:0:0:1::11 tcpbench statistics --- 3000898632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3997.995/4002.144/4011.187/4.718 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.081 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.081/0.081/0.081/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.140 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.140/0.140/0.140/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 1002 271813768 2170.170 100.00% Conn: 1 Mbps: 2170.170 Peak Mbps: 2170.170 Avg Mbps: 2170.170 2001 282826424 2264.876 100.00% Conn: 1 Mbps: 2264.876 Peak Mbps: 2264.876 Avg Mbps: 2264.876 3002 286817168 2294.537 100.00% Conn: 1 Mbps: 2294.537 Peak Mbps: 2294.537 Avg Mbps: 2294.537 4002 287534224 2300.274 100.00% Conn: 1 Mbps: 2300.274 Peak Mbps: 2300.274 Avg Mbps: 2300.274 5002 287649440 2303.499 100.00% Conn: 1 Mbps: 2303.499 Peak Mbps: 2303.499 Avg Mbps: 2303.499 --- 169.254.1.12 tcpbench statistics --- 1702659288 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2170.170/2266.671/2303.499/50.155 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 258170472 2063.300 100.00% Conn: 1 Mbps: 2063.300 Peak Mbps: 2063.300 Avg Mbps: 2063.300 2001 270078680 2160.629 100.00% Conn: 1 Mbps: 2160.629 Peak Mbps: 2160.629 Avg Mbps: 2160.629 3001 275336376 2204.896 100.00% Conn: 1 Mbps: 2204.896 Peak Mbps: 2204.896 Avg Mbps: 2204.896 4002 278371268 2224.745 100.00% Conn: 1 Mbps: 2224.745 Peak Mbps: 2224.745 Avg Mbps: 2224.745 5003 278718556 2229.748 100.00% Conn: 1 Mbps: 2229.748 Peak Mbps: 2229.748 Avg Mbps: 2229.748 --- fc00:0:0:1::12 tcpbench statistics --- 1636419624 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2063.300/2176.664/2229.748/61.701 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.066 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.066/0.066/0.066/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.072 ms --- fc00::13 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-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 602218388 4817.747 100.00% Conn: 1 Mbps: 4817.747 Peak Mbps: 4817.747 Avg Mbps: 4817.747 2000 636074908 5093.693 100.00% Conn: 1 Mbps: 5093.693 Peak Mbps: 5093.693 Avg Mbps: 5093.693 3000 641711720 5133.694 100.00% Conn: 1 Mbps: 5133.694 Peak Mbps: 5133.694 Avg Mbps: 5133.694 4002 633817116 5065.471 100.00% Conn: 1 Mbps: 5065.471 Peak Mbps: 5133.694 Avg Mbps: 5065.471 5002 633745444 5069.964 100.00% Conn: 1 Mbps: 5069.964 Peak Mbps: 5133.694 Avg Mbps: 5069.964 --- 169.254.0.13 tcpbench statistics --- 3784875124 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4817.747/5036.114/5133.694/111.829 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 545490600 4363.925 100.00% Conn: 1 Mbps: 4363.925 Peak Mbps: 4363.925 Avg Mbps: 4363.925 2001 574625096 4592.408 100.00% Conn: 1 Mbps: 4592.408 Peak Mbps: 4592.408 Avg Mbps: 4592.408 3002 574929480 4599.436 100.00% Conn: 1 Mbps: 4599.436 Peak Mbps: 4599.436 Avg Mbps: 4599.436 4002 574723872 4597.791 100.00% Conn: 1 Mbps: 4597.791 Peak Mbps: 4599.436 Avg Mbps: 4597.791 5002 575724488 4605.796 100.00% Conn: 1 Mbps: 4605.796 Peak Mbps: 4605.796 Avg Mbps: 4605.796 --- fc00::13 tcpbench statistics --- 3419185336 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4363.925/4551.871/4605.796/94.070 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.049 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.049/0.049/0.049/0.000 ms ==== run-ping6-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.054 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.054/0.054/0.054/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 1001 267687920 2139.364 100.00% Conn: 1 Mbps: 2139.364 Peak Mbps: 2139.364 Avg Mbps: 2139.364 2000 282867680 2267.476 100.00% Conn: 1 Mbps: 2267.476 Peak Mbps: 2267.476 Avg Mbps: 2267.476 3000 284501864 2276.015 100.00% Conn: 1 Mbps: 2276.015 Peak Mbps: 2276.015 Avg Mbps: 2276.015 4000 284572488 2276.580 100.00% Conn: 1 Mbps: 2276.580 Peak Mbps: 2276.580 Avg Mbps: 2276.580 5001 283027240 2264.218 100.00% Conn: 1 Mbps: 2264.218 Peak Mbps: 2276.580 Avg Mbps: 2264.218 --- 169.254.1.11 tcpbench statistics --- 1690256824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2139.364/2244.731/2276.580/52.901 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 254905824 2039.247 100.00% Conn: 1 Mbps: 2039.247 Peak Mbps: 2039.247 Avg Mbps: 2039.247 2001 270072416 2158.421 100.00% Conn: 1 Mbps: 2158.421 Peak Mbps: 2158.421 Avg Mbps: 2158.421 3001 272867888 2185.128 100.00% Conn: 1 Mbps: 2185.128 Peak Mbps: 2185.128 Avg Mbps: 2185.128 4002 274671072 2195.173 100.00% Conn: 1 Mbps: 2195.173 Peak Mbps: 2195.173 Avg Mbps: 2195.173 5002 277401380 2221.432 100.00% Conn: 1 Mbps: 2221.432 Peak Mbps: 2221.432 Avg Mbps: 2221.432 --- fc00:0:0:1::11 tcpbench statistics --- 1623720948 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2039.247/2159.880/2221.432/63.602 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.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-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 510582176 4084.657 100.00% Conn: 1 Mbps: 4084.657 Peak Mbps: 4084.657 Avg Mbps: 4084.657 2000 510658920 4089.361 100.00% Conn: 1 Mbps: 4089.361 Peak Mbps: 4089.361 Avg Mbps: 4089.361 3000 509820528 4078.564 100.00% Conn: 1 Mbps: 4078.564 Peak Mbps: 4089.361 Avg Mbps: 4078.564 4000 509444048 4075.552 100.00% Conn: 1 Mbps: 4075.552 Peak Mbps: 4089.361 Avg Mbps: 4075.552 5000 507920752 4063.366 100.00% Conn: 1 Mbps: 4063.366 Peak Mbps: 4089.361 Avg Mbps: 4063.366 --- 169.254.1.12 tcpbench statistics --- 3058102152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4063.366/4078.300/4089.361/8.870 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 518146944 4145.176 100.00% Conn: 1 Mbps: 4145.176 Peak Mbps: 4145.176 Avg Mbps: 4145.176 2000 517797084 4146.523 100.00% Conn: 1 Mbps: 4146.523 Peak Mbps: 4146.523 Avg Mbps: 4146.523 3000 518209776 4145.678 100.00% Conn: 1 Mbps: 4145.678 Peak Mbps: 4146.523 Avg Mbps: 4145.678 4000 517914180 4143.313 100.00% Conn: 1 Mbps: 4143.313 Peak Mbps: 4146.523 Avg Mbps: 4143.313 5000 518294028 4146.352 100.00% Conn: 1 Mbps: 4146.352 Peak Mbps: 4146.523 Avg Mbps: 4146.352 --- fc00:0:0:1::12 tcpbench statistics --- 3109044456 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4143.313/4145.409/4146.523/1.153 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.049 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.049/0.049/0.049/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.053 ms --- fc00::13 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-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 770811538 6166.492 100.00% Conn: 1 Mbps: 6166.492 Peak Mbps: 6166.492 Avg Mbps: 6166.492 2000 771835872 6180.868 100.00% Conn: 1 Mbps: 6180.868 Peak Mbps: 6180.868 Avg Mbps: 6180.868 3000 771999452 6175.996 100.00% Conn: 1 Mbps: 6175.996 Peak Mbps: 6180.868 Avg Mbps: 6175.996 4000 771606860 6172.855 100.00% Conn: 1 Mbps: 6172.855 Peak Mbps: 6180.868 Avg Mbps: 6172.855 5000 771541428 6172.331 100.00% Conn: 1 Mbps: 6172.331 Peak Mbps: 6180.868 Avg Mbps: 6172.331 --- 169.254.0.13 tcpbench statistics --- 4630089046 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6166.492/6173.708/6180.868/4.716 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 768707372 6149.659 100.00% Conn: 1 Mbps: 6149.659 Peak Mbps: 6149.659 Avg Mbps: 6149.659 2000 769336880 6160.856 100.00% Conn: 1 Mbps: 6160.856 Peak Mbps: 6160.856 Avg Mbps: 6160.856 3000 768977224 6151.818 100.00% Conn: 1 Mbps: 6151.818 Peak Mbps: 6160.856 Avg Mbps: 6151.818 4000 769238792 6153.910 100.00% Conn: 1 Mbps: 6153.910 Peak Mbps: 6160.856 Avg Mbps: 6153.910 5000 769238792 6153.910 100.00% Conn: 1 Mbps: 6153.910 Peak Mbps: 6160.856 Avg Mbps: 6153.910 --- fc00::13 tcpbench statistics --- 4615130204 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6149.659/6154.031/6160.856/3.758 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.065 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.065/0.065/0.065/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.060 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.060/0.060/0.060/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 269967792 2159.742 100.00% Conn: 1 Mbps: 2159.742 Peak Mbps: 2159.742 Avg Mbps: 2159.742 2001 279535832 2236.287 100.00% Conn: 1 Mbps: 2236.287 Peak Mbps: 2236.287 Avg Mbps: 2236.287 3003 278920272 2229.133 100.00% Conn: 1 Mbps: 2229.133 Peak Mbps: 2236.287 Avg Mbps: 2229.133 4004 278684968 2229.480 100.00% Conn: 1 Mbps: 2229.480 Peak Mbps: 2236.287 Avg Mbps: 2229.480 5003 279083008 2234.899 100.00% Conn: 1 Mbps: 2234.899 Peak Mbps: 2236.287 Avg Mbps: 2234.899 --- 169.254.1.11 tcpbench statistics --- 1665172624 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2159.742/2217.908/2236.287/29.222 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 533526120 4268.209 100.00% Conn: 1 Mbps: 4268.209 Peak Mbps: 4268.209 Avg Mbps: 4268.209 2000 584373328 4679.666 100.00% Conn: 1 Mbps: 4679.666 Peak Mbps: 4679.666 Avg Mbps: 4679.666 3000 585635848 4685.087 100.00% Conn: 1 Mbps: 4685.087 Peak Mbps: 4685.087 Avg Mbps: 4685.087 4000 582914888 4667.987 100.00% Conn: 1 Mbps: 4667.987 Peak Mbps: 4685.087 Avg Mbps: 4667.987 5001 588521160 4708.169 100.00% Conn: 1 Mbps: 4708.169 Peak Mbps: 4708.169 Avg Mbps: 4708.169 --- fc00:0:0:1::11 tcpbench statistics --- 3463161784 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4268.209/4601.824/4708.169/167.319 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.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-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.051 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.051/0.051/0.051/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 777894846 6223.159 100.00% Conn: 1 Mbps: 6223.159 Peak Mbps: 6223.159 Avg Mbps: 6223.159 2000 778869812 6237.196 100.00% Conn: 1 Mbps: 6237.196 Peak Mbps: 6237.196 Avg Mbps: 6237.196 3000 779082466 6232.660 100.00% Conn: 1 Mbps: 6232.660 Peak Mbps: 6237.196 Avg Mbps: 6232.660 4000 778444504 6227.556 100.00% Conn: 1 Mbps: 6227.556 Peak Mbps: 6237.196 Avg Mbps: 6227.556 5000 777790184 6222.321 100.00% Conn: 1 Mbps: 6222.321 Peak Mbps: 6237.196 Avg Mbps: 6222.321 --- 169.254.1.12 tcpbench statistics --- 4670362736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6222.321/6228.578/6237.196/5.665 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 766535212 6132.282 100.00% Conn: 1 Mbps: 6132.282 Peak Mbps: 6132.282 Avg Mbps: 6132.282 2000 768846440 6156.928 100.00% Conn: 1 Mbps: 6156.928 Peak Mbps: 6156.928 Avg Mbps: 6156.928 3000 771658296 6173.266 100.00% Conn: 1 Mbps: 6173.266 Peak Mbps: 6173.266 Avg Mbps: 6173.266 4000 771364032 6170.912 100.00% Conn: 1 Mbps: 6170.912 Peak Mbps: 6173.266 Avg Mbps: 6170.912 5000 767865560 6142.924 100.00% Conn: 1 Mbps: 6142.924 Peak Mbps: 6173.266 Avg Mbps: 6142.924 --- fc00:0:0:1::12 tcpbench statistics --- 4615606420 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6132.282/6155.263/6173.266/15.825 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.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-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.049 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.049/0.049/0.049/0.000 ms ==== run-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 775343442 6202.748 100.00% Conn: 1 Mbps: 6202.748 Peak Mbps: 6202.748 Avg Mbps: 6202.748 2000 776808704 6220.690 100.00% Conn: 1 Mbps: 6220.690 Peak Mbps: 6220.690 Avg Mbps: 6220.690 3000 775238336 6201.907 100.00% Conn: 1 Mbps: 6201.907 Peak Mbps: 6220.690 Avg Mbps: 6201.907 4000 776285248 6210.282 100.00% Conn: 1 Mbps: 6210.282 Peak Mbps: 6220.690 Avg Mbps: 6210.282 5000 775925372 6207.403 100.00% Conn: 1 Mbps: 6207.403 Peak Mbps: 6220.690 Avg Mbps: 6207.403 --- 169.254.0.13 tcpbench statistics --- 4656507954 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6201.907/6208.606/6220.690/6.775 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 780025372 6240.203 100.00% Conn: 1 Mbps: 6240.203 Peak Mbps: 6240.203 Avg Mbps: 6240.203 2000 781074744 6254.853 100.00% Conn: 1 Mbps: 6254.853 Peak Mbps: 6254.853 Avg Mbps: 6254.853 3000 781270920 6250.167 100.00% Conn: 1 Mbps: 6250.167 Peak Mbps: 6254.853 Avg Mbps: 6250.167 4000 779603424 6236.827 100.00% Conn: 1 Mbps: 6236.827 Peak Mbps: 6254.853 Avg Mbps: 6236.827 5000 780257344 6242.059 100.00% Conn: 1 Mbps: 6242.059 Peak Mbps: 6254.853 Avg Mbps: 6242.059 --- fc00::13 tcpbench statistics --- 4683829684 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6236.827/6244.822/6254.853/6.664 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