START sys/net/pair 2025-02-10T17:50:01Z ==== 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.037 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.037/0.037/0.037/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.043 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 920418140 7363.345 100.00% Conn: 1 Mbps: 7363.345 Peak Mbps: 7363.345 Avg Mbps: 7363.345 2000 923875520 7398.403 100.00% Conn: 1 Mbps: 7398.403 Peak Mbps: 7398.403 Avg Mbps: 7398.403 3000 921522912 7379.563 100.00% Conn: 1 Mbps: 7379.563 Peak Mbps: 7398.403 Avg Mbps: 7379.563 4000 922977396 7383.819 100.00% Conn: 1 Mbps: 7383.819 Peak Mbps: 7398.403 Avg Mbps: 7383.819 5000 923040980 7384.328 100.00% Conn: 1 Mbps: 7384.328 Peak Mbps: 7398.403 Avg Mbps: 7384.328 --- 169.254.1.11 tcpbench statistics --- 5539016836 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7363.345/7381.892/7398.403/11.240 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 935337512 7482.700 100.00% Conn: 1 Mbps: 7482.700 Peak Mbps: 7482.700 Avg Mbps: 7482.700 2000 940998104 7535.520 100.00% Conn: 1 Mbps: 7535.520 Peak Mbps: 7535.520 Avg Mbps: 7535.520 3000 937216448 7497.732 100.00% Conn: 1 Mbps: 7497.732 Peak Mbps: 7535.520 Avg Mbps: 7497.732 4000 939539352 7516.315 100.00% Conn: 1 Mbps: 7516.315 Peak Mbps: 7535.520 Avg Mbps: 7516.315 5000 939095384 7520.283 100.00% Conn: 1 Mbps: 7520.283 Peak Mbps: 7535.520 Avg Mbps: 7520.283 --- fc00:0:0:1::11 tcpbench statistics --- 5631155336 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7482.700/7510.510/7535.520/18.392 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.061 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.061/0.061/0.061/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.118 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.118/0.118/0.118/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 1001 370255904 2959.088 100.00% Conn: 1 Mbps: 2959.088 Peak Mbps: 2959.088 Avg Mbps: 2959.088 2001 381419520 3051.356 100.00% Conn: 1 Mbps: 3051.356 Peak Mbps: 3051.356 Avg Mbps: 3051.356 3002 379584512 3036.676 100.00% Conn: 1 Mbps: 3036.676 Peak Mbps: 3051.356 Avg Mbps: 3036.676 4002 379200456 3033.604 100.00% Conn: 1 Mbps: 3033.604 Peak Mbps: 3051.356 Avg Mbps: 3033.604 5002 381157376 3052.311 100.00% Conn: 1 Mbps: 3052.311 Peak Mbps: 3052.311 Avg Mbps: 3052.311 --- 169.254.1.12 tcpbench statistics --- 2272775144 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2959.088/3026.607/3052.311/34.590 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 349294724 2791.566 100.00% Conn: 1 Mbps: 2791.566 Peak Mbps: 2791.566 Avg Mbps: 2791.566 2002 359661568 2877.293 100.00% Conn: 1 Mbps: 2877.293 Peak Mbps: 2877.293 Avg Mbps: 2877.293 3002 362996260 2903.970 100.00% Conn: 1 Mbps: 2903.970 Peak Mbps: 2903.970 Avg Mbps: 2903.970 4003 363331584 2906.653 100.00% Conn: 1 Mbps: 2906.653 Peak Mbps: 2906.653 Avg Mbps: 2906.653 5003 358875136 2871.001 100.00% Conn: 1 Mbps: 2871.001 Peak Mbps: 2906.653 Avg Mbps: 2871.001 --- fc00:0:0:1::12 tcpbench statistics --- 2146480808 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2791.566/2870.097/2906.653/41.721 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.053 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.053/0.053/0.053/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.058 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.058/0.058/0.058/0.000 ms ==== run-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 754145560 6033.164 100.00% Conn: 1 Mbps: 6033.164 Peak Mbps: 6033.164 Avg Mbps: 6033.164 2000 795555060 6364.440 100.00% Conn: 1 Mbps: 6364.440 Peak Mbps: 6364.440 Avg Mbps: 6364.440 3000 791060652 6328.485 100.00% Conn: 1 Mbps: 6328.485 Peak Mbps: 6364.440 Avg Mbps: 6328.485 4001 797168504 6377.348 100.00% Conn: 1 Mbps: 6377.348 Peak Mbps: 6377.348 Avg Mbps: 6377.348 5002 792200864 6337.607 100.00% Conn: 1 Mbps: 6337.607 Peak Mbps: 6377.348 Avg Mbps: 6337.607 --- 169.254.0.13 tcpbench statistics --- 4714630032 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6033.164/6288.209/6377.348/128.738 Mbps ==== run-tcpbench6-1-3 ==== rm -f nc.log nc -6 -v -l -V 13 fc00::13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00::13 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00::13 elapsed_ms bytes mbps bwidth 1001 663407632 5301.959 100.00% Conn: 1 Mbps: 5301.959 Peak Mbps: 5301.959 Avg Mbps: 5301.959 2001 686371024 5490.968 100.00% Conn: 1 Mbps: 5490.968 Peak Mbps: 5490.968 Avg Mbps: 5490.968 3001 693290344 5546.323 100.00% Conn: 1 Mbps: 5546.323 Peak Mbps: 5546.323 Avg Mbps: 5546.323 4002 692333784 5538.670 100.00% Conn: 1 Mbps: 5538.670 Peak Mbps: 5546.323 Avg Mbps: 5538.670 5002 690647200 5525.178 100.00% Conn: 1 Mbps: 5525.178 Peak Mbps: 5546.323 Avg Mbps: 5525.178 --- fc00::13 tcpbench statistics --- 4118450312 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5301.959/5480.620/5546.323/91.322 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.041 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.041/0.041/0.041/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.043 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 370778136 2963.262 100.00% Conn: 1 Mbps: 2963.262 Peak Mbps: 2963.262 Avg Mbps: 2963.262 2001 383516672 3068.133 100.00% Conn: 1 Mbps: 3068.133 Peak Mbps: 3068.133 Avg Mbps: 3068.133 3001 378535936 3028.287 100.00% Conn: 1 Mbps: 3028.287 Peak Mbps: 3068.133 Avg Mbps: 3028.287 4001 380108800 3040.870 100.00% Conn: 1 Mbps: 3040.870 Peak Mbps: 3068.133 Avg Mbps: 3040.870 5002 382505936 3060.047 100.00% Conn: 1 Mbps: 3060.047 Peak Mbps: 3068.133 Avg Mbps: 3060.047 --- 169.254.1.11 tcpbench statistics --- 2277081712 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2963.262/3032.120/3068.133/37.174 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 352282092 2815.441 100.00% Conn: 1 Mbps: 2815.441 Peak Mbps: 2815.441 Avg Mbps: 2815.441 2001 361758720 2894.070 100.00% Conn: 1 Mbps: 2894.070 Peak Mbps: 2894.070 Avg Mbps: 2894.070 3001 361496576 2891.973 100.00% Conn: 1 Mbps: 2891.973 Peak Mbps: 2894.070 Avg Mbps: 2891.973 4002 362545152 2900.361 100.00% Conn: 1 Mbps: 2900.361 Peak Mbps: 2900.361 Avg Mbps: 2900.361 5003 361496576 2891.973 100.00% Conn: 1 Mbps: 2891.973 Peak Mbps: 2900.361 Avg Mbps: 2891.973 --- fc00:0:0:1::11 tcpbench statistics --- 2161599980 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2815.441/2878.763/2900.361/31.810 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.035 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.035/0.035/0.035/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.040 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.040/0.040/0.040/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 898133584 7185.069 100.00% Conn: 1 Mbps: 7185.069 Peak Mbps: 7185.069 Avg Mbps: 7185.069 2000 897106952 7184.040 100.00% Conn: 1 Mbps: 7184.040 Peak Mbps: 7185.069 Avg Mbps: 7184.040 3000 893485504 7147.884 100.00% Conn: 1 Mbps: 7147.884 Peak Mbps: 7185.069 Avg Mbps: 7147.884 4000 897564520 7180.516 100.00% Conn: 1 Mbps: 7180.516 Peak Mbps: 7185.069 Avg Mbps: 7180.516 5000 897075096 7176.601 100.00% Conn: 1 Mbps: 7176.601 Peak Mbps: 7185.069 Avg Mbps: 7176.601 --- 169.254.1.12 tcpbench statistics --- 5377178408 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7147.884/7174.822/7185.069/13.793 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 921821124 7374.569 100.00% Conn: 1 Mbps: 7374.569 Peak Mbps: 7374.569 Avg Mbps: 7374.569 2000 917290080 7345.666 100.00% Conn: 1 Mbps: 7345.666 Peak Mbps: 7374.569 Avg Mbps: 7345.666 3000 915736416 7325.891 100.00% Conn: 1 Mbps: 7325.891 Peak Mbps: 7374.569 Avg Mbps: 7325.891 4000 916291908 7330.335 100.00% Conn: 1 Mbps: 7330.335 Peak Mbps: 7374.569 Avg Mbps: 7330.335 5000 913962840 7311.703 100.00% Conn: 1 Mbps: 7311.703 Peak Mbps: 7374.569 Avg Mbps: 7311.703 --- fc00:0:0:1::12 tcpbench statistics --- 5499886308 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7311.703/7337.633/7374.569/21.412 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.041 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.041/0.041/0.041/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.044 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/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 1259539932 10076.319 100.00% Conn: 1 Mbps: 10076.319 Peak Mbps: 10076.319 Avg Mbps: 10076.319 2000 1262445008 10109.670 100.00% Conn: 1 Mbps: 10109.670 Peak Mbps: 10109.670 Avg Mbps: 10109.670 3000 1262183280 10097.466 100.00% Conn: 1 Mbps: 10097.466 Peak Mbps: 10109.670 Avg Mbps: 10097.466 4000 1261708898 10093.671 100.00% Conn: 1 Mbps: 10093.671 Peak Mbps: 10109.670 Avg Mbps: 10093.671 5000 1261725256 10093.802 100.00% Conn: 1 Mbps: 10093.802 Peak Mbps: 10109.670 Avg Mbps: 10093.802 --- 169.254.0.13 tcpbench statistics --- 7569262198 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10076.319/10094.186/10109.670/10.678 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 1243441084 9947.529 100.00% Conn: 1 Mbps: 9947.529 Peak Mbps: 9947.529 Avg Mbps: 9947.529 2000 1244540544 9966.291 100.00% Conn: 1 Mbps: 9966.291 Peak Mbps: 9966.291 Avg Mbps: 9966.291 3000 1247221616 9977.773 100.00% Conn: 1 Mbps: 9977.773 Peak Mbps: 9977.773 Avg Mbps: 9977.773 4000 1243101920 9944.815 100.00% Conn: 1 Mbps: 9944.815 Peak Mbps: 9977.773 Avg Mbps: 9944.815 5000 1245717600 9965.741 100.00% Conn: 1 Mbps: 9965.741 Peak Mbps: 9977.773 Avg Mbps: 9965.741 --- fc00::13 tcpbench statistics --- 7467157380 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9944.815/9960.430/9977.773/12.439 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.045 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.045/0.045/0.045/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.051 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.051/0.051/0.051/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 375622048 3001.974 100.00% Conn: 1 Mbps: 3001.974 Peak Mbps: 3001.974 Avg Mbps: 3001.974 2001 379705560 3037.644 100.00% Conn: 1 Mbps: 3037.644 Peak Mbps: 3037.644 Avg Mbps: 3037.644 3002 379694160 3037.553 100.00% Conn: 1 Mbps: 3037.553 Peak Mbps: 3037.644 Avg Mbps: 3037.553 4002 375914496 3007.316 100.00% Conn: 1 Mbps: 3007.316 Peak Mbps: 3037.644 Avg Mbps: 3007.316 5002 376700928 3013.607 100.00% Conn: 1 Mbps: 3013.607 Peak Mbps: 3037.644 Avg Mbps: 3013.607 --- 169.254.1.11 tcpbench statistics --- 2264338120 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3001.974/3019.619/3037.644/15.135 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 841093864 6728.751 100.00% Conn: 1 Mbps: 6728.751 Peak Mbps: 6728.751 Avg Mbps: 6728.751 2000 879925936 7039.407 100.00% Conn: 1 Mbps: 7039.407 Peak Mbps: 7039.407 Avg Mbps: 7039.407 3000 891899400 7135.195 100.00% Conn: 1 Mbps: 7135.195 Peak Mbps: 7135.195 Avg Mbps: 7135.195 4000 891784328 7134.275 100.00% Conn: 1 Mbps: 7134.275 Peak Mbps: 7135.195 Avg Mbps: 7134.275 5001 908310104 7266.481 100.00% Conn: 1 Mbps: 7266.481 Peak Mbps: 7266.481 Avg Mbps: 7266.481 --- fc00:0:0:1::11 tcpbench statistics --- 5296587264 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6728.751/7060.822/7266.481/181.081 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.040 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.040/0.040/0.040/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.044 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.044/0.044/0.044/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 1266622322 10132.979 100.00% Conn: 1 Mbps: 10132.979 Peak Mbps: 10132.979 Avg Mbps: 10132.979 2000 1266501792 10142.156 100.00% Conn: 1 Mbps: 10142.156 Peak Mbps: 10142.156 Avg Mbps: 10142.156 3000 1267417840 10139.343 100.00% Conn: 1 Mbps: 10139.343 Peak Mbps: 10142.156 Avg Mbps: 10139.343 4000 1266567224 10132.538 100.00% Conn: 1 Mbps: 10132.538 Peak Mbps: 10142.156 Avg Mbps: 10132.538 5000 1267417840 10139.343 100.00% Conn: 1 Mbps: 10139.343 Peak Mbps: 10142.156 Avg Mbps: 10139.343 --- 169.254.1.12 tcpbench statistics --- 7601683130 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10132.538/10137.272/10142.156/3.828 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 1242932532 9943.460 100.00% Conn: 1 Mbps: 9943.460 Peak Mbps: 9943.460 Avg Mbps: 9943.460 2000 1253433856 10037.508 100.00% Conn: 1 Mbps: 10037.508 Peak Mbps: 10037.508 Avg Mbps: 10037.508 3000 1253956992 10031.656 100.00% Conn: 1 Mbps: 10031.656 Peak Mbps: 10037.508 Avg Mbps: 10031.656 4000 1255624488 10044.996 100.00% Conn: 1 Mbps: 10044.996 Peak Mbps: 10044.996 Avg Mbps: 10044.996 5000 1254774392 10038.195 100.00% Conn: 1 Mbps: 10038.195 Peak Mbps: 10044.996 Avg Mbps: 10038.195 --- fc00:0:0:1::12 tcpbench statistics --- 7515006212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9943.460/10019.163/10044.996/38.087 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.037 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.037/0.037/0.037/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.040 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/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 1252658330 10021.267 100.00% Conn: 1 Mbps: 10021.267 Peak Mbps: 10021.267 Avg Mbps: 10021.267 2000 1253513540 10038.146 100.00% Conn: 1 Mbps: 10038.146 Peak Mbps: 10038.146 Avg Mbps: 10038.146 3000 1256981436 10055.851 100.00% Conn: 1 Mbps: 10055.851 Peak Mbps: 10055.851 Avg Mbps: 10055.851 4000 1256376190 10051.010 100.00% Conn: 1 Mbps: 10051.010 Peak Mbps: 10055.851 Avg Mbps: 10051.010 5000 1256408906 10051.271 100.00% Conn: 1 Mbps: 10051.271 Peak Mbps: 10055.851 Avg Mbps: 10051.271 --- 169.254.0.13 tcpbench statistics --- 7529746386 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10021.267/10043.509/10055.851/12.588 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 1290005628 10320.045 100.00% Conn: 1 Mbps: 10320.045 Peak Mbps: 10320.045 Avg Mbps: 10320.045 2000 1295284736 10372.651 100.00% Conn: 1 Mbps: 10372.651 Peak Mbps: 10372.651 Avg Mbps: 10372.651 3000 1293584544 10348.676 100.00% Conn: 1 Mbps: 10348.676 Peak Mbps: 10372.651 Avg Mbps: 10348.676 4000 1290543816 10324.351 100.00% Conn: 1 Mbps: 10324.351 Peak Mbps: 10372.651 Avg Mbps: 10324.351 5000 1294369248 10354.954 100.00% Conn: 1 Mbps: 10354.954 Peak Mbps: 10372.651 Avg Mbps: 10354.954 --- fc00::13 tcpbench statistics --- 7756947468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10320.045/10344.135/10372.651/19.609 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m52.69s