START sys/net/pair 2025-01-31T03:58:36Z ==== 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.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-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.045 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.045/0.045/0.045/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 520768856 4166.151 100.00% Conn: 1 Mbps: 4166.151 Peak Mbps: 4166.151 Avg Mbps: 4166.151 2000 518980556 4156.000 100.00% Conn: 1 Mbps: 4156.000 Peak Mbps: 4166.151 Avg Mbps: 4156.000 3000 519075932 4152.607 100.00% Conn: 1 Mbps: 4152.607 Peak Mbps: 4166.151 Avg Mbps: 4152.607 4000 518932868 4151.463 100.00% Conn: 1 Mbps: 4151.463 Peak Mbps: 4166.151 Avg Mbps: 4151.463 5000 518996452 4151.972 100.00% Conn: 1 Mbps: 4151.972 Peak Mbps: 4166.151 Avg Mbps: 4151.972 --- 169.254.1.11 tcpbench statistics --- 3115830596 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4151.463/4155.639/4166.151/5.490 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 512434208 4099.474 100.00% Conn: 1 Mbps: 4099.474 Peak Mbps: 4099.474 Avg Mbps: 4099.474 2000 511570056 4096.657 100.00% Conn: 1 Mbps: 4096.657 Peak Mbps: 4099.474 Avg Mbps: 4096.657 3000 511823752 4094.590 100.00% Conn: 1 Mbps: 4094.590 Peak Mbps: 4099.474 Avg Mbps: 4094.590 4000 511474920 4091.799 100.00% Conn: 1 Mbps: 4091.799 Peak Mbps: 4099.474 Avg Mbps: 4091.799 5000 510999240 4087.994 100.00% Conn: 1 Mbps: 4087.994 Peak Mbps: 4099.474 Avg Mbps: 4087.994 --- fc00:0:0:1::11 tcpbench statistics --- 3069396552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4087.994/4094.103/4099.474/3.956 Mbps ==== run-ping-1-2 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.088 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.088/0.088/0.088/0.000 ms ==== run-ping6-1-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.147 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.147/0.147/0.147/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 266839048 2132.580 100.00% Conn: 1 Mbps: 2132.580 Peak Mbps: 2132.580 Avg Mbps: 2132.580 2000 279087392 2234.934 100.00% Conn: 1 Mbps: 2234.934 Peak Mbps: 2234.934 Avg Mbps: 2234.934 3001 282130824 2257.047 100.00% Conn: 1 Mbps: 2257.047 Peak Mbps: 2257.047 Avg Mbps: 2257.047 4002 281532128 2252.257 100.00% Conn: 1 Mbps: 2252.257 Peak Mbps: 2257.047 Avg Mbps: 2252.257 5002 283767576 2272.413 100.00% Conn: 1 Mbps: 2272.413 Peak Mbps: 2272.413 Avg Mbps: 2272.413 --- 169.254.1.12 tcpbench statistics --- 1680042200 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2132.580/2229.846/2272.413/50.081 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 256324352 2050.595 100.00% Conn: 1 Mbps: 2050.595 Peak Mbps: 2050.595 Avg Mbps: 2050.595 2000 268908624 2151.269 100.00% Conn: 1 Mbps: 2151.269 Peak Mbps: 2151.269 Avg Mbps: 2151.269 3001 272519512 2180.156 100.00% Conn: 1 Mbps: 2180.156 Peak Mbps: 2180.156 Avg Mbps: 2180.156 4002 275827820 2204.418 100.00% Conn: 1 Mbps: 2204.418 Peak Mbps: 2204.418 Avg Mbps: 2204.418 5002 275760240 2206.082 100.00% Conn: 1 Mbps: 2206.082 Peak Mbps: 2206.082 Avg Mbps: 2206.082 --- fc00:0:0:1::12 tcpbench statistics --- 1626381208 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2050.595/2158.504/2206.082/57.511 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.062 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/0.000 ms ==== run-ping6-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.073 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.073/0.073/0.073/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 595829316 4766.635 100.00% Conn: 1 Mbps: 4766.635 Peak Mbps: 4766.635 Avg Mbps: 4766.635 2000 627700096 5026.627 100.00% Conn: 1 Mbps: 5026.627 Peak Mbps: 5026.627 Avg Mbps: 5026.627 3000 611866700 4894.934 100.00% Conn: 1 Mbps: 4894.934 Peak Mbps: 5026.627 Avg Mbps: 4894.934 4000 604653276 4842.068 100.00% Conn: 1 Mbps: 4842.068 Peak Mbps: 5026.627 Avg Mbps: 4842.068 5000 604486088 4835.889 100.00% Conn: 1 Mbps: 4835.889 Peak Mbps: 5026.627 Avg Mbps: 4835.889 --- 169.254.0.13 tcpbench statistics --- 3610240364 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4766.635/4873.231/5026.627/86.868 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 542944280 4343.554 100.00% Conn: 1 Mbps: 4343.554 Peak Mbps: 4343.554 Avg Mbps: 4343.554 2000 574607288 4596.858 100.00% Conn: 1 Mbps: 4596.858 Peak Mbps: 4596.858 Avg Mbps: 4596.858 3001 577684392 4621.475 100.00% Conn: 1 Mbps: 4621.475 Peak Mbps: 4621.475 Avg Mbps: 4621.475 4001 578315640 4626.525 100.00% Conn: 1 Mbps: 4626.525 Peak Mbps: 4626.525 Avg Mbps: 4626.525 5001 576806464 4614.452 100.00% Conn: 1 Mbps: 4614.452 Peak Mbps: 4626.525 Avg Mbps: 4614.452 --- fc00::13 tcpbench statistics --- 3425750872 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4343.554/4560.573/4626.525/108.973 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.054 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.054/0.054/0.054/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 1000 267725176 2141.801 100.00% Conn: 1 Mbps: 2141.801 Peak Mbps: 2141.801 Avg Mbps: 2141.801 2000 280941840 2249.785 100.00% Conn: 1 Mbps: 2249.785 Peak Mbps: 2249.785 Avg Mbps: 2249.785 3000 280707096 2245.657 100.00% Conn: 1 Mbps: 2245.657 Peak Mbps: 2249.785 Avg Mbps: 2245.657 4001 281195960 2249.568 100.00% Conn: 1 Mbps: 2249.568 Peak Mbps: 2249.785 Avg Mbps: 2249.568 5001 283052744 2264.422 100.00% Conn: 1 Mbps: 2264.422 Peak Mbps: 2264.422 Avg Mbps: 2264.422 --- 169.254.1.11 tcpbench statistics --- 1677628240 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2141.801/2230.246/2264.422/44.683 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 252280936 2016.231 100.00% Conn: 1 Mbps: 2016.231 Peak Mbps: 2016.231 Avg Mbps: 2016.231 2002 265495012 2121.838 100.00% Conn: 1 Mbps: 2121.838 Peak Mbps: 2121.838 Avg Mbps: 2121.838 3002 272156392 2177.251 100.00% Conn: 1 Mbps: 2177.251 Peak Mbps: 2177.251 Avg Mbps: 2177.251 4002 270447048 2165.742 100.00% Conn: 1 Mbps: 2165.742 Peak Mbps: 2177.251 Avg Mbps: 2165.742 5003 273026652 2184.213 100.00% Conn: 1 Mbps: 2184.213 Peak Mbps: 2184.213 Avg Mbps: 2184.213 --- fc00:0:0:1::11 tcpbench statistics --- 1605474476 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2016.231/2133.055/2184.213/62.310 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.041 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.041/0.041/0.041/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 525360464 4202.884 100.00% Conn: 1 Mbps: 4202.884 Peak Mbps: 4202.884 Avg Mbps: 4202.884 2000 524438088 4199.704 100.00% Conn: 1 Mbps: 4199.704 Peak Mbps: 4202.884 Avg Mbps: 4199.704 3000 524009480 4192.076 100.00% Conn: 1 Mbps: 4192.076 Peak Mbps: 4202.884 Avg Mbps: 4192.076 4000 524564064 4196.513 100.00% Conn: 1 Mbps: 4196.513 Peak Mbps: 4202.884 Avg Mbps: 4196.513 5000 524468496 4195.748 100.00% Conn: 1 Mbps: 4195.748 Peak Mbps: 4202.884 Avg Mbps: 4195.748 --- 169.254.1.12 tcpbench statistics --- 3146899304 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4192.076/4197.385/4202.884/3.667 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 522912180 4183.297 100.00% Conn: 1 Mbps: 4183.297 Peak Mbps: 4183.297 Avg Mbps: 4183.297 2000 521701236 4177.788 100.00% Conn: 1 Mbps: 4177.788 Peak Mbps: 4183.297 Avg Mbps: 4177.788 3000 521319960 4170.560 100.00% Conn: 1 Mbps: 4170.560 Peak Mbps: 4183.297 Avg Mbps: 4170.560 4000 521488464 4171.908 100.00% Conn: 1 Mbps: 4171.908 Peak Mbps: 4183.297 Avg Mbps: 4171.908 5000 520960104 4167.681 100.00% Conn: 1 Mbps: 4167.681 Peak Mbps: 4183.297 Avg Mbps: 4167.681 --- fc00:0:0:1::12 tcpbench statistics --- 3129327768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4167.681/4174.247/4183.297/5.597 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.055 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.055/0.055/0.055/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.051 ms --- fc00::13 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-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 785092830 6280.743 100.00% Conn: 1 Mbps: 6280.743 Peak Mbps: 6280.743 Avg Mbps: 6280.743 2000 787523194 6306.492 100.00% Conn: 1 Mbps: 6306.492 Peak Mbps: 6306.492 Avg Mbps: 6306.492 3000 787703132 6301.625 100.00% Conn: 1 Mbps: 6301.625 Peak Mbps: 6306.492 Avg Mbps: 6301.625 4000 788782760 6310.262 100.00% Conn: 1 Mbps: 6310.262 Peak Mbps: 6310.262 Avg Mbps: 6310.262 5000 787833996 6302.672 100.00% Conn: 1 Mbps: 6302.672 Peak Mbps: 6310.262 Avg Mbps: 6302.672 --- 169.254.0.13 tcpbench statistics --- 4725162500 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6280.743/6300.359/6310.262/10.271 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 778762652 6230.101 100.00% Conn: 1 Mbps: 6230.101 Peak Mbps: 6230.101 Avg Mbps: 6230.101 2000 779832296 6244.903 100.00% Conn: 1 Mbps: 6244.903 Peak Mbps: 6244.903 Avg Mbps: 6244.903 3000 780486216 6243.890 100.00% Conn: 1 Mbps: 6243.890 Peak Mbps: 6244.903 Avg Mbps: 6243.890 4000 780322736 6242.582 100.00% Conn: 1 Mbps: 6242.582 Peak Mbps: 6244.903 Avg Mbps: 6242.582 5000 781140136 6249.121 100.00% Conn: 1 Mbps: 6249.121 Peak Mbps: 6249.121 Avg Mbps: 6249.121 --- fc00::13 tcpbench statistics --- 4680572508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6230.101/6242.119/6249.121/6.396 Mbps ==== run-ping-3-1 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.062 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.059 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.059/0.059/0.059/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 268600608 2148.805 100.00% Conn: 1 Mbps: 2148.805 Peak Mbps: 2148.805 Avg Mbps: 2148.805 2002 280535008 2242.038 100.00% Conn: 1 Mbps: 2242.038 Peak Mbps: 2242.038 Avg Mbps: 2242.038 3002 280901408 2247.211 100.00% Conn: 1 Mbps: 2247.211 Peak Mbps: 2247.211 Avg Mbps: 2247.211 4003 280164208 2241.314 100.00% Conn: 1 Mbps: 2241.314 Peak Mbps: 2247.211 Avg Mbps: 2241.314 5004 278374640 2224.772 100.00% Conn: 1 Mbps: 2224.772 Peak Mbps: 2247.211 Avg Mbps: 2224.772 --- 169.254.1.11 tcpbench statistics --- 1666760280 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 2148.805/2220.828/2247.211/36.793 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 517136424 4137.091 100.00% Conn: 1 Mbps: 4137.091 Peak Mbps: 4137.091 Avg Mbps: 4137.091 2000 580408312 4647.914 100.00% Conn: 1 Mbps: 4647.914 Peak Mbps: 4647.914 Avg Mbps: 4647.914 3000 571355064 4570.841 100.00% Conn: 1 Mbps: 4570.841 Peak Mbps: 4647.914 Avg Mbps: 4570.841 4001 581263904 4650.111 100.00% Conn: 1 Mbps: 4650.111 Peak Mbps: 4650.111 Avg Mbps: 4650.111 5001 577460448 4624.308 100.00% Conn: 1 Mbps: 4624.308 Peak Mbps: 4650.111 Avg Mbps: 4624.308 --- fc00:0:0:1::11 tcpbench statistics --- 3405950072 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4137.091/4526.053/4650.111/196.566 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.052 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.052/0.052/0.052/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 789396038 6315.168 100.00% Conn: 1 Mbps: 6315.168 Peak Mbps: 6315.168 Avg Mbps: 6315.168 2000 790058684 6326.796 100.00% Conn: 1 Mbps: 6326.796 Peak Mbps: 6326.796 Avg Mbps: 6326.796 3000 791890780 6335.126 100.00% Conn: 1 Mbps: 6335.126 Peak Mbps: 6335.126 Avg Mbps: 6335.126 4000 792283372 6338.267 100.00% Conn: 1 Mbps: 6338.267 Peak Mbps: 6338.267 Avg Mbps: 6338.267 5000 792316088 6338.529 100.00% Conn: 1 Mbps: 6338.529 Peak Mbps: 6338.529 Avg Mbps: 6338.529 --- 169.254.1.12 tcpbench statistics --- 4747950248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6315.168/6330.777/6338.529/8.883 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 776220900 6209.767 100.00% Conn: 1 Mbps: 6209.767 Peak Mbps: 6209.767 Avg Mbps: 6209.767 2000 775614512 6211.127 100.00% Conn: 1 Mbps: 6211.127 Peak Mbps: 6211.127 Avg Mbps: 6211.127 3000 775418336 6203.347 100.00% Conn: 1 Mbps: 6203.347 Peak Mbps: 6211.127 Avg Mbps: 6203.347 4000 774993288 6199.946 100.00% Conn: 1 Mbps: 6199.946 Peak Mbps: 6211.127 Avg Mbps: 6199.946 5000 777576272 6220.610 100.00% Conn: 1 Mbps: 6220.610 Peak Mbps: 6220.610 Avg Mbps: 6220.610 --- fc00:0:0:1::12 tcpbench statistics --- 4657268796 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6199.946/6208.960/6220.610/7.125 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.042 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.042/0.042/0.042/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.058 ms --- fc00::13 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-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 786575394 6292.603 100.00% Conn: 1 Mbps: 6292.603 Peak Mbps: 6292.603 Avg Mbps: 6292.603 2000 784267952 6280.424 100.00% Conn: 1 Mbps: 6280.424 Peak Mbps: 6292.603 Avg Mbps: 6280.424 3000 785216716 6281.734 100.00% Conn: 1 Mbps: 6281.734 Peak Mbps: 6292.603 Avg Mbps: 6281.734 4000 785347580 6282.781 100.00% Conn: 1 Mbps: 6282.781 Peak Mbps: 6292.603 Avg Mbps: 6282.781 5000 785871036 6286.968 100.00% Conn: 1 Mbps: 6286.968 Peak Mbps: 6292.603 Avg Mbps: 6286.968 --- 169.254.0.13 tcpbench statistics --- 4712658974 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6280.424/6284.902/6292.603/4.431 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 782091524 6256.732 100.00% Conn: 1 Mbps: 6256.732 Peak Mbps: 6256.732 Avg Mbps: 6256.732 2000 786665760 6299.626 100.00% Conn: 1 Mbps: 6299.626 Peak Mbps: 6299.626 Avg Mbps: 6299.626 3000 787286984 6298.296 100.00% Conn: 1 Mbps: 6298.296 Peak Mbps: 6299.626 Avg Mbps: 6298.296 4000 788038992 6304.312 100.00% Conn: 1 Mbps: 6304.312 Peak Mbps: 6304.312 Avg Mbps: 6304.312 5000 788562128 6308.497 100.00% Conn: 1 Mbps: 6308.497 Peak Mbps: 6308.497 Avg Mbps: 6308.497 --- fc00::13 tcpbench statistics --- 4720422812 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6256.732/6293.493/6308.497/18.731 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.84s