START sys/net/pair 2024-11-26T05:00:10Z ==== 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.049 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.049/0.049/0.049/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 554841932 4438.735 100.00% Conn: 1 Mbps: 4438.735 Peak Mbps: 4438.735 Avg Mbps: 4438.735 2000 556407688 4451.262 100.00% Conn: 1 Mbps: 4451.262 Peak Mbps: 4451.262 Avg Mbps: 4451.262 3000 557639628 4461.117 100.00% Conn: 1 Mbps: 4461.117 Peak Mbps: 4461.117 Avg Mbps: 4461.117 4000 555740056 4450.371 100.00% Conn: 1 Mbps: 4450.371 Peak Mbps: 4461.117 Avg Mbps: 4450.371 5000 556995840 4455.967 100.00% Conn: 1 Mbps: 4455.967 Peak Mbps: 4461.117 Avg Mbps: 4455.967 --- 169.254.1.11 tcpbench statistics --- 3338740204 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4438.735/4451.490/4461.117/7.439 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 557615880 4460.927 100.00% Conn: 1 Mbps: 4460.927 Peak Mbps: 4460.927 Avg Mbps: 4460.927 2000 556529744 4456.695 100.00% Conn: 1 Mbps: 4456.695 Peak Mbps: 4460.927 Avg Mbps: 4456.695 3000 555158200 4441.266 100.00% Conn: 1 Mbps: 4441.266 Peak Mbps: 4460.927 Avg Mbps: 4441.266 4000 555594240 4444.754 100.00% Conn: 1 Mbps: 4444.754 Peak Mbps: 4460.927 Avg Mbps: 4444.754 5000 557417680 4459.341 100.00% Conn: 1 Mbps: 4459.341 Peak Mbps: 4460.927 Avg Mbps: 4459.341 --- fc00:0:0:1::11 tcpbench statistics --- 3336046904 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4441.266/4452.597/4460.927/8.020 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.090 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.090/0.090/0.090/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.154 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.154/0.154/0.154/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 215792552 1724.616 100.00% Conn: 1 Mbps: 1724.616 Peak Mbps: 1724.616 Avg Mbps: 1724.616 2000 218156360 1746.998 100.00% Conn: 1 Mbps: 1746.998 Peak Mbps: 1746.998 Avg Mbps: 1746.998 3001 217674672 1741.397 100.00% Conn: 1 Mbps: 1741.397 Peak Mbps: 1746.998 Avg Mbps: 1741.397 4001 218399064 1748.941 100.00% Conn: 1 Mbps: 1748.941 Peak Mbps: 1748.941 Avg Mbps: 1748.941 5001 217141536 1737.132 100.00% Conn: 1 Mbps: 1737.132 Peak Mbps: 1748.941 Avg Mbps: 1737.132 --- 169.254.1.12 tcpbench statistics --- 1302660584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1724.616/1739.817/1748.941/8.667 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 207290244 1658.322 100.00% Conn: 1 Mbps: 1658.322 Peak Mbps: 1658.322 Avg Mbps: 1658.322 2000 205365976 1642.928 100.00% Conn: 1 Mbps: 1642.928 Peak Mbps: 1658.322 Avg Mbps: 1642.928 3000 204909736 1639.278 100.00% Conn: 1 Mbps: 1639.278 Peak Mbps: 1658.322 Avg Mbps: 1639.278 4001 205626112 1645.009 100.00% Conn: 1 Mbps: 1645.009 Peak Mbps: 1658.322 Avg Mbps: 1645.009 5001 206132868 1649.063 100.00% Conn: 1 Mbps: 1649.063 Peak Mbps: 1658.322 Avg Mbps: 1649.063 --- fc00:0:0:1::12 tcpbench statistics --- 1234356688 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1639.278/1646.920/1658.322/6.521 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.066 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.066/0.066/0.066/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 303812300 2430.498 100.00% Conn: 1 Mbps: 2430.498 Peak Mbps: 2430.498 Avg Mbps: 2430.498 2000 303287732 2428.731 100.00% Conn: 1 Mbps: 2428.731 Peak Mbps: 2430.498 Avg Mbps: 2428.731 3000 301944520 2415.556 100.00% Conn: 1 Mbps: 2415.556 Peak Mbps: 2430.498 Avg Mbps: 2415.556 4000 303049292 2424.394 100.00% Conn: 1 Mbps: 2424.394 Peak Mbps: 2430.498 Avg Mbps: 2424.394 5000 299718660 2397.749 100.00% Conn: 1 Mbps: 2397.749 Peak Mbps: 2430.498 Avg Mbps: 2397.749 --- 169.254.0.13 tcpbench statistics --- 1809838100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2397.749/2419.386/2430.498/11.989 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 290838680 2326.709 100.00% Conn: 1 Mbps: 2326.709 Peak Mbps: 2326.709 Avg Mbps: 2326.709 2000 289720832 2320.087 100.00% Conn: 1 Mbps: 2320.087 Peak Mbps: 2326.709 Avg Mbps: 2320.087 3000 290109304 2323.198 100.00% Conn: 1 Mbps: 2323.198 Peak Mbps: 2326.709 Avg Mbps: 2323.198 4000 292804824 2344.783 100.00% Conn: 1 Mbps: 2344.783 Peak Mbps: 2344.783 Avg Mbps: 2344.783 5000 290537416 2324.299 100.00% Conn: 1 Mbps: 2324.299 Peak Mbps: 2344.783 Avg Mbps: 2324.299 --- fc00::13 tcpbench statistics --- 1743351344 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2320.087/2327.815/2344.783/8.747 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.043 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.043/0.043/0.043/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.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-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 216128936 1729.031 100.00% Conn: 1 Mbps: 1729.031 Peak Mbps: 1729.031 Avg Mbps: 1729.031 2000 219870464 1758.964 100.00% Conn: 1 Mbps: 1758.964 Peak Mbps: 1758.964 Avg Mbps: 1758.964 3000 219347784 1756.539 100.00% Conn: 1 Mbps: 1756.539 Peak Mbps: 1758.964 Avg Mbps: 1756.539 4000 218728992 1749.832 100.00% Conn: 1 Mbps: 1749.832 Peak Mbps: 1758.964 Avg Mbps: 1749.832 5000 218550344 1748.403 100.00% Conn: 1 Mbps: 1748.403 Peak Mbps: 1758.964 Avg Mbps: 1748.403 --- 169.254.1.11 tcpbench statistics --- 1309163264 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1729.031/1748.554/1758.964/10.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 1000 206744816 1653.959 100.00% Conn: 1 Mbps: 1653.959 Peak Mbps: 1653.959 Avg Mbps: 1653.959 2000 207612712 1660.902 100.00% Conn: 1 Mbps: 1660.902 Peak Mbps: 1660.902 Avg Mbps: 1660.902 3000 206606484 1652.852 100.00% Conn: 1 Mbps: 1652.852 Peak Mbps: 1660.902 Avg Mbps: 1652.852 4001 205573884 1644.591 100.00% Conn: 1 Mbps: 1644.591 Peak Mbps: 1660.902 Avg Mbps: 1644.591 5001 206732628 1653.861 100.00% Conn: 1 Mbps: 1653.861 Peak Mbps: 1660.902 Avg Mbps: 1653.861 --- fc00:0:0:1::11 tcpbench statistics --- 1239304140 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1644.591/1653.233/1660.902/5.188 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.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-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.058 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.058/0.058/0.058/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 563172088 4505.377 100.00% Conn: 1 Mbps: 4505.377 Peak Mbps: 4505.377 Avg Mbps: 4505.377 2000 553715200 4434.156 100.00% Conn: 1 Mbps: 4434.156 Peak Mbps: 4505.377 Avg Mbps: 4434.156 3000 555040120 4440.321 100.00% Conn: 1 Mbps: 4440.321 Peak Mbps: 4505.377 Avg Mbps: 4440.321 4000 553796288 4430.370 100.00% Conn: 1 Mbps: 4430.370 Peak Mbps: 4505.377 Avg Mbps: 4430.370 5000 555157408 4441.259 100.00% Conn: 1 Mbps: 4441.259 Peak Mbps: 4505.377 Avg Mbps: 4441.259 --- 169.254.1.12 tcpbench statistics --- 3338035304 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4430.370/4450.297/4505.377/27.830 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 547298956 4378.392 100.00% Conn: 1 Mbps: 4378.392 Peak Mbps: 4378.392 Avg Mbps: 4378.392 2000 547502340 4384.403 100.00% Conn: 1 Mbps: 4384.403 Peak Mbps: 4384.403 Avg Mbps: 4384.403 3000 548176356 4389.801 100.00% Conn: 1 Mbps: 4389.801 Peak Mbps: 4389.801 Avg Mbps: 4389.801 4000 550816728 4406.534 100.00% Conn: 1 Mbps: 4406.534 Peak Mbps: 4406.534 Avg Mbps: 4406.534 5000 549878532 4399.028 100.00% Conn: 1 Mbps: 4399.028 Peak Mbps: 4406.534 Avg Mbps: 4399.028 --- fc00:0:0:1::12 tcpbench statistics --- 3292404760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4378.392/4391.631/4406.534/10.077 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.048 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.048/0.048/0.048/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.050 ms --- fc00::13 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-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 1047325202 8378.602 100.00% Conn: 1 Mbps: 8378.602 Peak Mbps: 8378.602 Avg Mbps: 8378.602 2000 1048220640 8394.159 100.00% Conn: 1 Mbps: 8394.159 Peak Mbps: 8394.159 Avg Mbps: 8394.159 3000 1047435456 8387.872 100.00% Conn: 1 Mbps: 8387.872 Peak Mbps: 8394.159 Avg Mbps: 8387.872 4000 1049169404 8393.355 100.00% Conn: 1 Mbps: 8393.355 Peak Mbps: 8394.159 Avg Mbps: 8393.355 5000 1047337308 8378.698 100.00% Conn: 1 Mbps: 8378.698 Peak Mbps: 8394.159 Avg Mbps: 8378.698 --- 169.254.0.13 tcpbench statistics --- 6292910494 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8378.602/8386.537/8394.159/6.794 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 1033069908 8264.559 100.00% Conn: 1 Mbps: 8264.559 Peak Mbps: 8264.559 Avg Mbps: 8264.559 2000 1032016544 8264.397 100.00% Conn: 1 Mbps: 8264.397 Peak Mbps: 8264.559 Avg Mbps: 8264.397 3000 1033553256 8268.426 100.00% Conn: 1 Mbps: 8268.426 Peak Mbps: 8268.426 Avg Mbps: 8268.426 4000 1032572376 8260.579 100.00% Conn: 1 Mbps: 8260.579 Peak Mbps: 8268.426 Avg Mbps: 8260.579 5000 1030937576 8247.501 100.00% Conn: 1 Mbps: 8247.501 Peak Mbps: 8268.426 Avg Mbps: 8247.501 --- fc00::13 tcpbench statistics --- 6195375956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8247.501/8261.092/8268.426/7.235 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.057 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.057/0.057/0.057/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 215542848 1722.620 100.00% Conn: 1 Mbps: 1722.620 Peak Mbps: 1722.620 Avg Mbps: 1722.620 2000 214350072 1716.517 100.00% Conn: 1 Mbps: 1716.517 Peak Mbps: 1722.620 Avg Mbps: 1716.517 3001 214210504 1713.684 100.00% Conn: 1 Mbps: 1713.684 Peak Mbps: 1722.620 Avg Mbps: 1713.684 4001 213487568 1709.610 100.00% Conn: 1 Mbps: 1709.610 Peak Mbps: 1722.620 Avg Mbps: 1709.610 5001 212879952 1703.040 100.00% Conn: 1 Mbps: 1703.040 Peak Mbps: 1722.620 Avg Mbps: 1703.040 --- 169.254.1.11 tcpbench statistics --- 1282921192 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1703.040/1713.094/1722.620/6.573 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 304943080 2439.545 100.00% Conn: 1 Mbps: 2439.545 Peak Mbps: 2439.545 Avg Mbps: 2439.545 2000 301006088 2408.049 100.00% Conn: 1 Mbps: 2408.049 Peak Mbps: 2439.545 Avg Mbps: 2408.049 3001 301176344 2409.411 100.00% Conn: 1 Mbps: 2409.411 Peak Mbps: 2439.545 Avg Mbps: 2409.411 4002 306395048 2451.160 100.00% Conn: 1 Mbps: 2451.160 Peak Mbps: 2451.160 Avg Mbps: 2451.160 5002 305923400 2447.387 100.00% Conn: 1 Mbps: 2447.387 Peak Mbps: 2451.160 Avg Mbps: 2447.387 --- fc00:0:0:1::11 tcpbench statistics --- 1820161936 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2408.049/2431.110/2451.160/18.659 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.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-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.064 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.064/0.064/0.064/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 1053608508 8428.868 100.00% Conn: 1 Mbps: 8428.868 Peak Mbps: 8428.868 Avg Mbps: 8428.868 2000 1054861988 8447.343 100.00% Conn: 1 Mbps: 8447.343 Peak Mbps: 8447.343 Avg Mbps: 8447.343 3000 1053847792 8430.782 100.00% Conn: 1 Mbps: 8430.782 Peak Mbps: 8447.343 Avg Mbps: 8430.782 4000 1055418160 8443.345 100.00% Conn: 1 Mbps: 8443.345 Peak Mbps: 8447.343 Avg Mbps: 8443.345 5000 1054763840 8438.111 100.00% Conn: 1 Mbps: 8438.111 Peak Mbps: 8447.343 Avg Mbps: 8438.111 --- 169.254.1.12 tcpbench statistics --- 6329783260 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8428.868/8437.690/8447.343/7.084 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 1040772084 8326.177 100.00% Conn: 1 Mbps: 8326.177 Peak Mbps: 8326.177 Avg Mbps: 8326.177 2000 1038163392 8313.621 100.00% Conn: 1 Mbps: 8313.621 Peak Mbps: 8326.177 Avg Mbps: 8313.621 3000 1034697616 8277.581 100.00% Conn: 1 Mbps: 8277.581 Peak Mbps: 8326.177 Avg Mbps: 8277.581 4000 1038261480 8306.092 100.00% Conn: 1 Mbps: 8306.092 Peak Mbps: 8326.177 Avg Mbps: 8306.092 5000 1033782128 8270.257 100.00% Conn: 1 Mbps: 8270.257 Peak Mbps: 8326.177 Avg Mbps: 8270.257 --- fc00:0:0:1::12 tcpbench statistics --- 6218739516 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8270.257/8298.745/8326.177/21.388 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.045 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-3-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 1135659770 9085.278 100.00% Conn: 1 Mbps: 9085.278 Peak Mbps: 9085.278 Avg Mbps: 9085.278 2000 1141592104 9141.879 100.00% Conn: 1 Mbps: 9141.879 Peak Mbps: 9141.879 Avg Mbps: 9141.879 3000 1141592104 9132.737 100.00% Conn: 1 Mbps: 9132.737 Peak Mbps: 9141.879 Avg Mbps: 9132.737 4000 1141428524 9131.428 100.00% Conn: 1 Mbps: 9131.428 Peak Mbps: 9141.879 Avg Mbps: 9131.428 5000 1143587780 9148.702 100.00% Conn: 1 Mbps: 9148.702 Peak Mbps: 9148.702 Avg Mbps: 9148.702 --- 169.254.0.13 tcpbench statistics --- 6847611642 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9085.278/9128.005/9148.702/22.274 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 1076767860 8614.143 100.00% Conn: 1 Mbps: 8614.143 Peak Mbps: 8614.143 Avg Mbps: 8614.143 2000 1072232624 8586.447 100.00% Conn: 1 Mbps: 8586.447 Peak Mbps: 8614.143 Avg Mbps: 8586.447 3000 1076221536 8609.772 100.00% Conn: 1 Mbps: 8609.772 Peak Mbps: 8614.143 Avg Mbps: 8609.772 4000 1071415224 8571.322 100.00% Conn: 1 Mbps: 8571.322 Peak Mbps: 8614.143 Avg Mbps: 8571.322 5000 1072723064 8581.785 100.00% Conn: 1 Mbps: 8581.785 Peak Mbps: 8614.143 Avg Mbps: 8581.785 --- fc00::13 tcpbench statistics --- 6444143220 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8571.322/8592.694/8614.143/16.532 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