START sys/net/pair 2025-02-07T23:45:01Z ==== 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.047 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.047/0.047/0.047/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 520252236 4162.018 100.00% Conn: 1 Mbps: 4162.018 Peak Mbps: 4162.018 Avg Mbps: 4162.018 2000 518559312 4152.627 100.00% Conn: 1 Mbps: 4152.627 Peak Mbps: 4162.018 Avg Mbps: 4152.627 3000 517979108 4143.833 100.00% Conn: 1 Mbps: 4143.833 Peak Mbps: 4162.018 Avg Mbps: 4143.833 4000 518122172 4144.977 100.00% Conn: 1 Mbps: 4144.977 Peak Mbps: 4162.018 Avg Mbps: 4144.977 5000 517995004 4143.960 100.00% Conn: 1 Mbps: 4143.960 Peak Mbps: 4162.018 Avg Mbps: 4143.960 --- 169.254.1.11 tcpbench statistics --- 3111022056 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4143.833/4149.483/4162.018/7.067 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 517801464 4142.412 100.00% Conn: 1 Mbps: 4142.412 Peak Mbps: 4142.412 Avg Mbps: 4142.412 2000 518316784 4150.685 100.00% Conn: 1 Mbps: 4150.685 Peak Mbps: 4150.685 Avg Mbps: 4150.685 3000 514265576 4114.125 100.00% Conn: 1 Mbps: 4114.125 Peak Mbps: 4150.685 Avg Mbps: 4114.125 4000 518713184 4149.705 100.00% Conn: 1 Mbps: 4149.705 Peak Mbps: 4150.685 Avg Mbps: 4149.705 5000 518047232 4144.378 100.00% Conn: 1 Mbps: 4144.378 Peak Mbps: 4150.685 Avg Mbps: 4144.378 --- fc00:0:0:1::11 tcpbench statistics --- 3105698864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4114.125/4140.261/4150.685/13.435 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.073 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.073/0.073/0.073/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.132 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.132/0.132/0.132/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 272728168 2181.825 100.00% Conn: 1 Mbps: 2181.825 Peak Mbps: 2181.825 Avg Mbps: 2181.825 2001 284018944 2272.152 100.00% Conn: 1 Mbps: 2272.152 Peak Mbps: 2272.152 Avg Mbps: 2272.152 3001 284183240 2273.466 100.00% Conn: 1 Mbps: 2273.466 Peak Mbps: 2273.466 Avg Mbps: 2273.466 4002 284909080 2279.273 100.00% Conn: 1 Mbps: 2279.273 Peak Mbps: 2279.273 Avg Mbps: 2279.273 5001 285754992 2288.328 100.00% Conn: 1 Mbps: 2288.328 Peak Mbps: 2288.328 Avg Mbps: 2288.328 --- 169.254.1.12 tcpbench statistics --- 1696322840 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2181.825/2259.009/2288.328/39.011 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 254290784 2034.326 100.00% Conn: 1 Mbps: 2034.326 Peak Mbps: 2034.326 Avg Mbps: 2034.326 2001 270558248 2162.304 100.00% Conn: 1 Mbps: 2162.304 Peak Mbps: 2162.304 Avg Mbps: 2162.304 3001 269630288 2159.202 100.00% Conn: 1 Mbps: 2159.202 Peak Mbps: 2162.304 Avg Mbps: 2159.202 4002 270756896 2166.055 100.00% Conn: 1 Mbps: 2166.055 Peak Mbps: 2166.055 Avg Mbps: 2166.055 5003 270954724 2165.472 100.00% Conn: 1 Mbps: 2165.472 Peak Mbps: 2166.055 Avg Mbps: 2165.472 --- fc00:0:0:1::12 tcpbench statistics --- 1609646856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2034.326/2137.472/2166.055/51.631 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.063 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.063/0.063/0.063/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.074 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.074/0.074/0.074/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 608730040 4869.840 100.00% Conn: 1 Mbps: 4869.840 Peak Mbps: 4869.840 Avg Mbps: 4869.840 2000 625888512 5007.108 100.00% Conn: 1 Mbps: 5007.108 Peak Mbps: 5007.108 Avg Mbps: 5007.108 3000 613204484 4910.546 100.00% Conn: 1 Mbps: 4910.546 Peak Mbps: 5007.108 Avg Mbps: 4910.546 4000 617704452 4941.636 100.00% Conn: 1 Mbps: 4941.636 Peak Mbps: 5007.108 Avg Mbps: 4941.636 5000 611194480 4889.556 100.00% Conn: 1 Mbps: 4889.556 Peak Mbps: 5007.108 Avg Mbps: 4889.556 --- 169.254.0.13 tcpbench statistics --- 3670258232 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4869.840/4923.737/5007.108/47.996 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 552251232 4418.010 100.00% Conn: 1 Mbps: 4418.010 Peak Mbps: 4418.010 Avg Mbps: 4418.010 2000 583287928 4666.303 100.00% Conn: 1 Mbps: 4666.303 Peak Mbps: 4666.303 Avg Mbps: 4666.303 3000 584444504 4675.556 100.00% Conn: 1 Mbps: 4675.556 Peak Mbps: 4675.556 Avg Mbps: 4675.556 4001 582858256 4662.866 100.00% Conn: 1 Mbps: 4662.866 Peak Mbps: 4675.556 Avg Mbps: 4662.866 5001 581401976 4651.216 100.00% Conn: 1 Mbps: 4651.216 Peak Mbps: 4675.556 Avg Mbps: 4651.216 --- fc00::13 tcpbench statistics --- 3465526952 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4418.010/4614.790/4675.556/98.698 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.045 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.045/0.045/0.045/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.052 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.052/0.052/0.052/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 272198472 2175.412 100.00% Conn: 1 Mbps: 2175.412 Peak Mbps: 2175.412 Avg Mbps: 2175.412 2002 283589328 2266.448 100.00% Conn: 1 Mbps: 2266.448 Peak Mbps: 2266.448 Avg Mbps: 2266.448 3003 286479040 2291.832 100.00% Conn: 1 Mbps: 2291.832 Peak Mbps: 2291.832 Avg Mbps: 2291.832 4003 286678808 2293.430 100.00% Conn: 1 Mbps: 2293.430 Peak Mbps: 2293.430 Avg Mbps: 2293.430 5004 286692784 2293.542 100.00% Conn: 1 Mbps: 2293.542 Peak Mbps: 2293.542 Avg Mbps: 2293.542 --- 169.254.1.11 tcpbench statistics --- 1701041608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2175.412/2264.133/2293.542/45.535 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 257084432 2054.621 100.00% Conn: 1 Mbps: 2054.621 Peak Mbps: 2054.621 Avg Mbps: 2054.621 2001 268637376 2151.250 100.00% Conn: 1 Mbps: 2151.250 Peak Mbps: 2151.250 Avg Mbps: 2151.250 3002 270871164 2164.805 100.00% Conn: 1 Mbps: 2164.805 Peak Mbps: 2164.805 Avg Mbps: 2164.805 4002 272457220 2179.658 100.00% Conn: 1 Mbps: 2179.658 Peak Mbps: 2179.658 Avg Mbps: 2179.658 5002 271802036 2176.593 100.00% Conn: 1 Mbps: 2176.593 Peak Mbps: 2179.658 Avg Mbps: 2176.593 --- fc00:0:0:1::11 tcpbench statistics --- 1611570568 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2054.621/2145.385/2179.658/46.472 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.046 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.046/0.046/0.046/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.048 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.048/0.048/0.048/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 526093152 4208.745 100.00% Conn: 1 Mbps: 4208.745 Peak Mbps: 4208.745 Avg Mbps: 4208.745 2000 527829304 4226.861 100.00% Conn: 1 Mbps: 4226.861 Peak Mbps: 4226.861 Avg Mbps: 4226.861 3000 527305128 4218.441 100.00% Conn: 1 Mbps: 4218.441 Peak Mbps: 4226.861 Avg Mbps: 4218.441 4000 527726496 4221.812 100.00% Conn: 1 Mbps: 4221.812 Peak Mbps: 4226.861 Avg Mbps: 4221.812 5000 527843784 4222.750 100.00% Conn: 1 Mbps: 4222.750 Peak Mbps: 4226.861 Avg Mbps: 4222.750 --- 169.254.1.12 tcpbench statistics --- 3165527824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4208.745/4219.722/4226.861/6.110 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 521881164 4175.049 100.00% Conn: 1 Mbps: 4175.049 Peak Mbps: 4175.049 Avg Mbps: 4175.049 2000 521844036 4178.931 100.00% Conn: 1 Mbps: 4178.931 Peak Mbps: 4178.931 Avg Mbps: 4178.931 3000 521666964 4173.336 100.00% Conn: 1 Mbps: 4173.336 Peak Mbps: 4178.931 Avg Mbps: 4173.336 4000 521649828 4173.199 100.00% Conn: 1 Mbps: 4173.199 Peak Mbps: 4178.931 Avg Mbps: 4173.199 5000 521158596 4169.269 100.00% Conn: 1 Mbps: 4169.269 Peak Mbps: 4178.931 Avg Mbps: 4169.269 --- fc00:0:0:1::12 tcpbench statistics --- 3128802264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4169.269/4173.957/4178.931/3.127 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.044 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.044/0.044/0.044/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.051 ms --- fc00::13 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-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 784500126 6276.001 100.00% Conn: 1 Mbps: 6276.001 Peak Mbps: 6276.001 Avg Mbps: 6276.001 2000 788095724 6311.077 100.00% Conn: 1 Mbps: 6311.077 Peak Mbps: 6311.077 Avg Mbps: 6311.077 3000 786001900 6288.015 100.00% Conn: 1 Mbps: 6288.015 Peak Mbps: 6311.077 Avg Mbps: 6288.015 4000 782763016 6262.104 100.00% Conn: 1 Mbps: 6262.104 Peak Mbps: 6311.077 Avg Mbps: 6262.104 5000 783891718 6271.134 100.00% Conn: 1 Mbps: 6271.134 Peak Mbps: 6311.077 Avg Mbps: 6271.134 --- 169.254.0.13 tcpbench statistics --- 4710305620 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6262.104/6281.666/6311.077/16.917 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 772891884 6183.135 100.00% Conn: 1 Mbps: 6183.135 Peak Mbps: 6183.135 Avg Mbps: 6183.135 2000 773685448 6195.679 100.00% Conn: 1 Mbps: 6195.679 Peak Mbps: 6195.679 Avg Mbps: 6195.679 3000 773554664 6188.437 100.00% Conn: 1 Mbps: 6188.437 Peak Mbps: 6195.679 Avg Mbps: 6188.437 4000 774372064 6194.977 100.00% Conn: 1 Mbps: 6194.977 Peak Mbps: 6195.679 Avg Mbps: 6194.977 5000 775516424 6204.131 100.00% Conn: 1 Mbps: 6204.131 Peak Mbps: 6204.131 Avg Mbps: 6204.131 --- fc00::13 tcpbench statistics --- 4645308036 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6183.135/6193.272/6204.131/7.110 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.060 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.060/0.060/0.060/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.059 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.059/0.059/0.059/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 272372288 2176.802 100.00% Conn: 1 Mbps: 2176.802 Peak Mbps: 2176.802 Avg Mbps: 2176.802 2001 281591088 2254.984 100.00% Conn: 1 Mbps: 2254.984 Peak Mbps: 2254.984 Avg Mbps: 2254.984 3001 279874600 2238.997 100.00% Conn: 1 Mbps: 2238.997 Peak Mbps: 2254.984 Avg Mbps: 2238.997 4001 280951240 2247.610 100.00% Conn: 1 Mbps: 2247.610 Peak Mbps: 2254.984 Avg Mbps: 2247.610 5001 282379024 2261.293 100.00% Conn: 1 Mbps: 2261.293 Peak Mbps: 2261.293 Avg Mbps: 2261.293 --- 169.254.1.11 tcpbench statistics --- 1675666240 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2176.802/2235.937/2261.293/30.491 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 1001 532451600 4255.357 100.00% Conn: 1 Mbps: 4255.357 Peak Mbps: 4255.357 Avg Mbps: 4255.357 2001 604081896 4837.493 100.00% Conn: 1 Mbps: 4837.493 Peak Mbps: 4837.493 Avg Mbps: 4837.493 3001 606416152 4851.329 100.00% Conn: 1 Mbps: 4851.329 Peak Mbps: 4851.329 Avg Mbps: 4851.329 4002 606480624 4851.845 100.00% Conn: 1 Mbps: 4851.845 Peak Mbps: 4851.845 Avg Mbps: 4851.845 5002 613170080 4905.361 100.00% Conn: 1 Mbps: 4905.361 Peak Mbps: 4905.361 Avg Mbps: 4905.361 --- fc00:0:0:1::11 tcpbench statistics --- 3565617712 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4255.357/4740.277/4905.361/243.569 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.049 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.049/0.049/0.049/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 793200320 6345.603 100.00% Conn: 1 Mbps: 6345.603 Peak Mbps: 6345.603 Avg Mbps: 6345.603 2000 792479668 6346.184 100.00% Conn: 1 Mbps: 6346.184 Peak Mbps: 6346.184 Avg Mbps: 6346.184 3000 792872260 6342.978 100.00% Conn: 1 Mbps: 6342.978 Peak Mbps: 6346.184 Avg Mbps: 6342.978 4000 792479668 6339.837 100.00% Conn: 1 Mbps: 6339.837 Peak Mbps: 6346.184 Avg Mbps: 6339.837 5000 792545100 6340.361 100.00% Conn: 1 Mbps: 6340.361 Peak Mbps: 6346.184 Avg Mbps: 6340.361 --- 169.254.1.12 tcpbench statistics --- 4755533228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6339.837/6342.992/6346.184/2.603 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 763781764 6110.254 100.00% Conn: 1 Mbps: 6110.254 Peak Mbps: 6110.254 Avg Mbps: 6110.254 2000 764824832 6124.723 100.00% Conn: 1 Mbps: 6124.723 Peak Mbps: 6124.723 Avg Mbps: 6124.723 3000 765315272 6122.522 100.00% Conn: 1 Mbps: 6122.522 Peak Mbps: 6124.723 Avg Mbps: 6122.522 4000 764367088 6114.937 100.00% Conn: 1 Mbps: 6114.937 Peak Mbps: 6124.723 Avg Mbps: 6114.937 5000 767800168 6142.401 100.00% Conn: 1 Mbps: 6142.401 Peak Mbps: 6142.401 Avg Mbps: 6142.401 --- fc00:0:0:1::12 tcpbench statistics --- 4594543212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6110.254/6122.968/6142.401/11.019 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.043 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.043/0.043/0.043/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.048 ms --- fc00::13 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-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 795916346 6367.331 100.00% Conn: 1 Mbps: 6367.331 Peak Mbps: 6367.331 Avg Mbps: 6367.331 2000 795849416 6373.168 100.00% Conn: 1 Mbps: 6373.168 Peak Mbps: 6373.168 Avg Mbps: 6373.168 3000 795816700 6366.534 100.00% Conn: 1 Mbps: 6366.534 Peak Mbps: 6373.168 Avg Mbps: 6366.534 4000 795325960 6362.608 100.00% Conn: 1 Mbps: 6362.608 Peak Mbps: 6373.168 Avg Mbps: 6362.608 5000 797027192 6376.218 100.00% Conn: 1 Mbps: 6376.218 Peak Mbps: 6376.218 Avg Mbps: 6376.218 --- 169.254.0.13 tcpbench statistics --- 4775490586 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6362.608/6369.172/6376.218/4.880 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 796442332 6371.539 100.00% Conn: 1 Mbps: 6371.539 Peak Mbps: 6371.539 Avg Mbps: 6371.539 2000 795886032 6373.462 100.00% Conn: 1 Mbps: 6373.462 Peak Mbps: 6373.462 Avg Mbps: 6373.462 3000 796049512 6368.396 100.00% Conn: 1 Mbps: 6368.396 Peak Mbps: 6373.462 Avg Mbps: 6368.396 4000 796670736 6373.366 100.00% Conn: 1 Mbps: 6373.366 Peak Mbps: 6373.462 Avg Mbps: 6373.366 5000 796801520 6374.412 100.00% Conn: 1 Mbps: 6374.412 Peak Mbps: 6374.412 Avg Mbps: 6374.412 --- fc00::13 tcpbench statistics --- 4778618956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6368.396/6372.235/6374.412/2.133 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.82s