START sys/net/pair 2025-01-13T02:48:35Z ==== 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.047 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-tcpbench-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 522231288 4177.850 100.00% Conn: 1 Mbps: 4177.850 Peak Mbps: 4177.850 Avg Mbps: 4177.850 2000 521961056 4179.868 100.00% Conn: 1 Mbps: 4179.868 Peak Mbps: 4179.868 Avg Mbps: 4179.868 3000 522127964 4177.024 100.00% Conn: 1 Mbps: 4177.024 Peak Mbps: 4179.868 Avg Mbps: 4177.024 4000 522040536 4176.324 100.00% Conn: 1 Mbps: 4176.324 Peak Mbps: 4179.868 Avg Mbps: 4176.324 5000 522016692 4176.134 100.00% Conn: 1 Mbps: 4176.134 Peak Mbps: 4179.868 Avg Mbps: 4176.134 --- 169.254.1.11 tcpbench statistics --- 3132060412 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4176.134/4177.440/4179.868/1.356 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 510777256 4086.218 100.00% Conn: 1 Mbps: 4086.218 Peak Mbps: 4086.218 Avg Mbps: 4086.218 2000 509374000 4079.071 100.00% Conn: 1 Mbps: 4079.071 Peak Mbps: 4086.218 Avg Mbps: 4079.071 3000 510301576 4086.499 100.00% Conn: 1 Mbps: 4086.499 Peak Mbps: 4086.499 Avg Mbps: 4086.499 4000 510357072 4082.857 100.00% Conn: 1 Mbps: 4082.857 Peak Mbps: 4086.499 Avg Mbps: 4082.857 5000 509762472 4078.100 100.00% Conn: 1 Mbps: 4078.100 Peak Mbps: 4086.499 Avg Mbps: 4078.100 --- fc00:0:0:1::11 tcpbench statistics --- 3059962232 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4078.100/4082.549/4086.499/3.494 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.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 1000 267027352 2136.219 100.00% Conn: 1 Mbps: 2136.219 Peak Mbps: 2136.219 Avg Mbps: 2136.219 2001 283349936 2266.799 100.00% Conn: 1 Mbps: 2266.799 Peak Mbps: 2266.799 Avg Mbps: 2266.799 3002 283731544 2267.585 100.00% Conn: 1 Mbps: 2267.585 Peak Mbps: 2267.585 Avg Mbps: 2267.585 4002 282855536 2265.109 100.00% Conn: 1 Mbps: 2265.109 Peak Mbps: 2267.585 Avg Mbps: 2265.109 5002 284587488 2276.700 100.00% Conn: 1 Mbps: 2276.700 Peak Mbps: 2276.700 Avg Mbps: 2276.700 --- 169.254.1.12 tcpbench statistics --- 1686235512 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2136.219/2242.482/2276.700/53.285 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 1002 252540600 2016.292 100.00% Conn: 1 Mbps: 2016.292 Peak Mbps: 2016.292 Avg Mbps: 2016.292 2001 270410936 2165.453 100.00% Conn: 1 Mbps: 2165.453 Peak Mbps: 2165.453 Avg Mbps: 2165.453 3003 273253772 2183.846 100.00% Conn: 1 Mbps: 2183.846 Peak Mbps: 2183.846 Avg Mbps: 2183.846 4003 273365652 2186.925 100.00% Conn: 1 Mbps: 2186.925 Peak Mbps: 2186.925 Avg Mbps: 2186.925 5003 277078228 2218.845 100.00% Conn: 1 Mbps: 2218.845 Peak Mbps: 2218.845 Avg Mbps: 2218.845 --- fc00:0:0:1::12 tcpbench statistics --- 1619713420 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2016.292/2154.272/2218.845/71.097 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.077 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.077/0.077/0.077/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.070 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.070/0.070/0.070/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 602293000 4818.344 100.00% Conn: 1 Mbps: 4818.344 Peak Mbps: 4818.344 Avg Mbps: 4818.344 2000 603095468 4829.593 100.00% Conn: 1 Mbps: 4829.593 Peak Mbps: 4829.593 Avg Mbps: 4829.593 3000 598216096 4790.519 100.00% Conn: 1 Mbps: 4790.519 Peak Mbps: 4829.593 Avg Mbps: 4790.519 4000 600587260 4804.698 100.00% Conn: 1 Mbps: 4804.698 Peak Mbps: 4829.593 Avg Mbps: 4804.698 5000 551207596 4409.661 100.00% Conn: 1 Mbps: 4409.661 Peak Mbps: 4829.593 Avg Mbps: 4409.661 --- 169.254.0.13 tcpbench statistics --- 3481316060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4409.661/4730.563/4829.593/160.985 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 548168312 4380.966 100.00% Conn: 1 Mbps: 4380.966 Peak Mbps: 4380.966 Avg Mbps: 4380.966 2001 577236136 4617.889 100.00% Conn: 1 Mbps: 4617.889 Peak Mbps: 4617.889 Avg Mbps: 4617.889 3001 576638936 4613.111 100.00% Conn: 1 Mbps: 4613.111 Peak Mbps: 4617.889 Avg Mbps: 4613.111 4001 579102592 4632.821 100.00% Conn: 1 Mbps: 4632.821 Peak Mbps: 4632.821 Avg Mbps: 4632.821 5003 578931816 4626.828 100.00% Conn: 1 Mbps: 4626.828 Peak Mbps: 4632.821 Avg Mbps: 4626.828 --- fc00::13 tcpbench statistics --- 3437804424 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4380.966/4574.323/4632.821/96.921 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.047 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-ping6-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.052 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/0.000 ms ==== run-tcpbench-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 268704744 2149.638 100.00% Conn: 1 Mbps: 2149.638 Peak Mbps: 2149.638 Avg Mbps: 2149.638 2001 276972488 2215.780 100.00% Conn: 1 Mbps: 2215.780 Peak Mbps: 2215.780 Avg Mbps: 2215.780 3002 283633448 2266.801 100.00% Conn: 1 Mbps: 2266.801 Peak Mbps: 2266.801 Avg Mbps: 2266.801 4002 277436904 2219.495 100.00% Conn: 1 Mbps: 2219.495 Peak Mbps: 2266.801 Avg Mbps: 2219.495 5003 282633496 2258.809 100.00% Conn: 1 Mbps: 2258.809 Peak Mbps: 2266.801 Avg Mbps: 2258.809 --- 169.254.1.11 tcpbench statistics --- 1671271824 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2149.638/2222.105/2266.801/41.577 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 255106056 2040.848 100.00% Conn: 1 Mbps: 2040.848 Peak Mbps: 2040.848 Avg Mbps: 2040.848 2000 266855244 2134.842 100.00% Conn: 1 Mbps: 2134.842 Peak Mbps: 2134.842 Avg Mbps: 2134.842 3001 268358364 2146.867 100.00% Conn: 1 Mbps: 2146.867 Peak Mbps: 2146.867 Avg Mbps: 2146.867 4002 271183512 2169.468 100.00% Conn: 1 Mbps: 2169.468 Peak Mbps: 2169.468 Avg Mbps: 2169.468 5002 273424004 2187.392 100.00% Conn: 1 Mbps: 2187.392 Peak Mbps: 2187.392 Avg Mbps: 2187.392 --- fc00:0:0:1::11 tcpbench statistics --- 1609286312 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2040.848/2135.883/2187.392/50.861 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.050 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.050/0.050/0.050/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.056 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.056/0.056/0.056/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 527310920 4218.487 100.00% Conn: 1 Mbps: 4218.487 Peak Mbps: 4218.487 Avg Mbps: 4218.487 2000 527533912 4224.496 100.00% Conn: 1 Mbps: 4224.496 Peak Mbps: 4224.496 Avg Mbps: 4224.496 3000 528417192 4227.338 100.00% Conn: 1 Mbps: 4227.338 Peak Mbps: 4227.338 Avg Mbps: 4227.338 4000 528433120 4227.465 100.00% Conn: 1 Mbps: 4227.465 Peak Mbps: 4227.465 Avg Mbps: 4227.465 5000 528793672 4230.349 100.00% Conn: 1 Mbps: 4230.349 Peak Mbps: 4230.349 Avg Mbps: 4230.349 --- 169.254.1.12 tcpbench statistics --- 3168891528 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4218.487/4225.627/4230.349/4.021 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 525017052 4200.136 100.00% Conn: 1 Mbps: 4200.136 Peak Mbps: 4200.136 Avg Mbps: 4200.136 2000 526335096 4214.896 100.00% Conn: 1 Mbps: 4214.896 Peak Mbps: 4214.896 Avg Mbps: 4214.896 3000 526794912 4214.359 100.00% Conn: 1 Mbps: 4214.359 Peak Mbps: 4214.896 Avg Mbps: 4214.359 4000 526549296 4212.394 100.00% Conn: 1 Mbps: 4212.394 Peak Mbps: 4214.896 Avg Mbps: 4212.394 5000 525879564 4207.037 100.00% Conn: 1 Mbps: 4207.037 Peak Mbps: 4214.896 Avg Mbps: 4207.037 --- fc00:0:0:1::12 tcpbench statistics --- 3156532596 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4200.136/4209.764/4214.896/5.559 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.056 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.056/0.056/0.056/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.050 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/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 789521778 6316.174 100.00% Conn: 1 Mbps: 6316.174 Peak Mbps: 6316.174 Avg Mbps: 6316.174 2000 790287696 6328.630 100.00% Conn: 1 Mbps: 6328.630 Peak Mbps: 6328.630 Avg Mbps: 6328.630 3000 791072880 6328.583 100.00% Conn: 1 Mbps: 6328.583 Peak Mbps: 6328.630 Avg Mbps: 6328.583 4000 791007448 6328.060 100.00% Conn: 1 Mbps: 6328.060 Peak Mbps: 6328.630 Avg Mbps: 6328.060 5000 791138312 6329.106 100.00% Conn: 1 Mbps: 6329.106 Peak Mbps: 6329.106 Avg Mbps: 6329.106 --- 169.254.0.13 tcpbench statistics --- 4745213338 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6316.174/6326.111/6329.106/4.979 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 747482484 5979.860 100.00% Conn: 1 Mbps: 5979.860 Peak Mbps: 5979.860 Avg Mbps: 5979.860 2000 747267080 5984.121 100.00% Conn: 1 Mbps: 5984.121 Peak Mbps: 5984.121 Avg Mbps: 5984.121 3000 747070904 5976.567 100.00% Conn: 1 Mbps: 5976.567 Peak Mbps: 5984.121 Avg Mbps: 5976.567 4000 747888304 5983.106 100.00% Conn: 1 Mbps: 5983.106 Peak Mbps: 5984.121 Avg Mbps: 5983.106 5000 748084480 5984.676 100.00% Conn: 1 Mbps: 5984.676 Peak Mbps: 5984.676 Avg Mbps: 5984.676 --- fc00::13 tcpbench statistics --- 4486597044 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5976.567/5981.666/5984.676/3.047 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.053 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.053/0.053/0.053/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.069 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.069/0.069/0.069/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 1001 270350736 2160.645 100.00% Conn: 1 Mbps: 2160.645 Peak Mbps: 2160.645 Avg Mbps: 2160.645 2001 277392904 2219.143 100.00% Conn: 1 Mbps: 2219.143 Peak Mbps: 2219.143 Avg Mbps: 2219.143 3002 279536552 2236.292 100.00% Conn: 1 Mbps: 2236.292 Peak Mbps: 2236.292 Avg Mbps: 2236.292 4002 279672728 2239.621 100.00% Conn: 1 Mbps: 2239.621 Peak Mbps: 2239.621 Avg Mbps: 2239.621 5002 276185888 2209.487 100.00% Conn: 1 Mbps: 2209.487 Peak Mbps: 2239.621 Avg Mbps: 2209.487 --- 169.254.1.11 tcpbench statistics --- 1662738032 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2160.645/2213.038/2239.621/28.434 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 518811208 4150.490 100.00% Conn: 1 Mbps: 4150.490 Peak Mbps: 4150.490 Avg Mbps: 4150.490 2000 582266064 4658.129 100.00% Conn: 1 Mbps: 4658.129 Peak Mbps: 4658.129 Avg Mbps: 4658.129 3001 582108360 4656.867 100.00% Conn: 1 Mbps: 4656.867 Peak Mbps: 4658.129 Avg Mbps: 4656.867 4001 576742864 4613.943 100.00% Conn: 1 Mbps: 4613.943 Peak Mbps: 4658.129 Avg Mbps: 4613.943 5001 569148360 4557.745 100.00% Conn: 1 Mbps: 4557.745 Peak Mbps: 4658.129 Avg Mbps: 4557.745 --- fc00:0:0:1::11 tcpbench statistics --- 3399365384 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4150.490/4527.435/4658.129/192.002 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 8 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.049 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.049/0.049/0.049/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.049 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.049/0.049/0.049/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 778844142 6230.753 100.00% Conn: 1 Mbps: 6230.753 Peak Mbps: 6230.753 Avg Mbps: 6230.753 2000 786787084 6300.597 100.00% Conn: 1 Mbps: 6300.597 Peak Mbps: 6300.597 Avg Mbps: 6300.597 3000 787245108 6297.961 100.00% Conn: 1 Mbps: 6297.961 Peak Mbps: 6300.597 Avg Mbps: 6297.961 4000 785543876 6284.351 100.00% Conn: 1 Mbps: 6284.351 Peak Mbps: 6300.597 Avg Mbps: 6284.351 5000 788815476 6310.524 100.00% Conn: 1 Mbps: 6310.524 Peak Mbps: 6310.524 Avg Mbps: 6310.524 --- 169.254.1.12 tcpbench statistics --- 4717490666 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6230.753/6284.837/6310.524/28.305 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 748453208 5987.626 100.00% Conn: 1 Mbps: 5987.626 Peak Mbps: 5987.626 Avg Mbps: 5987.626 2000 750536680 6010.304 100.00% Conn: 1 Mbps: 6010.304 Peak Mbps: 6010.304 Avg Mbps: 6010.304 3000 750078936 6000.631 100.00% Conn: 1 Mbps: 6000.631 Peak Mbps: 6010.304 Avg Mbps: 6000.631 4000 751255992 6010.048 100.00% Conn: 1 Mbps: 6010.048 Peak Mbps: 6010.304 Avg Mbps: 6010.048 5000 751092512 6008.740 100.00% Conn: 1 Mbps: 6008.740 Peak Mbps: 6010.304 Avg Mbps: 6008.740 --- fc00:0:0:1::12 tcpbench statistics --- 4502575232 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5987.626/6003.470/6010.304/8.682 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.053 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.053/0.053/0.053/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.047 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-tcpbench-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 793774822 6350.199 100.00% Conn: 1 Mbps: 6350.199 Peak Mbps: 6350.199 Avg Mbps: 6350.199 2000 794491702 6362.296 100.00% Conn: 1 Mbps: 6362.296 Peak Mbps: 6362.296 Avg Mbps: 6362.296 3000 793101272 6344.810 100.00% Conn: 1 Mbps: 6344.810 Peak Mbps: 6362.296 Avg Mbps: 6344.810 4000 793624728 6348.998 100.00% Conn: 1 Mbps: 6348.998 Peak Mbps: 6362.296 Avg Mbps: 6348.998 5000 793984604 6351.877 100.00% Conn: 1 Mbps: 6351.877 Peak Mbps: 6362.296 Avg Mbps: 6351.877 --- 169.254.0.13 tcpbench statistics --- 4762765436 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6344.810/6351.636/6362.296/5.819 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 784382512 6275.060 100.00% Conn: 1 Mbps: 6275.060 Peak Mbps: 6275.060 Avg Mbps: 6275.060 2000 778949504 6237.834 100.00% Conn: 1 Mbps: 6237.834 Peak Mbps: 6275.060 Avg Mbps: 6237.834 3000 785554096 6284.433 100.00% Conn: 1 Mbps: 6284.433 Peak Mbps: 6284.433 Avg Mbps: 6284.433 4000 786208016 6289.664 100.00% Conn: 1 Mbps: 6289.664 Peak Mbps: 6289.664 Avg Mbps: 6289.664 5000 787286984 6298.296 100.00% Conn: 1 Mbps: 6298.296 Peak Mbps: 6298.296 Avg Mbps: 6298.296 --- fc00::13 tcpbench statistics --- 4709602704 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6237.834/6277.057/6298.296/21.009 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.83s