START sys/net/pair 2024-09-16T01:50:47Z ==== 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.038 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.038/0.038/0.038/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.044 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.044/0.044/0.044/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 906739632 7253.917 100.00% Conn: 1 Mbps: 7253.917 Peak Mbps: 7253.917 Avg Mbps: 7253.917 2000 908186168 7272.762 100.00% Conn: 1 Mbps: 7272.762 Peak Mbps: 7272.762 Avg Mbps: 7272.762 3000 909513484 7276.108 100.00% Conn: 1 Mbps: 7276.108 Peak Mbps: 7276.108 Avg Mbps: 7276.108 4000 909894988 7279.160 100.00% Conn: 1 Mbps: 7279.160 Peak Mbps: 7279.160 Avg Mbps: 7279.160 5000 909298888 7274.391 100.00% Conn: 1 Mbps: 7274.391 Peak Mbps: 7279.160 Avg Mbps: 7274.391 --- 169.254.1.11 tcpbench statistics --- 5452614128 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7253.917/7271.268/7279.160/8.930 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 923992544 7391.940 100.00% Conn: 1 Mbps: 7391.940 Peak Mbps: 7391.940 Avg Mbps: 7391.940 2000 924008400 7399.467 100.00% Conn: 1 Mbps: 7399.467 Peak Mbps: 7399.467 Avg Mbps: 7399.467 3000 923302808 7386.422 100.00% Conn: 1 Mbps: 7386.422 Peak Mbps: 7399.467 Avg Mbps: 7386.422 4000 922533792 7380.270 100.00% Conn: 1 Mbps: 7380.270 Peak Mbps: 7399.467 Avg Mbps: 7380.270 5000 923009472 7384.076 100.00% Conn: 1 Mbps: 7384.076 Peak Mbps: 7399.467 Avg Mbps: 7384.076 --- fc00:0:0:1::11 tcpbench statistics --- 5539983336 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7380.270/7388.435/7399.467/6.689 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.065 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.065/0.065/0.065/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.122 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.122/0.122/0.122/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 273049976 2184.400 100.00% Conn: 1 Mbps: 2184.400 Peak Mbps: 2184.400 Avg Mbps: 2184.400 2001 273741048 2189.928 100.00% Conn: 1 Mbps: 2189.928 Peak Mbps: 2189.928 Avg Mbps: 2189.928 3001 273601920 2188.815 100.00% Conn: 1 Mbps: 2188.815 Peak Mbps: 2189.928 Avg Mbps: 2188.815 4001 273719984 2189.760 100.00% Conn: 1 Mbps: 2189.760 Peak Mbps: 2189.928 Avg Mbps: 2189.760 5001 273901376 2191.211 100.00% Conn: 1 Mbps: 2191.211 Peak Mbps: 2191.211 Avg Mbps: 2191.211 --- 169.254.1.12 tcpbench statistics --- 1641042040 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2184.400/2188.823/2191.211/2.340 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 265825784 2126.606 100.00% Conn: 1 Mbps: 2126.606 Peak Mbps: 2126.606 Avg Mbps: 2126.606 2001 266179216 2129.434 100.00% Conn: 1 Mbps: 2129.434 Peak Mbps: 2129.434 Avg Mbps: 2129.434 3002 266268700 2130.150 100.00% Conn: 1 Mbps: 2130.150 Peak Mbps: 2130.150 Avg Mbps: 2130.150 4002 266169772 2129.358 100.00% Conn: 1 Mbps: 2129.358 Peak Mbps: 2130.150 Avg Mbps: 2129.358 5003 266199548 2129.596 100.00% Conn: 1 Mbps: 2129.596 Peak Mbps: 2130.150 Avg Mbps: 2129.596 --- fc00:0:0:1::12 tcpbench statistics --- 1595080756 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2126.606/2129.029/2130.150/1.243 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.056 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.056/0.056/0.056/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.064 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.064/0.064/0.064/0.000 ms ==== run-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 427085780 3416.686 100.00% Conn: 1 Mbps: 3416.686 Peak Mbps: 3416.686 Avg Mbps: 3416.686 2000 424192708 3396.939 100.00% Conn: 1 Mbps: 3396.939 Peak Mbps: 3416.686 Avg Mbps: 3396.939 3000 423731724 3393.247 100.00% Conn: 1 Mbps: 3393.247 Peak Mbps: 3416.686 Avg Mbps: 3393.247 4000 425504128 3404.033 100.00% Conn: 1 Mbps: 3404.033 Peak Mbps: 3416.686 Avg Mbps: 3404.033 5000 426219448 3409.756 100.00% Conn: 1 Mbps: 3409.756 Peak Mbps: 3416.686 Avg Mbps: 3409.756 --- 169.254.0.13 tcpbench statistics --- 2553620868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3393.247/3404.132/3416.686/8.479 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 421333560 3370.668 100.00% Conn: 1 Mbps: 3370.668 Peak Mbps: 3370.668 Avg Mbps: 3370.668 2000 419629040 3357.032 100.00% Conn: 1 Mbps: 3357.032 Peak Mbps: 3370.668 Avg Mbps: 3357.032 3000 419969944 3359.760 100.00% Conn: 1 Mbps: 3359.760 Peak Mbps: 3370.668 Avg Mbps: 3359.760 4000 420707248 3365.658 100.00% Conn: 1 Mbps: 3365.658 Peak Mbps: 3370.668 Avg Mbps: 3365.658 5000 419589400 3356.715 100.00% Conn: 1 Mbps: 3356.715 Peak Mbps: 3370.668 Avg Mbps: 3356.715 --- fc00::13 tcpbench statistics --- 2519787952 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3356.715/3361.967/3370.668/5.406 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.041 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.041/0.041/0.041/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.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-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 273815184 2190.521 100.00% Conn: 1 Mbps: 2190.521 Peak Mbps: 2190.521 Avg Mbps: 2190.521 2001 273807328 2190.459 100.00% Conn: 1 Mbps: 2190.459 Peak Mbps: 2190.521 Avg Mbps: 2190.459 3001 274020960 2192.168 100.00% Conn: 1 Mbps: 2192.168 Peak Mbps: 2192.168 Avg Mbps: 2192.168 4001 275690168 2205.521 100.00% Conn: 1 Mbps: 2205.521 Peak Mbps: 2205.521 Avg Mbps: 2205.521 5001 275714776 2205.718 100.00% Conn: 1 Mbps: 2205.718 Peak Mbps: 2205.718 Avg Mbps: 2205.718 --- 169.254.1.11 tcpbench statistics --- 1648433776 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2190.459/2196.877/2205.718/7.165 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 267979616 2143.837 100.00% Conn: 1 Mbps: 2143.837 Peak Mbps: 2143.837 Avg Mbps: 2143.837 2001 268348136 2146.785 100.00% Conn: 1 Mbps: 2146.785 Peak Mbps: 2146.785 Avg Mbps: 2146.785 3001 268211628 2145.693 100.00% Conn: 1 Mbps: 2145.693 Peak Mbps: 2146.785 Avg Mbps: 2145.693 4001 268430536 2147.444 100.00% Conn: 1 Mbps: 2147.444 Peak Mbps: 2147.444 Avg Mbps: 2147.444 5002 269442876 2155.543 100.00% Conn: 1 Mbps: 2155.543 Peak Mbps: 2155.543 Avg Mbps: 2155.543 --- fc00:0:0:1::11 tcpbench statistics --- 1611376624 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2143.837/2147.860/2155.543/4.031 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.039 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.039/0.039/0.039/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.042 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.042/0.042/0.042/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 913709720 7309.678 100.00% Conn: 1 Mbps: 7309.678 Peak Mbps: 7309.678 Avg Mbps: 7309.678 2000 912406520 7306.559 100.00% Conn: 1 Mbps: 7306.559 Peak Mbps: 7309.678 Avg Mbps: 7306.559 3000 910477784 7283.822 100.00% Conn: 1 Mbps: 7283.822 Peak Mbps: 7309.678 Avg Mbps: 7283.822 4000 912193664 7297.549 100.00% Conn: 1 Mbps: 7297.549 Peak Mbps: 7309.678 Avg Mbps: 7297.549 5000 912490504 7299.924 100.00% Conn: 1 Mbps: 7299.924 Peak Mbps: 7309.678 Avg Mbps: 7299.924 --- 169.254.1.12 tcpbench statistics --- 5474342104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7283.822/7299.506/7309.678/8.980 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 927258948 7418.072 100.00% Conn: 1 Mbps: 7418.072 Peak Mbps: 7418.072 Avg Mbps: 7418.072 2000 929103924 7440.272 100.00% Conn: 1 Mbps: 7440.272 Peak Mbps: 7440.272 Avg Mbps: 7440.272 3000 927513132 7420.105 100.00% Conn: 1 Mbps: 7420.105 Peak Mbps: 7440.272 Avg Mbps: 7420.105 4000 928008648 7424.069 100.00% Conn: 1 Mbps: 7424.069 Peak Mbps: 7440.272 Avg Mbps: 7424.069 5000 928218564 7425.749 100.00% Conn: 1 Mbps: 7425.749 Peak Mbps: 7440.272 Avg Mbps: 7425.749 --- fc00:0:0:1::12 tcpbench statistics --- 5568224676 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7418.072/7425.653/7440.272/7.804 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.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-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.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-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 1407163770 11257.310 100.00% Conn: 1 Mbps: 11257.310 Peak Mbps: 11257.310 Avg Mbps: 11257.310 2000 1404628744 11248.278 100.00% Conn: 1 Mbps: 11248.278 Peak Mbps: 11257.310 Avg Mbps: 11248.278 3000 1407736764 11261.894 100.00% Conn: 1 Mbps: 11261.894 Peak Mbps: 11261.894 Avg Mbps: 11261.894 4000 1410026884 11280.215 100.00% Conn: 1 Mbps: 11280.215 Peak Mbps: 11280.215 Avg Mbps: 11280.215 5000 1410583056 11284.664 100.00% Conn: 1 Mbps: 11284.664 Peak Mbps: 11284.664 Avg Mbps: 11284.664 --- 169.254.0.13 tcpbench statistics --- 8449937090 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11248.278/11266.472/11284.664/13.826 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 1408056300 11264.450 100.00% Conn: 1 Mbps: 11264.450 Peak Mbps: 11264.450 Avg Mbps: 11264.450 2000 1383890896 11082.209 100.00% Conn: 1 Mbps: 11082.209 Peak Mbps: 11264.450 Avg Mbps: 11082.209 3000 1412369112 11298.953 100.00% Conn: 1 Mbps: 11298.953 Peak Mbps: 11298.953 Avg Mbps: 11298.953 4000 1384969864 11090.850 100.00% Conn: 1 Mbps: 11090.850 Peak Mbps: 11298.953 Avg Mbps: 11090.850 5000 1428390152 11427.121 100.00% Conn: 1 Mbps: 11427.121 Peak Mbps: 11427.121 Avg Mbps: 11427.121 --- fc00::13 tcpbench statistics --- 8397676396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11082.209/11232.717/11427.121/131.123 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.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-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.051 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.051/0.051/0.051/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 269738528 2157.908 100.00% Conn: 1 Mbps: 2157.908 Peak Mbps: 2157.908 Avg Mbps: 2157.908 2001 270104400 2160.835 100.00% Conn: 1 Mbps: 2160.835 Peak Mbps: 2160.835 Avg Mbps: 2160.835 3001 269962160 2159.697 100.00% Conn: 1 Mbps: 2159.697 Peak Mbps: 2160.835 Avg Mbps: 2159.697 4001 270340464 2162.724 100.00% Conn: 1 Mbps: 2162.724 Peak Mbps: 2162.724 Avg Mbps: 2162.724 5001 270113352 2160.907 100.00% Conn: 1 Mbps: 2160.907 Peak Mbps: 2162.724 Avg Mbps: 2160.907 --- 169.254.1.11 tcpbench statistics --- 1619975616 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2157.908/2160.414/2162.724/1.584 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 416792296 3334.338 100.00% Conn: 1 Mbps: 3334.338 Peak Mbps: 3334.338 Avg Mbps: 3334.338 2001 415431008 3323.448 100.00% Conn: 1 Mbps: 3323.448 Peak Mbps: 3334.338 Avg Mbps: 3323.448 3001 415991392 3327.931 100.00% Conn: 1 Mbps: 3327.931 Peak Mbps: 3334.338 Avg Mbps: 3327.931 4001 415081672 3320.653 100.00% Conn: 1 Mbps: 3320.653 Peak Mbps: 3334.338 Avg Mbps: 3320.653 5001 414950680 3319.605 100.00% Conn: 1 Mbps: 3319.605 Peak Mbps: 3334.338 Avg Mbps: 3319.605 --- fc00:0:0:1::11 tcpbench statistics --- 2493316056 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3319.605/3325.195/3334.338/5.404 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.040 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.040/0.040/0.040/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.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-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 1413447586 11307.581 100.00% Conn: 1 Mbps: 11307.581 Peak Mbps: 11307.581 Avg Mbps: 11307.581 2000 1414607124 11328.185 100.00% Conn: 1 Mbps: 11328.185 Peak Mbps: 11328.185 Avg Mbps: 11328.185 3000 1410844784 11286.758 100.00% Conn: 1 Mbps: 11286.758 Peak Mbps: 11328.185 Avg Mbps: 11286.758 4000 1417191688 11337.534 100.00% Conn: 1 Mbps: 11337.534 Peak Mbps: 11337.534 Avg Mbps: 11337.534 5000 1414312680 11314.501 100.00% Conn: 1 Mbps: 11314.501 Peak Mbps: 11337.534 Avg Mbps: 11314.501 --- 169.254.1.12 tcpbench statistics --- 8478402354 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11286.758/11314.912/11337.534/17.518 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 1349582924 10796.663 100.00% Conn: 1 Mbps: 10796.663 Peak Mbps: 10796.663 Avg Mbps: 10796.663 2000 1366921672 10946.320 100.00% Conn: 1 Mbps: 10946.320 Peak Mbps: 10946.320 Avg Mbps: 10946.320 3000 1389808872 11118.471 100.00% Conn: 1 Mbps: 11118.471 Peak Mbps: 11118.471 Avg Mbps: 11118.471 4000 1379280760 11034.246 100.00% Conn: 1 Mbps: 11034.246 Peak Mbps: 11118.471 Avg Mbps: 11034.246 5000 1377711352 11021.691 100.00% Conn: 1 Mbps: 11021.691 Peak Mbps: 11118.471 Avg Mbps: 11021.691 --- fc00:0:0:1::12 tcpbench statistics --- 8267304516 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10796.663/10983.478/11118.471/108.205 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.039 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.039/0.039/0.039/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.040 ms --- fc00::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-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 1428807138 11430.457 100.00% Conn: 1 Mbps: 11430.457 Peak Mbps: 11430.457 Avg Mbps: 11430.457 2000 1433582404 11480.139 100.00% Conn: 1 Mbps: 11480.139 Peak Mbps: 11480.139 Avg Mbps: 11480.139 3000 1431913888 11455.311 100.00% Conn: 1 Mbps: 11455.311 Peak Mbps: 11480.139 Avg Mbps: 11455.311 4000 1430703396 11445.627 100.00% Conn: 1 Mbps: 11445.627 Peak Mbps: 11480.139 Avg Mbps: 11445.627 5000 1431619444 11452.956 100.00% Conn: 1 Mbps: 11452.956 Peak Mbps: 11480.139 Avg Mbps: 11452.956 --- 169.254.0.13 tcpbench statistics --- 8585792014 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11430.457/11452.898/11480.139/16.152 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 1445952980 11567.624 100.00% Conn: 1 Mbps: 11567.624 Peak Mbps: 11567.624 Avg Mbps: 11567.624 2000 1447026872 11587.803 100.00% Conn: 1 Mbps: 11587.803 Peak Mbps: 11587.803 Avg Mbps: 11587.803 3000 1454841216 11638.730 100.00% Conn: 1 Mbps: 11638.730 Peak Mbps: 11638.730 Avg Mbps: 11638.730 4000 1457358808 11658.870 100.00% Conn: 1 Mbps: 11658.870 Peak Mbps: 11658.870 Avg Mbps: 11658.870 5000 1448694368 11589.555 100.00% Conn: 1 Mbps: 11589.555 Peak Mbps: 11658.870 Avg Mbps: 11589.555 --- fc00::13 tcpbench statistics --- 8708617372 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11567.624/11608.516/11658.870/34.378 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 1m51.83s