START sys/net/pair 2025-01-17T01:20:53Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.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.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 873302396 6986.419 100.00% Conn: 1 Mbps: 6986.419 Peak Mbps: 6986.419 Avg Mbps: 6986.419 2000 873699796 6996.595 100.00% Conn: 1 Mbps: 6996.595 Peak Mbps: 6996.595 Avg Mbps: 6996.595 3000 872277104 6978.217 100.00% Conn: 1 Mbps: 6978.217 Peak Mbps: 6996.595 Avg Mbps: 6978.217 4000 873040112 6984.321 100.00% Conn: 1 Mbps: 6984.321 Peak Mbps: 6996.595 Avg Mbps: 6984.321 5000 873596472 6988.772 100.00% Conn: 1 Mbps: 6988.772 Peak Mbps: 6996.595 Avg Mbps: 6988.772 --- 169.254.1.11 tcpbench statistics --- 5236706708 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6978.217/6986.865/6996.595/5.996 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 867600680 6940.805 100.00% Conn: 1 Mbps: 6940.805 Peak Mbps: 6940.805 Avg Mbps: 6940.805 2000 867576896 6947.563 100.00% Conn: 1 Mbps: 6947.563 Peak Mbps: 6947.563 Avg Mbps: 6947.563 3000 867640320 6941.123 100.00% Conn: 1 Mbps: 6941.123 Peak Mbps: 6947.563 Avg Mbps: 6941.123 4000 869019792 6952.158 100.00% Conn: 1 Mbps: 6952.158 Peak Mbps: 6952.158 Avg Mbps: 6952.158 5000 869661960 6957.296 100.00% Conn: 1 Mbps: 6957.296 Peak Mbps: 6957.296 Avg Mbps: 6957.296 --- fc00:0:0:1::11 tcpbench statistics --- 5210265744 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6940.805/6947.789/6957.296/6.368 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.060 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.060/0.060/0.060/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.110 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.110/0.110/0.110/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 364673304 2917.386 100.00% Conn: 1 Mbps: 2917.386 Peak Mbps: 2917.386 Avg Mbps: 2917.386 2000 372506624 2983.036 100.00% Conn: 1 Mbps: 2983.036 Peak Mbps: 2983.036 Avg Mbps: 2983.036 3001 372244480 2977.956 100.00% Conn: 1 Mbps: 2977.956 Peak Mbps: 2983.036 Avg Mbps: 2977.956 4001 373030912 2984.247 100.00% Conn: 1 Mbps: 2984.247 Peak Mbps: 2984.247 Avg Mbps: 2984.247 5001 373817344 2990.539 100.00% Conn: 1 Mbps: 2990.539 Peak Mbps: 2990.539 Avg Mbps: 2990.539 --- 169.254.1.12 tcpbench statistics --- 2232187160 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2917.386/2970.633/2990.539/26.923 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 352696092 2818.750 100.00% Conn: 1 Mbps: 2818.750 Peak Mbps: 2818.750 Avg Mbps: 2818.750 2001 361234432 2892.768 100.00% Conn: 1 Mbps: 2892.768 Peak Mbps: 2892.768 Avg Mbps: 2892.768 3001 360419920 2883.359 100.00% Conn: 1 Mbps: 2883.359 Peak Mbps: 2892.768 Avg Mbps: 2883.359 4001 360448000 2883.584 100.00% Conn: 1 Mbps: 2883.584 Peak Mbps: 2892.768 Avg Mbps: 2883.584 5001 360185856 2881.487 100.00% Conn: 1 Mbps: 2881.487 Peak Mbps: 2892.768 Avg Mbps: 2881.487 --- fc00:0:0:1::12 tcpbench statistics --- 2154121580 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2818.750/2871.990/2892.768/26.908 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.060 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.060/0.060/0.060/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 746976744 5975.814 100.00% Conn: 1 Mbps: 5975.814 Peak Mbps: 5975.814 Avg Mbps: 5975.814 2001 784253004 6274.024 100.00% Conn: 1 Mbps: 6274.024 Peak Mbps: 6274.024 Avg Mbps: 6274.024 3001 784135784 6273.086 100.00% Conn: 1 Mbps: 6273.086 Peak Mbps: 6274.024 Avg Mbps: 6273.086 4001 787090440 6296.724 100.00% Conn: 1 Mbps: 6296.724 Peak Mbps: 6296.724 Avg Mbps: 6296.724 5001 792876164 6343.009 100.00% Conn: 1 Mbps: 6343.009 Peak Mbps: 6343.009 Avg Mbps: 6343.009 --- 169.254.0.13 tcpbench statistics --- 4690219424 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5975.814/6232.531/6343.009/130.840 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 658129664 5265.037 100.00% Conn: 1 Mbps: 5265.037 Peak Mbps: 5265.037 Avg Mbps: 5265.037 2001 693913984 5551.312 100.00% Conn: 1 Mbps: 5551.312 Peak Mbps: 5551.312 Avg Mbps: 5551.312 3001 698302400 5586.419 100.00% Conn: 1 Mbps: 5586.419 Peak Mbps: 5586.419 Avg Mbps: 5586.419 4001 696179904 5569.439 100.00% Conn: 1 Mbps: 5569.439 Peak Mbps: 5586.419 Avg Mbps: 5569.439 5001 690718552 5525.748 100.00% Conn: 1 Mbps: 5525.748 Peak Mbps: 5586.419 Avg Mbps: 5525.748 --- fc00::13 tcpbench statistics --- 4135893136 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5265.037/5499.591/5586.419/118.990 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.044 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.044/0.044/0.044/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 363514776 2908.118 100.00% Conn: 1 Mbps: 2908.118 Peak Mbps: 2908.118 Avg Mbps: 2908.118 2001 372768768 2982.150 100.00% Conn: 1 Mbps: 2982.150 Peak Mbps: 2982.150 Avg Mbps: 2982.150 3001 376176640 3009.413 100.00% Conn: 1 Mbps: 3009.413 Peak Mbps: 3009.413 Avg Mbps: 3009.413 4001 370671616 2965.373 100.00% Conn: 1 Mbps: 2965.373 Peak Mbps: 3009.413 Avg Mbps: 2965.373 5001 372768768 2982.150 100.00% Conn: 1 Mbps: 2982.150 Peak Mbps: 3009.413 Avg Mbps: 2982.150 --- 169.254.1.11 tcpbench statistics --- 2226336640 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2908.118/2969.441/3009.413/33.758 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 354378728 2832.198 100.00% Conn: 1 Mbps: 2832.198 Peak Mbps: 2832.198 Avg Mbps: 2832.198 2001 359923712 2879.390 100.00% Conn: 1 Mbps: 2879.390 Peak Mbps: 2879.390 Avg Mbps: 2879.390 3002 364380160 2915.041 100.00% Conn: 1 Mbps: 2915.041 Peak Mbps: 2915.041 Avg Mbps: 2915.041 4002 368050176 2944.401 100.00% Conn: 1 Mbps: 2944.401 Peak Mbps: 2944.401 Avg Mbps: 2944.401 5002 360448000 2883.584 100.00% Conn: 1 Mbps: 2883.584 Peak Mbps: 2944.401 Avg Mbps: 2883.584 --- fc00:0:0:1::11 tcpbench statistics --- 2168011056 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2832.198/2890.923/2944.401/37.622 Mbps ==== run-ping-2-2 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.035 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.035/0.035/0.035/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.040 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-tcpbench-2-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 849638616 6797.109 100.00% Conn: 1 Mbps: 6797.109 Peak Mbps: 6797.109 Avg Mbps: 6797.109 2000 847219008 6784.537 100.00% Conn: 1 Mbps: 6784.537 Peak Mbps: 6797.109 Avg Mbps: 6784.537 3000 846610848 6772.887 100.00% Conn: 1 Mbps: 6772.887 Peak Mbps: 6797.109 Avg Mbps: 6772.887 4000 848381752 6787.054 100.00% Conn: 1 Mbps: 6787.054 Peak Mbps: 6797.109 Avg Mbps: 6787.054 5000 845837616 6766.701 100.00% Conn: 1 Mbps: 6766.701 Peak Mbps: 6797.109 Avg Mbps: 6766.701 --- 169.254.1.12 tcpbench statistics --- 5085019792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6766.701/6781.657/6797.109/10.740 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 866446140 6931.569 100.00% Conn: 1 Mbps: 6931.569 Peak Mbps: 6931.569 Avg Mbps: 6931.569 2000 868238280 6952.859 100.00% Conn: 1 Mbps: 6952.859 Peak Mbps: 6952.859 Avg Mbps: 6952.859 3000 863273124 6906.185 100.00% Conn: 1 Mbps: 6906.185 Peak Mbps: 6952.859 Avg Mbps: 6906.185 4000 865353720 6922.830 100.00% Conn: 1 Mbps: 6922.830 Peak Mbps: 6952.859 Avg Mbps: 6922.830 5000 861339612 6890.717 100.00% Conn: 1 Mbps: 6890.717 Peak Mbps: 6952.859 Avg Mbps: 6890.717 --- fc00:0:0:1::12 tcpbench statistics --- 5190430140 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6890.717/6920.832/6952.859/21.291 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.039 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.039/0.039/0.039/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 1251038442 10008.308 100.00% Conn: 1 Mbps: 10008.308 Peak Mbps: 10008.308 Avg Mbps: 10008.308 2000 1259435136 10085.567 100.00% Conn: 1 Mbps: 10085.567 Peak Mbps: 10085.567 Avg Mbps: 10085.567 3000 1259042544 10072.340 100.00% Conn: 1 Mbps: 10072.340 Peak Mbps: 10085.567 Avg Mbps: 10072.340 4000 1260531122 10084.249 100.00% Conn: 1 Mbps: 10084.249 Peak Mbps: 10085.567 Avg Mbps: 10084.249 5000 1261038220 10088.306 100.00% Conn: 1 Mbps: 10088.306 Peak Mbps: 10088.306 Avg Mbps: 10088.306 --- 169.254.0.13 tcpbench statistics --- 7548573998 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10008.308/10067.754/10088.306/30.221 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 1241052260 9928.418 100.00% Conn: 1 Mbps: 9928.418 Peak Mbps: 9928.418 Avg Mbps: 9928.418 2000 1246763872 9984.095 100.00% Conn: 1 Mbps: 9984.095 Peak Mbps: 9984.095 Avg Mbps: 9984.095 3000 1249412248 9995.298 100.00% Conn: 1 Mbps: 9995.298 Peak Mbps: 9995.298 Avg Mbps: 9995.298 4000 1248921808 9991.374 100.00% Conn: 1 Mbps: 9991.374 Peak Mbps: 9995.298 Avg Mbps: 9991.374 5000 1249739208 9997.914 100.00% Conn: 1 Mbps: 9997.914 Peak Mbps: 9997.914 Avg Mbps: 9997.914 --- fc00::13 tcpbench statistics --- 7486903748 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9928.418/9979.420/9997.914/25.923 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 363918680 2908.441 100.00% Conn: 1 Mbps: 2908.441 Peak Mbps: 2908.441 Avg Mbps: 2908.441 2001 368836608 2953.647 100.00% Conn: 1 Mbps: 2953.647 Peak Mbps: 2953.647 Avg Mbps: 2953.647 3001 367525888 2940.207 100.00% Conn: 1 Mbps: 2940.207 Peak Mbps: 2953.647 Avg Mbps: 2940.207 4002 367788032 2942.304 100.00% Conn: 1 Mbps: 2942.304 Peak Mbps: 2953.647 Avg Mbps: 2942.304 5002 367788032 2942.304 100.00% Conn: 1 Mbps: 2942.304 Peak Mbps: 2953.647 Avg Mbps: 2942.304 --- 169.254.1.11 tcpbench statistics --- 2204895336 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2908.441/2937.381/2953.647/15.222 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 805610496 6444.884 100.00% Conn: 1 Mbps: 6444.884 Peak Mbps: 6444.884 Avg Mbps: 6444.884 2000 859832320 6878.659 100.00% Conn: 1 Mbps: 6878.659 Peak Mbps: 6878.659 Avg Mbps: 6878.659 3000 838071008 6711.279 100.00% Conn: 1 Mbps: 6711.279 Peak Mbps: 6878.659 Avg Mbps: 6711.279 4001 846725120 6773.801 100.00% Conn: 1 Mbps: 6773.801 Peak Mbps: 6878.659 Avg Mbps: 6773.801 5001 855113728 6840.910 100.00% Conn: 1 Mbps: 6840.910 Peak Mbps: 6878.659 Avg Mbps: 6840.910 --- fc00:0:0:1::11 tcpbench statistics --- 5054961376 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6444.884/6729.907/6878.659/153.597 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.045 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.045/0.045/0.045/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 1242638610 9941.109 100.00% Conn: 1 Mbps: 9941.109 Peak Mbps: 9941.109 Avg Mbps: 9941.109 2000 1249653052 10007.232 100.00% Conn: 1 Mbps: 10007.232 Peak Mbps: 10007.232 Avg Mbps: 10007.232 3000 1250323730 10002.590 100.00% Conn: 1 Mbps: 10002.590 Peak Mbps: 10007.232 Avg Mbps: 10002.590 4000 1250094718 10000.758 100.00% Conn: 1 Mbps: 10000.758 Peak Mbps: 10007.232 Avg Mbps: 10000.758 5000 1249391324 9995.131 100.00% Conn: 1 Mbps: 9995.131 Peak Mbps: 10007.232 Avg Mbps: 9995.131 --- 169.254.1.12 tcpbench statistics --- 7491689054 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9941.109/9989.364/10007.232/24.437 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 1247080820 9976.647 100.00% Conn: 1 Mbps: 9976.647 Peak Mbps: 9976.647 Avg Mbps: 9976.647 2000 1253106896 10034.890 100.00% Conn: 1 Mbps: 10034.890 Peak Mbps: 10034.890 Avg Mbps: 10034.890 3000 1254120472 10032.964 100.00% Conn: 1 Mbps: 10032.964 Peak Mbps: 10034.890 Avg Mbps: 10032.964 4000 1252649152 10021.193 100.00% Conn: 1 Mbps: 10021.193 Peak Mbps: 10034.890 Avg Mbps: 10021.193 5000 1254087776 10032.702 100.00% Conn: 1 Mbps: 10032.702 Peak Mbps: 10034.890 Avg Mbps: 10032.702 --- fc00:0:0:1::12 tcpbench statistics --- 7513955836 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9976.647/10019.679/10034.890/22.052 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.035 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.035/0.035/0.035/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 1261308314 10090.467 100.00% Conn: 1 Mbps: 10090.467 Peak Mbps: 10090.467 Avg Mbps: 10090.467 2000 1268203024 10155.780 100.00% Conn: 1 Mbps: 10155.780 Peak Mbps: 10155.780 Avg Mbps: 10155.780 3000 1261725256 10093.802 100.00% Conn: 1 Mbps: 10093.802 Peak Mbps: 10155.780 Avg Mbps: 10093.802 4000 1265078646 10120.629 100.00% Conn: 1 Mbps: 10120.629 Peak Mbps: 10155.780 Avg Mbps: 10120.629 5000 1267483272 10139.866 100.00% Conn: 1 Mbps: 10139.866 Peak Mbps: 10155.780 Avg Mbps: 10139.866 --- 169.254.0.13 tcpbench statistics --- 7589662342 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10090.467/10120.109/10155.780/25.431 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 1284280476 10274.244 100.00% Conn: 1 Mbps: 10274.244 Peak Mbps: 10274.244 Avg Mbps: 10274.244 2000 1289105192 10323.165 100.00% Conn: 1 Mbps: 10323.165 Peak Mbps: 10323.165 Avg Mbps: 10323.165 3000 1287797352 10302.379 100.00% Conn: 1 Mbps: 10302.379 Peak Mbps: 10323.165 Avg Mbps: 10302.379 4000 1288909016 10311.272 100.00% Conn: 1 Mbps: 10311.272 Peak Mbps: 10323.165 Avg Mbps: 10311.272 5000 1289889896 10319.119 100.00% Conn: 1 Mbps: 10319.119 Peak Mbps: 10323.165 Avg Mbps: 10319.119 --- fc00::13 tcpbench statistics --- 7728890948 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10274.244/10306.036/10323.165/17.413 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.83s