START sys/net/pair 2024-08-25T08:26:53Z ==== 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.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-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.246 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.246/0.246/0.246/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 109094248 872.754 100.00% Conn: 1 Mbps: 872.754 Peak Mbps: 872.754 Avg Mbps: 872.754 2000 108696848 870.445 100.00% Conn: 1 Mbps: 870.445 Peak Mbps: 872.754 Avg Mbps: 870.445 3000 108784276 870.274 100.00% Conn: 1 Mbps: 870.274 Peak Mbps: 872.754 Avg Mbps: 870.274 4000 108792224 870.338 100.00% Conn: 1 Mbps: 870.338 Peak Mbps: 872.754 Avg Mbps: 870.338 5001 108816068 870.529 100.00% Conn: 1 Mbps: 870.529 Peak Mbps: 872.754 Avg Mbps: 870.529 --- 169.254.1.11 tcpbench statistics --- 652618228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 870.274/870.868/872.754/0.947 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 109461896 875.695 100.00% Conn: 1 Mbps: 875.695 Peak Mbps: 875.695 Avg Mbps: 875.695 2000 108708736 869.670 100.00% Conn: 1 Mbps: 869.670 Peak Mbps: 875.695 Avg Mbps: 869.670 3000 108899008 871.192 100.00% Conn: 1 Mbps: 871.192 Peak Mbps: 875.695 Avg Mbps: 871.192 4000 108462968 867.704 100.00% Conn: 1 Mbps: 867.704 Peak Mbps: 875.695 Avg Mbps: 867.704 5000 108597744 868.782 100.00% Conn: 1 Mbps: 868.782 Peak Mbps: 875.695 Avg Mbps: 868.782 --- fc00:0:0:1::11 tcpbench statistics --- 652751880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 867.704/870.609/875.695/2.788 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.299 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.299/0.299/0.299/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.711 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.711/0.711/0.711/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 1002 40192136 320.895 100.00% Conn: 1 Mbps: 320.895 Peak Mbps: 320.895 Avg Mbps: 320.895 2004 40465808 323.403 100.00% Conn: 1 Mbps: 323.403 Peak Mbps: 323.403 Avg Mbps: 323.403 3004 40176208 321.731 100.00% Conn: 1 Mbps: 321.731 Peak Mbps: 323.403 Avg Mbps: 321.731 4004 40345624 322.765 100.00% Conn: 1 Mbps: 322.765 Peak Mbps: 323.403 Avg Mbps: 322.765 5005 40242816 321.943 100.00% Conn: 1 Mbps: 321.943 Peak Mbps: 323.403 Avg Mbps: 321.943 --- 169.254.1.12 tcpbench statistics --- 241481512 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 320.895/322.147/323.403/0.865 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 38764488 310.116 100.00% Conn: 1 Mbps: 310.116 Peak Mbps: 310.116 Avg Mbps: 310.116 2001 39277140 313.903 100.00% Conn: 1 Mbps: 313.903 Peak Mbps: 313.903 Avg Mbps: 313.903 3003 39334260 314.360 100.00% Conn: 1 Mbps: 314.360 Peak Mbps: 314.360 Avg Mbps: 314.360 4005 39148620 312.876 100.00% Conn: 1 Mbps: 312.876 Peak Mbps: 314.360 Avg Mbps: 312.876 5006 39248580 313.675 100.00% Conn: 1 Mbps: 313.675 Peak Mbps: 314.360 Avg Mbps: 313.675 --- fc00:0:0:1::12 tcpbench statistics --- 234756060 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 310.116/312.986/314.360/1.513 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.250 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.250/0.250/0.250/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.338 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.338/0.338/0.338/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 63830388 510.643 100.00% Conn: 1 Mbps: 510.643 Peak Mbps: 510.643 Avg Mbps: 510.643 2000 64021140 512.169 100.00% Conn: 1 Mbps: 512.169 Peak Mbps: 512.169 Avg Mbps: 512.169 3000 64076776 513.127 100.00% Conn: 1 Mbps: 513.127 Peak Mbps: 513.127 Avg Mbps: 513.127 4000 62876628 503.013 100.00% Conn: 1 Mbps: 503.013 Peak Mbps: 513.127 Avg Mbps: 503.013 5000 63520416 508.163 100.00% Conn: 1 Mbps: 508.163 Peak Mbps: 513.127 Avg Mbps: 508.163 --- 169.254.0.13 tcpbench statistics --- 382060360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 503.013/509.423/513.127/3.617 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 62163448 497.308 100.00% Conn: 1 Mbps: 497.308 Peak Mbps: 497.308 Avg Mbps: 497.308 2000 61592632 492.741 100.00% Conn: 1 Mbps: 492.741 Peak Mbps: 497.308 Avg Mbps: 492.741 3001 61188304 489.506 100.00% Conn: 1 Mbps: 489.506 Peak Mbps: 497.308 Avg Mbps: 489.506 4001 61893896 495.151 100.00% Conn: 1 Mbps: 495.151 Peak Mbps: 497.308 Avg Mbps: 495.151 5001 61878040 495.520 100.00% Conn: 1 Mbps: 495.520 Peak Mbps: 497.308 Avg Mbps: 495.520 --- fc00::13 tcpbench statistics --- 370578504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 489.506/494.045/497.308/2.696 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.199 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.199/0.199/0.199/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.283 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.283/0.283/0.283/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 1002 40390512 322.479 100.00% Conn: 1 Mbps: 322.479 Peak Mbps: 322.479 Avg Mbps: 322.479 2002 40452776 323.946 100.00% Conn: 1 Mbps: 323.946 Peak Mbps: 323.946 Avg Mbps: 323.946 3003 40425264 323.402 100.00% Conn: 1 Mbps: 323.402 Peak Mbps: 323.946 Avg Mbps: 323.402 4003 40383272 323.066 100.00% Conn: 1 Mbps: 323.066 Peak Mbps: 323.946 Avg Mbps: 323.066 5005 40523728 323.543 100.00% Conn: 1 Mbps: 323.543 Peak Mbps: 323.946 Avg Mbps: 323.543 --- 169.254.1.11 tcpbench statistics --- 242377824 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 322.479/323.287/323.946/0.493 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 38930136 311.130 100.00% Conn: 1 Mbps: 311.130 Peak Mbps: 311.130 Avg Mbps: 311.130 2001 38911572 311.293 100.00% Conn: 1 Mbps: 311.293 Peak Mbps: 311.293 Avg Mbps: 311.293 3003 39014388 311.803 100.00% Conn: 1 Mbps: 311.803 Peak Mbps: 311.803 Avg Mbps: 311.803 4004 39272856 313.869 100.00% Conn: 1 Mbps: 313.869 Peak Mbps: 313.869 Avg Mbps: 313.869 5006 39361392 314.577 100.00% Conn: 1 Mbps: 314.577 Peak Mbps: 314.577 Avg Mbps: 314.577 --- fc00:0:0:1::11 tcpbench statistics --- 234477600 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 311.130/312.534/314.577/1.414 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.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-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.239 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.239/0.239/0.239/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 106135504 849.084 100.00% Conn: 1 Mbps: 849.084 Peak Mbps: 849.084 Avg Mbps: 849.084 2000 106151432 849.211 100.00% Conn: 1 Mbps: 849.211 Peak Mbps: 849.211 Avg Mbps: 849.211 3000 106545288 852.362 100.00% Conn: 1 Mbps: 852.362 Peak Mbps: 852.362 Avg Mbps: 852.362 4000 106037040 848.296 100.00% Conn: 1 Mbps: 848.296 Peak Mbps: 852.362 Avg Mbps: 848.296 5000 106367184 850.937 100.00% Conn: 1 Mbps: 850.937 Peak Mbps: 852.362 Avg Mbps: 850.937 --- 169.254.1.12 tcpbench statistics --- 637254664 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 848.296/849.978/852.362/1.471 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 104206872 833.655 100.00% Conn: 1 Mbps: 833.655 Peak Mbps: 833.655 Avg Mbps: 833.655 2000 103662804 830.133 100.00% Conn: 1 Mbps: 830.133 Peak Mbps: 833.655 Avg Mbps: 830.133 3000 104349672 834.797 100.00% Conn: 1 Mbps: 834.797 Peak Mbps: 834.797 Avg Mbps: 834.797 4000 103687080 829.497 100.00% Conn: 1 Mbps: 829.497 Peak Mbps: 834.797 Avg Mbps: 829.497 5000 104029800 833.071 100.00% Conn: 1 Mbps: 833.071 Peak Mbps: 834.797 Avg Mbps: 833.071 --- fc00:0:0:1::12 tcpbench statistics --- 623484792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 829.497/832.231/834.797/2.059 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.183 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.183/0.183/0.183/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.256 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.256/0.256/0.256/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 184486144 1475.889 100.00% Conn: 1 Mbps: 1475.889 Peak Mbps: 1475.889 Avg Mbps: 1475.889 2000 183732948 1471.335 100.00% Conn: 1 Mbps: 1471.335 Peak Mbps: 1475.889 Avg Mbps: 1471.335 3000 183896528 1471.172 100.00% Conn: 1 Mbps: 1471.172 Peak Mbps: 1475.889 Avg Mbps: 1471.172 4000 183831096 1470.649 100.00% Conn: 1 Mbps: 1470.649 Peak Mbps: 1475.889 Avg Mbps: 1470.649 5000 183798380 1470.387 100.00% Conn: 1 Mbps: 1470.387 Peak Mbps: 1475.889 Avg Mbps: 1470.387 --- 169.254.0.13 tcpbench statistics --- 1103510772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1470.387/1471.886/1475.889/2.031 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 174304320 1394.435 100.00% Conn: 1 Mbps: 1394.435 Peak Mbps: 1394.435 Avg Mbps: 1394.435 2000 173746544 1391.364 100.00% Conn: 1 Mbps: 1391.364 Peak Mbps: 1394.435 Avg Mbps: 1391.364 3000 173910024 1391.280 100.00% Conn: 1 Mbps: 1391.280 Peak Mbps: 1394.435 Avg Mbps: 1391.280 4000 174236984 1393.896 100.00% Conn: 1 Mbps: 1393.896 Peak Mbps: 1394.435 Avg Mbps: 1393.896 5000 173811936 1390.495 100.00% Conn: 1 Mbps: 1390.495 Peak Mbps: 1394.435 Avg Mbps: 1390.495 --- fc00::13 tcpbench statistics --- 1043233216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1390.495/1392.294/1394.435/1.567 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.209 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.209/0.209/0.209/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.298 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.298/0.298/0.298/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 40080640 320.005 100.00% Conn: 1 Mbps: 320.005 Peak Mbps: 320.005 Avg Mbps: 320.005 2003 40409336 322.952 100.00% Conn: 1 Mbps: 322.952 Peak Mbps: 322.952 Avg Mbps: 322.952 3003 40161728 321.294 100.00% Conn: 1 Mbps: 321.294 Peak Mbps: 322.952 Avg Mbps: 321.294 4004 40270328 321.841 100.00% Conn: 1 Mbps: 321.841 Peak Mbps: 322.952 Avg Mbps: 321.841 5006 40277568 321.899 100.00% Conn: 1 Mbps: 321.899 Peak Mbps: 322.952 Avg Mbps: 321.899 --- 169.254.1.11 tcpbench statistics --- 241258520 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 320.005/321.598/322.952/0.960 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 65256288 521.008 100.00% Conn: 1 Mbps: 521.008 Peak Mbps: 521.008 Avg Mbps: 521.008 2002 64631728 517.571 100.00% Conn: 1 Mbps: 517.571 Peak Mbps: 521.008 Avg Mbps: 517.571 3003 64575416 516.087 100.00% Conn: 1 Mbps: 516.087 Peak Mbps: 521.008 Avg Mbps: 516.087 4003 64663168 517.823 100.00% Conn: 1 Mbps: 517.823 Peak Mbps: 521.008 Avg Mbps: 517.823 5006 64800160 517.367 100.00% Conn: 1 Mbps: 517.367 Peak Mbps: 521.008 Avg Mbps: 517.367 --- fc00:0:0:1::11 tcpbench statistics --- 387937624 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 516.087/517.971/521.008/1.632 Mbps # path MTU discovery in other rtable does not work in ip6_output() /sbin/route -T 13 -n get -host -inet6 fc00:0:0:1::11 route to: fc00:0:0:1::11 destination: fc00:: mask: ffff:ffff:ffff:: gateway: ::1 interface: lo13 if address: ::1 priority: 8 (static) flags: use mtu expire 8 32768 0 DISABLED ==== run-ping-3-2 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.206 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.206/0.206/0.206/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.251 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.251/0.251/0.251/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 184684300 1477.474 100.00% Conn: 1 Mbps: 1477.474 Peak Mbps: 1477.474 Avg Mbps: 1477.474 2000 184714428 1479.195 100.00% Conn: 1 Mbps: 1479.195 Peak Mbps: 1479.195 Avg Mbps: 1479.195 3000 184878008 1479.024 100.00% Conn: 1 Mbps: 1479.024 Peak Mbps: 1479.195 Avg Mbps: 1479.024 4000 184779860 1478.239 100.00% Conn: 1 Mbps: 1478.239 Peak Mbps: 1479.195 Avg Mbps: 1478.239 5000 184812576 1478.501 100.00% Conn: 1 Mbps: 1478.501 Peak Mbps: 1479.195 Avg Mbps: 1478.501 --- 169.254.1.12 tcpbench statistics --- 1108583600 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1477.474/1478.487/1479.195/0.613 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 174335144 1394.681 100.00% Conn: 1 Mbps: 1394.681 Peak Mbps: 1394.681 Avg Mbps: 1394.681 2000 172765664 1383.509 100.00% Conn: 1 Mbps: 1383.509 Peak Mbps: 1394.681 Avg Mbps: 1383.509 3000 172765664 1382.125 100.00% Conn: 1 Mbps: 1382.125 Peak Mbps: 1394.681 Avg Mbps: 1382.125 4000 172667576 1381.341 100.00% Conn: 1 Mbps: 1381.341 Peak Mbps: 1394.681 Avg Mbps: 1381.341 5000 172831056 1382.648 100.00% Conn: 1 Mbps: 1382.648 Peak Mbps: 1394.681 Avg Mbps: 1382.648 --- fc00:0:0:1::12 tcpbench statistics --- 1037901896 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1381.341/1384.861/1394.681/4.961 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.170 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.170/0.170/0.170/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.239 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.239/0.239/0.239/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 182522782 1460.182 100.00% Conn: 1 Mbps: 1460.182 Peak Mbps: 1460.182 Avg Mbps: 1460.182 2000 180723076 1447.232 100.00% Conn: 1 Mbps: 1447.232 Peak Mbps: 1460.182 Avg Mbps: 1447.232 3000 179970608 1439.765 100.00% Conn: 1 Mbps: 1439.765 Peak Mbps: 1460.182 Avg Mbps: 1439.765 4000 180886656 1447.093 100.00% Conn: 1 Mbps: 1447.093 Peak Mbps: 1460.182 Avg Mbps: 1447.093 5000 181115680 1448.925 100.00% Conn: 1 Mbps: 1448.925 Peak Mbps: 1460.182 Avg Mbps: 1448.925 --- 169.254.0.13 tcpbench statistics --- 1086138174 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1439.765/1448.640/1460.182/6.579 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 182134652 1457.077 100.00% Conn: 1 Mbps: 1457.077 Peak Mbps: 1457.077 Avg Mbps: 1457.077 2000 182443680 1461.010 100.00% Conn: 1 Mbps: 1461.010 Peak Mbps: 1461.010 Avg Mbps: 1461.010 3000 182149416 1457.195 100.00% Conn: 1 Mbps: 1457.195 Peak Mbps: 1461.010 Avg Mbps: 1457.195 4000 182574464 1460.596 100.00% Conn: 1 Mbps: 1460.596 Peak Mbps: 1461.010 Avg Mbps: 1460.596 5000 181430104 1451.441 100.00% Conn: 1 Mbps: 1451.441 Peak Mbps: 1461.010 Avg Mbps: 1451.441 --- fc00::13 tcpbench statistics --- 1092685556 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1451.441/1457.464/1461.010/3.432 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 1m59.30s