START sys/net/pair 2025-01-25T03:42:59Z ==== 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.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-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 878730880 7029.847 100.00% Conn: 1 Mbps: 7029.847 Peak Mbps: 7029.847 Avg Mbps: 7029.847 2000 877411512 7026.318 100.00% Conn: 1 Mbps: 7026.318 Peak Mbps: 7029.847 Avg Mbps: 7026.318 3000 879541576 7036.333 100.00% Conn: 1 Mbps: 7036.333 Peak Mbps: 7036.333 Avg Mbps: 7036.333 4000 878802412 7030.419 100.00% Conn: 1 Mbps: 7030.419 Peak Mbps: 7036.333 Avg Mbps: 7030.419 5000 879334928 7034.679 100.00% Conn: 1 Mbps: 7034.679 Peak Mbps: 7036.333 Avg Mbps: 7034.679 --- 169.254.1.11 tcpbench statistics --- 5273704648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7026.318/7031.519/7036.333/3.584 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 866474904 6931.799 100.00% Conn: 1 Mbps: 6931.799 Peak Mbps: 6931.799 Avg Mbps: 6931.799 2000 867790952 6949.277 100.00% Conn: 1 Mbps: 6949.277 Peak Mbps: 6949.277 Avg Mbps: 6949.277 3000 868005008 6944.040 100.00% Conn: 1 Mbps: 6944.040 Peak Mbps: 6949.277 Avg Mbps: 6944.040 4000 867307344 6938.459 100.00% Conn: 1 Mbps: 6938.459 Peak Mbps: 6949.277 Avg Mbps: 6938.459 5000 868139784 6945.118 100.00% Conn: 1 Mbps: 6945.118 Peak Mbps: 6949.277 Avg Mbps: 6945.118 --- fc00:0:0:1::11 tcpbench statistics --- 5206151112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6931.799/6941.739/6949.277/6.051 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.064 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.064/0.064/0.064/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.121 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.121/0.121/0.121/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 369777832 2955.267 100.00% Conn: 1 Mbps: 2955.267 Peak Mbps: 2955.267 Avg Mbps: 2955.267 2001 379322368 3037.617 100.00% Conn: 1 Mbps: 3037.617 Peak Mbps: 3037.617 Avg Mbps: 3037.617 3001 380108800 3040.870 100.00% Conn: 1 Mbps: 3040.870 Peak Mbps: 3040.870 Avg Mbps: 3040.870 4001 380108800 3040.870 100.00% Conn: 1 Mbps: 3040.870 Peak Mbps: 3040.870 Avg Mbps: 3040.870 5001 383190064 3065.521 100.00% Conn: 1 Mbps: 3065.521 Peak Mbps: 3065.521 Avg Mbps: 3065.521 --- 169.254.1.12 tcpbench statistics --- 2279694552 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2955.267/3028.029/3065.521/37.740 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 354907444 2836.423 100.00% Conn: 1 Mbps: 2836.423 Peak Mbps: 2836.423 Avg Mbps: 2836.423 2001 365953024 2927.624 100.00% Conn: 1 Mbps: 2927.624 Peak Mbps: 2927.624 Avg Mbps: 2927.624 3001 368836608 2950.693 100.00% Conn: 1 Mbps: 2950.693 Peak Mbps: 2950.693 Avg Mbps: 2950.693 4002 370933760 2967.470 100.00% Conn: 1 Mbps: 2967.470 Peak Mbps: 2967.470 Avg Mbps: 2967.470 5002 373030912 2984.247 100.00% Conn: 1 Mbps: 2984.247 Peak Mbps: 2984.247 Avg Mbps: 2984.247 --- fc00:0:0:1::12 tcpbench statistics --- 2203546932 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2836.423/2933.292/2984.247/51.929 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.056 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.056/0.056/0.056/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 739926868 5919.415 100.00% Conn: 1 Mbps: 5919.415 Peak Mbps: 5919.415 Avg Mbps: 5919.415 2000 774349936 6194.799 100.00% Conn: 1 Mbps: 6194.799 Peak Mbps: 6194.799 Avg Mbps: 6194.799 3000 777528716 6220.230 100.00% Conn: 1 Mbps: 6220.230 Peak Mbps: 6220.230 Avg Mbps: 6220.230 4001 782797820 6262.383 100.00% Conn: 1 Mbps: 6262.383 Peak Mbps: 6262.383 Avg Mbps: 6262.383 5001 790127440 6321.020 100.00% Conn: 1 Mbps: 6321.020 Peak Mbps: 6321.020 Avg Mbps: 6321.020 --- 169.254.0.13 tcpbench statistics --- 4663544520 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5919.415/6183.569/6321.020/138.818 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 649906248 5194.056 100.00% Conn: 1 Mbps: 5194.056 Peak Mbps: 5194.056 Avg Mbps: 5194.056 2001 676107248 5408.858 100.00% Conn: 1 Mbps: 5408.858 Peak Mbps: 5408.858 Avg Mbps: 5408.858 3001 681056920 5448.455 100.00% Conn: 1 Mbps: 5448.455 Peak Mbps: 5448.455 Avg Mbps: 5448.455 4002 680363544 5442.908 100.00% Conn: 1 Mbps: 5442.908 Peak Mbps: 5448.455 Avg Mbps: 5442.908 5002 682855016 5462.840 100.00% Conn: 1 Mbps: 5462.840 Peak Mbps: 5462.840 Avg Mbps: 5462.840 --- fc00::13 tcpbench statistics --- 4057241728 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5194.056/5391.424/5462.840/100.261 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.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-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.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-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 370646712 2962.211 100.00% Conn: 1 Mbps: 2962.211 Peak Mbps: 2962.211 Avg Mbps: 2962.211 2001 375652352 3008.227 100.00% Conn: 1 Mbps: 3008.227 Peak Mbps: 3008.227 Avg Mbps: 3008.227 3001 377749504 3021.996 100.00% Conn: 1 Mbps: 3021.996 Peak Mbps: 3021.996 Avg Mbps: 3021.996 4002 375914496 3007.316 100.00% Conn: 1 Mbps: 3007.316 Peak Mbps: 3021.996 Avg Mbps: 3007.316 5002 374079488 2992.636 100.00% Conn: 1 Mbps: 2992.636 Peak Mbps: 3021.996 Avg Mbps: 2992.636 --- 169.254.1.11 tcpbench statistics --- 2247335608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2962.211/2998.477/3021.996/20.375 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 355128264 2838.188 100.00% Conn: 1 Mbps: 2838.188 Peak Mbps: 2838.188 Avg Mbps: 2838.188 2001 371982336 2978.838 100.00% Conn: 1 Mbps: 2978.838 Peak Mbps: 2978.838 Avg Mbps: 2978.838 3001 367525888 2940.207 100.00% Conn: 1 Mbps: 2940.207 Peak Mbps: 2978.838 Avg Mbps: 2940.207 4002 363331584 2906.653 100.00% Conn: 1 Mbps: 2906.653 Peak Mbps: 2978.838 Avg Mbps: 2906.653 5002 364904448 2919.236 100.00% Conn: 1 Mbps: 2919.236 Peak Mbps: 2978.838 Avg Mbps: 2919.236 --- fc00:0:0:1::11 tcpbench statistics --- 2189611976 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2838.188/2916.624/2978.838/46.228 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.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-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 833225536 6665.804 100.00% Conn: 1 Mbps: 6665.804 Peak Mbps: 6665.804 Avg Mbps: 6665.804 2000 831293904 6657.008 100.00% Conn: 1 Mbps: 6657.008 Peak Mbps: 6665.804 Avg Mbps: 6657.008 3000 832156912 6663.919 100.00% Conn: 1 Mbps: 6663.919 Peak Mbps: 6665.804 Avg Mbps: 6663.919 4000 831144760 6649.158 100.00% Conn: 1 Mbps: 6649.158 Peak Mbps: 6665.804 Avg Mbps: 6649.158 5000 830490264 6643.922 100.00% Conn: 1 Mbps: 6643.922 Peak Mbps: 6665.804 Avg Mbps: 6643.922 --- 169.254.1.12 tcpbench statistics --- 4990337968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6643.922/6655.962/6665.804/8.397 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 849581460 6796.652 100.00% Conn: 1 Mbps: 6796.652 Peak Mbps: 6796.652 Avg Mbps: 6796.652 2000 849314424 6801.317 100.00% Conn: 1 Mbps: 6801.317 Peak Mbps: 6801.317 Avg Mbps: 6801.317 3000 848066352 6784.531 100.00% Conn: 1 Mbps: 6784.531 Peak Mbps: 6801.317 Avg Mbps: 6784.531 4000 846415584 6771.325 100.00% Conn: 1 Mbps: 6771.325 Peak Mbps: 6801.317 Avg Mbps: 6771.325 5000 848199156 6785.593 100.00% Conn: 1 Mbps: 6785.593 Peak Mbps: 6801.317 Avg Mbps: 6785.593 --- fc00:0:0:1::12 tcpbench statistics --- 5090433012 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6771.325/6787.883/6801.317/10.469 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.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 1255290752 10042.326 100.00% Conn: 1 Mbps: 10042.326 Peak Mbps: 10042.326 Avg Mbps: 10042.326 2000 1263082970 10114.779 100.00% Conn: 1 Mbps: 10114.779 Peak Mbps: 10114.779 Avg Mbps: 10114.779 3000 1263459204 10107.674 100.00% Conn: 1 Mbps: 10107.674 Peak Mbps: 10114.779 Avg Mbps: 10107.674 4000 1265749324 10125.995 100.00% Conn: 1 Mbps: 10125.995 Peak Mbps: 10125.995 Avg Mbps: 10125.995 5000 1264146240 10113.170 100.00% Conn: 1 Mbps: 10113.170 Peak Mbps: 10125.995 Avg Mbps: 10113.170 --- 169.254.0.13 tcpbench statistics --- 7575694792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10042.326/10100.789/10125.995/29.832 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 1096182620 8769.461 100.00% Conn: 1 Mbps: 8769.461 Peak Mbps: 8769.461 Avg Mbps: 8769.461 2000 1097898984 8791.984 100.00% Conn: 1 Mbps: 8791.984 Peak Mbps: 8791.984 Avg Mbps: 8791.984 3000 1099108736 8792.870 100.00% Conn: 1 Mbps: 8792.870 Peak Mbps: 8792.870 Avg Mbps: 8792.870 4000 1097081584 8776.653 100.00% Conn: 1 Mbps: 8776.653 Peak Mbps: 8792.870 Avg Mbps: 8776.653 5000 1096820016 8774.560 100.00% Conn: 1 Mbps: 8774.560 Peak Mbps: 8792.870 Avg Mbps: 8774.560 --- fc00::13 tcpbench statistics --- 6584010044 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8769.461/8781.106/8792.870/9.539 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.050 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.050/0.050/0.050/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 369274144 2951.242 100.00% Conn: 1 Mbps: 2951.242 Peak Mbps: 2951.242 Avg Mbps: 2951.242 2001 377225216 3017.802 100.00% Conn: 1 Mbps: 3017.802 Peak Mbps: 3017.802 Avg Mbps: 3017.802 3001 376700928 3013.607 100.00% Conn: 1 Mbps: 3013.607 Peak Mbps: 3017.802 Avg Mbps: 3013.607 4001 377225216 3017.802 100.00% Conn: 1 Mbps: 3017.802 Peak Mbps: 3017.802 Avg Mbps: 3017.802 5001 376963072 3018.723 100.00% Conn: 1 Mbps: 3018.723 Peak Mbps: 3018.723 Avg Mbps: 3018.723 --- 169.254.1.11 tcpbench statistics --- 2251205920 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2951.242/3003.835/3018.723/26.357 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 824518640 6596.149 100.00% Conn: 1 Mbps: 6596.149 Peak Mbps: 6596.149 Avg Mbps: 6596.149 2000 858679144 6876.309 100.00% Conn: 1 Mbps: 6876.309 Peak Mbps: 6876.309 Avg Mbps: 6876.309 3000 860356608 6882.853 100.00% Conn: 1 Mbps: 6882.853 Peak Mbps: 6882.853 Avg Mbps: 6882.853 4000 855638016 6845.104 100.00% Conn: 1 Mbps: 6845.104 Peak Mbps: 6882.853 Avg Mbps: 6845.104 5000 866648064 6933.185 100.00% Conn: 1 Mbps: 6933.185 Peak Mbps: 6933.185 Avg Mbps: 6933.185 --- fc00:0:0:1::11 tcpbench statistics --- 5113352024 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6596.149/6826.720/6933.185/118.698 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.039 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.039/0.039/0.039/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 1254865738 10038.926 100.00% Conn: 1 Mbps: 10038.926 Peak Mbps: 10038.926 Avg Mbps: 10038.926 2000 1258273718 10076.266 100.00% Conn: 1 Mbps: 10076.266 Peak Mbps: 10076.266 Avg Mbps: 10076.266 3000 1260383900 10083.071 100.00% Conn: 1 Mbps: 10083.071 Peak Mbps: 10083.071 Avg Mbps: 10083.071 4000 1260154888 10081.239 100.00% Conn: 1 Mbps: 10081.239 Peak Mbps: 10083.071 Avg Mbps: 10081.239 5000 1259795012 10078.360 100.00% Conn: 1 Mbps: 10078.360 Peak Mbps: 10083.071 Avg Mbps: 10078.360 --- 169.254.1.12 tcpbench statistics --- 7554822278 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10038.926/10071.572/10083.071/16.490 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 1098258924 8786.071 100.00% Conn: 1 Mbps: 8786.071 Peak Mbps: 8786.071 Avg Mbps: 8786.071 2000 1103915048 8840.161 100.00% Conn: 1 Mbps: 8840.161 Peak Mbps: 8840.161 Avg Mbps: 8840.161 3000 1100874320 8806.995 100.00% Conn: 1 Mbps: 8806.995 Peak Mbps: 8840.161 Avg Mbps: 8806.995 4000 1103947744 8831.582 100.00% Conn: 1 Mbps: 8831.582 Peak Mbps: 8840.161 Avg Mbps: 8831.582 5000 1108492488 8867.940 100.00% Conn: 1 Mbps: 8867.940 Peak Mbps: 8867.940 Avg Mbps: 8867.940 --- fc00:0:0:1::12 tcpbench statistics --- 6622803956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8786.071/8826.550/8867.940/28.088 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 1275963664 10207.709 100.00% Conn: 1 Mbps: 10207.709 Peak Mbps: 10207.709 Avg Mbps: 10207.709 2000 1282369052 10269.222 100.00% Conn: 1 Mbps: 10269.222 Peak Mbps: 10269.222 Avg Mbps: 10269.222 3000 1279228316 10233.827 100.00% Conn: 1 Mbps: 10233.827 Peak Mbps: 10269.222 Avg Mbps: 10233.827 4000 1281763806 10254.110 100.00% Conn: 1 Mbps: 10254.110 Peak Mbps: 10269.222 Avg Mbps: 10254.110 5000 1283039730 10264.318 100.00% Conn: 1 Mbps: 10264.318 Peak Mbps: 10269.222 Avg Mbps: 10264.318 --- 169.254.0.13 tcpbench statistics --- 7684848126 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10207.709/10245.837/10269.222/22.604 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 1280615428 10244.923 100.00% Conn: 1 Mbps: 10244.923 Peak Mbps: 10244.923 Avg Mbps: 10244.923 2000 1283743048 10280.225 100.00% Conn: 1 Mbps: 10280.225 Peak Mbps: 10280.225 Avg Mbps: 10280.225 3000 1284822016 10278.576 100.00% Conn: 1 Mbps: 10278.576 Peak Mbps: 10280.225 Avg Mbps: 10278.576 4000 1279819528 10238.556 100.00% Conn: 1 Mbps: 10238.556 Peak Mbps: 10280.225 Avg Mbps: 10238.556 5000 1283023736 10264.190 100.00% Conn: 1 Mbps: 10264.190 Peak Mbps: 10280.225 Avg Mbps: 10264.190 --- fc00::13 tcpbench statistics --- 7694001220 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10238.556/10261.294/10280.225/17.032 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.84s