START sys/net/pair 2025-02-10T14:09:55Z ==== 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.039 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.039/0.039/0.039/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 524631584 4197.053 100.00% Conn: 1 Mbps: 4197.053 Peak Mbps: 4197.053 Avg Mbps: 4197.053 2000 523145308 4189.352 100.00% Conn: 1 Mbps: 4189.352 Peak Mbps: 4197.053 Avg Mbps: 4189.352 3000 522422040 4179.376 100.00% Conn: 1 Mbps: 4179.376 Peak Mbps: 4197.053 Avg Mbps: 4179.376 4000 523351956 4186.816 100.00% Conn: 1 Mbps: 4186.816 Peak Mbps: 4197.053 Avg Mbps: 4186.816 5000 523320164 4186.561 100.00% Conn: 1 Mbps: 4186.561 Peak Mbps: 4197.053 Avg Mbps: 4186.561 --- 169.254.1.11 tcpbench statistics --- 3140421708 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4179.376/4187.832/4197.053/5.683 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 510452208 4083.618 100.00% Conn: 1 Mbps: 4083.618 Peak Mbps: 4083.618 Avg Mbps: 4083.618 2000 509564272 4080.595 100.00% Conn: 1 Mbps: 4080.595 Peak Mbps: 4083.618 Avg Mbps: 4080.595 3000 509159944 4073.280 100.00% Conn: 1 Mbps: 4073.280 Peak Mbps: 4083.618 Avg Mbps: 4073.280 4000 509397784 4075.182 100.00% Conn: 1 Mbps: 4075.182 Peak Mbps: 4083.618 Avg Mbps: 4075.182 5000 508755616 4070.045 100.00% Conn: 1 Mbps: 4070.045 Peak Mbps: 4083.618 Avg Mbps: 4070.045 --- fc00:0:0:1::11 tcpbench statistics --- 3056315352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4070.045/4076.544/4083.618/4.923 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.082 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.082/0.082/0.082/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.134 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.134/0.134/0.134/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 276287408 2210.299 100.00% Conn: 1 Mbps: 2210.299 Peak Mbps: 2210.299 Avg Mbps: 2210.299 2001 291238904 2329.911 100.00% Conn: 1 Mbps: 2329.911 Peak Mbps: 2329.911 Avg Mbps: 2329.911 3001 286414784 2293.612 100.00% Conn: 1 Mbps: 2293.612 Peak Mbps: 2329.911 Avg Mbps: 2293.612 4002 288964088 2309.403 100.00% Conn: 1 Mbps: 2309.403 Peak Mbps: 2329.911 Avg Mbps: 2309.403 5002 288270840 2306.167 100.00% Conn: 1 Mbps: 2306.167 Peak Mbps: 2329.911 Avg Mbps: 2306.167 --- 169.254.1.12 tcpbench statistics --- 1720393136 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2210.299/2289.878/2329.911/41.463 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 254590804 2036.726 100.00% Conn: 1 Mbps: 2036.726 Peak Mbps: 2036.726 Avg Mbps: 2036.726 2001 268686832 2147.347 100.00% Conn: 1 Mbps: 2147.347 Peak Mbps: 2147.347 Avg Mbps: 2147.347 3002 271428112 2171.425 100.00% Conn: 1 Mbps: 2171.425 Peak Mbps: 2171.425 Avg Mbps: 2171.425 4001 273407180 2189.447 100.00% Conn: 1 Mbps: 2189.447 Peak Mbps: 2189.447 Avg Mbps: 2189.447 5002 273817496 2190.540 100.00% Conn: 1 Mbps: 2190.540 Peak Mbps: 2190.540 Avg Mbps: 2190.540 --- fc00:0:0:1::12 tcpbench statistics --- 1616790164 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2036.726/2147.097/2190.540/57.366 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.075 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.075/0.075/0.075/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.071 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.071/0.071/0.071/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 623791780 4990.334 100.00% Conn: 1 Mbps: 4990.334 Peak Mbps: 4990.334 Avg Mbps: 4990.334 2000 639957840 5119.663 100.00% Conn: 1 Mbps: 5119.663 Peak Mbps: 5119.663 Avg Mbps: 5119.663 3000 632779848 5067.306 100.00% Conn: 1 Mbps: 5067.306 Peak Mbps: 5119.663 Avg Mbps: 5067.306 4001 614841352 4918.731 100.00% Conn: 1 Mbps: 4918.731 Peak Mbps: 5119.663 Avg Mbps: 4918.731 5000 616090588 4933.658 100.00% Conn: 1 Mbps: 4933.658 Peak Mbps: 5119.663 Avg Mbps: 4933.658 --- 169.254.0.13 tcpbench statistics --- 3719134340 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4918.731/5005.938/5119.663/77.165 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 541843848 4330.420 100.00% Conn: 1 Mbps: 4330.420 Peak Mbps: 4330.420 Avg Mbps: 4330.420 2001 573211048 4585.688 100.00% Conn: 1 Mbps: 4585.688 Peak Mbps: 4585.688 Avg Mbps: 4585.688 3001 573019352 4584.155 100.00% Conn: 1 Mbps: 4584.155 Peak Mbps: 4585.688 Avg Mbps: 4584.155 4001 575718768 4605.750 100.00% Conn: 1 Mbps: 4605.750 Peak Mbps: 4605.750 Avg Mbps: 4605.750 5002 577385600 4619.085 100.00% Conn: 1 Mbps: 4619.085 Peak Mbps: 4619.085 Avg Mbps: 4619.085 --- fc00::13 tcpbench statistics --- 3414341448 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4330.420/4545.020/4619.085/108.085 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.060 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.060/0.060/0.060/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 1001 272415336 2177.146 100.00% Conn: 1 Mbps: 2177.146 Peak Mbps: 2177.146 Avg Mbps: 2177.146 2000 284794616 2280.638 100.00% Conn: 1 Mbps: 2280.638 Peak Mbps: 2280.638 Avg Mbps: 2280.638 3002 285609480 2282.593 100.00% Conn: 1 Mbps: 2282.593 Peak Mbps: 2282.593 Avg Mbps: 2282.593 4003 286060856 2288.487 100.00% Conn: 1 Mbps: 2288.487 Peak Mbps: 2288.487 Avg Mbps: 2288.487 5003 286587480 2294.995 100.00% Conn: 1 Mbps: 2294.995 Peak Mbps: 2294.995 Avg Mbps: 2294.995 --- 169.254.1.11 tcpbench statistics --- 1702531912 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2177.146/2264.772/2294.995/44.099 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 254623068 2034.950 100.00% Conn: 1 Mbps: 2034.950 Peak Mbps: 2034.950 Avg Mbps: 2034.950 2001 265994472 2127.956 100.00% Conn: 1 Mbps: 2127.956 Peak Mbps: 2127.956 Avg Mbps: 2127.956 3000 269362532 2157.057 100.00% Conn: 1 Mbps: 2157.057 Peak Mbps: 2157.057 Avg Mbps: 2157.057 4002 269435684 2153.332 100.00% Conn: 1 Mbps: 2153.332 Peak Mbps: 2157.057 Avg Mbps: 2153.332 5002 268308172 2148.614 100.00% Conn: 1 Mbps: 2148.614 Peak Mbps: 2157.057 Avg Mbps: 2148.614 --- fc00:0:0:1::11 tcpbench statistics --- 1598568908 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2034.950/2124.382/2157.057/45.834 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.052 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.052/0.052/0.052/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 531720080 4253.761 100.00% Conn: 1 Mbps: 4253.761 Peak Mbps: 4253.761 Avg Mbps: 4253.761 2000 532222536 4262.042 100.00% Conn: 1 Mbps: 4262.042 Peak Mbps: 4262.042 Avg Mbps: 4262.042 3000 531773656 4254.189 100.00% Conn: 1 Mbps: 4254.189 Peak Mbps: 4262.042 Avg Mbps: 4254.189 4000 531889496 4255.116 100.00% Conn: 1 Mbps: 4255.116 Peak Mbps: 4262.042 Avg Mbps: 4255.116 5000 531679536 4253.436 100.00% Conn: 1 Mbps: 4253.436 Peak Mbps: 4262.042 Avg Mbps: 4253.436 --- 169.254.1.12 tcpbench statistics --- 3191730832 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4253.436/4255.709/4262.042/3.217 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 524078856 4192.631 100.00% Conn: 1 Mbps: 4192.631 Peak Mbps: 4192.631 Avg Mbps: 4192.631 2000 523287744 4190.492 100.00% Conn: 1 Mbps: 4190.492 Peak Mbps: 4192.631 Avg Mbps: 4190.492 3000 522209604 4177.677 100.00% Conn: 1 Mbps: 4177.677 Peak Mbps: 4192.631 Avg Mbps: 4177.677 4000 522041100 4176.329 100.00% Conn: 1 Mbps: 4176.329 Peak Mbps: 4192.631 Avg Mbps: 4176.329 5000 523044984 4184.360 100.00% Conn: 1 Mbps: 4184.360 Peak Mbps: 4192.631 Avg Mbps: 4184.360 --- fc00:0:0:1::12 tcpbench statistics --- 3137047536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4176.329/4184.298/4192.631/6.560 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.045 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.045/0.045/0.045/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 775360242 6202.882 100.00% Conn: 1 Mbps: 6202.882 Peak Mbps: 6202.882 Avg Mbps: 6202.882 2000 777626604 6227.240 100.00% Conn: 1 Mbps: 6227.240 Peak Mbps: 6227.240 Avg Mbps: 6227.240 3000 776514260 6212.114 100.00% Conn: 1 Mbps: 6212.114 Peak Mbps: 6227.240 Avg Mbps: 6212.114 4000 777724752 6221.798 100.00% Conn: 1 Mbps: 6221.798 Peak Mbps: 6227.240 Avg Mbps: 6221.798 5000 778673516 6229.388 100.00% Conn: 1 Mbps: 6229.388 Peak Mbps: 6229.388 Avg Mbps: 6229.388 --- 169.254.0.13 tcpbench statistics --- 4663885854 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6202.882/6218.684/6229.388/9.903 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 749254476 5994.036 100.00% Conn: 1 Mbps: 5994.036 Peak Mbps: 5994.036 Avg Mbps: 5994.036 2000 750765552 6012.137 100.00% Conn: 1 Mbps: 6012.137 Peak Mbps: 6012.137 Avg Mbps: 6012.137 3000 750798248 6006.386 100.00% Conn: 1 Mbps: 6006.386 Peak Mbps: 6012.137 Avg Mbps: 6006.386 4000 752106088 6016.849 100.00% Conn: 1 Mbps: 6016.849 Peak Mbps: 6016.849 Avg Mbps: 6016.849 5000 750961728 6007.694 100.00% Conn: 1 Mbps: 6007.694 Peak Mbps: 6016.849 Avg Mbps: 6007.694 --- fc00::13 tcpbench statistics --- 4497622004 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5994.036/6007.420/6016.849/7.634 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.051 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.051/0.051/0.051/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.057 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.057/0.057/0.057/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 271586976 2172.696 100.00% Conn: 1 Mbps: 2172.696 Peak Mbps: 2172.696 Avg Mbps: 2172.696 2001 284474792 2275.798 100.00% Conn: 1 Mbps: 2275.798 Peak Mbps: 2275.798 Avg Mbps: 2275.798 3002 284995840 2279.967 100.00% Conn: 1 Mbps: 2279.967 Peak Mbps: 2279.967 Avg Mbps: 2279.967 4002 282054568 2256.437 100.00% Conn: 1 Mbps: 2256.437 Peak Mbps: 2279.967 Avg Mbps: 2256.437 5003 284318232 2274.546 100.00% Conn: 1 Mbps: 2274.546 Peak Mbps: 2279.967 Avg Mbps: 2274.546 --- 169.254.1.11 tcpbench statistics --- 1691177464 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2172.696/2251.889/2279.967/40.412 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 1001 533807056 4266.190 100.00% Conn: 1 Mbps: 4266.190 Peak Mbps: 4266.190 Avg Mbps: 4266.190 2001 610555016 4884.440 100.00% Conn: 1 Mbps: 4884.440 Peak Mbps: 4884.440 Avg Mbps: 4884.440 3001 604242560 4838.779 100.00% Conn: 1 Mbps: 4838.779 Peak Mbps: 4884.440 Avg Mbps: 4838.779 4001 602212968 4817.704 100.00% Conn: 1 Mbps: 4817.704 Peak Mbps: 4884.440 Avg Mbps: 4817.704 5001 604680568 4837.445 100.00% Conn: 1 Mbps: 4837.445 Peak Mbps: 4884.440 Avg Mbps: 4837.445 --- fc00:0:0:1::11 tcpbench statistics --- 3551646872 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4266.190/4728.912/4884.440/232.394 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.060 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.060/0.060/0.060/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 775072920 6200.583 100.00% Conn: 1 Mbps: 6200.583 Peak Mbps: 6200.583 Avg Mbps: 6200.583 2000 780145736 6247.413 100.00% Conn: 1 Mbps: 6247.413 Peak Mbps: 6247.413 Avg Mbps: 6247.413 3000 780342032 6242.736 100.00% Conn: 1 Mbps: 6242.736 Peak Mbps: 6247.413 Avg Mbps: 6242.736 4000 780538328 6244.307 100.00% Conn: 1 Mbps: 6244.307 Peak Mbps: 6247.413 Avg Mbps: 6244.307 5000 780571044 6244.568 100.00% Conn: 1 Mbps: 6244.568 Peak Mbps: 6247.413 Avg Mbps: 6244.568 --- 169.254.1.12 tcpbench statistics --- 4676979376 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6200.583/6235.922/6247.413/17.733 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 754199964 6033.600 100.00% Conn: 1 Mbps: 6033.600 Peak Mbps: 6033.600 Avg Mbps: 6033.600 2000 753544712 6034.392 100.00% Conn: 1 Mbps: 6034.392 Peak Mbps: 6034.392 Avg Mbps: 6034.392 3000 752236872 6017.895 100.00% Conn: 1 Mbps: 6017.895 Peak Mbps: 6034.392 Avg Mbps: 6017.895 4000 752400352 6019.203 100.00% Conn: 1 Mbps: 6019.203 Peak Mbps: 6034.392 Avg Mbps: 6019.203 5000 753413928 6027.311 100.00% Conn: 1 Mbps: 6027.311 Peak Mbps: 6034.392 Avg Mbps: 6027.311 --- fc00:0:0:1::12 tcpbench statistics --- 4515122756 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6017.895/6026.480/6034.392/6.937 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.054 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.054/0.054/0.054/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.048 ms --- fc00::13 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-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 793223458 6345.788 100.00% Conn: 1 Mbps: 6345.788 Peak Mbps: 6345.788 Avg Mbps: 6345.788 2000 794180900 6359.807 100.00% Conn: 1 Mbps: 6359.807 Peak Mbps: 6359.807 Avg Mbps: 6359.807 3000 793657444 6349.260 100.00% Conn: 1 Mbps: 6349.260 Peak Mbps: 6359.807 Avg Mbps: 6349.260 4000 794900652 6359.205 100.00% Conn: 1 Mbps: 6359.205 Peak Mbps: 6359.807 Avg Mbps: 6359.205 5000 796176576 6369.413 100.00% Conn: 1 Mbps: 6369.413 Peak Mbps: 6369.413 Avg Mbps: 6369.413 --- 169.254.0.13 tcpbench statistics --- 4768184742 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6345.788/6356.694/6369.413/8.390 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 786601628 6292.813 100.00% Conn: 1 Mbps: 6292.813 Peak Mbps: 6292.813 Avg Mbps: 6292.813 2000 784932872 6285.749 100.00% Conn: 1 Mbps: 6285.749 Peak Mbps: 6292.813 Avg Mbps: 6285.749 3000 785357920 6282.863 100.00% Conn: 1 Mbps: 6282.863 Peak Mbps: 6292.813 Avg Mbps: 6282.863 4000 785946448 6287.572 100.00% Conn: 1 Mbps: 6287.572 Peak Mbps: 6292.813 Avg Mbps: 6287.572 5000 787025416 6296.203 100.00% Conn: 1 Mbps: 6296.203 Peak Mbps: 6296.203 Avg Mbps: 6296.203 --- fc00::13 tcpbench statistics --- 4717249356 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6282.863/6289.040/6296.203/4.831 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m52.85s