START sys/net/pair 2025-02-20T00:51:41Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.038 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.044 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 522334612 4178.677 100.00% Conn: 1 Mbps: 4178.677 Peak Mbps: 4178.677 Avg Mbps: 4178.677 2000 521666980 4177.513 100.00% Conn: 1 Mbps: 4177.513 Peak Mbps: 4178.677 Avg Mbps: 4177.513 3000 521992848 4175.943 100.00% Conn: 1 Mbps: 4175.943 Peak Mbps: 4178.677 Avg Mbps: 4175.943 4000 521635188 4173.082 100.00% Conn: 1 Mbps: 4173.082 Peak Mbps: 4178.677 Avg Mbps: 4173.082 5000 521508020 4172.064 100.00% Conn: 1 Mbps: 4172.064 Peak Mbps: 4178.677 Avg Mbps: 4172.064 --- 169.254.1.11 tcpbench statistics --- 3130240320 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4172.064/4175.456/4178.677/2.529 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 512545200 4100.362 100.00% Conn: 1 Mbps: 4100.362 Peak Mbps: 4100.362 Avg Mbps: 4100.362 2000 515993880 4132.083 100.00% Conn: 1 Mbps: 4132.083 Peak Mbps: 4132.083 Avg Mbps: 4132.083 3000 516017664 4128.141 100.00% Conn: 1 Mbps: 4128.141 Peak Mbps: 4132.083 Avg Mbps: 4128.141 4000 516128656 4129.029 100.00% Conn: 1 Mbps: 4129.029 Peak Mbps: 4132.083 Avg Mbps: 4129.029 5000 516279288 4130.234 100.00% Conn: 1 Mbps: 4130.234 Peak Mbps: 4132.083 Avg Mbps: 4130.234 --- fc00:0:0:1::11 tcpbench statistics --- 3092514600 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4100.362/4123.970/4132.083/11.878 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.066 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.066/0.066/0.066/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.116 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.116/0.116/0.116/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 273720936 2189.767 100.00% Conn: 1 Mbps: 2189.767 Peak Mbps: 2189.767 Avg Mbps: 2189.767 2000 285804056 2286.432 100.00% Conn: 1 Mbps: 2286.432 Peak Mbps: 2286.432 Avg Mbps: 2286.432 3001 289044456 2312.356 100.00% Conn: 1 Mbps: 2312.356 Peak Mbps: 2312.356 Avg Mbps: 2312.356 4001 287831032 2302.648 100.00% Conn: 1 Mbps: 2302.648 Peak Mbps: 2312.356 Avg Mbps: 2302.648 5003 288371856 2304.670 100.00% Conn: 1 Mbps: 2304.670 Peak Mbps: 2312.356 Avg Mbps: 2304.670 --- 169.254.1.12 tcpbench statistics --- 1714253080 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2189.767/2279.175/2312.356/45.494 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 256783024 2052.212 100.00% Conn: 1 Mbps: 2052.212 Peak Mbps: 2052.212 Avg Mbps: 2052.212 2000 269807700 2160.622 100.00% Conn: 1 Mbps: 2160.622 Peak Mbps: 2160.622 Avg Mbps: 2160.622 3000 272989100 2186.099 100.00% Conn: 1 Mbps: 2186.099 Peak Mbps: 2186.099 Avg Mbps: 2186.099 4001 274852144 2198.817 100.00% Conn: 1 Mbps: 2198.817 Peak Mbps: 2198.817 Avg Mbps: 2198.817 5001 275948680 2207.589 100.00% Conn: 1 Mbps: 2207.589 Peak Mbps: 2207.589 Avg Mbps: 2207.589 --- fc00:0:0:1::12 tcpbench statistics --- 1626954100 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2052.212/2161.068/2207.589/56.684 Mbps ==== run-ping-1-3 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=254 time=0.074 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.074/0.074/0.074/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.072 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.072/0.072/0.072/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 614238284 4913.906 100.00% Conn: 1 Mbps: 4913.906 Peak Mbps: 4913.906 Avg Mbps: 4913.906 2000 631293712 5050.350 100.00% Conn: 1 Mbps: 5050.350 Peak Mbps: 5050.350 Avg Mbps: 5050.350 3001 640992200 5127.938 100.00% Conn: 1 Mbps: 5127.938 Peak Mbps: 5127.938 Avg Mbps: 5127.938 4001 622082540 4976.660 100.00% Conn: 1 Mbps: 4976.660 Peak Mbps: 5127.938 Avg Mbps: 4976.660 5001 605583472 4844.668 100.00% Conn: 1 Mbps: 4844.668 Peak Mbps: 5127.938 Avg Mbps: 4844.668 --- 169.254.0.13 tcpbench statistics --- 3710443848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4844.668/4982.704/5127.938/99.491 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 547809344 4378.097 100.00% Conn: 1 Mbps: 4378.097 Peak Mbps: 4378.097 Avg Mbps: 4378.097 2002 574086120 4592.689 100.00% Conn: 1 Mbps: 4592.689 Peak Mbps: 4592.689 Avg Mbps: 4592.689 3002 575808184 4606.465 100.00% Conn: 1 Mbps: 4606.465 Peak Mbps: 4606.465 Avg Mbps: 4606.465 4002 576793336 4614.347 100.00% Conn: 1 Mbps: 4614.347 Peak Mbps: 4614.347 Avg Mbps: 4614.347 5002 580150912 4645.853 100.00% Conn: 1 Mbps: 4645.853 Peak Mbps: 4645.853 Avg Mbps: 4645.853 --- fc00::13 tcpbench statistics --- 3435527144 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 4378.097/4567.490/4645.853/96.291 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.053 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 273427712 2187.422 100.00% Conn: 1 Mbps: 2187.422 Peak Mbps: 2187.422 Avg Mbps: 2187.422 2002 284657960 2274.989 100.00% Conn: 1 Mbps: 2274.989 Peak Mbps: 2274.989 Avg Mbps: 2274.989 3002 286445680 2291.565 100.00% Conn: 1 Mbps: 2291.565 Peak Mbps: 2291.565 Avg Mbps: 2291.565 4002 283660120 2271.553 100.00% Conn: 1 Mbps: 2271.553 Peak Mbps: 2291.565 Avg Mbps: 2271.553 5003 287491856 2297.637 100.00% Conn: 1 Mbps: 2297.637 Peak Mbps: 2297.637 Avg Mbps: 2297.637 --- 169.254.1.11 tcpbench statistics --- 1704055848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2187.422/2264.633/2297.637/39.828 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 256844288 2052.702 100.00% Conn: 1 Mbps: 2052.702 Peak Mbps: 2052.702 Avg Mbps: 2052.702 2001 268854884 2150.839 100.00% Conn: 1 Mbps: 2150.839 Peak Mbps: 2150.839 Avg Mbps: 2150.839 3002 268886568 2148.944 100.00% Conn: 1 Mbps: 2148.944 Peak Mbps: 2150.839 Avg Mbps: 2148.944 4001 273385844 2189.276 100.00% Conn: 1 Mbps: 2189.276 Peak Mbps: 2189.276 Avg Mbps: 2189.276 5003 273456692 2185.468 100.00% Conn: 1 Mbps: 2185.468 Peak Mbps: 2189.276 Avg Mbps: 2185.468 --- fc00:0:0:1::11 tcpbench statistics --- 1612145216 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2052.702/2145.446/2189.276/49.327 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.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 524120976 4192.968 100.00% Conn: 1 Mbps: 4192.968 Peak Mbps: 4192.968 Avg Mbps: 4192.968 2000 523732912 4194.057 100.00% Conn: 1 Mbps: 4194.057 Peak Mbps: 4194.057 Avg Mbps: 4194.057 3000 523550464 4188.404 100.00% Conn: 1 Mbps: 4188.404 Peak Mbps: 4194.057 Avg Mbps: 4188.404 4000 523895088 4191.161 100.00% Conn: 1 Mbps: 4191.161 Peak Mbps: 4194.057 Avg Mbps: 4191.161 5000 523895088 4191.161 100.00% Conn: 1 Mbps: 4191.161 Peak Mbps: 4194.057 Avg Mbps: 4191.161 --- 169.254.1.12 tcpbench statistics --- 3142794224 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4188.404/4191.550/4194.057/1.923 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 522953592 4183.629 100.00% Conn: 1 Mbps: 4183.629 Peak Mbps: 4183.629 Avg Mbps: 4183.629 2000 523910352 4195.478 100.00% Conn: 1 Mbps: 4195.478 Peak Mbps: 4195.478 Avg Mbps: 4195.478 3000 524238792 4193.910 100.00% Conn: 1 Mbps: 4193.910 Peak Mbps: 4195.478 Avg Mbps: 4193.910 4000 524011740 4192.094 100.00% Conn: 1 Mbps: 4192.094 Peak Mbps: 4195.478 Avg Mbps: 4192.094 5000 523597620 4188.781 100.00% Conn: 1 Mbps: 4188.781 Peak Mbps: 4195.478 Avg Mbps: 4188.781 --- fc00:0:0:1::12 tcpbench statistics --- 3142379688 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4183.629/4190.778/4195.478/4.213 Mbps ==== run-ping-2-3 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.044 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-ping6-2-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.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 789652050 6317.216 100.00% Conn: 1 Mbps: 6317.216 Peak Mbps: 6317.216 Avg Mbps: 6317.216 2000 789731068 6324.173 100.00% Conn: 1 Mbps: 6324.173 Peak Mbps: 6324.173 Avg Mbps: 6324.173 3000 788193416 6305.547 100.00% Conn: 1 Mbps: 6305.547 Peak Mbps: 6324.173 Avg Mbps: 6305.547 4000 788586020 6308.688 100.00% Conn: 1 Mbps: 6308.688 Peak Mbps: 6324.173 Avg Mbps: 6308.688 5000 788880452 6311.044 100.00% Conn: 1 Mbps: 6311.044 Peak Mbps: 6324.173 Avg Mbps: 6311.044 --- 169.254.0.13 tcpbench statistics --- 4734708594 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6305.547/6313.334/6324.173/6.633 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 766089388 6128.715 100.00% Conn: 1 Mbps: 6128.715 Peak Mbps: 6128.715 Avg Mbps: 6128.715 2000 768715656 6155.881 100.00% Conn: 1 Mbps: 6155.881 Peak Mbps: 6155.881 Avg Mbps: 6155.881 3000 767080856 6136.647 100.00% Conn: 1 Mbps: 6136.647 Peak Mbps: 6155.881 Avg Mbps: 6136.647 4000 768650264 6149.202 100.00% Conn: 1 Mbps: 6149.202 Peak Mbps: 6155.881 Avg Mbps: 6149.202 5000 769304184 6154.433 100.00% Conn: 1 Mbps: 6154.433 Peak Mbps: 6155.881 Avg Mbps: 6154.433 --- fc00::13 tcpbench statistics --- 4608457916 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6128.715/6144.976/6155.881/10.583 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.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-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 274863912 2198.911 100.00% Conn: 1 Mbps: 2198.911 Peak Mbps: 2198.911 Avg Mbps: 2198.911 2001 283402480 2264.955 100.00% Conn: 1 Mbps: 2264.955 Peak Mbps: 2264.955 Avg Mbps: 2264.955 3002 284169768 2271.087 100.00% Conn: 1 Mbps: 2271.087 Peak Mbps: 2271.087 Avg Mbps: 2271.087 4003 284204176 2273.633 100.00% Conn: 1 Mbps: 2273.633 Peak Mbps: 2273.633 Avg Mbps: 2273.633 5003 283639400 2269.115 100.00% Conn: 1 Mbps: 2269.115 Peak Mbps: 2273.633 Avg Mbps: 2269.115 --- 169.254.1.11 tcpbench statistics --- 1694317112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2198.911/2255.540/2273.633/28.456 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 533015888 4264.127 100.00% Conn: 1 Mbps: 4264.127 Peak Mbps: 4264.127 Avg Mbps: 4264.127 2000 610004784 4880.038 100.00% Conn: 1 Mbps: 4880.038 Peak Mbps: 4880.038 Avg Mbps: 4880.038 3001 603635200 4829.082 100.00% Conn: 1 Mbps: 4829.082 Peak Mbps: 4880.038 Avg Mbps: 4829.082 4001 603871024 4835.804 100.00% Conn: 1 Mbps: 4835.804 Peak Mbps: 4880.038 Avg Mbps: 4835.804 5001 603296592 4826.373 100.00% Conn: 1 Mbps: 4826.373 Peak Mbps: 4880.038 Avg Mbps: 4826.373 --- fc00:0:0:1::11 tcpbench statistics --- 3554833192 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4264.127/4727.085/4880.038/232.295 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.046 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.046/0.046/0.046/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 793936470 6351.492 100.00% Conn: 1 Mbps: 6351.492 Peak Mbps: 6351.492 Avg Mbps: 6351.492 2000 793101272 6351.161 100.00% Conn: 1 Mbps: 6351.161 Peak Mbps: 6351.492 Avg Mbps: 6351.161 3000 793559296 6348.474 100.00% Conn: 1 Mbps: 6348.474 Peak Mbps: 6351.492 Avg Mbps: 6348.474 4000 793592012 6348.736 100.00% Conn: 1 Mbps: 6348.736 Peak Mbps: 6351.492 Avg Mbps: 6348.736 5000 793722876 6349.783 100.00% Conn: 1 Mbps: 6349.783 Peak Mbps: 6351.492 Avg Mbps: 6349.783 --- 169.254.1.12 tcpbench statistics --- 4761569370 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6348.474/6349.929/6351.492/1.226 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 776695028 6213.560 100.00% Conn: 1 Mbps: 6213.560 Peak Mbps: 6213.560 Avg Mbps: 6213.560 2000 776006864 6214.269 100.00% Conn: 1 Mbps: 6214.269 Peak Mbps: 6214.269 Avg Mbps: 6214.269 3000 776399216 6211.194 100.00% Conn: 1 Mbps: 6211.194 Peak Mbps: 6214.269 Avg Mbps: 6211.194 4000 776693480 6213.548 100.00% Conn: 1 Mbps: 6213.548 Peak Mbps: 6214.269 Avg Mbps: 6213.548 5000 775908776 6207.270 100.00% Conn: 1 Mbps: 6207.270 Peak Mbps: 6214.269 Avg Mbps: 6207.270 --- fc00:0:0:1::12 tcpbench statistics --- 4657089004 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6207.270/6211.968/6214.269/2.569 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 792879490 6343.036 100.00% Conn: 1 Mbps: 6343.036 Peak Mbps: 6343.036 Avg Mbps: 6343.036 2000 794311284 6360.851 100.00% Conn: 1 Mbps: 6360.851 Peak Mbps: 6360.851 Avg Mbps: 6360.851 3000 794507580 6356.061 100.00% Conn: 1 Mbps: 6356.061 Peak Mbps: 6360.851 Avg Mbps: 6356.061 4000 794409432 6355.275 100.00% Conn: 1 Mbps: 6355.275 Peak Mbps: 6360.851 Avg Mbps: 6355.275 5000 794344024 6354.752 100.00% Conn: 1 Mbps: 6354.752 Peak Mbps: 6360.851 Avg Mbps: 6354.752 --- 169.254.0.13 tcpbench statistics --- 4764763106 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6343.036/6353.995/6360.851/5.892 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 787124908 6296.999 100.00% Conn: 1 Mbps: 6296.999 Peak Mbps: 6296.999 Avg Mbps: 6296.999 2000 785750272 6292.294 100.00% Conn: 1 Mbps: 6292.294 Peak Mbps: 6296.999 Avg Mbps: 6292.294 3000 786502280 6292.018 100.00% Conn: 1 Mbps: 6292.018 Peak Mbps: 6296.999 Avg Mbps: 6292.018 4000 787515856 6300.127 100.00% Conn: 1 Mbps: 6300.127 Peak Mbps: 6300.127 Avg Mbps: 6300.127 5000 787973600 6303.789 100.00% Conn: 1 Mbps: 6303.789 Peak Mbps: 6303.789 Avg Mbps: 6303.789 --- fc00::13 tcpbench statistics --- 4723756004 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6292.018/6297.046/6303.789/4.535 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