START sys/net/pair 2024-10-25T08:38:31Z ==== 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.171 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.171/0.171/0.171/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.221 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.221/0.221/0.221/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 202038160 1616.305 100.00% Conn: 1 Mbps: 1616.305 Peak Mbps: 1616.305 Avg Mbps: 1616.305 2000 198898700 1592.782 100.00% Conn: 1 Mbps: 1592.782 Peak Mbps: 1616.305 Avg Mbps: 1592.782 3000 200089500 1600.716 100.00% Conn: 1 Mbps: 1600.716 Peak Mbps: 1616.305 Avg Mbps: 1600.716 4000 199765032 1598.120 100.00% Conn: 1 Mbps: 1598.120 Peak Mbps: 1616.305 Avg Mbps: 1598.120 5000 200130640 1601.045 100.00% Conn: 1 Mbps: 1601.045 Peak Mbps: 1616.305 Avg Mbps: 1601.045 --- 169.254.1.11 tcpbench statistics --- 1200337352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1592.782/1601.794/1616.305/7.836 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 202528688 1620.230 100.00% Conn: 1 Mbps: 1620.230 Peak Mbps: 1620.230 Avg Mbps: 1620.230 2000 201846880 1616.391 100.00% Conn: 1 Mbps: 1616.391 Peak Mbps: 1620.230 Avg Mbps: 1616.391 3000 200840024 1606.720 100.00% Conn: 1 Mbps: 1606.720 Peak Mbps: 1620.230 Avg Mbps: 1606.720 4000 201355344 1612.455 100.00% Conn: 1 Mbps: 1612.455 Peak Mbps: 1620.230 Avg Mbps: 1612.455 5000 201196784 1609.574 100.00% Conn: 1 Mbps: 1609.574 Peak Mbps: 1620.230 Avg Mbps: 1609.574 --- fc00:0:0:1::11 tcpbench statistics --- 1207489896 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1606.720/1613.074/1620.230/4.800 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.257 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.257/0.257/0.257/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.455 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.455/0.455/0.455/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 85791104 686.329 100.00% Conn: 1 Mbps: 686.329 Peak Mbps: 686.329 Avg Mbps: 686.329 2001 85408888 683.271 100.00% Conn: 1 Mbps: 683.271 Peak Mbps: 686.329 Avg Mbps: 683.271 3002 85944592 686.870 100.00% Conn: 1 Mbps: 686.870 Peak Mbps: 686.870 Avg Mbps: 686.870 4004 85891016 685.757 100.00% Conn: 1 Mbps: 685.757 Peak Mbps: 686.870 Avg Mbps: 685.757 5003 84689176 678.871 100.00% Conn: 1 Mbps: 678.871 Peak Mbps: 686.870 Avg Mbps: 678.871 --- 169.254.1.12 tcpbench statistics --- 512864280 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 678.871/684.220/686.870/2.944 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 1003 81495960 650.018 100.00% Conn: 1 Mbps: 650.018 Peak Mbps: 650.018 Avg Mbps: 650.018 2002 80887632 647.749 100.00% Conn: 1 Mbps: 647.749 Peak Mbps: 650.018 Avg Mbps: 647.749 3002 80659152 645.919 100.00% Conn: 1 Mbps: 645.919 Peak Mbps: 650.018 Avg Mbps: 645.919 4002 81331740 650.654 100.00% Conn: 1 Mbps: 650.654 Peak Mbps: 650.654 Avg Mbps: 650.654 5004 81555936 651.145 100.00% Conn: 1 Mbps: 651.145 Peak Mbps: 651.145 Avg Mbps: 651.145 --- fc00:0:0:1::12 tcpbench statistics --- 486865176 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 645.919/649.097/651.145/1.969 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.221 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.221/0.221/0.221/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.290 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.290/0.290/0.290/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 113553076 908.425 100.00% Conn: 1 Mbps: 908.425 Peak Mbps: 908.425 Avg Mbps: 908.425 2000 112519836 900.159 100.00% Conn: 1 Mbps: 900.159 Peak Mbps: 908.425 Avg Mbps: 900.159 3000 113926632 911.413 100.00% Conn: 1 Mbps: 911.413 Peak Mbps: 911.413 Avg Mbps: 911.413 4000 113672296 910.289 100.00% Conn: 1 Mbps: 910.289 Peak Mbps: 911.413 Avg Mbps: 910.289 5000 114800912 918.407 100.00% Conn: 1 Mbps: 918.407 Peak Mbps: 918.407 Avg Mbps: 918.407 --- 169.254.0.13 tcpbench statistics --- 683249820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 900.159/909.738/918.407/5.861 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 103198776 825.590 100.00% Conn: 1 Mbps: 825.590 Peak Mbps: 825.590 Avg Mbps: 825.590 2000 102707240 822.480 100.00% Conn: 1 Mbps: 822.480 Peak Mbps: 825.590 Avg Mbps: 822.480 3000 103507968 828.064 100.00% Conn: 1 Mbps: 828.064 Peak Mbps: 828.064 Avg Mbps: 828.064 4000 103095712 825.591 100.00% Conn: 1 Mbps: 825.591 Peak Mbps: 828.064 Avg Mbps: 825.591 5000 103135352 825.083 100.00% Conn: 1 Mbps: 825.083 Peak Mbps: 828.064 Avg Mbps: 825.083 --- fc00::13 tcpbench statistics --- 618407784 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 822.480/825.362/828.064/1.777 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.204 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.204/0.204/0.204/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.241 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.241/0.241/0.241/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 85805584 686.445 100.00% Conn: 1 Mbps: 686.445 Peak Mbps: 686.445 Avg Mbps: 686.445 2002 86596192 691.387 100.00% Conn: 1 Mbps: 691.387 Peak Mbps: 691.387 Avg Mbps: 691.387 3002 86445600 691.565 100.00% Conn: 1 Mbps: 691.565 Peak Mbps: 691.565 Avg Mbps: 691.565 4004 86448496 690.897 100.00% Conn: 1 Mbps: 690.897 Peak Mbps: 691.565 Avg Mbps: 690.897 5006 85799792 685.713 100.00% Conn: 1 Mbps: 685.713 Peak Mbps: 691.565 Avg Mbps: 685.713 --- 169.254.1.11 tcpbench statistics --- 516996816 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 685.713/689.201/691.565/2.569 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 1002 83442324 666.206 100.00% Conn: 1 Mbps: 666.206 Peak Mbps: 666.206 Avg Mbps: 666.206 2000 83345220 668.768 100.00% Conn: 1 Mbps: 668.768 Peak Mbps: 668.768 Avg Mbps: 668.768 3002 83375208 666.335 100.00% Conn: 1 Mbps: 666.335 Peak Mbps: 668.768 Avg Mbps: 666.335 4003 82179972 657.440 100.00% Conn: 1 Mbps: 657.440 Peak Mbps: 668.768 Avg Mbps: 657.440 5004 83468028 667.077 100.00% Conn: 1 Mbps: 667.077 Peak Mbps: 668.768 Avg Mbps: 667.077 --- fc00:0:0:1::11 tcpbench statistics --- 499016028 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 657.440/665.165/668.768/3.969 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.174 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.174/0.174/0.174/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.226 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.226/0.226/0.226/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 202013376 1616.107 100.00% Conn: 1 Mbps: 1616.107 Peak Mbps: 1616.107 Avg Mbps: 1616.107 2000 194628576 1558.587 100.00% Conn: 1 Mbps: 1558.587 Peak Mbps: 1616.107 Avg Mbps: 1558.587 3000 195837656 1566.701 100.00% Conn: 1 Mbps: 1566.701 Peak Mbps: 1616.107 Avg Mbps: 1566.701 4000 195856480 1566.852 100.00% Conn: 1 Mbps: 1566.852 Peak Mbps: 1616.107 Avg Mbps: 1566.852 5000 195769600 1566.157 100.00% Conn: 1 Mbps: 1566.157 Peak Mbps: 1616.107 Avg Mbps: 1566.157 --- 169.254.1.12 tcpbench statistics --- 1179600168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1558.587/1574.881/1616.107/20.845 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 195945876 1567.567 100.00% Conn: 1 Mbps: 1567.567 Peak Mbps: 1567.567 Avg Mbps: 1567.567 2000 194840604 1560.285 100.00% Conn: 1 Mbps: 1560.285 Peak Mbps: 1567.567 Avg Mbps: 1560.285 3000 193755324 1550.043 100.00% Conn: 1 Mbps: 1550.043 Peak Mbps: 1567.567 Avg Mbps: 1550.043 4000 194217996 1553.744 100.00% Conn: 1 Mbps: 1553.744 Peak Mbps: 1567.567 Avg Mbps: 1553.744 5000 194789196 1558.314 100.00% Conn: 1 Mbps: 1558.314 Peak Mbps: 1567.567 Avg Mbps: 1558.314 --- fc00:0:0:1::12 tcpbench statistics --- 1167092976 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1550.043/1557.990/1567.567/5.971 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.197 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.197/0.197/0.197/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.221 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.221/0.221/0.221/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 333786176 2670.289 100.00% Conn: 1 Mbps: 2670.289 Peak Mbps: 2670.289 Avg Mbps: 2670.289 2000 330529748 2646.885 100.00% Conn: 1 Mbps: 2646.885 Peak Mbps: 2670.289 Avg Mbps: 2646.885 3000 331478512 2651.828 100.00% Conn: 1 Mbps: 2651.828 Peak Mbps: 2670.289 Avg Mbps: 2651.828 4000 330513390 2644.107 100.00% Conn: 1 Mbps: 2644.107 Peak Mbps: 2670.289 Avg Mbps: 2644.107 5000 327389012 2619.112 100.00% Conn: 1 Mbps: 2619.112 Peak Mbps: 2670.289 Avg Mbps: 2619.112 --- 169.254.0.13 tcpbench statistics --- 1982950662 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2619.112/2646.444/2670.289/16.433 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 316841056 2534.728 100.00% Conn: 1 Mbps: 2534.728 Peak Mbps: 2534.728 Avg Mbps: 2534.728 2000 317053112 2538.964 100.00% Conn: 1 Mbps: 2538.964 Peak Mbps: 2538.964 Avg Mbps: 2538.964 3000 317249288 2537.994 100.00% Conn: 1 Mbps: 2537.994 Peak Mbps: 2538.964 Avg Mbps: 2537.994 4000 313881600 2511.053 100.00% Conn: 1 Mbps: 2511.053 Peak Mbps: 2538.964 Avg Mbps: 2511.053 5000 320388104 2563.105 100.00% Conn: 1 Mbps: 2563.105 Peak Mbps: 2563.105 Avg Mbps: 2563.105 --- fc00::13 tcpbench statistics --- 1897627264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2511.053/2537.169/2563.105/16.520 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.203 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.203/0.203/0.203/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.257 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.257/0.257/0.257/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 1002 85433448 682.103 100.00% Conn: 1 Mbps: 682.103 Peak Mbps: 682.103 Avg Mbps: 682.103 2003 85555080 683.757 100.00% Conn: 1 Mbps: 683.757 Peak Mbps: 683.757 Avg Mbps: 683.757 3002 84977328 681.181 100.00% Conn: 1 Mbps: 681.181 Peak Mbps: 683.757 Avg Mbps: 681.181 4002 85277064 682.217 100.00% Conn: 1 Mbps: 682.217 Peak Mbps: 683.757 Avg Mbps: 682.217 5003 85838888 686.025 100.00% Conn: 1 Mbps: 686.025 Peak Mbps: 686.025 Avg Mbps: 686.025 --- 169.254.1.11 tcpbench statistics --- 512043208 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 681.181/683.057/686.025/1.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 1002 137137616 1094.911 100.00% Conn: 1 Mbps: 1094.911 Peak Mbps: 1094.911 Avg Mbps: 1094.911 2003 134518848 1076.151 100.00% Conn: 1 Mbps: 1076.151 Peak Mbps: 1094.911 Avg Mbps: 1076.151 3003 136099328 1088.795 100.00% Conn: 1 Mbps: 1088.795 Peak Mbps: 1094.911 Avg Mbps: 1088.795 4004 135902944 1087.224 100.00% Conn: 1 Mbps: 1087.224 Peak Mbps: 1094.911 Avg Mbps: 1087.224 5004 135502960 1084.024 100.00% Conn: 1 Mbps: 1084.024 Peak Mbps: 1094.911 Avg Mbps: 1084.024 --- fc00:0:0:1::11 tcpbench statistics --- 814782768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1076.151/1086.221/1094.911/6.154 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.168 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.168/0.168/0.168/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.223 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.223/0.223/0.223/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 323089168 2584.713 100.00% Conn: 1 Mbps: 2584.713 Peak Mbps: 2584.713 Avg Mbps: 2584.713 2000 321892712 2577.719 100.00% Conn: 1 Mbps: 2577.719 Peak Mbps: 2584.713 Avg Mbps: 2577.719 3000 323135932 2585.087 100.00% Conn: 1 Mbps: 2585.087 Peak Mbps: 2585.087 Avg Mbps: 2585.087 4000 323904758 2591.238 100.00% Conn: 1 Mbps: 2591.238 Peak Mbps: 2591.238 Avg Mbps: 2591.238 5000 319471740 2555.774 100.00% Conn: 1 Mbps: 2555.774 Peak Mbps: 2591.238 Avg Mbps: 2555.774 --- 169.254.1.12 tcpbench statistics --- 1933468824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2555.774/2578.906/2591.238/12.333 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 308014288 2464.114 100.00% Conn: 1 Mbps: 2464.114 Peak Mbps: 2464.114 Avg Mbps: 2464.114 2000 305838384 2449.156 100.00% Conn: 1 Mbps: 2449.156 Peak Mbps: 2464.114 Avg Mbps: 2449.156 3000 306067256 2448.538 100.00% Conn: 1 Mbps: 2448.538 Peak Mbps: 2464.114 Avg Mbps: 2448.538 4000 304792112 2438.337 100.00% Conn: 1 Mbps: 2438.337 Peak Mbps: 2464.114 Avg Mbps: 2438.337 5000 307571272 2460.570 100.00% Conn: 1 Mbps: 2460.570 Peak Mbps: 2464.114 Avg Mbps: 2460.570 --- fc00:0:0:1::12 tcpbench statistics --- 1837696648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2438.337/2452.143/2464.114/9.240 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.173 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.173/0.173/0.173/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.208 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.208/0.208/0.208/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 339412414 2715.299 100.00% Conn: 1 Mbps: 2715.299 Peak Mbps: 2715.299 Avg Mbps: 2715.299 2000 337694552 2704.261 100.00% Conn: 1 Mbps: 2704.261 Peak Mbps: 2715.299 Avg Mbps: 2704.261 3000 333474188 2667.794 100.00% Conn: 1 Mbps: 2667.794 Peak Mbps: 2715.299 Avg Mbps: 2667.794 4000 337203812 2697.630 100.00% Conn: 1 Mbps: 2697.630 Peak Mbps: 2715.299 Avg Mbps: 2697.630 5000 338823254 2710.586 100.00% Conn: 1 Mbps: 2710.586 Peak Mbps: 2715.299 Avg Mbps: 2710.586 --- 169.254.0.13 tcpbench statistics --- 2023681168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2667.794/2699.114/2715.299/16.753 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 351059380 2808.475 100.00% Conn: 1 Mbps: 2808.475 Peak Mbps: 2808.475 Avg Mbps: 2808.475 2000 345498632 2766.756 100.00% Conn: 1 Mbps: 2766.756 Peak Mbps: 2808.475 Avg Mbps: 2766.756 3000 347787352 2782.299 100.00% Conn: 1 Mbps: 2782.299 Peak Mbps: 2808.475 Avg Mbps: 2782.299 4000 347721960 2781.776 100.00% Conn: 1 Mbps: 2781.776 Peak Mbps: 2808.475 Avg Mbps: 2781.776 5000 348081616 2784.653 100.00% Conn: 1 Mbps: 2784.653 Peak Mbps: 2808.475 Avg Mbps: 2784.653 --- fc00::13 tcpbench statistics --- 2091173196 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2766.756/2784.792/2808.475/13.428 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 1m54.05s