START sys/net/pair 2025-01-22T04:52:45Z ==== 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.048 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.048/0.048/0.048/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.046 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.046/0.046/0.046/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 498323704 3986.590 100.00% Conn: 1 Mbps: 3986.590 Peak Mbps: 3986.590 Avg Mbps: 3986.590 2000 497973992 3987.780 100.00% Conn: 1 Mbps: 3987.780 Peak Mbps: 3987.780 Avg Mbps: 3987.780 3000 497767344 3986.125 100.00% Conn: 1 Mbps: 3986.125 Peak Mbps: 3987.780 Avg Mbps: 3986.125 4000 497973992 3983.792 100.00% Conn: 1 Mbps: 3983.792 Peak Mbps: 3987.780 Avg Mbps: 3983.792 5000 497775292 3982.202 100.00% Conn: 1 Mbps: 3982.202 Peak Mbps: 3987.780 Avg Mbps: 3982.202 --- 169.254.1.11 tcpbench statistics --- 2987263748 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3982.202/3985.298/3987.780/2.018 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 491210952 3929.688 100.00% Conn: 1 Mbps: 3929.688 Peak Mbps: 3929.688 Avg Mbps: 3929.688 2000 490196168 3925.495 100.00% Conn: 1 Mbps: 3925.495 Peak Mbps: 3929.688 Avg Mbps: 3925.495 3000 490370584 3922.965 100.00% Conn: 1 Mbps: 3922.965 Peak Mbps: 3929.688 Avg Mbps: 3922.965 4000 490148600 3921.189 100.00% Conn: 1 Mbps: 3921.189 Peak Mbps: 3929.688 Avg Mbps: 3921.189 5000 489783912 3918.271 100.00% Conn: 1 Mbps: 3918.271 Peak Mbps: 3929.688 Avg Mbps: 3918.271 --- fc00:0:0:1::11 tcpbench statistics --- 2941438632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3918.271/3923.521/3929.688/3.879 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.086 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.086/0.086/0.086/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.136 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.136/0.136/0.136/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 267498616 2137.851 100.00% Conn: 1 Mbps: 2137.851 Peak Mbps: 2137.851 Avg Mbps: 2137.851 2000 279981096 2242.091 100.00% Conn: 1 Mbps: 2242.091 Peak Mbps: 2242.091 Avg Mbps: 2242.091 3001 281010344 2248.083 100.00% Conn: 1 Mbps: 2248.083 Peak Mbps: 2248.083 Avg Mbps: 2248.083 4002 281880488 2255.044 100.00% Conn: 1 Mbps: 2255.044 Peak Mbps: 2255.044 Avg Mbps: 2255.044 5002 279992912 2239.943 100.00% Conn: 1 Mbps: 2239.943 Peak Mbps: 2255.044 Avg Mbps: 2239.943 --- 169.254.1.12 tcpbench statistics --- 1671626688 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2137.851/2224.602/2255.044/43.692 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 254291728 2032.302 100.00% Conn: 1 Mbps: 2032.302 Peak Mbps: 2032.302 Avg Mbps: 2032.302 2000 265921232 2131.633 100.00% Conn: 1 Mbps: 2131.633 Peak Mbps: 2131.633 Avg Mbps: 2131.633 3000 270054616 2160.437 100.00% Conn: 1 Mbps: 2160.437 Peak Mbps: 2160.437 Avg Mbps: 2160.437 4002 270739264 2163.750 100.00% Conn: 1 Mbps: 2163.750 Peak Mbps: 2163.750 Avg Mbps: 2163.750 5002 272487800 2179.902 100.00% Conn: 1 Mbps: 2179.902 Peak Mbps: 2179.902 Avg Mbps: 2179.902 --- fc00:0:0:1::12 tcpbench statistics --- 1605062384 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2032.302/2133.605/2179.902/52.988 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.064 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.064/0.064/0.064/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.073 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.073/0.073/0.073/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 599128436 4793.027 100.00% Conn: 1 Mbps: 4793.027 Peak Mbps: 4793.027 Avg Mbps: 4793.027 2000 611431800 4891.454 100.00% Conn: 1 Mbps: 4891.454 Peak Mbps: 4891.454 Avg Mbps: 4891.454 3000 603246340 4830.802 100.00% Conn: 1 Mbps: 4830.802 Peak Mbps: 4891.454 Avg Mbps: 4830.802 4000 593097864 4744.783 100.00% Conn: 1 Mbps: 4744.783 Peak Mbps: 4891.454 Avg Mbps: 4744.783 5000 577655040 4621.240 100.00% Conn: 1 Mbps: 4621.240 Peak Mbps: 4891.454 Avg Mbps: 4621.240 --- 169.254.0.13 tcpbench statistics --- 3530028760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4621.240/4776.261/4891.454/91.157 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 541704784 4333.638 100.00% Conn: 1 Mbps: 4333.638 Peak Mbps: 4333.638 Avg Mbps: 4333.638 2000 571679648 4573.437 100.00% Conn: 1 Mbps: 4573.437 Peak Mbps: 4573.437 Avg Mbps: 4573.437 3000 573820464 4590.564 100.00% Conn: 1 Mbps: 4590.564 Peak Mbps: 4590.564 Avg Mbps: 4590.564 4002 572751872 4577.438 100.00% Conn: 1 Mbps: 4577.438 Peak Mbps: 4590.564 Avg Mbps: 4577.438 5002 577296312 4618.370 100.00% Conn: 1 Mbps: 4618.370 Peak Mbps: 4618.370 Avg Mbps: 4618.370 --- fc00::13 tcpbench statistics --- 3410887432 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4333.638/4538.689/4618.370/103.725 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.058 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.058/0.058/0.058/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.055 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.055/0.055/0.055/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 265335976 2120.567 100.00% Conn: 1 Mbps: 2120.567 Peak Mbps: 2120.567 Avg Mbps: 2120.567 2002 279551712 2234.180 100.00% Conn: 1 Mbps: 2234.180 Peak Mbps: 2234.180 Avg Mbps: 2234.180 3003 280039136 2240.313 100.00% Conn: 1 Mbps: 2240.313 Peak Mbps: 2240.313 Avg Mbps: 2240.313 4003 278647664 2231.413 100.00% Conn: 1 Mbps: 2231.413 Peak Mbps: 2240.313 Avg Mbps: 2231.413 5004 280302992 2240.184 100.00% Conn: 1 Mbps: 2240.184 Peak Mbps: 2240.313 Avg Mbps: 2240.184 --- 169.254.1.11 tcpbench statistics --- 1663265232 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2120.567/2213.331/2240.313/46.510 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 251297736 2010.382 100.00% Conn: 1 Mbps: 2010.382 Peak Mbps: 2010.382 Avg Mbps: 2010.382 2001 263898916 2111.191 100.00% Conn: 1 Mbps: 2111.191 Peak Mbps: 2111.191 Avg Mbps: 2111.191 3002 266398200 2129.057 100.00% Conn: 1 Mbps: 2129.057 Peak Mbps: 2129.057 Avg Mbps: 2129.057 4002 267071256 2136.570 100.00% Conn: 1 Mbps: 2136.570 Peak Mbps: 2136.570 Avg Mbps: 2136.570 5004 269429392 2153.282 100.00% Conn: 1 Mbps: 2153.282 Peak Mbps: 2153.282 Avg Mbps: 2153.282 --- fc00:0:0:1::11 tcpbench statistics --- 1586543248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2010.382/2108.096/2153.282/50.694 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.051 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.051/0.051/0.051/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.060 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.060/0.060/0.060/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 503361000 4026.888 100.00% Conn: 1 Mbps: 4026.888 Peak Mbps: 4026.888 Avg Mbps: 4026.888 2000 503334936 4030.710 100.00% Conn: 1 Mbps: 4030.710 Peak Mbps: 4030.710 Avg Mbps: 4030.710 3000 503185792 4025.486 100.00% Conn: 1 Mbps: 4025.486 Peak Mbps: 4030.710 Avg Mbps: 4025.486 4000 503103256 4024.826 100.00% Conn: 1 Mbps: 4024.826 Peak Mbps: 4030.710 Avg Mbps: 4024.826 5000 503528968 4028.232 100.00% Conn: 1 Mbps: 4028.232 Peak Mbps: 4030.710 Avg Mbps: 4028.232 --- 169.254.1.12 tcpbench statistics --- 3019388424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4024.826/4027.228/4030.710/2.100 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 494809140 3958.473 100.00% Conn: 1 Mbps: 3958.473 Peak Mbps: 3958.473 Avg Mbps: 3958.473 2000 494550672 3960.366 100.00% Conn: 1 Mbps: 3960.366 Peak Mbps: 3960.366 Avg Mbps: 3960.366 3000 493895220 3951.162 100.00% Conn: 1 Mbps: 3951.162 Peak Mbps: 3960.366 Avg Mbps: 3951.162 4000 494436432 3955.491 100.00% Conn: 1 Mbps: 3955.491 Peak Mbps: 3960.366 Avg Mbps: 3955.491 5000 493619616 3948.957 100.00% Conn: 1 Mbps: 3948.957 Peak Mbps: 3960.366 Avg Mbps: 3948.957 --- fc00:0:0:1::12 tcpbench statistics --- 2964469452 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3948.957/3954.890/3960.366/4.296 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.046 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.046/0.046/0.046/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.062 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/0.000 ms ==== run-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 754764634 6038.117 100.00% Conn: 1 Mbps: 6038.117 Peak Mbps: 6038.117 Avg Mbps: 6038.117 2000 757997004 6070.046 100.00% Conn: 1 Mbps: 6070.046 Peak Mbps: 6070.046 Avg Mbps: 6070.046 3000 757522622 6060.181 100.00% Conn: 1 Mbps: 6060.181 Peak Mbps: 6070.046 Avg Mbps: 6060.181 4000 754332812 6034.662 100.00% Conn: 1 Mbps: 6034.662 Peak Mbps: 6070.046 Avg Mbps: 6034.662 5000 756655648 6053.245 100.00% Conn: 1 Mbps: 6053.245 Peak Mbps: 6070.046 Avg Mbps: 6053.245 --- 169.254.0.13 tcpbench statistics --- 4537568492 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6034.662/6051.250/6070.046/13.302 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 728450892 5827.607 100.00% Conn: 1 Mbps: 5827.607 Peak Mbps: 5827.607 Avg Mbps: 5827.607 2000 726799384 5820.215 100.00% Conn: 1 Mbps: 5820.215 Peak Mbps: 5827.607 Avg Mbps: 5820.215 3000 728401488 5827.212 100.00% Conn: 1 Mbps: 5827.212 Peak Mbps: 5827.607 Avg Mbps: 5827.212 4000 730003592 5840.029 100.00% Conn: 1 Mbps: 5840.029 Peak Mbps: 5840.029 Avg Mbps: 5840.029 5000 730722904 5845.783 100.00% Conn: 1 Mbps: 5845.783 Peak Mbps: 5845.783 Avg Mbps: 5845.783 --- fc00::13 tcpbench statistics --- 4373826020 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5820.215/5832.169/5845.783/9.332 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.053 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.053/0.053/0.053/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.060 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.060/0.060/0.060/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 264732768 2115.746 100.00% Conn: 1 Mbps: 2115.746 Peak Mbps: 2115.746 Avg Mbps: 2115.746 2003 273283768 2184.086 100.00% Conn: 1 Mbps: 2184.086 Peak Mbps: 2184.086 Avg Mbps: 2184.086 3003 275154640 2201.237 100.00% Conn: 1 Mbps: 2201.237 Peak Mbps: 2201.237 Avg Mbps: 2201.237 4005 276791144 2212.117 100.00% Conn: 1 Mbps: 2212.117 Peak Mbps: 2212.117 Avg Mbps: 2212.117 5005 275851464 2206.812 100.00% Conn: 1 Mbps: 2206.812 Peak Mbps: 2212.117 Avg Mbps: 2206.812 --- 169.254.1.11 tcpbench statistics --- 1638737600 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2115.746/2184.000/2212.117/35.402 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 525344000 4202.752 100.00% Conn: 1 Mbps: 4202.752 Peak Mbps: 4202.752 Avg Mbps: 4202.752 2000 576447560 4611.580 100.00% Conn: 1 Mbps: 4611.580 Peak Mbps: 4611.580 Avg Mbps: 4611.580 3001 580278648 4642.229 100.00% Conn: 1 Mbps: 4642.229 Peak Mbps: 4642.229 Avg Mbps: 4642.229 4001 578368112 4631.576 100.00% Conn: 1 Mbps: 4631.576 Peak Mbps: 4642.229 Avg Mbps: 4631.576 5001 575570208 4604.562 100.00% Conn: 1 Mbps: 4604.562 Peak Mbps: 4642.229 Avg Mbps: 4604.562 --- fc00:0:0:1::11 tcpbench statistics --- 3415806880 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4202.752/4538.540/4642.229/168.437 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.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-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.051 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.051/0.051/0.051/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 755217394 6041.739 100.00% Conn: 1 Mbps: 6041.739 Peak Mbps: 6041.739 Avg Mbps: 6041.739 2000 754888984 6045.157 100.00% Conn: 1 Mbps: 6045.157 Peak Mbps: 6045.157 Avg Mbps: 6045.157 3000 754038368 6032.307 100.00% Conn: 1 Mbps: 6032.307 Peak Mbps: 6045.157 Avg Mbps: 6032.307 4000 753972936 6031.783 100.00% Conn: 1 Mbps: 6031.783 Peak Mbps: 6045.157 Avg Mbps: 6031.783 5000 753809356 6030.475 100.00% Conn: 1 Mbps: 6030.475 Peak Mbps: 6045.157 Avg Mbps: 6030.475 --- 169.254.1.12 tcpbench statistics --- 4526030838 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6030.475/6036.292/6045.157/5.972 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 728469292 5827.754 100.00% Conn: 1 Mbps: 5827.754 Peak Mbps: 5827.754 Avg Mbps: 5827.754 2000 727191736 5823.357 100.00% Conn: 1 Mbps: 5823.357 Peak Mbps: 5827.754 Avg Mbps: 5823.357 3000 727812960 5822.504 100.00% Conn: 1 Mbps: 5822.504 Peak Mbps: 5827.754 Avg Mbps: 5822.504 4000 721110280 5768.882 100.00% Conn: 1 Mbps: 5768.882 Peak Mbps: 5827.754 Avg Mbps: 5768.882 5000 724020224 5792.162 100.00% Conn: 1 Mbps: 5792.162 Peak Mbps: 5827.754 Avg Mbps: 5792.162 --- fc00:0:0:1::12 tcpbench statistics --- 4355109612 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5768.882/5806.932/5827.754/22.855 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.052 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.052/0.052/0.052/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.046 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/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 762867690 6102.942 100.00% Conn: 1 Mbps: 6102.942 Peak Mbps: 6102.942 Avg Mbps: 6102.942 2000 760712432 6091.791 100.00% Conn: 1 Mbps: 6091.791 Peak Mbps: 6102.942 Avg Mbps: 6091.791 3000 760319840 6082.559 100.00% Conn: 1 Mbps: 6082.559 Peak Mbps: 6102.942 Avg Mbps: 6082.559 4000 761959788 6095.678 100.00% Conn: 1 Mbps: 6095.678 Peak Mbps: 6102.942 Avg Mbps: 6095.678 5000 761628480 6093.028 100.00% Conn: 1 Mbps: 6093.028 Peak Mbps: 6102.942 Avg Mbps: 6093.028 --- 169.254.0.13 tcpbench statistics --- 4570261770 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6082.559/6093.200/6102.942/6.577 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 763200004 6105.600 100.00% Conn: 1 Mbps: 6105.600 Peak Mbps: 6105.600 Avg Mbps: 6105.600 2000 763843952 6116.868 100.00% Conn: 1 Mbps: 6116.868 Peak Mbps: 6116.868 Avg Mbps: 6116.868 3000 763141564 6105.133 100.00% Conn: 1 Mbps: 6105.133 Peak Mbps: 6116.868 Avg Mbps: 6105.133 4000 762830376 6102.643 100.00% Conn: 1 Mbps: 6102.643 Peak Mbps: 6116.868 Avg Mbps: 6102.643 5000 761686016 6093.488 100.00% Conn: 1 Mbps: 6093.488 Peak Mbps: 6116.868 Avg Mbps: 6093.488 --- fc00::13 tcpbench statistics --- 4576322536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6093.488/6104.746/6116.868/7.470 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 1m52.86s