START sys/net/pair 2024-03-25T11:03:34Z ==== 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.096 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.096/0.096/0.096/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.113 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.113/0.113/0.113/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 221065672 1768.525 100.00% Conn: 1 Mbps: 1768.525 Peak Mbps: 1768.525 Avg Mbps: 1768.525 2000 212926920 1705.120 100.00% Conn: 1 Mbps: 1705.120 Peak Mbps: 1768.525 Avg Mbps: 1705.120 3000 219086620 1752.693 100.00% Conn: 1 Mbps: 1752.693 Peak Mbps: 1768.525 Avg Mbps: 1752.693 4000 213610448 1708.884 100.00% Conn: 1 Mbps: 1708.884 Peak Mbps: 1768.525 Avg Mbps: 1708.884 5000 212847440 1702.780 100.00% Conn: 1 Mbps: 1702.780 Peak Mbps: 1768.525 Avg Mbps: 1702.780 --- 169.254.1.11 tcpbench statistics --- 1291875868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1702.780/1727.600/1768.525/27.482 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 216648456 1733.188 100.00% Conn: 1 Mbps: 1733.188 Peak Mbps: 1733.188 Avg Mbps: 1733.188 2000 219454968 1755.640 100.00% Conn: 1 Mbps: 1755.640 Peak Mbps: 1755.640 Avg Mbps: 1755.640 3000 213175992 1705.408 100.00% Conn: 1 Mbps: 1705.408 Peak Mbps: 1755.640 Avg Mbps: 1705.408 4000 211963008 1695.704 100.00% Conn: 1 Mbps: 1695.704 Peak Mbps: 1755.640 Avg Mbps: 1695.704 5000 212724096 1703.496 100.00% Conn: 1 Mbps: 1703.496 Peak Mbps: 1755.640 Avg Mbps: 1703.496 --- fc00:0:0:1::11 tcpbench statistics --- 1286730256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1695.704/1718.687/1755.640/22.410 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.147 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.147/0.147/0.147/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.297 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.297/0.297/0.297/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 80424816 643.399 100.00% Conn: 1 Mbps: 643.399 Peak Mbps: 643.399 Avg Mbps: 643.399 2001 81211080 649.689 100.00% Conn: 1 Mbps: 649.689 Peak Mbps: 649.689 Avg Mbps: 649.689 3001 81363120 650.905 100.00% Conn: 1 Mbps: 650.905 Peak Mbps: 650.905 Avg Mbps: 650.905 4001 81192312 650.189 100.00% Conn: 1 Mbps: 650.189 Peak Mbps: 650.905 Avg Mbps: 650.189 5003 81302640 649.771 100.00% Conn: 1 Mbps: 649.771 Peak Mbps: 650.905 Avg Mbps: 649.771 --- 169.254.1.12 tcpbench statistics --- 486522632 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 643.399/648.790/650.905/2.730 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 78037344 623.675 100.00% Conn: 1 Mbps: 623.675 Peak Mbps: 623.675 Avg Mbps: 623.675 2001 78774192 630.194 100.00% Conn: 1 Mbps: 630.194 Peak Mbps: 630.194 Avg Mbps: 630.194 3002 78732780 629.233 100.00% Conn: 1 Mbps: 629.233 Peak Mbps: 630.194 Avg Mbps: 629.233 4004 79342960 634.110 100.00% Conn: 1 Mbps: 634.110 Peak Mbps: 634.110 Avg Mbps: 634.110 5004 79056312 632.450 100.00% Conn: 1 Mbps: 632.450 Peak Mbps: 634.110 Avg Mbps: 632.450 --- fc00:0:0:1::12 tcpbench statistics --- 472397688 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 623.675/629.932/634.110/3.564 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.130 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.130/0.130/0.130/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.156 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.156/0.156/0.156/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 128058176 1024.465 100.00% Conn: 1 Mbps: 1024.465 Peak Mbps: 1024.465 Avg Mbps: 1024.465 2000 126977248 1015.818 100.00% Conn: 1 Mbps: 1015.818 Peak Mbps: 1024.465 Avg Mbps: 1015.818 3000 125944008 1007.552 100.00% Conn: 1 Mbps: 1007.552 Peak Mbps: 1024.465 Avg Mbps: 1007.552 4000 126317564 1010.541 100.00% Conn: 1 Mbps: 1010.541 Peak Mbps: 1024.465 Avg Mbps: 1010.541 5000 126190396 1009.523 100.00% Conn: 1 Mbps: 1009.523 Peak Mbps: 1024.465 Avg Mbps: 1009.523 --- 169.254.0.13 tcpbench statistics --- 761577360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1007.552/1013.580/1024.465/6.092 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 113227696 905.822 100.00% Conn: 1 Mbps: 905.822 Peak Mbps: 905.822 Avg Mbps: 905.822 2000 114884648 919.997 100.00% Conn: 1 Mbps: 919.997 Peak Mbps: 919.997 Avg Mbps: 919.997 3000 113053280 904.426 100.00% Conn: 1 Mbps: 904.426 Peak Mbps: 919.997 Avg Mbps: 904.426 4000 111840296 895.618 100.00% Conn: 1 Mbps: 895.618 Peak Mbps: 919.997 Avg Mbps: 895.618 5000 115709160 925.673 100.00% Conn: 1 Mbps: 925.673 Peak Mbps: 925.673 Avg Mbps: 925.673 --- fc00::13 tcpbench statistics --- 682244040 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 895.618/910.307/925.673/10.959 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.101 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.101/0.101/0.101/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.124 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.124/0.124/0.124/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 79619728 636.958 100.00% Conn: 1 Mbps: 636.958 Peak Mbps: 636.958 Avg Mbps: 636.958 2000 80559480 644.476 100.00% Conn: 1 Mbps: 644.476 Peak Mbps: 644.476 Avg Mbps: 644.476 3002 80736136 645.244 100.00% Conn: 1 Mbps: 645.244 Peak Mbps: 645.244 Avg Mbps: 645.244 4002 81292168 650.988 100.00% Conn: 1 Mbps: 650.988 Peak Mbps: 650.988 Avg Mbps: 650.988 5004 81528192 651.574 100.00% Conn: 1 Mbps: 651.574 Peak Mbps: 651.574 Avg Mbps: 651.574 --- 169.254.1.11 tcpbench statistics --- 484668768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 636.958/645.848/651.574/5.301 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 77660352 621.283 100.00% Conn: 1 Mbps: 621.283 Peak Mbps: 621.283 Avg Mbps: 621.283 2001 78648528 628.560 100.00% Conn: 1 Mbps: 628.560 Peak Mbps: 628.560 Avg Mbps: 628.560 3002 78754200 630.034 100.00% Conn: 1 Mbps: 630.034 Peak Mbps: 630.034 Avg Mbps: 630.034 4003 78792756 630.342 100.00% Conn: 1 Mbps: 630.342 Peak Mbps: 630.342 Avg Mbps: 630.342 5003 78996960 632.608 100.00% Conn: 1 Mbps: 632.608 Peak Mbps: 632.608 Avg Mbps: 632.608 --- fc00:0:0:1::11 tcpbench statistics --- 471782852 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 621.283/628.565/632.608/3.865 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.092 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.092/0.092/0.092/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.109 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.109/0.109/0.109/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 202780816 1622.247 100.00% Conn: 1 Mbps: 1622.247 Peak Mbps: 1622.247 Avg Mbps: 1622.247 2000 200562480 1606.106 100.00% Conn: 1 Mbps: 1606.106 Peak Mbps: 1622.247 Avg Mbps: 1606.106 3000 201477616 1611.821 100.00% Conn: 1 Mbps: 1611.821 Peak Mbps: 1622.247 Avg Mbps: 1611.821 4000 205576904 1644.615 100.00% Conn: 1 Mbps: 1644.615 Peak Mbps: 1644.615 Avg Mbps: 1644.615 5000 206054744 1648.438 100.00% Conn: 1 Mbps: 1648.438 Peak Mbps: 1648.438 Avg Mbps: 1648.438 --- 169.254.1.12 tcpbench statistics --- 1222854824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1606.106/1626.645/1648.438/17.081 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 208605096 1668.841 100.00% Conn: 1 Mbps: 1668.841 Peak Mbps: 1668.841 Avg Mbps: 1668.841 2000 199740072 1597.921 100.00% Conn: 1 Mbps: 1597.921 Peak Mbps: 1668.841 Avg Mbps: 1597.921 3000 199621548 1598.571 100.00% Conn: 1 Mbps: 1598.571 Peak Mbps: 1668.841 Avg Mbps: 1598.571 4000 206374560 1650.996 100.00% Conn: 1 Mbps: 1650.996 Peak Mbps: 1668.841 Avg Mbps: 1650.996 5000 197967924 1583.743 100.00% Conn: 1 Mbps: 1583.743 Peak Mbps: 1668.841 Avg Mbps: 1583.743 --- fc00:0:0:1::12 tcpbench statistics --- 1218649488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1583.743/1620.014/1668.841/33.489 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.095 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.095/0.095/0.095/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.113 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.113/0.113/0.113/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 298290330 2386.323 100.00% Conn: 1 Mbps: 2386.323 Peak Mbps: 2386.323 Avg Mbps: 2386.323 2000 295196468 2363.936 100.00% Conn: 1 Mbps: 2363.936 Peak Mbps: 2386.323 Avg Mbps: 2363.936 3000 301772384 2414.179 100.00% Conn: 1 Mbps: 2414.179 Peak Mbps: 2414.179 Avg Mbps: 2414.179 4000 295556344 2364.451 100.00% Conn: 1 Mbps: 2364.451 Peak Mbps: 2414.179 Avg Mbps: 2364.451 5000 305174848 2441.399 100.00% Conn: 1 Mbps: 2441.399 Peak Mbps: 2441.399 Avg Mbps: 2441.399 --- 169.254.0.13 tcpbench statistics --- 1798351646 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2363.936/2394.057/2441.399/29.966 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 299187988 2393.504 100.00% Conn: 1 Mbps: 2393.504 Peak Mbps: 2393.504 Avg Mbps: 2393.504 2000 295571840 2364.575 100.00% Conn: 1 Mbps: 2364.575 Peak Mbps: 2393.504 Avg Mbps: 2364.575 3000 295637232 2365.098 100.00% Conn: 1 Mbps: 2365.098 Peak Mbps: 2393.504 Avg Mbps: 2365.098 4000 299658840 2397.271 100.00% Conn: 1 Mbps: 2397.271 Peak Mbps: 2397.271 Avg Mbps: 2397.271 5000 298579872 2388.639 100.00% Conn: 1 Mbps: 2388.639 Peak Mbps: 2397.271 Avg Mbps: 2388.639 --- fc00::13 tcpbench statistics --- 1784698052 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2364.575/2381.817/2397.271/14.133 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.107 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.107/0.107/0.107/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.133 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.133/0.133/0.133/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 79796384 637.733 100.00% Conn: 1 Mbps: 637.733 Peak Mbps: 637.733 Avg Mbps: 637.733 2002 79973040 639.784 100.00% Conn: 1 Mbps: 639.784 Peak Mbps: 639.784 Avg Mbps: 639.784 3002 80501560 644.012 100.00% Conn: 1 Mbps: 644.012 Peak Mbps: 644.012 Avg Mbps: 644.012 4004 80930168 646.795 100.00% Conn: 1 Mbps: 646.795 Peak Mbps: 646.795 Avg Mbps: 646.795 5004 80796952 646.376 100.00% Conn: 1 Mbps: 646.376 Peak Mbps: 646.795 Avg Mbps: 646.376 --- 169.254.1.11 tcpbench statistics --- 482574960 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 637.733/642.940/646.795/3.602 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 125360848 1002.887 100.00% Conn: 1 Mbps: 1002.887 Peak Mbps: 1002.887 Avg Mbps: 1002.887 2001 124514784 996.118 100.00% Conn: 1 Mbps: 996.118 Peak Mbps: 1002.887 Avg Mbps: 996.118 3001 124955296 999.642 100.00% Conn: 1 Mbps: 999.642 Peak Mbps: 1002.887 Avg Mbps: 999.642 4001 124548000 996.384 100.00% Conn: 1 Mbps: 996.384 Peak Mbps: 1002.887 Avg Mbps: 996.384 5003 124271360 993.178 100.00% Conn: 1 Mbps: 993.178 Peak Mbps: 1002.887 Avg Mbps: 993.178 --- fc00:0:0:1::11 tcpbench statistics --- 747255240 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 993.178/997.642/1002.887/3.327 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.095 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.095/0.095/0.095/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.114 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.114/0.114/0.114/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 294101478 2352.812 100.00% Conn: 1 Mbps: 2352.812 Peak Mbps: 2352.812 Avg Mbps: 2352.812 2000 295425480 2363.404 100.00% Conn: 1 Mbps: 2363.404 Peak Mbps: 2363.404 Avg Mbps: 2363.404 3000 293593384 2348.747 100.00% Conn: 1 Mbps: 2348.747 Peak Mbps: 2363.404 Avg Mbps: 2348.747 4000 295589060 2364.712 100.00% Conn: 1 Mbps: 2364.712 Peak Mbps: 2364.712 Avg Mbps: 2364.712 5000 304716824 2437.735 100.00% Conn: 1 Mbps: 2437.735 Peak Mbps: 2437.735 Avg Mbps: 2437.735 --- 169.254.1.12 tcpbench statistics --- 1783235650 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2348.747/2373.482/2437.735/32.698 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 300314164 2402.513 100.00% Conn: 1 Mbps: 2402.513 Peak Mbps: 2402.513 Avg Mbps: 2402.513 2000 295441056 2365.894 100.00% Conn: 1 Mbps: 2365.894 Peak Mbps: 2402.513 Avg Mbps: 2365.894 3000 298939528 2391.516 100.00% Conn: 1 Mbps: 2391.516 Peak Mbps: 2402.513 Avg Mbps: 2391.516 4000 297958648 2383.669 100.00% Conn: 1 Mbps: 2383.669 Peak Mbps: 2402.513 Avg Mbps: 2383.669 5000 293838952 2350.712 100.00% Conn: 1 Mbps: 2350.712 Peak Mbps: 2402.513 Avg Mbps: 2350.712 --- fc00:0:0:1::12 tcpbench statistics --- 1788080252 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2350.712/2378.861/2402.513/18.457 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.094 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.094/0.094/0.094/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.109 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.109/0.109/0.109/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 300071026 2400.568 100.00% Conn: 1 Mbps: 2400.568 Peak Mbps: 2400.568 Avg Mbps: 2400.568 2000 301935772 2417.904 100.00% Conn: 1 Mbps: 2417.904 Peak Mbps: 2417.904 Avg Mbps: 2417.904 3000 297061088 2376.489 100.00% Conn: 1 Mbps: 2376.489 Peak Mbps: 2417.904 Avg Mbps: 2376.489 4000 299351208 2394.810 100.00% Conn: 1 Mbps: 2394.810 Peak Mbps: 2417.904 Avg Mbps: 2394.810 5000 306548824 2452.391 100.00% Conn: 1 Mbps: 2452.391 Peak Mbps: 2452.391 Avg Mbps: 2452.391 --- 169.254.0.13 tcpbench statistics --- 1798005130 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2376.489/2408.432/2452.391/25.651 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 298744180 2389.953 100.00% Conn: 1 Mbps: 2389.953 Peak Mbps: 2389.953 Avg Mbps: 2389.953 2000 299364576 2394.917 100.00% Conn: 1 Mbps: 2394.917 Peak Mbps: 2394.917 Avg Mbps: 2394.917 3000 300672416 2405.379 100.00% Conn: 1 Mbps: 2405.379 Peak Mbps: 2405.379 Avg Mbps: 2405.379 4000 303255400 2426.043 100.00% Conn: 1 Mbps: 2426.043 Peak Mbps: 2426.043 Avg Mbps: 2426.043 5000 298710656 2389.685 100.00% Conn: 1 Mbps: 2389.685 Peak Mbps: 2426.043 Avg Mbps: 2389.685 --- fc00::13 tcpbench statistics --- 1800013716 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2389.685/2401.196/2426.043/13.662 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 1m55.34s