START sys/net/pair 2025-02-06T04:45:00Z ==== 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.042 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.042/0.042/0.042/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 499603332 3996.827 100.00% Conn: 1 Mbps: 3996.827 Peak Mbps: 3996.827 Avg Mbps: 3996.827 2000 499007232 3996.054 100.00% Conn: 1 Mbps: 3996.054 Peak Mbps: 3996.827 Avg Mbps: 3996.054 3000 499237724 3993.902 100.00% Conn: 1 Mbps: 3993.902 Peak Mbps: 3996.827 Avg Mbps: 3993.902 4000 500110464 4000.884 100.00% Conn: 1 Mbps: 4000.884 Peak Mbps: 4000.884 Avg Mbps: 4000.884 5000 498975440 3991.804 100.00% Conn: 1 Mbps: 3991.804 Peak Mbps: 4000.884 Avg Mbps: 3991.804 --- 169.254.1.11 tcpbench statistics --- 2995893736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3991.804/3995.894/4000.884/3.049 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 498235160 3985.881 100.00% Conn: 1 Mbps: 3985.881 Peak Mbps: 3985.881 Avg Mbps: 3985.881 2000 496562352 3976.475 100.00% Conn: 1 Mbps: 3976.475 Peak Mbps: 3985.881 Avg Mbps: 3976.475 3000 496649560 3973.196 100.00% Conn: 1 Mbps: 3973.196 Peak Mbps: 3985.881 Avg Mbps: 3973.196 4000 496760552 3974.084 100.00% Conn: 1 Mbps: 3974.084 Peak Mbps: 3985.881 Avg Mbps: 3974.084 5000 497061816 3976.495 100.00% Conn: 1 Mbps: 3976.495 Peak Mbps: 3985.881 Avg Mbps: 3976.495 --- fc00:0:0:1::11 tcpbench statistics --- 2981847648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3973.196/3977.226/3985.881/4.519 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.075 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.075/0.075/0.075/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.143 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.143/0.143/0.143/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 268823184 2150.585 100.00% Conn: 1 Mbps: 2150.585 Peak Mbps: 2150.585 Avg Mbps: 2150.585 2001 275740784 2205.926 100.00% Conn: 1 Mbps: 2205.926 Peak Mbps: 2205.926 Avg Mbps: 2205.926 3001 282074216 2256.594 100.00% Conn: 1 Mbps: 2256.594 Peak Mbps: 2256.594 Avg Mbps: 2256.594 4002 284938144 2279.505 100.00% Conn: 1 Mbps: 2279.505 Peak Mbps: 2279.505 Avg Mbps: 2279.505 5002 281397392 2251.179 100.00% Conn: 1 Mbps: 2251.179 Peak Mbps: 2279.505 Avg Mbps: 2251.179 --- 169.254.1.12 tcpbench statistics --- 1676774392 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2150.585/2228.758/2279.505/45.793 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 253029180 2022.211 100.00% Conn: 1 Mbps: 2022.211 Peak Mbps: 2022.211 Avg Mbps: 2022.211 2001 261872672 2094.981 100.00% Conn: 1 Mbps: 2094.981 Peak Mbps: 2094.981 Avg Mbps: 2094.981 3001 271793808 2174.350 100.00% Conn: 1 Mbps: 2174.350 Peak Mbps: 2174.350 Avg Mbps: 2174.350 4003 269934864 2157.322 100.00% Conn: 1 Mbps: 2157.322 Peak Mbps: 2174.350 Avg Mbps: 2157.322 5001 270698956 2169.932 100.00% Conn: 1 Mbps: 2169.932 Peak Mbps: 2174.350 Avg Mbps: 2169.932 --- fc00:0:0:1::12 tcpbench statistics --- 1600519604 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2022.211/2123.759/2174.350/58.237 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.061 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.061/0.061/0.061/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.071 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.071/0.071/0.071/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 583201484 4665.612 100.00% Conn: 1 Mbps: 4665.612 Peak Mbps: 4665.612 Avg Mbps: 4665.612 2000 603585304 4833.516 100.00% Conn: 1 Mbps: 4833.516 Peak Mbps: 4833.516 Avg Mbps: 4833.516 3000 606870768 4854.966 100.00% Conn: 1 Mbps: 4854.966 Peak Mbps: 4854.966 Avg Mbps: 4854.966 4000 612051324 4901.312 100.00% Conn: 1 Mbps: 4901.312 Peak Mbps: 4901.312 Avg Mbps: 4901.312 5000 598642208 4789.138 100.00% Conn: 1 Mbps: 4789.138 Peak Mbps: 4901.312 Avg Mbps: 4789.138 --- 169.254.0.13 tcpbench statistics --- 3568480452 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4665.612/4808.909/4901.312/80.237 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 1001 545880368 4362.680 100.00% Conn: 1 Mbps: 4362.680 Peak Mbps: 4362.680 Avg Mbps: 4362.680 2000 575774264 4610.805 100.00% Conn: 1 Mbps: 4610.805 Peak Mbps: 4610.805 Avg Mbps: 4610.805 3001 576106328 4604.246 100.00% Conn: 1 Mbps: 4604.246 Peak Mbps: 4610.805 Avg Mbps: 4604.246 4002 576502600 4612.021 100.00% Conn: 1 Mbps: 4612.021 Peak Mbps: 4612.021 Avg Mbps: 4612.021 5002 574814456 4603.119 100.00% Conn: 1 Mbps: 4603.119 Peak Mbps: 4612.021 Avg Mbps: 4603.119 --- fc00::13 tcpbench statistics --- 3424887368 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4362.680/4558.574/4612.021/98.009 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.064 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.064/0.064/0.064/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.051 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.051/0.051/0.051/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 270501528 2161.850 100.00% Conn: 1 Mbps: 2161.850 Peak Mbps: 2161.850 Avg Mbps: 2161.850 2000 277910224 2227.737 100.00% Conn: 1 Mbps: 2227.737 Peak Mbps: 2227.737 Avg Mbps: 2227.737 3001 283035416 2264.283 100.00% Conn: 1 Mbps: 2264.283 Peak Mbps: 2264.283 Avg Mbps: 2264.283 4001 281387416 2251.099 100.00% Conn: 1 Mbps: 2251.099 Peak Mbps: 2264.283 Avg Mbps: 2251.099 5002 280769744 2246.158 100.00% Conn: 1 Mbps: 2246.158 Peak Mbps: 2264.283 Avg Mbps: 2246.158 --- 169.254.1.11 tcpbench statistics --- 1674682040 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2161.850/2230.226/2264.283/36.141 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 250330656 2002.645 100.00% Conn: 1 Mbps: 2002.645 Peak Mbps: 2002.645 Avg Mbps: 2002.645 2001 265427472 2123.420 100.00% Conn: 1 Mbps: 2123.420 Peak Mbps: 2123.420 Avg Mbps: 2123.420 3002 268648504 2147.041 100.00% Conn: 1 Mbps: 2147.041 Peak Mbps: 2147.041 Avg Mbps: 2147.041 4001 270297872 2164.548 100.00% Conn: 1 Mbps: 2164.548 Peak Mbps: 2164.548 Avg Mbps: 2164.548 5003 266627304 2130.888 100.00% Conn: 1 Mbps: 2130.888 Peak Mbps: 2164.548 Avg Mbps: 2130.888 --- fc00:0:0:1::11 tcpbench statistics --- 1591246736 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2002.645/2113.708/2164.548/57.306 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.042 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.042/0.042/0.042/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.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-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 505868936 4046.951 100.00% Conn: 1 Mbps: 4046.951 Peak Mbps: 4046.951 Avg Mbps: 4046.951 2000 506284512 4054.330 100.00% Conn: 1 Mbps: 4054.330 Peak Mbps: 4054.330 Avg Mbps: 4054.330 3000 505727032 4045.816 100.00% Conn: 1 Mbps: 4045.816 Peak Mbps: 4054.330 Avg Mbps: 4045.816 4000 506181704 4049.454 100.00% Conn: 1 Mbps: 4049.454 Peak Mbps: 4054.330 Avg Mbps: 4049.454 5000 505593816 4044.751 100.00% Conn: 1 Mbps: 4044.751 Peak Mbps: 4054.330 Avg Mbps: 4044.751 --- 169.254.1.12 tcpbench statistics --- 3035594440 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4044.751/4048.260/4054.330/3.414 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 508417980 4067.344 100.00% Conn: 1 Mbps: 4067.344 Peak Mbps: 4067.344 Avg Mbps: 4067.344 2000 508806396 4074.526 100.00% Conn: 1 Mbps: 4074.526 Peak Mbps: 4074.526 Avg Mbps: 4074.526 3000 508639320 4069.115 100.00% Conn: 1 Mbps: 4069.115 Peak Mbps: 4074.526 Avg Mbps: 4069.115 4000 508870656 4070.965 100.00% Conn: 1 Mbps: 4070.965 Peak Mbps: 4074.526 Avg Mbps: 4070.965 5000 508348008 4066.784 100.00% Conn: 1 Mbps: 4066.784 Peak Mbps: 4074.526 Avg Mbps: 4066.784 --- fc00:0:0:1::12 tcpbench statistics --- 3051461784 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4066.784/4069.747/4074.526/2.803 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.057 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.057/0.057/0.057/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.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-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 764919490 6119.356 100.00% Conn: 1 Mbps: 6119.356 Peak Mbps: 6119.356 Avg Mbps: 6119.356 2000 768727852 6155.979 100.00% Conn: 1 Mbps: 6155.979 Peak Mbps: 6155.979 Avg Mbps: 6155.979 3000 766584954 6132.680 100.00% Conn: 1 Mbps: 6132.680 Peak Mbps: 6155.979 Avg Mbps: 6132.680 4000 764540204 6116.322 100.00% Conn: 1 Mbps: 6116.322 Peak Mbps: 6155.979 Avg Mbps: 6116.322 5000 765816128 6126.529 100.00% Conn: 1 Mbps: 6126.529 Peak Mbps: 6155.979 Avg Mbps: 6126.529 --- 169.254.0.13 tcpbench statistics --- 4595423276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6116.322/6130.173/6155.979/14.102 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 732110556 5856.884 100.00% Conn: 1 Mbps: 5856.884 Peak Mbps: 5856.884 Avg Mbps: 5856.884 2000 731311432 5856.348 100.00% Conn: 1 Mbps: 5856.348 Peak Mbps: 5856.884 Avg Mbps: 5856.348 3000 732521184 5860.169 100.00% Conn: 1 Mbps: 5860.169 Peak Mbps: 5860.169 Avg Mbps: 5860.169 4000 732750056 5862.000 100.00% Conn: 1 Mbps: 5862.000 Peak Mbps: 5862.000 Avg Mbps: 5862.000 5000 731899960 5855.200 100.00% Conn: 1 Mbps: 5855.200 Peak Mbps: 5862.000 Avg Mbps: 5855.200 --- fc00::13 tcpbench statistics --- 4392722020 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5855.200/5858.120/5862.000/2.548 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.056 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.056/0.056/0.056/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 272286264 2178.290 100.00% Conn: 1 Mbps: 2178.290 Peak Mbps: 2178.290 Avg Mbps: 2178.290 2000 276514784 2212.118 100.00% Conn: 1 Mbps: 2212.118 Peak Mbps: 2212.118 Avg Mbps: 2212.118 3001 280747200 2245.978 100.00% Conn: 1 Mbps: 2245.978 Peak Mbps: 2245.978 Avg Mbps: 2245.978 4001 277578520 2222.851 100.00% Conn: 1 Mbps: 2222.851 Peak Mbps: 2245.978 Avg Mbps: 2222.851 5001 278575744 2228.606 100.00% Conn: 1 Mbps: 2228.606 Peak Mbps: 2245.978 Avg Mbps: 2228.606 --- 169.254.1.11 tcpbench statistics --- 1665010720 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2178.290/2217.569/2245.978/22.491 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 523665096 4189.321 100.00% Conn: 1 Mbps: 4189.321 Peak Mbps: 4189.321 Avg Mbps: 4189.321 2000 597350912 4783.591 100.00% Conn: 1 Mbps: 4783.591 Peak Mbps: 4783.591 Avg Mbps: 4783.591 3001 598046400 4784.371 100.00% Conn: 1 Mbps: 4784.371 Peak Mbps: 4784.371 Avg Mbps: 4784.371 4000 595827320 4771.390 100.00% Conn: 1 Mbps: 4771.390 Peak Mbps: 4784.371 Avg Mbps: 4771.390 5001 598694752 4789.558 100.00% Conn: 1 Mbps: 4789.558 Peak Mbps: 4789.558 Avg Mbps: 4789.558 --- fc00:0:0:1::11 tcpbench statistics --- 3511050112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4189.321/4663.646/4789.558/237.238 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.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-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 751673898 6013.391 100.00% Conn: 1 Mbps: 6013.391 Peak Mbps: 6013.391 Avg Mbps: 6013.391 2000 754790836 6044.371 100.00% Conn: 1 Mbps: 6044.371 Peak Mbps: 6044.371 Avg Mbps: 6044.371 3000 754987132 6039.897 100.00% Conn: 1 Mbps: 6039.897 Peak Mbps: 6044.371 Avg Mbps: 6039.897 4000 756066760 6048.534 100.00% Conn: 1 Mbps: 6048.534 Peak Mbps: 6048.534 Avg Mbps: 6048.534 5000 755772316 6052.231 100.00% Conn: 1 Mbps: 6052.231 Peak Mbps: 6052.231 Avg Mbps: 6052.231 --- 169.254.1.12 tcpbench statistics --- 4528310790 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6013.391/6039.685/6052.231/13.777 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 736167508 5889.340 100.00% Conn: 1 Mbps: 5889.340 Peak Mbps: 5889.340 Avg Mbps: 5889.340 2000 737262104 5904.001 100.00% Conn: 1 Mbps: 5904.001 Peak Mbps: 5904.001 Avg Mbps: 5904.001 3000 737098624 5896.789 100.00% Conn: 1 Mbps: 5896.789 Peak Mbps: 5904.001 Avg Mbps: 5896.789 4000 736804360 5894.435 100.00% Conn: 1 Mbps: 5894.435 Peak Mbps: 5904.001 Avg Mbps: 5894.435 5000 737098624 5896.789 100.00% Conn: 1 Mbps: 5896.789 Peak Mbps: 5904.001 Avg Mbps: 5896.789 --- fc00:0:0:1::12 tcpbench statistics --- 4422020284 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5889.340/5896.271/5904.001/4.726 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.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-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.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-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 766787638 6134.301 100.00% Conn: 1 Mbps: 6134.301 Peak Mbps: 6134.301 Avg Mbps: 6134.301 2000 769643900 6163.315 100.00% Conn: 1 Mbps: 6163.315 Peak Mbps: 6163.315 Avg Mbps: 6163.315 3000 769087728 6152.702 100.00% Conn: 1 Mbps: 6152.702 Peak Mbps: 6163.315 Avg Mbps: 6152.702 4000 768760568 6150.085 100.00% Conn: 1 Mbps: 6150.085 Peak Mbps: 6163.315 Avg Mbps: 6150.085 5000 769921986 6159.376 100.00% Conn: 1 Mbps: 6159.376 Peak Mbps: 6163.315 Avg Mbps: 6159.376 --- 169.254.0.13 tcpbench statistics --- 4612766092 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6134.301/6151.956/6163.315/9.998 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 768968436 6151.747 100.00% Conn: 1 Mbps: 6151.747 Peak Mbps: 6151.747 Avg Mbps: 6151.747 2000 769925408 6165.569 100.00% Conn: 1 Mbps: 6165.569 Peak Mbps: 6165.569 Avg Mbps: 6165.569 3000 770775504 6166.204 100.00% Conn: 1 Mbps: 6166.204 Peak Mbps: 6166.204 Avg Mbps: 6166.204 4000 771821776 6174.574 100.00% Conn: 1 Mbps: 6174.574 Peak Mbps: 6174.574 Avg Mbps: 6174.574 5000 770285064 6162.281 100.00% Conn: 1 Mbps: 6162.281 Peak Mbps: 6174.574 Avg Mbps: 6162.281 --- fc00::13 tcpbench statistics --- 4623205612 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6151.747/6164.075/6174.574/7.378 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.87s