START sys/net/pair 2025-01-04T16:06:42Z ==== 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.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-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.043 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.043/0.043/0.043/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 513099036 4104.792 100.00% Conn: 1 Mbps: 4104.792 Peak Mbps: 4104.792 Avg Mbps: 4104.792 2000 511525332 4096.299 100.00% Conn: 1 Mbps: 4096.299 Peak Mbps: 4104.792 Avg Mbps: 4096.299 3000 511573020 4092.584 100.00% Conn: 1 Mbps: 4092.584 Peak Mbps: 4104.792 Avg Mbps: 4092.584 4000 511724032 4093.792 100.00% Conn: 1 Mbps: 4093.792 Peak Mbps: 4104.792 Avg Mbps: 4093.792 5000 510976920 4087.815 100.00% Conn: 1 Mbps: 4087.815 Peak Mbps: 4104.792 Avg Mbps: 4087.815 --- 169.254.1.11 tcpbench statistics --- 3071067460 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4087.815/4095.057/4104.792/5.594 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 501374648 4010.997 100.00% Conn: 1 Mbps: 4010.997 Peak Mbps: 4010.997 Avg Mbps: 4010.997 2000 499709768 4001.680 100.00% Conn: 1 Mbps: 4001.680 Peak Mbps: 4010.997 Avg Mbps: 4001.680 3000 499749408 3997.995 100.00% Conn: 1 Mbps: 3997.995 Peak Mbps: 4010.997 Avg Mbps: 3997.995 4000 499646344 3997.171 100.00% Conn: 1 Mbps: 3997.171 Peak Mbps: 4010.997 Avg Mbps: 3997.171 5000 499590848 3996.727 100.00% Conn: 1 Mbps: 3996.727 Peak Mbps: 4010.997 Avg Mbps: 3996.727 --- fc00:0:0:1::11 tcpbench statistics --- 2999883848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3996.727/4000.914/4010.997/5.335 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.085 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.085/0.085/0.085/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.168 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.168/0.168/0.168/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 266282968 2130.264 100.00% Conn: 1 Mbps: 2130.264 Peak Mbps: 2130.264 Avg Mbps: 2130.264 2001 280417616 2243.341 100.00% Conn: 1 Mbps: 2243.341 Peak Mbps: 2243.341 Avg Mbps: 2243.341 3002 282745104 2259.701 100.00% Conn: 1 Mbps: 2259.701 Peak Mbps: 2259.701 Avg Mbps: 2259.701 4003 281282560 2250.260 100.00% Conn: 1 Mbps: 2250.260 Peak Mbps: 2259.701 Avg Mbps: 2250.260 5002 283095296 2267.029 100.00% Conn: 1 Mbps: 2267.029 Peak Mbps: 2267.029 Avg Mbps: 2267.029 --- 169.254.1.12 tcpbench statistics --- 1679615576 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2130.264/2230.119/2267.029/50.575 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 253106588 2024.853 100.00% Conn: 1 Mbps: 2024.853 Peak Mbps: 2024.853 Avg Mbps: 2024.853 2002 270418584 2161.187 100.00% Conn: 1 Mbps: 2161.187 Peak Mbps: 2161.187 Avg Mbps: 2161.187 3003 267810096 2140.340 100.00% Conn: 1 Mbps: 2140.340 Peak Mbps: 2161.187 Avg Mbps: 2140.340 4004 272060516 2176.484 100.00% Conn: 1 Mbps: 2176.484 Peak Mbps: 2176.484 Avg Mbps: 2176.484 5003 275298808 2204.595 100.00% Conn: 1 Mbps: 2204.595 Peak Mbps: 2204.595 Avg Mbps: 2204.595 --- fc00:0:0:1::12 tcpbench statistics --- 1616283136 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2024.853/2141.492/2204.595/61.968 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.083 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.083/0.083/0.083/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 593024652 4744.197 100.00% Conn: 1 Mbps: 4744.197 Peak Mbps: 4744.197 Avg Mbps: 4744.197 2001 622715860 4981.727 100.00% Conn: 1 Mbps: 4981.727 Peak Mbps: 4981.727 Avg Mbps: 4981.727 3000 615841540 4931.664 100.00% Conn: 1 Mbps: 4931.664 Peak Mbps: 4981.727 Avg Mbps: 4931.664 4000 607895080 4868.029 100.00% Conn: 1 Mbps: 4868.029 Peak Mbps: 4981.727 Avg Mbps: 4868.029 5000 582718336 4661.747 100.00% Conn: 1 Mbps: 4661.747 Peak Mbps: 4981.727 Avg Mbps: 4661.747 --- 169.254.0.13 tcpbench statistics --- 3615603024 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4661.747/4837.473/4981.727/118.486 Mbps ==== run-tcpbench6-1-3 ==== rm -f nc.log nc -6 -v -l -V 13 fc00::13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00::13 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00::13 elapsed_ms bytes mbps bwidth 1000 538432728 4307.462 100.00% Conn: 1 Mbps: 4307.462 Peak Mbps: 4307.462 Avg Mbps: 4307.462 2000 571036568 4572.865 100.00% Conn: 1 Mbps: 4572.865 Peak Mbps: 4572.865 Avg Mbps: 4572.865 3001 567355640 4538.845 100.00% Conn: 1 Mbps: 4538.845 Peak Mbps: 4572.865 Avg Mbps: 4538.845 4002 569808768 4553.916 100.00% Conn: 1 Mbps: 4553.916 Peak Mbps: 4572.865 Avg Mbps: 4553.916 5002 565692968 4525.544 100.00% Conn: 1 Mbps: 4525.544 Peak Mbps: 4572.865 Avg Mbps: 4525.544 --- fc00::13 tcpbench statistics --- 3379229896 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4307.462/4499.726/4572.865/97.415 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.058 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.058/0.058/0.058/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.054 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.054/0.054/0.054/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 264646952 2117.176 100.00% Conn: 1 Mbps: 2117.176 Peak Mbps: 2117.176 Avg Mbps: 2117.176 2000 280402912 2243.223 100.00% Conn: 1 Mbps: 2243.223 Peak Mbps: 2243.223 Avg Mbps: 2243.223 3001 282288760 2258.310 100.00% Conn: 1 Mbps: 2258.310 Peak Mbps: 2258.310 Avg Mbps: 2258.310 4003 282489088 2257.655 100.00% Conn: 1 Mbps: 2257.655 Peak Mbps: 2258.310 Avg Mbps: 2257.655 5003 283198168 2265.585 100.00% Conn: 1 Mbps: 2265.585 Peak Mbps: 2265.585 Avg Mbps: 2265.585 --- 169.254.1.11 tcpbench statistics --- 1674355776 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2117.176/2228.390/2265.585/56.078 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 256671680 2053.373 100.00% Conn: 1 Mbps: 2053.373 Peak Mbps: 2053.373 Avg Mbps: 2053.373 2000 266253576 2130.029 100.00% Conn: 1 Mbps: 2130.029 Peak Mbps: 2130.029 Avg Mbps: 2130.029 3001 266781188 2134.250 100.00% Conn: 1 Mbps: 2134.250 Peak Mbps: 2134.250 Avg Mbps: 2134.250 4002 269334860 2152.526 100.00% Conn: 1 Mbps: 2152.526 Peak Mbps: 2152.526 Avg Mbps: 2152.526 5003 272826816 2182.615 100.00% Conn: 1 Mbps: 2182.615 Peak Mbps: 2182.615 Avg Mbps: 2182.615 --- fc00:0:0:1::11 tcpbench statistics --- 1603186092 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2053.373/2130.558/2182.615/42.811 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.054 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.054/0.054/0.054/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.047 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.047/0.047/0.047/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 518740208 4149.922 100.00% Conn: 1 Mbps: 4149.922 Peak Mbps: 4149.922 Avg Mbps: 4149.922 2000 518834328 4154.829 100.00% Conn: 1 Mbps: 4154.829 Peak Mbps: 4154.829 Avg Mbps: 4154.829 3000 518113224 4144.906 100.00% Conn: 1 Mbps: 4144.906 Peak Mbps: 4154.829 Avg Mbps: 4144.906 4000 518223272 4145.786 100.00% Conn: 1 Mbps: 4145.786 Peak Mbps: 4154.829 Avg Mbps: 4145.786 5000 517914848 4143.319 100.00% Conn: 1 Mbps: 4143.319 Peak Mbps: 4154.829 Avg Mbps: 4143.319 --- 169.254.1.12 tcpbench statistics --- 3109775480 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4143.319/4147.752/4154.829/4.157 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 512242164 4097.937 100.00% Conn: 1 Mbps: 4097.937 Peak Mbps: 4097.937 Avg Mbps: 4097.937 2000 512097936 4100.884 100.00% Conn: 1 Mbps: 4100.884 Peak Mbps: 4100.884 Avg Mbps: 4100.884 3000 511068348 4088.547 100.00% Conn: 1 Mbps: 4088.547 Peak Mbps: 4100.884 Avg Mbps: 4088.547 4000 511555296 4092.442 100.00% Conn: 1 Mbps: 4092.442 Peak Mbps: 4100.884 Avg Mbps: 4092.442 5000 511002660 4088.021 100.00% Conn: 1 Mbps: 4088.021 Peak Mbps: 4100.884 Avg Mbps: 4088.021 --- fc00:0:0:1::12 tcpbench statistics --- 3069491712 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4088.021/4093.566/4100.884/5.096 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.058 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.058/0.058/0.058/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 769503102 6156.025 100.00% Conn: 1 Mbps: 6156.025 Peak Mbps: 6156.025 Avg Mbps: 6156.025 2000 771148836 6175.366 100.00% Conn: 1 Mbps: 6175.366 Peak Mbps: 6175.366 Avg Mbps: 6175.366 3000 771737724 6173.902 100.00% Conn: 1 Mbps: 6173.902 Peak Mbps: 6175.366 Avg Mbps: 6173.902 4000 769185876 6153.487 100.00% Conn: 1 Mbps: 6153.487 Peak Mbps: 6175.366 Avg Mbps: 6153.487 5000 772882784 6183.062 100.00% Conn: 1 Mbps: 6183.062 Peak Mbps: 6183.062 Avg Mbps: 6183.062 --- 169.254.0.13 tcpbench statistics --- 4627177526 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6153.487/6168.368/6183.062/11.570 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 746638004 5973.104 100.00% Conn: 1 Mbps: 5973.104 Peak Mbps: 5973.104 Avg Mbps: 5973.104 2000 748346048 5992.761 100.00% Conn: 1 Mbps: 5992.761 Peak Mbps: 5992.761 Avg Mbps: 5992.761 3000 748705704 5989.646 100.00% Conn: 1 Mbps: 5989.646 Peak Mbps: 5992.761 Avg Mbps: 5989.646 4000 748313352 5986.507 100.00% Conn: 1 Mbps: 5986.507 Peak Mbps: 5992.761 Avg Mbps: 5986.507 5000 748967272 5991.738 100.00% Conn: 1 Mbps: 5991.738 Peak Mbps: 5992.761 Avg Mbps: 5991.738 --- fc00::13 tcpbench statistics --- 4490264612 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5973.104/5986.751/5992.761/7.151 Mbps ==== run-ping-3-1 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.062 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.060 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.060/0.060/0.060/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 1002 267070016 2132.296 100.00% Conn: 1 Mbps: 2132.296 Peak Mbps: 2132.296 Avg Mbps: 2132.296 2001 277514096 2222.335 100.00% Conn: 1 Mbps: 2222.335 Peak Mbps: 2222.335 Avg Mbps: 2222.335 3001 280799112 2248.642 100.00% Conn: 1 Mbps: 2248.642 Peak Mbps: 2248.642 Avg Mbps: 2248.642 4003 276613448 2210.697 100.00% Conn: 1 Mbps: 2210.697 Peak Mbps: 2248.642 Avg Mbps: 2210.697 5003 277614832 2220.919 100.00% Conn: 1 Mbps: 2220.919 Peak Mbps: 2248.642 Avg Mbps: 2220.919 --- 169.254.1.11 tcpbench statistics --- 1656693856 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2132.296/2206.978/2248.642/39.389 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 527135784 4217.086 100.00% Conn: 1 Mbps: 4217.086 Peak Mbps: 4217.086 Avg Mbps: 4217.086 2000 576772808 4614.182 100.00% Conn: 1 Mbps: 4614.182 Peak Mbps: 4614.182 Avg Mbps: 4614.182 3001 571590584 4572.725 100.00% Conn: 1 Mbps: 4572.725 Peak Mbps: 4614.182 Avg Mbps: 4572.725 4001 571468856 4571.751 100.00% Conn: 1 Mbps: 4571.751 Peak Mbps: 4614.182 Avg Mbps: 4571.751 5001 579101408 4632.811 100.00% Conn: 1 Mbps: 4632.811 Peak Mbps: 4632.811 Avg Mbps: 4632.811 --- fc00:0:0:1::11 tcpbench statistics --- 3403767128 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4217.086/4521.711/4632.811/154.141 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.048 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-tcpbench-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 776276022 6210.208 100.00% Conn: 1 Mbps: 6210.208 Peak Mbps: 6210.208 Avg Mbps: 6210.208 2000 778379072 6233.266 100.00% Conn: 1 Mbps: 6233.266 Peak Mbps: 6233.266 Avg Mbps: 6233.266 3000 779115182 6232.921 100.00% Conn: 1 Mbps: 6232.921 Peak Mbps: 6233.266 Avg Mbps: 6232.921 4000 779000676 6232.005 100.00% Conn: 1 Mbps: 6232.005 Peak Mbps: 6233.266 Avg Mbps: 6232.005 5000 778902528 6231.220 100.00% Conn: 1 Mbps: 6231.220 Peak Mbps: 6233.266 Avg Mbps: 6231.220 --- 169.254.1.12 tcpbench statistics --- 4670117984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6210.208/6227.924/6233.266/8.887 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 740590184 5924.721 100.00% Conn: 1 Mbps: 5924.721 Peak Mbps: 5924.721 Avg Mbps: 5924.721 2000 742460768 5945.632 100.00% Conn: 1 Mbps: 5945.632 Peak Mbps: 5945.632 Avg Mbps: 5945.632 3000 743049296 5944.394 100.00% Conn: 1 Mbps: 5944.394 Peak Mbps: 5945.632 Avg Mbps: 5944.394 4000 742624248 5940.994 100.00% Conn: 1 Mbps: 5940.994 Peak Mbps: 5945.632 Avg Mbps: 5940.994 5000 736052352 5888.419 100.00% Conn: 1 Mbps: 5888.419 Peak Mbps: 5945.632 Avg Mbps: 5888.419 --- fc00:0:0:1::12 tcpbench statistics --- 4447629968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5888.419/5928.832/5945.632/21.552 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.046 ms --- fc00::13 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-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 780166438 6241.332 100.00% Conn: 1 Mbps: 6241.332 Peak Mbps: 6241.332 Avg Mbps: 6241.332 2000 780538328 6250.557 100.00% Conn: 1 Mbps: 6250.557 Peak Mbps: 6250.557 Avg Mbps: 6250.557 3000 783417336 6267.339 100.00% Conn: 1 Mbps: 6267.339 Peak Mbps: 6267.339 Avg Mbps: 6267.339 4000 782861164 6262.889 100.00% Conn: 1 Mbps: 6262.889 Peak Mbps: 6267.339 Avg Mbps: 6262.889 5000 780767340 6246.139 100.00% Conn: 1 Mbps: 6246.139 Peak Mbps: 6267.339 Avg Mbps: 6246.139 --- 169.254.0.13 tcpbench statistics --- 4690153746 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6241.332/6253.651/6267.339/9.904 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 771140380 6169.123 100.00% Conn: 1 Mbps: 6169.123 Peak Mbps: 6169.123 Avg Mbps: 6169.123 2000 775941472 6213.746 100.00% Conn: 1 Mbps: 6213.746 Peak Mbps: 6213.746 Avg Mbps: 6213.746 3000 775712600 6205.701 100.00% Conn: 1 Mbps: 6205.701 Peak Mbps: 6213.746 Avg Mbps: 6205.701 4000 776922352 6215.379 100.00% Conn: 1 Mbps: 6215.379 Peak Mbps: 6215.379 Avg Mbps: 6215.379 5000 778622544 6228.980 100.00% Conn: 1 Mbps: 6228.980 Peak Mbps: 6228.980 Avg Mbps: 6228.980 --- fc00::13 tcpbench statistics --- 4658727476 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6169.123/6206.586/6228.980/20.171 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m52.87s