START sys/net/pair 2024-12-20T23:22:46Z ==== 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.065 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.065/0.065/0.065/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.043 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 635347224 5082.778 100.00% Conn: 1 Mbps: 5082.778 Peak Mbps: 5082.778 Avg Mbps: 5082.778 2000 635506184 5089.139 100.00% Conn: 1 Mbps: 5089.139 Peak Mbps: 5089.139 Avg Mbps: 5089.139 3000 634798812 5083.474 100.00% Conn: 1 Mbps: 5083.474 Peak Mbps: 5089.139 Avg Mbps: 5083.474 4000 635965768 5087.726 100.00% Conn: 1 Mbps: 5087.726 Peak Mbps: 5089.139 Avg Mbps: 5087.726 5000 637540872 5100.327 100.00% Conn: 1 Mbps: 5100.327 Peak Mbps: 5100.327 Avg Mbps: 5100.327 --- 169.254.1.11 tcpbench statistics --- 3817271988 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5082.778/5088.689/5100.327/6.304 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 642786384 5142.291 100.00% Conn: 1 Mbps: 5142.291 Peak Mbps: 5142.291 Avg Mbps: 5142.291 2000 635873168 5092.077 100.00% Conn: 1 Mbps: 5092.077 Peak Mbps: 5142.291 Avg Mbps: 5092.077 3000 637593544 5100.748 100.00% Conn: 1 Mbps: 5100.748 Peak Mbps: 5142.291 Avg Mbps: 5100.748 4000 637474624 5104.902 100.00% Conn: 1 Mbps: 5104.902 Peak Mbps: 5142.291 Avg Mbps: 5104.902 5000 635928664 5087.429 100.00% Conn: 1 Mbps: 5087.429 Peak Mbps: 5142.291 Avg Mbps: 5087.429 --- fc00:0:0:1::11 tcpbench statistics --- 3827796960 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5087.429/5105.490/5142.291/19.407 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.068 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.068/0.068/0.068/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.123 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.123/0.123/0.123/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 212364264 1698.914 100.00% Conn: 1 Mbps: 1698.914 Peak Mbps: 1698.914 Avg Mbps: 1698.914 2000 212004232 1696.034 100.00% Conn: 1 Mbps: 1696.034 Peak Mbps: 1698.914 Avg Mbps: 1696.034 3001 212294776 1698.358 100.00% Conn: 1 Mbps: 1698.358 Peak Mbps: 1698.914 Avg Mbps: 1698.358 4001 213100584 1704.805 100.00% Conn: 1 Mbps: 1704.805 Peak Mbps: 1704.805 Avg Mbps: 1704.805 5002 213628320 1709.027 100.00% Conn: 1 Mbps: 1709.027 Peak Mbps: 1709.027 Avg Mbps: 1709.027 --- 169.254.1.12 tcpbench statistics --- 1275854968 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1696.034/1701.427/1709.027/4.775 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 205924316 1647.395 100.00% Conn: 1 Mbps: 1647.395 Peak Mbps: 1647.395 Avg Mbps: 1647.395 2001 208064392 1664.515 100.00% Conn: 1 Mbps: 1664.515 Peak Mbps: 1664.515 Avg Mbps: 1664.515 3002 206591488 1652.732 100.00% Conn: 1 Mbps: 1652.732 Peak Mbps: 1664.515 Avg Mbps: 1652.732 4002 206730428 1653.843 100.00% Conn: 1 Mbps: 1653.843 Peak Mbps: 1664.515 Avg Mbps: 1653.843 5003 205863448 1646.908 100.00% Conn: 1 Mbps: 1646.908 Peak Mbps: 1664.515 Avg Mbps: 1646.908 --- fc00:0:0:1::12 tcpbench statistics --- 1238320240 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1646.908/1653.079/1664.515/6.354 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.069 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.069/0.069/0.069/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.065 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.065/0.065/0.065/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 328831624 2630.653 100.00% Conn: 1 Mbps: 2630.653 Peak Mbps: 2630.653 Avg Mbps: 2630.653 2000 329364700 2637.555 100.00% Conn: 1 Mbps: 2637.555 Peak Mbps: 2637.555 Avg Mbps: 2637.555 3000 329960940 2639.688 100.00% Conn: 1 Mbps: 2639.688 Peak Mbps: 2639.688 Avg Mbps: 2639.688 4000 328744616 2629.957 100.00% Conn: 1 Mbps: 2629.957 Peak Mbps: 2639.688 Avg Mbps: 2629.957 5000 330159640 2641.277 100.00% Conn: 1 Mbps: 2641.277 Peak Mbps: 2641.277 Avg Mbps: 2641.277 --- 169.254.0.13 tcpbench statistics --- 1980296476 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2629.957/2635.826/2641.277/4.665 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 308605848 2468.847 100.00% Conn: 1 Mbps: 2468.847 Peak Mbps: 2468.847 Avg Mbps: 2468.847 2000 308399720 2469.667 100.00% Conn: 1 Mbps: 2469.667 Peak Mbps: 2469.667 Avg Mbps: 2469.667 3000 306862728 2454.902 100.00% Conn: 1 Mbps: 2454.902 Peak Mbps: 2469.667 Avg Mbps: 2454.902 4000 306766032 2454.128 100.00% Conn: 1 Mbps: 2454.128 Peak Mbps: 2469.667 Avg Mbps: 2454.128 5000 306973200 2455.786 100.00% Conn: 1 Mbps: 2455.786 Peak Mbps: 2469.667 Avg Mbps: 2455.786 --- fc00::13 tcpbench statistics --- 1844089192 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2454.128/2460.666/2469.667/7.039 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.044 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-ping6-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.049 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.049/0.049/0.049/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 217966296 1741.988 100.00% Conn: 1 Mbps: 1741.988 Peak Mbps: 1741.988 Avg Mbps: 1741.988 2001 218681960 1749.456 100.00% Conn: 1 Mbps: 1749.456 Peak Mbps: 1749.456 Avg Mbps: 1749.456 3002 217793504 1742.348 100.00% Conn: 1 Mbps: 1742.348 Peak Mbps: 1749.456 Avg Mbps: 1742.348 4002 217793832 1742.351 100.00% Conn: 1 Mbps: 1742.351 Peak Mbps: 1749.456 Avg Mbps: 1742.351 5002 218143464 1745.148 100.00% Conn: 1 Mbps: 1745.148 Peak Mbps: 1749.456 Avg Mbps: 1745.148 --- 169.254.1.11 tcpbench statistics --- 1309403072 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1741.988/1744.258/1749.456/2.837 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 206723584 1652.137 100.00% Conn: 1 Mbps: 1652.137 Peak Mbps: 1652.137 Avg Mbps: 1652.137 2001 205493424 1643.947 100.00% Conn: 1 Mbps: 1643.947 Peak Mbps: 1652.137 Avg Mbps: 1643.947 3001 207577740 1662.284 100.00% Conn: 1 Mbps: 1662.284 Peak Mbps: 1662.284 Avg Mbps: 1662.284 4001 207904568 1664.901 100.00% Conn: 1 Mbps: 1664.901 Peak Mbps: 1664.901 Avg Mbps: 1664.901 5002 208363196 1665.240 100.00% Conn: 1 Mbps: 1665.240 Peak Mbps: 1665.240 Avg Mbps: 1665.240 --- fc00:0:0:1::11 tcpbench statistics --- 1242858344 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1643.947/1657.702/1665.240/8.364 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.050 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.050/0.050/0.050/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.045 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-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 611594656 4892.757 100.00% Conn: 1 Mbps: 4892.757 Peak Mbps: 4892.757 Avg Mbps: 4892.757 2000 612451872 4904.519 100.00% Conn: 1 Mbps: 4904.519 Peak Mbps: 4904.519 Avg Mbps: 4904.519 3000 610877896 4891.915 100.00% Conn: 1 Mbps: 4891.915 Peak Mbps: 4904.519 Avg Mbps: 4891.915 4000 609476232 4875.810 100.00% Conn: 1 Mbps: 4875.810 Peak Mbps: 4904.519 Avg Mbps: 4875.810 5000 611180528 4889.444 100.00% Conn: 1 Mbps: 4889.444 Peak Mbps: 4904.519 Avg Mbps: 4889.444 --- 169.254.1.12 tcpbench statistics --- 3663739792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4875.810/4890.889/4904.519/9.163 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 623431956 4987.456 100.00% Conn: 1 Mbps: 4987.456 Peak Mbps: 4987.456 Avg Mbps: 4987.456 2000 620691228 4970.500 100.00% Conn: 1 Mbps: 4970.500 Peak Mbps: 4987.456 Avg Mbps: 4970.500 3000 624131676 4993.053 100.00% Conn: 1 Mbps: 4993.053 Peak Mbps: 4993.053 Avg Mbps: 4993.053 4000 625163724 5001.310 100.00% Conn: 1 Mbps: 5001.310 Peak Mbps: 5001.310 Avg Mbps: 5001.310 5000 624478284 5000.827 100.00% Conn: 1 Mbps: 5000.827 Peak Mbps: 5001.310 Avg Mbps: 5000.827 --- fc00:0:0:1::12 tcpbench statistics --- 3743762956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4970.500/4990.629/5001.310/11.307 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.057 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.057/0.057/0.057/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.052 ms --- fc00::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-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 1071502442 8572.020 100.00% Conn: 1 Mbps: 8572.020 Peak Mbps: 8572.020 Avg Mbps: 8572.020 2000 1073019368 8592.748 100.00% Conn: 1 Mbps: 8592.748 Peak Mbps: 8592.748 Avg Mbps: 8592.748 3000 1068884110 8551.073 100.00% Conn: 1 Mbps: 8551.073 Peak Mbps: 8592.748 Avg Mbps: 8551.073 4000 1063335432 8506.683 100.00% Conn: 1 Mbps: 8506.683 Peak Mbps: 8592.748 Avg Mbps: 8506.683 5000 1063695308 8509.562 100.00% Conn: 1 Mbps: 8509.562 Peak Mbps: 8592.748 Avg Mbps: 8509.562 --- 169.254.0.13 tcpbench statistics --- 6403264982 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8506.683/8546.417/8592.748/33.943 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 1029410332 8235.283 100.00% Conn: 1 Mbps: 8235.283 Peak Mbps: 8235.283 Avg Mbps: 8235.283 2000 1017597608 8148.930 100.00% Conn: 1 Mbps: 8148.930 Peak Mbps: 8235.283 Avg Mbps: 8148.930 3000 1019592064 8156.737 100.00% Conn: 1 Mbps: 8156.737 Peak Mbps: 8235.283 Avg Mbps: 8156.737 4000 1009162040 8073.296 100.00% Conn: 1 Mbps: 8073.296 Peak Mbps: 8235.283 Avg Mbps: 8073.296 5000 1015799328 8126.395 100.00% Conn: 1 Mbps: 8126.395 Peak Mbps: 8235.283 Avg Mbps: 8126.395 --- fc00::13 tcpbench statistics --- 6112134316 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8073.296/8148.128/8235.283/52.427 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.059 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.059/0.059/0.059/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.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-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 1000 214982088 1719.857 100.00% Conn: 1 Mbps: 1719.857 Peak Mbps: 1719.857 Avg Mbps: 1719.857 2001 213833384 1710.667 100.00% Conn: 1 Mbps: 1710.667 Peak Mbps: 1719.857 Avg Mbps: 1710.667 3002 215022192 1718.459 100.00% Conn: 1 Mbps: 1718.459 Peak Mbps: 1719.857 Avg Mbps: 1718.459 4002 213478680 1707.829 100.00% Conn: 1 Mbps: 1707.829 Peak Mbps: 1719.857 Avg Mbps: 1707.829 5002 213170816 1707.074 100.00% Conn: 1 Mbps: 1707.074 Peak Mbps: 1719.857 Avg Mbps: 1707.074 --- 169.254.1.11 tcpbench statistics --- 1282073472 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1707.074/1712.777/1719.857/5.364 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 316849192 2534.794 100.00% Conn: 1 Mbps: 2534.794 Peak Mbps: 2534.794 Avg Mbps: 2534.794 2000 314441728 2515.534 100.00% Conn: 1 Mbps: 2515.534 Peak Mbps: 2534.794 Avg Mbps: 2515.534 3001 313268576 2506.149 100.00% Conn: 1 Mbps: 2506.149 Peak Mbps: 2534.794 Avg Mbps: 2506.149 4001 314556104 2518.968 100.00% Conn: 1 Mbps: 2518.968 Peak Mbps: 2534.794 Avg Mbps: 2518.968 5002 313218408 2503.244 100.00% Conn: 1 Mbps: 2503.244 Peak Mbps: 2534.794 Avg Mbps: 2503.244 --- fc00:0:0:1::11 tcpbench statistics --- 1887231000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2503.244/2515.738/2534.794/11.150 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.048 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.048/0.048/0.048/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.049 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.049/0.049/0.049/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 1086007496 8688.060 100.00% Conn: 1 Mbps: 8688.060 Peak Mbps: 8688.060 Avg Mbps: 8688.060 2000 1076814424 8623.139 100.00% Conn: 1 Mbps: 8623.139 Peak Mbps: 8688.060 Avg Mbps: 8623.139 3000 1080249604 8641.997 100.00% Conn: 1 Mbps: 8641.997 Peak Mbps: 8688.060 Avg Mbps: 8641.997 4000 1081460084 8651.681 100.00% Conn: 1 Mbps: 8651.681 Peak Mbps: 8688.060 Avg Mbps: 8651.681 5000 1086678298 8693.426 100.00% Conn: 1 Mbps: 8693.426 Peak Mbps: 8693.426 Avg Mbps: 8693.426 --- 169.254.1.12 tcpbench statistics --- 6478045950 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8623.139/8659.660/8693.426/27.041 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 1051931972 8415.456 100.00% Conn: 1 Mbps: 8415.456 Peak Mbps: 8415.456 Avg Mbps: 8415.456 2000 1040354024 8331.163 100.00% Conn: 1 Mbps: 8331.163 Peak Mbps: 8415.456 Avg Mbps: 8331.163 3000 1039994368 8319.955 100.00% Conn: 1 Mbps: 8319.955 Peak Mbps: 8415.456 Avg Mbps: 8319.955 4000 1039275056 8314.200 100.00% Conn: 1 Mbps: 8314.200 Peak Mbps: 8415.456 Avg Mbps: 8314.200 5000 1035874672 8286.997 100.00% Conn: 1 Mbps: 8286.997 Peak Mbps: 8415.456 Avg Mbps: 8286.997 --- fc00:0:0:1::12 tcpbench statistics --- 6255042628 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8286.997/8333.554/8415.456/43.453 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.040 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-ping6-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.044 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-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 1136883612 9095.069 100.00% Conn: 1 Mbps: 9095.069 Peak Mbps: 9095.069 Avg Mbps: 9095.069 2000 1141886548 9144.237 100.00% Conn: 1 Mbps: 9144.237 Peak Mbps: 9144.237 Avg Mbps: 9144.237 3000 1134950756 9088.695 100.00% Conn: 1 Mbps: 9088.695 Peak Mbps: 9144.237 Avg Mbps: 9088.695 4000 1145387160 9163.097 100.00% Conn: 1 Mbps: 9163.097 Peak Mbps: 9163.097 Avg Mbps: 9163.097 5000 1143931298 9151.450 100.00% Conn: 1 Mbps: 9151.450 Peak Mbps: 9163.097 Avg Mbps: 9151.450 --- 169.254.0.13 tcpbench statistics --- 6849015422 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9088.695/9128.510/9163.097/30.573 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 1064357568 8514.861 100.00% Conn: 1 Mbps: 8514.861 Peak Mbps: 8514.861 Avg Mbps: 8514.861 2000 1061115984 8497.425 100.00% Conn: 1 Mbps: 8497.425 Peak Mbps: 8514.861 Avg Mbps: 8497.425 3000 1051568752 8412.550 100.00% Conn: 1 Mbps: 8412.550 Peak Mbps: 8514.861 Avg Mbps: 8412.550 4000 1048724200 8389.794 100.00% Conn: 1 Mbps: 8389.794 Peak Mbps: 8514.861 Avg Mbps: 8389.794 5000 1053595904 8428.767 100.00% Conn: 1 Mbps: 8428.767 Peak Mbps: 8514.861 Avg Mbps: 8428.767 --- fc00::13 tcpbench statistics --- 6325209360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8389.794/8448.679/8514.861/48.837 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.83s