START sys/net/pair 2024-08-15T08:45:04Z ==== 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.154 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.154/0.154/0.154/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.202 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.202/0.202/0.202/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 201569228 1612.554 100.00% Conn: 1 Mbps: 1612.554 Peak Mbps: 1612.554 Avg Mbps: 1612.554 2000 196101004 1568.808 100.00% Conn: 1 Mbps: 1568.808 Peak Mbps: 1612.554 Avg Mbps: 1568.808 3000 199280204 1595.837 100.00% Conn: 1 Mbps: 1595.837 Peak Mbps: 1612.554 Avg Mbps: 1595.837 4000 199455060 1595.640 100.00% Conn: 1 Mbps: 1595.640 Peak Mbps: 1612.554 Avg Mbps: 1595.640 5000 199415320 1595.323 100.00% Conn: 1 Mbps: 1595.323 Peak Mbps: 1612.554 Avg Mbps: 1595.323 --- 169.254.1.11 tcpbench statistics --- 1195228188 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1568.808/1593.632/1612.554/14.043 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 202996440 1623.972 100.00% Conn: 1 Mbps: 1623.972 Peak Mbps: 1623.972 Avg Mbps: 1623.972 2000 203702032 1631.248 100.00% Conn: 1 Mbps: 1631.248 Peak Mbps: 1631.248 Avg Mbps: 1631.248 3000 202179856 1617.439 100.00% Conn: 1 Mbps: 1617.439 Peak Mbps: 1631.248 Avg Mbps: 1617.439 4000 200499120 1605.599 100.00% Conn: 1 Mbps: 1605.599 Peak Mbps: 1631.248 Avg Mbps: 1605.599 5000 202425624 1619.405 100.00% Conn: 1 Mbps: 1619.405 Peak Mbps: 1631.248 Avg Mbps: 1619.405 --- fc00:0:0:1::11 tcpbench statistics --- 1214260408 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1605.599/1619.532/1631.248/8.432 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.235 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.235/0.235/0.235/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.433 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.433/0.433/0.433/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 84363376 674.907 100.00% Conn: 1 Mbps: 674.907 Peak Mbps: 674.907 Avg Mbps: 674.907 2004 85384216 681.031 100.00% Conn: 1 Mbps: 681.031 Peak Mbps: 681.031 Avg Mbps: 681.031 3003 85101912 681.497 100.00% Conn: 1 Mbps: 681.497 Peak Mbps: 681.497 Avg Mbps: 681.497 4004 85158384 681.267 100.00% Conn: 1 Mbps: 681.267 Peak Mbps: 681.497 Avg Mbps: 681.267 5004 84473424 675.787 100.00% Conn: 1 Mbps: 675.787 Peak Mbps: 681.497 Avg Mbps: 675.787 --- 169.254.1.12 tcpbench statistics --- 509306656 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 674.907/678.898/681.497/2.916 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 1004 83923560 668.714 100.00% Conn: 1 Mbps: 668.714 Peak Mbps: 668.714 Avg Mbps: 668.714 2003 83603688 669.499 100.00% Conn: 1 Mbps: 669.499 Peak Mbps: 669.499 Avg Mbps: 669.499 3004 83096748 664.774 100.00% Conn: 1 Mbps: 664.774 Peak Mbps: 669.499 Avg Mbps: 664.774 4005 83712216 669.029 100.00% Conn: 1 Mbps: 669.029 Peak Mbps: 669.499 Avg Mbps: 669.029 5005 83739348 669.915 100.00% Conn: 1 Mbps: 669.915 Peak Mbps: 669.915 Avg Mbps: 669.915 --- fc00:0:0:1::12 tcpbench statistics --- 501089484 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 664.774/668.386/669.915/1.852 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.222 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.222/0.222/0.222/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.269 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.269/0.269/0.269/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 113179520 905.436 100.00% Conn: 1 Mbps: 905.436 Peak Mbps: 905.436 Avg Mbps: 905.436 2000 113529232 908.234 100.00% Conn: 1 Mbps: 908.234 Peak Mbps: 908.234 Avg Mbps: 908.234 3000 114634004 917.072 100.00% Conn: 1 Mbps: 917.072 Peak Mbps: 917.072 Avg Mbps: 917.072 4000 114165072 914.235 100.00% Conn: 1 Mbps: 914.235 Peak Mbps: 917.072 Avg Mbps: 914.235 5000 114936028 919.488 100.00% Conn: 1 Mbps: 919.488 Peak Mbps: 919.488 Avg Mbps: 919.488 --- 169.254.0.13 tcpbench statistics --- 685101704 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 905.436/912.893/919.488/5.293 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 106599888 852.799 100.00% Conn: 1 Mbps: 852.799 Peak Mbps: 852.799 Avg Mbps: 852.799 2000 106996288 855.970 100.00% Conn: 1 Mbps: 855.970 Peak Mbps: 855.970 Avg Mbps: 855.970 3000 107170704 857.366 100.00% Conn: 1 Mbps: 857.366 Peak Mbps: 857.366 Avg Mbps: 857.366 4000 106702952 854.478 100.00% Conn: 1 Mbps: 854.478 Peak Mbps: 857.366 Avg Mbps: 854.478 5000 107202416 857.619 100.00% Conn: 1 Mbps: 857.619 Peak Mbps: 857.619 Avg Mbps: 857.619 --- fc00::13 tcpbench statistics --- 640677536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 852.799/855.646/857.619/1.812 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.186 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.186/0.186/0.186/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.217 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.217/0.217/0.217/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 1003 85699880 683.548 100.00% Conn: 1 Mbps: 683.548 Peak Mbps: 683.548 Avg Mbps: 683.548 2005 85841784 686.048 100.00% Conn: 1 Mbps: 686.048 Peak Mbps: 686.048 Avg Mbps: 686.048 3008 86129992 686.979 100.00% Conn: 1 Mbps: 686.979 Peak Mbps: 686.979 Avg Mbps: 686.979 4006 85508800 685.441 100.00% Conn: 1 Mbps: 685.441 Peak Mbps: 686.979 Avg Mbps: 685.441 5006 85097512 680.780 100.00% Conn: 1 Mbps: 680.780 Peak Mbps: 686.979 Avg Mbps: 680.780 --- 169.254.1.11 tcpbench statistics --- 513615848 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 680.780/684.559/686.979/2.198 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 84257712 674.062 100.00% Conn: 1 Mbps: 674.062 Peak Mbps: 674.062 Avg Mbps: 674.062 2001 84761796 678.094 100.00% Conn: 1 Mbps: 678.094 Peak Mbps: 678.094 Avg Mbps: 678.094 3003 84437640 674.153 100.00% Conn: 1 Mbps: 674.153 Peak Mbps: 678.094 Avg Mbps: 674.153 4002 84127764 674.371 100.00% Conn: 1 Mbps: 674.371 Peak Mbps: 678.094 Avg Mbps: 674.371 5003 84777504 677.542 100.00% Conn: 1 Mbps: 677.542 Peak Mbps: 678.094 Avg Mbps: 677.542 --- fc00:0:0:1::11 tcpbench statistics --- 506762928 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 674.062/675.644/678.094/1.786 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.176 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.176/0.176/0.176/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.214 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.214/0.214/0.214/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 196424096 1571.393 100.00% Conn: 1 Mbps: 1571.393 Peak Mbps: 1571.393 Avg Mbps: 1571.393 2000 191664520 1534.851 100.00% Conn: 1 Mbps: 1534.851 Peak Mbps: 1571.393 Avg Mbps: 1534.851 3000 193001024 1544.008 100.00% Conn: 1 Mbps: 1544.008 Peak Mbps: 1571.393 Avg Mbps: 1544.008 4000 193328272 1546.626 100.00% Conn: 1 Mbps: 1546.626 Peak Mbps: 1571.393 Avg Mbps: 1546.626 5000 193619320 1548.955 100.00% Conn: 1 Mbps: 1548.955 Peak Mbps: 1571.393 Avg Mbps: 1548.955 --- 169.254.1.12 tcpbench statistics --- 1161462520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1534.851/1549.167/1571.393/12.100 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 194449332 1555.595 100.00% Conn: 1 Mbps: 1555.595 Peak Mbps: 1555.595 Avg Mbps: 1555.595 2000 194363652 1554.909 100.00% Conn: 1 Mbps: 1554.909 Peak Mbps: 1555.595 Avg Mbps: 1554.909 3000 194774916 1559.759 100.00% Conn: 1 Mbps: 1559.759 Peak Mbps: 1559.759 Avg Mbps: 1559.759 4000 193298364 1546.387 100.00% Conn: 1 Mbps: 1546.387 Peak Mbps: 1559.759 Avg Mbps: 1546.387 5000 194150880 1553.207 100.00% Conn: 1 Mbps: 1553.207 Peak Mbps: 1559.759 Avg Mbps: 1553.207 --- fc00:0:0:1::12 tcpbench statistics --- 1163628648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1546.387/1553.971/1559.759/4.362 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.157 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.157/0.157/0.157/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.243 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.243/0.243/0.243/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 312341720 2498.734 100.00% Conn: 1 Mbps: 2498.734 Peak Mbps: 2498.734 Avg Mbps: 2498.734 2000 310016636 2482.616 100.00% Conn: 1 Mbps: 2482.616 Peak Mbps: 2498.734 Avg Mbps: 2482.616 3000 309983884 2479.871 100.00% Conn: 1 Mbps: 2479.871 Peak Mbps: 2498.734 Avg Mbps: 2479.871 4000 309623972 2476.992 100.00% Conn: 1 Mbps: 2476.992 Peak Mbps: 2498.734 Avg Mbps: 2476.992 5000 307628344 2461.027 100.00% Conn: 1 Mbps: 2461.027 Peak Mbps: 2498.734 Avg Mbps: 2461.027 --- 169.254.0.13 tcpbench statistics --- 1857664590 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2461.027/2479.848/2498.734/12.056 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 311856604 2494.853 100.00% Conn: 1 Mbps: 2494.853 Peak Mbps: 2494.853 Avg Mbps: 2494.853 2000 308029016 2466.699 100.00% Conn: 1 Mbps: 2466.699 Peak Mbps: 2494.853 Avg Mbps: 2466.699 3000 307800144 2462.401 100.00% Conn: 1 Mbps: 2462.401 Peak Mbps: 2494.853 Avg Mbps: 2462.401 4000 305609512 2444.876 100.00% Conn: 1 Mbps: 2444.876 Peak Mbps: 2494.853 Avg Mbps: 2444.876 5000 307211616 2457.693 100.00% Conn: 1 Mbps: 2457.693 Peak Mbps: 2494.853 Avg Mbps: 2457.693 --- fc00::13 tcpbench statistics --- 1847162676 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2444.876/2465.304/2494.853/16.485 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.180 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.180/0.180/0.180/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.244 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.244/0.244/0.244/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 1003 84521208 674.147 100.00% Conn: 1 Mbps: 674.147 Peak Mbps: 674.147 Avg Mbps: 674.147 2001 84324280 675.946 100.00% Conn: 1 Mbps: 675.946 Peak Mbps: 675.946 Avg Mbps: 675.946 3003 84105632 671.502 100.00% Conn: 1 Mbps: 671.502 Peak Mbps: 675.946 Avg Mbps: 671.502 4003 84304008 674.432 100.00% Conn: 1 Mbps: 674.432 Peak Mbps: 675.946 Avg Mbps: 674.432 5003 84027440 672.892 100.00% Conn: 1 Mbps: 672.892 Peak Mbps: 675.946 Avg Mbps: 672.892 --- 169.254.1.11 tcpbench statistics --- 505738616 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 671.502/673.784/675.946/1.499 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 1002 132838184 1060.584 100.00% Conn: 1 Mbps: 1060.584 Peak Mbps: 1060.584 Avg Mbps: 1060.584 2002 131118880 1050.001 100.00% Conn: 1 Mbps: 1050.001 Peak Mbps: 1060.584 Avg Mbps: 1050.001 3002 131974480 1055.796 100.00% Conn: 1 Mbps: 1055.796 Peak Mbps: 1060.584 Avg Mbps: 1055.796 4002 132426736 1059.414 100.00% Conn: 1 Mbps: 1059.414 Peak Mbps: 1060.584 Avg Mbps: 1059.414 5003 132223528 1057.788 100.00% Conn: 1 Mbps: 1057.788 Peak Mbps: 1060.584 Avg Mbps: 1057.788 --- fc00:0:0:1::11 tcpbench statistics --- 792390216 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1050.001/1056.717/1060.584/3.724 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.189 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.189/0.189/0.189/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.232 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.232/0.232/0.232/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 321844110 2574.753 100.00% Conn: 1 Mbps: 2574.753 Peak Mbps: 2574.753 Avg Mbps: 2574.753 2000 319749826 2560.559 100.00% Conn: 1 Mbps: 2560.559 Peak Mbps: 2574.753 Avg Mbps: 2560.559 3000 321729132 2573.833 100.00% Conn: 1 Mbps: 2573.833 Peak Mbps: 2574.753 Avg Mbps: 2573.833 4000 319798900 2558.391 100.00% Conn: 1 Mbps: 2558.391 Peak Mbps: 2574.753 Avg Mbps: 2558.391 5000 316625448 2533.004 100.00% Conn: 1 Mbps: 2533.004 Peak Mbps: 2574.753 Avg Mbps: 2533.004 --- 169.254.1.12 tcpbench statistics --- 1918957428 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2533.004/2560.108/2574.753/15.104 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 314570988 2516.568 100.00% Conn: 1 Mbps: 2516.568 Peak Mbps: 2516.568 Avg Mbps: 2516.568 2000 311200528 2492.096 100.00% Conn: 1 Mbps: 2492.096 Peak Mbps: 2516.568 Avg Mbps: 2492.096 3000 310088864 2480.711 100.00% Conn: 1 Mbps: 2480.711 Peak Mbps: 2516.568 Avg Mbps: 2480.711 4000 308323280 2466.586 100.00% Conn: 1 Mbps: 2466.586 Peak Mbps: 2516.568 Avg Mbps: 2466.586 5000 310742784 2485.942 100.00% Conn: 1 Mbps: 2485.942 Peak Mbps: 2516.568 Avg Mbps: 2485.942 --- fc00:0:0:1::12 tcpbench statistics --- 1864753740 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2466.586/2488.381/2516.568/16.420 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.188 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.188/0.188/0.188/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.220 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.220/0.220/0.220/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 336533496 2692.268 100.00% Conn: 1 Mbps: 2692.268 Peak Mbps: 2692.268 Avg Mbps: 2692.268 2000 331593018 2652.744 100.00% Conn: 1 Mbps: 2652.744 Peak Mbps: 2692.268 Avg Mbps: 2652.744 3000 330218946 2641.752 100.00% Conn: 1 Mbps: 2641.752 Peak Mbps: 2692.268 Avg Mbps: 2641.752 4000 335306284 2685.135 100.00% Conn: 1 Mbps: 2685.135 Peak Mbps: 2692.268 Avg Mbps: 2685.135 5000 334259360 2674.075 100.00% Conn: 1 Mbps: 2674.075 Peak Mbps: 2692.268 Avg Mbps: 2674.075 --- 169.254.0.13 tcpbench statistics --- 2001319860 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2641.752/2669.195/2692.268/19.152 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 371412128 2971.297 100.00% Conn: 1 Mbps: 2971.297 Peak Mbps: 2971.297 Avg Mbps: 2971.297 2000 361519672 2895.052 100.00% Conn: 1 Mbps: 2895.052 Peak Mbps: 2971.297 Avg Mbps: 2895.052 3000 366979904 2935.839 100.00% Conn: 1 Mbps: 2935.839 Peak Mbps: 2971.297 Avg Mbps: 2935.839 4000 366293288 2930.346 100.00% Conn: 1 Mbps: 2930.346 Peak Mbps: 2971.297 Avg Mbps: 2930.346 5000 365443192 2923.546 100.00% Conn: 1 Mbps: 2923.546 Peak Mbps: 2971.297 Avg Mbps: 2923.546 --- fc00::13 tcpbench statistics --- 2198203040 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2895.052/2931.216/2971.297/24.476 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 1m53.99s