START sys/net/pair 2025-02-02T17:25:37Z ==== 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.034 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.034/0.034/0.034/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.042 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.042/0.042/0.042/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 1359990228 10879.922 100.00% Conn: 1 Mbps: 10879.922 Peak Mbps: 10879.922 Avg Mbps: 10879.922 2000 1362096448 10907.679 100.00% Conn: 1 Mbps: 10907.679 Peak Mbps: 10907.679 Avg Mbps: 10907.679 3000 1353862320 10830.899 100.00% Conn: 1 Mbps: 10830.899 Peak Mbps: 10907.679 Avg Mbps: 10830.899 4000 1369766268 10958.130 100.00% Conn: 1 Mbps: 10958.130 Peak Mbps: 10958.130 Avg Mbps: 10958.130 5000 1356858716 10854.870 100.00% Conn: 1 Mbps: 10854.870 Peak Mbps: 10958.130 Avg Mbps: 10854.870 --- 169.254.1.11 tcpbench statistics --- 8152875596 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10830.899/10886.300/10958.130/44.078 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 1366969544 10935.756 100.00% Conn: 1 Mbps: 10935.756 Peak Mbps: 10935.756 Avg Mbps: 10935.756 2000 1378536496 11039.331 100.00% Conn: 1 Mbps: 11039.331 Peak Mbps: 11039.331 Avg Mbps: 11039.331 3000 1358209104 10865.673 100.00% Conn: 1 Mbps: 10865.673 Peak Mbps: 11039.331 Avg Mbps: 10865.673 4000 1369443080 10955.545 100.00% Conn: 1 Mbps: 10955.545 Peak Mbps: 11039.331 Avg Mbps: 10955.545 5000 1367920904 10943.367 100.00% Conn: 1 Mbps: 10943.367 Peak Mbps: 11039.331 Avg Mbps: 10943.367 --- fc00:0:0:1::11 tcpbench statistics --- 8223769896 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10865.673/10947.934/11039.331/55.403 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.059 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.059/0.059/0.059/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.111 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.111/0.111/0.111/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 401252384 3210.019 100.00% Conn: 1 Mbps: 3210.019 Peak Mbps: 3210.019 Avg Mbps: 3210.019 2001 415159256 3321.274 100.00% Conn: 1 Mbps: 3321.274 Peak Mbps: 3321.274 Avg Mbps: 3321.274 3001 416593796 3332.750 100.00% Conn: 1 Mbps: 3332.750 Peak Mbps: 3332.750 Avg Mbps: 3332.750 4001 419870824 3362.329 100.00% Conn: 1 Mbps: 3362.329 Peak Mbps: 3362.329 Avg Mbps: 3362.329 5001 417388952 3339.112 100.00% Conn: 1 Mbps: 3339.112 Peak Mbps: 3362.329 Avg Mbps: 3339.112 --- 169.254.1.12 tcpbench statistics --- 2487778524 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3210.019/3313.097/3362.329/53.252 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 377959576 3023.677 100.00% Conn: 1 Mbps: 3023.677 Peak Mbps: 3023.677 Avg Mbps: 3023.677 2000 389808908 3121.593 100.00% Conn: 1 Mbps: 3121.593 Peak Mbps: 3121.593 Avg Mbps: 3121.593 3001 390379104 3123.033 100.00% Conn: 1 Mbps: 3123.033 Peak Mbps: 3123.033 Avg Mbps: 3123.033 4001 385271544 3085.258 100.00% Conn: 1 Mbps: 3085.258 Peak Mbps: 3123.033 Avg Mbps: 3085.258 5001 392749160 3141.993 100.00% Conn: 1 Mbps: 3141.993 Peak Mbps: 3141.993 Avg Mbps: 3141.993 --- fc00:0:0:1::12 tcpbench statistics --- 2327143268 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3023.677/3099.111/3141.993/41.950 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.054 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.054/0.054/0.054/0.000 ms ==== run-ping6-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.061 ms --- fc00::13 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-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 771854124 6174.833 100.00% Conn: 1 Mbps: 6174.833 Peak Mbps: 6174.833 Avg Mbps: 6174.833 2000 818341836 6546.735 100.00% Conn: 1 Mbps: 6546.735 Peak Mbps: 6546.735 Avg Mbps: 6546.735 3000 801929356 6421.857 100.00% Conn: 1 Mbps: 6421.857 Peak Mbps: 6546.735 Avg Mbps: 6421.857 4000 802310280 6418.482 100.00% Conn: 1 Mbps: 6418.482 Peak Mbps: 6546.735 Avg Mbps: 6418.482 5000 815488644 6530.440 100.00% Conn: 1 Mbps: 6530.440 Peak Mbps: 6546.735 Avg Mbps: 6530.440 --- 169.254.0.13 tcpbench statistics --- 4828560432 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6174.833/6418.469/6546.735/132.936 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 708145856 5665.167 100.00% Conn: 1 Mbps: 5665.167 Peak Mbps: 5665.167 Avg Mbps: 5665.167 2000 731119120 5854.808 100.00% Conn: 1 Mbps: 5854.808 Peak Mbps: 5854.808 Avg Mbps: 5854.808 3000 731199960 5849.600 100.00% Conn: 1 Mbps: 5849.600 Peak Mbps: 5854.808 Avg Mbps: 5849.600 4000 737998656 5909.899 100.00% Conn: 1 Mbps: 5909.899 Peak Mbps: 5909.899 Avg Mbps: 5909.899 5000 736408136 5891.265 100.00% Conn: 1 Mbps: 5891.265 Peak Mbps: 5909.899 Avg Mbps: 5891.265 --- fc00::13 tcpbench statistics --- 4381740208 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5665.167/5834.148/5909.899/87.431 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.038 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.038/0.038/0.038/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.047 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.047/0.047/0.047/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 415990184 3324.597 100.00% Conn: 1 Mbps: 3324.597 Peak Mbps: 3324.597 Avg Mbps: 3324.597 2001 426399800 3411.198 100.00% Conn: 1 Mbps: 3411.198 Peak Mbps: 3411.198 Avg Mbps: 3411.198 3001 430845104 3450.211 100.00% Conn: 1 Mbps: 3450.211 Peak Mbps: 3450.211 Avg Mbps: 3450.211 4003 427244152 3414.539 100.00% Conn: 1 Mbps: 3414.539 Peak Mbps: 3450.211 Avg Mbps: 3414.539 5003 426564872 3415.935 100.00% Conn: 1 Mbps: 3415.935 Peak Mbps: 3450.211 Avg Mbps: 3415.935 --- 169.254.1.11 tcpbench statistics --- 2552454928 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3324.597/3403.296/3450.211/41.817 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 383936576 3071.493 100.00% Conn: 1 Mbps: 3071.493 Peak Mbps: 3071.493 Avg Mbps: 3071.493 2001 397482980 3179.864 100.00% Conn: 1 Mbps: 3179.864 Peak Mbps: 3179.864 Avg Mbps: 3179.864 3001 403140928 3228.356 100.00% Conn: 1 Mbps: 3228.356 Peak Mbps: 3228.356 Avg Mbps: 3228.356 4003 400815536 3200.124 100.00% Conn: 1 Mbps: 3200.124 Peak Mbps: 3228.356 Avg Mbps: 3200.124 5004 399273336 3190.996 100.00% Conn: 1 Mbps: 3190.996 Peak Mbps: 3228.356 Avg Mbps: 3190.996 --- fc00:0:0:1::11 tcpbench statistics --- 2382233936 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3071.493/3174.166/3228.356/53.792 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.036 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.036/0.036/0.036/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 1347003448 10776.028 100.00% Conn: 1 Mbps: 10776.028 Peak Mbps: 10776.028 Avg Mbps: 10776.028 2000 1352960520 10834.519 100.00% Conn: 1 Mbps: 10834.519 Peak Mbps: 10834.519 Avg Mbps: 10834.519 3000 1352712912 10821.703 100.00% Conn: 1 Mbps: 10821.703 Peak Mbps: 10834.519 Avg Mbps: 10821.703 4000 1354449064 10835.593 100.00% Conn: 1 Mbps: 10835.593 Peak Mbps: 10835.593 Avg Mbps: 10835.593 5000 1383464088 11067.713 100.00% Conn: 1 Mbps: 11067.713 Peak Mbps: 11067.713 Avg Mbps: 11067.713 --- 169.254.1.12 tcpbench statistics --- 8177346872 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10776.028/10867.111/11067.713/102.620 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 1354406592 10835.253 100.00% Conn: 1 Mbps: 10835.253 Peak Mbps: 10835.253 Avg Mbps: 10835.253 2000 1400438172 11214.720 100.00% Conn: 1 Mbps: 11214.720 Peak Mbps: 11214.720 Avg Mbps: 11214.720 3000 1423277604 11386.221 100.00% Conn: 1 Mbps: 11386.221 Peak Mbps: 11386.221 Avg Mbps: 11386.221 4000 1368359580 10946.877 100.00% Conn: 1 Mbps: 10946.877 Peak Mbps: 11386.221 Avg Mbps: 10946.877 5000 1316191884 10529.535 100.00% Conn: 1 Mbps: 10529.535 Peak Mbps: 11386.221 Avg Mbps: 10529.535 --- fc00:0:0:1::12 tcpbench statistics --- 8163611820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10529.535/10982.521/11386.221/298.344 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.040 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.040/0.040/0.040/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.042 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/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 1528624048 12228.992 100.00% Conn: 1 Mbps: 12228.992 Peak Mbps: 12228.992 Avg Mbps: 12228.992 2000 1534331326 12286.938 100.00% Conn: 1 Mbps: 12286.938 Peak Mbps: 12286.938 Avg Mbps: 12286.938 3000 1534053240 12272.426 100.00% Conn: 1 Mbps: 12272.426 Peak Mbps: 12286.938 Avg Mbps: 12272.426 4000 1534887498 12279.100 100.00% Conn: 1 Mbps: 12279.100 Peak Mbps: 12286.938 Avg Mbps: 12279.100 5000 1536310644 12290.485 100.00% Conn: 1 Mbps: 12290.485 Peak Mbps: 12290.485 Avg Mbps: 12290.485 --- 169.254.0.13 tcpbench statistics --- 9202325428 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12228.992/12271.588/12290.485/22.200 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 1527779396 12222.235 100.00% Conn: 1 Mbps: 12222.235 Peak Mbps: 12222.235 Avg Mbps: 12222.235 2000 1528897656 12243.425 100.00% Conn: 1 Mbps: 12243.425 Peak Mbps: 12243.425 Avg Mbps: 12243.425 3000 1527720600 12221.765 100.00% Conn: 1 Mbps: 12221.765 Peak Mbps: 12243.425 Avg Mbps: 12221.765 4000 1525791536 12206.332 100.00% Conn: 1 Mbps: 12206.332 Peak Mbps: 12243.425 Avg Mbps: 12206.332 5000 1527557120 12220.457 100.00% Conn: 1 Mbps: 12220.457 Peak Mbps: 12243.425 Avg Mbps: 12220.457 --- fc00::13 tcpbench statistics --- 9164518724 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12206.332/12222.843/12243.425/11.861 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.048 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.048/0.048/0.048/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 1000 413747288 3309.978 100.00% Conn: 1 Mbps: 3309.978 Peak Mbps: 3309.978 Avg Mbps: 3309.978 2000 423105880 3384.847 100.00% Conn: 1 Mbps: 3384.847 Peak Mbps: 3384.847 Avg Mbps: 3384.847 3001 426756140 3414.049 100.00% Conn: 1 Mbps: 3414.049 Peak Mbps: 3414.049 Avg Mbps: 3414.049 4003 427771112 3418.750 100.00% Conn: 1 Mbps: 3418.750 Peak Mbps: 3418.750 Avg Mbps: 3418.750 5003 423884680 3394.472 100.00% Conn: 1 Mbps: 3394.472 Peak Mbps: 3418.750 Avg Mbps: 3394.472 --- 169.254.1.11 tcpbench statistics --- 2536583924 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3309.978/3384.419/3418.750/39.241 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 928606864 7428.855 100.00% Conn: 1 Mbps: 7428.855 Peak Mbps: 7428.855 Avg Mbps: 7428.855 2000 1010716744 8085.734 100.00% Conn: 1 Mbps: 8085.734 Peak Mbps: 8085.734 Avg Mbps: 8085.734 3000 963757128 7710.057 100.00% Conn: 1 Mbps: 7710.057 Peak Mbps: 8085.734 Avg Mbps: 7710.057 4001 960428032 7683.424 100.00% Conn: 1 Mbps: 7683.424 Peak Mbps: 8085.734 Avg Mbps: 7683.424 5001 953180608 7633.078 100.00% Conn: 1 Mbps: 7633.078 Peak Mbps: 8085.734 Avg Mbps: 7633.078 --- fc00:0:0:1::11 tcpbench statistics --- 5774560288 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 7428.855/7708.230/8085.734/212.991 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.042 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.042/0.042/0.042/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 1536255854 12290.047 100.00% Conn: 1 Mbps: 12290.047 Peak Mbps: 12290.047 Avg Mbps: 12290.047 2000 1543050140 12356.758 100.00% Conn: 1 Mbps: 12356.758 Peak Mbps: 12356.758 Avg Mbps: 12356.758 3000 1540400144 12323.201 100.00% Conn: 1 Mbps: 12323.201 Peak Mbps: 12356.758 Avg Mbps: 12323.201 4000 1541430698 12331.446 100.00% Conn: 1 Mbps: 12331.446 Peak Mbps: 12356.758 Avg Mbps: 12331.446 5000 1537292124 12298.337 100.00% Conn: 1 Mbps: 12298.337 Peak Mbps: 12356.758 Avg Mbps: 12298.337 --- 169.254.1.12 tcpbench statistics --- 9209237482 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12290.047/12319.958/12356.758/23.912 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 1535818220 12286.546 100.00% Conn: 1 Mbps: 12286.546 Peak Mbps: 12286.546 Avg Mbps: 12286.546 2000 1515459600 12135.813 100.00% Conn: 1 Mbps: 12135.813 Peak Mbps: 12286.546 Avg Mbps: 12135.813 3000 1510260936 12082.087 100.00% Conn: 1 Mbps: 12082.087 Peak Mbps: 12286.546 Avg Mbps: 12082.087 4000 1509214664 12073.717 100.00% Conn: 1 Mbps: 12073.717 Peak Mbps: 12286.546 Avg Mbps: 12073.717 5000 1508626136 12069.009 100.00% Conn: 1 Mbps: 12069.009 Peak Mbps: 12286.546 Avg Mbps: 12069.009 --- fc00:0:0:1::12 tcpbench statistics --- 9114031708 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12069.009/12129.434/12286.546/82.124 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.036 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.036/0.036/0.036/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.038 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/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 1563233848 12505.871 100.00% Conn: 1 Mbps: 12505.871 Peak Mbps: 12505.871 Avg Mbps: 12505.871 2000 1561927272 12507.926 100.00% Conn: 1 Mbps: 12507.926 Peak Mbps: 12507.926 Avg Mbps: 12507.926 3000 1565313378 12522.507 100.00% Conn: 1 Mbps: 12522.507 Peak Mbps: 12522.507 Avg Mbps: 12522.507 4000 1563710294 12509.682 100.00% Conn: 1 Mbps: 12509.682 Peak Mbps: 12522.507 Avg Mbps: 12509.682 5000 1561322026 12490.576 100.00% Conn: 1 Mbps: 12490.576 Peak Mbps: 12522.507 Avg Mbps: 12490.576 --- 169.254.0.13 tcpbench statistics --- 9371250766 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12490.576/12507.312/12522.507/10.189 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 1525792076 12206.337 100.00% Conn: 1 Mbps: 12206.337 Peak Mbps: 12206.337 Avg Mbps: 12206.337 2000 1535240680 12294.220 100.00% Conn: 1 Mbps: 12294.220 Peak Mbps: 12294.220 Avg Mbps: 12294.220 3000 1525137616 12201.101 100.00% Conn: 1 Mbps: 12201.101 Peak Mbps: 12294.220 Avg Mbps: 12201.101 4000 1526543544 12212.348 100.00% Conn: 1 Mbps: 12212.348 Peak Mbps: 12294.220 Avg Mbps: 12212.348 5000 1526707024 12213.656 100.00% Conn: 1 Mbps: 12213.656 Peak Mbps: 12294.220 Avg Mbps: 12213.656 --- fc00::13 tcpbench statistics --- 9167076148 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12201.101/12225.532/12294.220/34.636 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 1m51.81s