START sys/net/pair 2025-01-26T02:23:02Z ==== 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.040 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.040/0.040/0.040/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 882792308 7062.338 100.00% Conn: 1 Mbps: 7062.338 Peak Mbps: 7062.338 Avg Mbps: 7062.338 2000 884294480 7081.437 100.00% Conn: 1 Mbps: 7081.437 Peak Mbps: 7081.437 Avg Mbps: 7081.437 3000 886058936 7095.567 100.00% Conn: 1 Mbps: 7095.567 Peak Mbps: 7095.567 Avg Mbps: 7095.567 4000 884572660 7076.581 100.00% Conn: 1 Mbps: 7076.581 Peak Mbps: 7095.567 Avg Mbps: 7076.581 5000 885375408 7083.003 100.00% Conn: 1 Mbps: 7083.003 Peak Mbps: 7095.567 Avg Mbps: 7083.003 --- 169.254.1.11 tcpbench statistics --- 5308310240 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7062.338/7079.785/7095.567/10.741 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 859680608 6877.445 100.00% Conn: 1 Mbps: 6877.445 Peak Mbps: 6877.445 Avg Mbps: 6877.445 2000 855716608 6852.585 100.00% Conn: 1 Mbps: 6852.585 Peak Mbps: 6877.445 Avg Mbps: 6852.585 3000 858213928 6865.711 100.00% Conn: 1 Mbps: 6865.711 Peak Mbps: 6877.445 Avg Mbps: 6865.711 4000 857611400 6860.891 100.00% Conn: 1 Mbps: 6860.891 Peak Mbps: 6877.445 Avg Mbps: 6860.891 5000 858348704 6866.790 100.00% Conn: 1 Mbps: 6866.790 Peak Mbps: 6877.445 Avg Mbps: 6866.790 --- fc00:0:0:1::11 tcpbench statistics --- 5146342280 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6852.585/6864.685/6877.445/8.113 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.062 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.062/0.062/0.062/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.123 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.123/0.123/0.123/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 370145496 2958.206 100.00% Conn: 1 Mbps: 2958.206 Peak Mbps: 2958.206 Avg Mbps: 2958.206 2001 376923712 3015.390 100.00% Conn: 1 Mbps: 3015.390 Peak Mbps: 3015.390 Avg Mbps: 3015.390 3001 374603776 2996.830 100.00% Conn: 1 Mbps: 2996.830 Peak Mbps: 3015.390 Avg Mbps: 2996.830 4002 375652352 3005.219 100.00% Conn: 1 Mbps: 3005.219 Peak Mbps: 3015.390 Avg Mbps: 3005.219 5002 376176640 3009.413 100.00% Conn: 1 Mbps: 3009.413 Peak Mbps: 3015.390 Avg Mbps: 3009.413 --- 169.254.1.12 tcpbench statistics --- 2249416472 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2958.206/2997.012/3015.390/20.322 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 347243256 2777.946 100.00% Conn: 1 Mbps: 2777.946 Peak Mbps: 2777.946 Avg Mbps: 2777.946 2001 357564416 2860.515 100.00% Conn: 1 Mbps: 2860.515 Peak Mbps: 2860.515 Avg Mbps: 2860.515 3001 356515840 2852.127 100.00% Conn: 1 Mbps: 2852.127 Peak Mbps: 2860.515 Avg Mbps: 2852.127 4001 357040128 2856.321 100.00% Conn: 1 Mbps: 2856.321 Peak Mbps: 2860.515 Avg Mbps: 2856.321 5002 357789048 2862.312 100.00% Conn: 1 Mbps: 2862.312 Peak Mbps: 2862.312 Avg Mbps: 2862.312 --- fc00:0:0:1::12 tcpbench statistics --- 2132406384 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2777.946/2841.844/2862.312/32.143 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 747382720 5979.062 100.00% Conn: 1 Mbps: 5979.062 Peak Mbps: 5979.062 Avg Mbps: 5979.062 2000 785810112 6286.481 100.00% Conn: 1 Mbps: 6286.481 Peak Mbps: 6286.481 Avg Mbps: 6286.481 3000 790555768 6324.446 100.00% Conn: 1 Mbps: 6324.446 Peak Mbps: 6324.446 Avg Mbps: 6324.446 4001 790562876 6324.503 100.00% Conn: 1 Mbps: 6324.503 Peak Mbps: 6324.503 Avg Mbps: 6324.503 5001 790389840 6323.119 100.00% Conn: 1 Mbps: 6323.119 Peak Mbps: 6324.503 Avg Mbps: 6323.119 --- 169.254.0.13 tcpbench statistics --- 4691608672 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5979.062/6247.522/6324.503/135.016 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 657929384 5263.435 100.00% Conn: 1 Mbps: 5263.435 Peak Mbps: 5263.435 Avg Mbps: 5263.435 2000 686334888 5490.679 100.00% Conn: 1 Mbps: 5490.679 Peak Mbps: 5490.679 Avg Mbps: 5490.679 3000 683063744 5464.510 100.00% Conn: 1 Mbps: 5464.510 Peak Mbps: 5490.679 Avg Mbps: 5464.510 4000 682028744 5461.692 100.00% Conn: 1 Mbps: 5461.692 Peak Mbps: 5490.679 Avg Mbps: 5461.692 5000 687928936 5503.431 100.00% Conn: 1 Mbps: 5503.431 Peak Mbps: 5503.431 Avg Mbps: 5503.431 --- fc00::13 tcpbench statistics --- 4083335696 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5263.435/5436.749/5503.431/88.074 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.045 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.045/0.045/0.045/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 365013736 2920.110 100.00% Conn: 1 Mbps: 2920.110 Peak Mbps: 2920.110 Avg Mbps: 2920.110 2000 373817344 2993.532 100.00% Conn: 1 Mbps: 2993.532 Peak Mbps: 2993.532 Avg Mbps: 2993.532 3001 375128064 3001.025 100.00% Conn: 1 Mbps: 3001.025 Peak Mbps: 3001.025 Avg Mbps: 3001.025 4001 375128064 3001.025 100.00% Conn: 1 Mbps: 3001.025 Peak Mbps: 3001.025 Avg Mbps: 3001.025 5002 378535936 3028.287 100.00% Conn: 1 Mbps: 3028.287 Peak Mbps: 3028.287 Avg Mbps: 3028.287 --- 169.254.1.11 tcpbench statistics --- 2250091240 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2920.110/2988.796/3028.287/36.329 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 346137712 2766.335 100.00% Conn: 1 Mbps: 2766.335 Peak Mbps: 2766.335 Avg Mbps: 2766.335 2001 354156544 2833.252 100.00% Conn: 1 Mbps: 2833.252 Peak Mbps: 2833.252 Avg Mbps: 2833.252 3001 353794728 2830.358 100.00% Conn: 1 Mbps: 2830.358 Peak Mbps: 2833.252 Avg Mbps: 2830.358 4001 353894400 2831.155 100.00% Conn: 1 Mbps: 2831.155 Peak Mbps: 2833.252 Avg Mbps: 2831.155 5002 353632256 2829.058 100.00% Conn: 1 Mbps: 2829.058 Peak Mbps: 2833.252 Avg Mbps: 2829.058 --- fc00:0:0:1::11 tcpbench statistics --- 2114199320 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2766.335/2818.032/2833.252/25.884 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.037 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.037/0.037/0.037/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.039 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.039/0.039/0.039/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 862873336 6902.987 100.00% Conn: 1 Mbps: 6902.987 Peak Mbps: 6902.987 Avg Mbps: 6902.987 2000 862208704 6904.574 100.00% Conn: 1 Mbps: 6904.574 Peak Mbps: 6904.574 Avg Mbps: 6904.574 3000 861651224 6893.210 100.00% Conn: 1 Mbps: 6893.210 Peak Mbps: 6904.574 Avg Mbps: 6893.210 4000 859357592 6874.861 100.00% Conn: 1 Mbps: 6874.861 Peak Mbps: 6904.574 Avg Mbps: 6874.861 5000 860585496 6884.684 100.00% Conn: 1 Mbps: 6884.684 Peak Mbps: 6904.574 Avg Mbps: 6884.684 --- 169.254.1.12 tcpbench statistics --- 5168900984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6874.861/6892.063/6904.574/11.203 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 842789892 6742.319 100.00% Conn: 1 Mbps: 6742.319 Peak Mbps: 6742.319 Avg Mbps: 6742.319 2000 842234400 6744.620 100.00% Conn: 1 Mbps: 6744.620 Peak Mbps: 6744.620 Avg Mbps: 6744.620 3000 840172368 6721.379 100.00% Conn: 1 Mbps: 6721.379 Peak Mbps: 6744.620 Avg Mbps: 6721.379 4000 844285008 6754.280 100.00% Conn: 1 Mbps: 6754.280 Peak Mbps: 6754.280 Avg Mbps: 6754.280 5000 843668112 6749.345 100.00% Conn: 1 Mbps: 6749.345 Peak Mbps: 6754.280 Avg Mbps: 6749.345 --- fc00:0:0:1::12 tcpbench statistics --- 5055722616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6721.379/6742.389/6754.280/11.280 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 1272286986 10178.296 100.00% Conn: 1 Mbps: 10178.296 Peak Mbps: 10178.296 Avg Mbps: 10178.296 2000 1278115972 10235.163 100.00% Conn: 1 Mbps: 10235.163 Peak Mbps: 10235.163 Avg Mbps: 10235.163 3000 1279686340 10237.491 100.00% Conn: 1 Mbps: 10237.491 Peak Mbps: 10237.491 Avg Mbps: 10237.491 4000 1277756096 10222.049 100.00% Conn: 1 Mbps: 10222.049 Peak Mbps: 10237.491 Avg Mbps: 10222.049 5000 1277036344 10216.291 100.00% Conn: 1 Mbps: 10216.291 Peak Mbps: 10237.491 Avg Mbps: 10216.291 --- 169.254.0.13 tcpbench statistics --- 7663521166 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10178.296/10217.858/10237.491/21.308 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 1154103876 9232.831 100.00% Conn: 1 Mbps: 9232.831 Peak Mbps: 9232.831 Avg Mbps: 9232.831 2000 1156947960 9264.849 100.00% Conn: 1 Mbps: 9264.849 Peak Mbps: 9264.849 Avg Mbps: 9264.849 3000 1156621000 9252.968 100.00% Conn: 1 Mbps: 9252.968 Peak Mbps: 9264.849 Avg Mbps: 9252.968 4000 1148904744 9191.238 100.00% Conn: 1 Mbps: 9191.238 Peak Mbps: 9264.849 Avg Mbps: 9191.238 5000 1144327304 9154.618 100.00% Conn: 1 Mbps: 9154.618 Peak Mbps: 9264.849 Avg Mbps: 9154.618 --- fc00::13 tcpbench statistics --- 6898169852 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9154.618/9219.301/9264.849/40.896 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.044 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.044/0.044/0.044/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 1001 365432720 2920.541 100.00% Conn: 1 Mbps: 2920.541 Peak Mbps: 2920.541 Avg Mbps: 2920.541 2001 370409472 2963.276 100.00% Conn: 1 Mbps: 2963.276 Peak Mbps: 2963.276 Avg Mbps: 2963.276 3001 371720192 2976.738 100.00% Conn: 1 Mbps: 2976.738 Peak Mbps: 2976.738 Avg Mbps: 2976.738 4002 372768768 2982.150 100.00% Conn: 1 Mbps: 2982.150 Peak Mbps: 2982.150 Avg Mbps: 2982.150 5002 370671616 2965.373 100.00% Conn: 1 Mbps: 2965.373 Peak Mbps: 2982.150 Avg Mbps: 2965.373 --- 169.254.1.11 tcpbench statistics --- 2222198672 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2920.541/2961.616/2982.150/21.699 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 815519024 6524.152 100.00% Conn: 1 Mbps: 6524.152 Peak Mbps: 6524.152 Avg Mbps: 6524.152 2000 835190784 6681.526 100.00% Conn: 1 Mbps: 6681.526 Peak Mbps: 6681.526 Avg Mbps: 6681.526 3001 842530816 6740.247 100.00% Conn: 1 Mbps: 6740.247 Peak Mbps: 6740.247 Avg Mbps: 6740.247 4001 849084416 6792.675 100.00% Conn: 1 Mbps: 6792.675 Peak Mbps: 6792.675 Avg Mbps: 6792.675 5001 842530816 6740.247 100.00% Conn: 1 Mbps: 6740.247 Peak Mbps: 6792.675 Avg Mbps: 6740.247 --- fc00:0:0:1::11 tcpbench statistics --- 5030008112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6524.152/6695.769/6792.675/92.739 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.041 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.041/0.041/0.041/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 1260852590 10086.821 100.00% Conn: 1 Mbps: 10086.821 Peak Mbps: 10086.821 Avg Mbps: 10086.821 2000 1265373090 10133.118 100.00% Conn: 1 Mbps: 10133.118 Peak Mbps: 10133.118 Avg Mbps: 10133.118 3000 1265324016 10122.592 100.00% Conn: 1 Mbps: 10122.592 Peak Mbps: 10133.118 Avg Mbps: 10122.592 4000 1266289138 10130.313 100.00% Conn: 1 Mbps: 10130.313 Peak Mbps: 10133.118 Avg Mbps: 10130.313 5000 1266730804 10133.846 100.00% Conn: 1 Mbps: 10133.846 Peak Mbps: 10133.846 Avg Mbps: 10133.846 --- 169.254.1.12 tcpbench statistics --- 7587783472 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10086.821/10121.338/10133.846/17.713 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 1130293804 9042.350 100.00% Conn: 1 Mbps: 9042.350 Peak Mbps: 9042.350 Avg Mbps: 9042.350 2000 1137199576 9106.703 100.00% Conn: 1 Mbps: 9106.703 Peak Mbps: 9106.703 Avg Mbps: 9106.703 3000 1137199576 9097.597 100.00% Conn: 1 Mbps: 9097.597 Peak Mbps: 9106.703 Avg Mbps: 9097.597 4000 1137232272 9097.858 100.00% Conn: 1 Mbps: 9097.858 Peak Mbps: 9106.703 Avg Mbps: 9097.858 5000 1139553688 9116.430 100.00% Conn: 1 Mbps: 9116.430 Peak Mbps: 9116.430 Avg Mbps: 9116.430 --- fc00:0:0:1::12 tcpbench statistics --- 6825119604 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9042.350/9092.188/9116.430/25.859 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.039 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/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 1269287080 10154.297 100.00% Conn: 1 Mbps: 10154.297 Peak Mbps: 10154.297 Avg Mbps: 10154.297 2000 1273503016 10198.222 100.00% Conn: 1 Mbps: 10198.222 Peak Mbps: 10198.222 Avg Mbps: 10198.222 3000 1272145302 10177.162 100.00% Conn: 1 Mbps: 10177.162 Peak Mbps: 10198.222 Avg Mbps: 10177.162 4000 1274517212 10196.138 100.00% Conn: 1 Mbps: 10196.138 Peak Mbps: 10198.222 Avg Mbps: 10196.138 5000 1271049316 10168.395 100.00% Conn: 1 Mbps: 10168.395 Peak Mbps: 10198.222 Avg Mbps: 10168.395 --- 169.254.0.13 tcpbench statistics --- 7632778092 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10154.297/10178.843/10198.222/16.668 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 1286907644 10295.261 100.00% Conn: 1 Mbps: 10295.261 Peak Mbps: 10295.261 Avg Mbps: 10295.261 2000 1291426608 10341.755 100.00% Conn: 1 Mbps: 10341.755 Peak Mbps: 10341.755 Avg Mbps: 10341.755 3000 1292603664 10340.829 100.00% Conn: 1 Mbps: 10340.829 Peak Mbps: 10341.755 Avg Mbps: 10340.829 4000 1290151464 10321.212 100.00% Conn: 1 Mbps: 10321.212 Peak Mbps: 10341.755 Avg Mbps: 10321.212 5000 1293519152 10348.153 100.00% Conn: 1 Mbps: 10348.153 Peak Mbps: 10348.153 Avg Mbps: 10348.153 --- fc00::13 tcpbench statistics --- 7744171468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10295.261/10329.442/10348.153/19.326 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.82s