START sys/net/pair 2024-09-26T01:52:02Z ==== 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.042 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.042/0.042/0.042/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.042 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.042/0.042/0.042/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 932975980 7463.808 100.00% Conn: 1 Mbps: 7463.808 Peak Mbps: 7463.808 Avg Mbps: 7463.808 2000 933754884 7477.517 100.00% Conn: 1 Mbps: 7477.517 Peak Mbps: 7477.517 Avg Mbps: 7477.517 3000 935972376 7487.779 100.00% Conn: 1 Mbps: 7487.779 Peak Mbps: 7487.779 Avg Mbps: 7487.779 4000 934128440 7480.508 100.00% Conn: 1 Mbps: 7480.508 Peak Mbps: 7487.779 Avg Mbps: 7480.508 5000 934708644 7477.669 100.00% Conn: 1 Mbps: 7477.669 Peak Mbps: 7487.779 Avg Mbps: 7477.669 --- 169.254.1.11 tcpbench statistics --- 5606360240 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7463.808/7477.456/7487.779/7.774 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 934021464 7472.172 100.00% Conn: 1 Mbps: 7472.172 Peak Mbps: 7472.172 Avg Mbps: 7472.172 2000 933712272 7477.175 100.00% Conn: 1 Mbps: 7477.175 Peak Mbps: 7477.175 Avg Mbps: 7477.175 3000 931373512 7450.988 100.00% Conn: 1 Mbps: 7450.988 Peak Mbps: 7477.175 Avg Mbps: 7450.988 4000 935218592 7481.749 100.00% Conn: 1 Mbps: 7481.749 Peak Mbps: 7481.749 Avg Mbps: 7481.749 5000 934132456 7473.060 100.00% Conn: 1 Mbps: 7473.060 Peak Mbps: 7481.749 Avg Mbps: 7473.060 --- fc00:0:0:1::11 tcpbench statistics --- 5602955440 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7450.988/7471.029/7481.749/10.581 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.125 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.125/0.125/0.125/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 270799944 2166.400 100.00% Conn: 1 Mbps: 2166.400 Peak Mbps: 2166.400 Avg Mbps: 2166.400 2000 271451256 2171.610 100.00% Conn: 1 Mbps: 2171.610 Peak Mbps: 2171.610 Avg Mbps: 2171.610 3001 271387712 2171.102 100.00% Conn: 1 Mbps: 2171.102 Peak Mbps: 2171.610 Avg Mbps: 2171.102 4001 271265744 2170.126 100.00% Conn: 1 Mbps: 2170.126 Peak Mbps: 2171.610 Avg Mbps: 2170.126 5002 271270424 2170.163 100.00% Conn: 1 Mbps: 2170.163 Peak Mbps: 2171.610 Avg Mbps: 2170.163 --- 169.254.1.12 tcpbench statistics --- 1626985144 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2166.400/2169.880/2171.610/1.830 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 262927156 2101.316 100.00% Conn: 1 Mbps: 2101.316 Peak Mbps: 2101.316 Avg Mbps: 2101.316 2000 263399212 2109.303 100.00% Conn: 1 Mbps: 2109.303 Peak Mbps: 2109.303 Avg Mbps: 2109.303 3000 263477964 2107.824 100.00% Conn: 1 Mbps: 2107.824 Peak Mbps: 2109.303 Avg Mbps: 2107.824 4000 263551924 2108.415 100.00% Conn: 1 Mbps: 2108.415 Peak Mbps: 2109.303 Avg Mbps: 2108.415 5000 263344864 2108.868 100.00% Conn: 1 Mbps: 2108.868 Peak Mbps: 2109.303 Avg Mbps: 2108.868 --- fc00:0:0:1::12 tcpbench statistics --- 1580063064 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2101.316/2107.145/2109.303/2.956 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.058 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.058/0.058/0.058/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 420870444 3366.964 100.00% Conn: 1 Mbps: 3366.964 Peak Mbps: 3366.964 Avg Mbps: 3366.964 2000 421546024 3375.744 100.00% Conn: 1 Mbps: 3375.744 Peak Mbps: 3375.744 Avg Mbps: 3375.744 3000 421498336 3371.987 100.00% Conn: 1 Mbps: 3371.987 Peak Mbps: 3375.744 Avg Mbps: 3371.987 4000 420989664 3367.917 100.00% Conn: 1 Mbps: 3367.917 Peak Mbps: 3375.744 Avg Mbps: 3367.917 5000 421371168 3370.969 100.00% Conn: 1 Mbps: 3370.969 Peak Mbps: 3375.744 Avg Mbps: 3370.969 --- 169.254.0.13 tcpbench statistics --- 2527758076 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3366.964/3370.716/3375.744/3.126 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 412366992 3298.936 100.00% Conn: 1 Mbps: 3298.936 Peak Mbps: 3298.936 Avg Mbps: 3298.936 2000 412248072 3301.286 100.00% Conn: 1 Mbps: 3301.286 Peak Mbps: 3301.286 Avg Mbps: 3301.286 3000 413468984 3307.752 100.00% Conn: 1 Mbps: 3307.752 Peak Mbps: 3307.752 Avg Mbps: 3307.752 4000 411994376 3299.254 100.00% Conn: 1 Mbps: 3299.254 Peak Mbps: 3307.752 Avg Mbps: 3299.254 5000 412541408 3303.635 100.00% Conn: 1 Mbps: 3303.635 Peak Mbps: 3307.752 Avg Mbps: 3303.635 --- fc00::13 tcpbench statistics --- 2474907544 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3298.936/3302.173/3307.752/3.257 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.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 273110736 2182.703 100.00% Conn: 1 Mbps: 2182.703 Peak Mbps: 2182.703 Avg Mbps: 2182.703 2001 273365120 2186.921 100.00% Conn: 1 Mbps: 2186.921 Peak Mbps: 2186.921 Avg Mbps: 2186.921 3001 273512864 2188.103 100.00% Conn: 1 Mbps: 2188.103 Peak Mbps: 2188.103 Avg Mbps: 2188.103 4001 274267608 2194.141 100.00% Conn: 1 Mbps: 2194.141 Peak Mbps: 2194.141 Avg Mbps: 2194.141 5001 273992160 2191.937 100.00% Conn: 1 Mbps: 2191.937 Peak Mbps: 2194.141 Avg Mbps: 2191.937 --- 169.254.1.11 tcpbench statistics --- 1641874184 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2182.703/2188.761/2194.141/3.989 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 263856996 2110.856 100.00% Conn: 1 Mbps: 2110.856 Peak Mbps: 2110.856 Avg Mbps: 2110.856 2000 264453796 2115.630 100.00% Conn: 1 Mbps: 2115.630 Peak Mbps: 2115.630 Avg Mbps: 2115.630 3001 264287696 2114.302 100.00% Conn: 1 Mbps: 2114.302 Peak Mbps: 2115.630 Avg Mbps: 2114.302 4001 264339528 2114.716 100.00% Conn: 1 Mbps: 2114.716 Peak Mbps: 2115.630 Avg Mbps: 2114.716 5002 264342992 2114.744 100.00% Conn: 1 Mbps: 2114.744 Peak Mbps: 2115.630 Avg Mbps: 2114.744 --- fc00:0:0:1::11 tcpbench statistics --- 1585110740 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2110.856/2114.050/2115.630/1.655 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.041 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.041/0.041/0.041/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 934443632 7475.549 100.00% Conn: 1 Mbps: 7475.549 Peak Mbps: 7475.549 Avg Mbps: 7475.549 2000 934119280 7480.435 100.00% Conn: 1 Mbps: 7480.435 Peak Mbps: 7480.435 Avg Mbps: 7480.435 3000 932921784 7463.374 100.00% Conn: 1 Mbps: 7463.374 Peak Mbps: 7480.435 Avg Mbps: 7463.374 4000 933461888 7467.695 100.00% Conn: 1 Mbps: 7467.695 Peak Mbps: 7480.435 Avg Mbps: 7467.695 5000 931989272 7463.378 100.00% Conn: 1 Mbps: 7463.378 Peak Mbps: 7480.435 Avg Mbps: 7463.378 --- 169.254.1.12 tcpbench statistics --- 5598577608 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7463.374/7470.086/7480.435/6.822 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 939429792 7515.438 100.00% Conn: 1 Mbps: 7515.438 Peak Mbps: 7515.438 Avg Mbps: 7515.438 2000 939901032 7526.735 100.00% Conn: 1 Mbps: 7526.735 Peak Mbps: 7526.735 Avg Mbps: 7526.735 3000 941277624 7530.221 100.00% Conn: 1 Mbps: 7530.221 Peak Mbps: 7530.221 Avg Mbps: 7530.221 4000 940013844 7527.638 100.00% Conn: 1 Mbps: 7527.638 Peak Mbps: 7530.221 Avg Mbps: 7527.638 5000 940312296 7522.498 100.00% Conn: 1 Mbps: 7522.498 Peak Mbps: 7530.221 Avg Mbps: 7522.498 --- fc00:0:0:1::12 tcpbench statistics --- 5640325824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7515.438/7524.506/7530.221/5.171 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.042 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.042/0.042/0.042/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.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-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 1389451882 11115.615 100.00% Conn: 1 Mbps: 11115.615 Peak Mbps: 11115.615 Avg Mbps: 11115.615 2000 1397823816 11193.784 100.00% Conn: 1 Mbps: 11193.784 Peak Mbps: 11193.784 Avg Mbps: 11193.784 3000 1400015788 11200.126 100.00% Conn: 1 Mbps: 11200.126 Peak Mbps: 11200.126 Avg Mbps: 11200.126 4000 1397921964 11183.376 100.00% Conn: 1 Mbps: 11183.376 Peak Mbps: 11200.126 Avg Mbps: 11183.376 5000 1391182468 11129.460 100.00% Conn: 1 Mbps: 11129.460 Peak Mbps: 11200.126 Avg Mbps: 11129.460 --- 169.254.0.13 tcpbench statistics --- 8371308010 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11115.615/11164.472/11200.126/34.930 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 1338665052 10709.320 100.00% Conn: 1 Mbps: 10709.320 Peak Mbps: 10709.320 Avg Mbps: 10709.320 2000 1367575592 10951.556 100.00% Conn: 1 Mbps: 10951.556 Peak Mbps: 10951.556 Avg Mbps: 10951.556 3000 1334258368 10674.067 100.00% Conn: 1 Mbps: 10674.067 Peak Mbps: 10951.556 Avg Mbps: 10674.067 4000 1350246712 10801.974 100.00% Conn: 1 Mbps: 10801.974 Peak Mbps: 10951.556 Avg Mbps: 10801.974 5000 1357603312 10860.826 100.00% Conn: 1 Mbps: 10860.826 Peak Mbps: 10951.556 Avg Mbps: 10860.826 --- fc00::13 tcpbench statistics --- 8082443924 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10674.067/10799.549/10951.556/100.751 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.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-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.054 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.054/0.054/0.054/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 267713776 2141.710 100.00% Conn: 1 Mbps: 2141.710 Peak Mbps: 2141.710 Avg Mbps: 2141.710 2000 267784800 2144.423 100.00% Conn: 1 Mbps: 2144.423 Peak Mbps: 2144.423 Avg Mbps: 2144.423 3001 268191464 2145.532 100.00% Conn: 1 Mbps: 2145.532 Peak Mbps: 2145.532 Avg Mbps: 2145.532 4002 268087208 2144.698 100.00% Conn: 1 Mbps: 2144.698 Peak Mbps: 2145.532 Avg Mbps: 2144.698 5002 268123240 2144.986 100.00% Conn: 1 Mbps: 2144.986 Peak Mbps: 2145.532 Avg Mbps: 2144.986 --- 169.254.1.11 tcpbench statistics --- 1607058856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2141.710/2144.270/2145.532/1.331 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 411345272 3290.762 100.00% Conn: 1 Mbps: 3290.762 Peak Mbps: 3290.762 Avg Mbps: 3290.762 2000 410639832 3285.119 100.00% Conn: 1 Mbps: 3285.119 Peak Mbps: 3290.762 Avg Mbps: 3285.119 3001 410974376 3287.795 100.00% Conn: 1 Mbps: 3287.795 Peak Mbps: 3290.762 Avg Mbps: 3287.795 4000 410543360 3287.635 100.00% Conn: 1 Mbps: 3287.635 Peak Mbps: 3290.762 Avg Mbps: 3287.635 5001 410470248 3283.762 100.00% Conn: 1 Mbps: 3283.762 Peak Mbps: 3290.762 Avg Mbps: 3283.762 --- fc00:0:0:1::11 tcpbench statistics --- 2464088128 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3283.762/3287.014/3290.762/2.417 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.042 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.042/0.042/0.042/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.047 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.047/0.047/0.047/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 1392182546 11137.460 100.00% Conn: 1 Mbps: 11137.460 Peak Mbps: 11137.460 Avg Mbps: 11137.460 2000 1401651588 11224.437 100.00% Conn: 1 Mbps: 11224.437 Peak Mbps: 11224.437 Avg Mbps: 11224.437 3000 1406951580 11255.613 100.00% Conn: 1 Mbps: 11255.613 Peak Mbps: 11255.613 Avg Mbps: 11255.613 4000 1393897896 11151.183 100.00% Conn: 1 Mbps: 11151.183 Peak Mbps: 11255.613 Avg Mbps: 11151.183 5000 1396482460 11171.860 100.00% Conn: 1 Mbps: 11171.860 Peak Mbps: 11255.613 Avg Mbps: 11171.860 --- 169.254.1.12 tcpbench statistics --- 8389447910 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11137.460/11188.111/11255.613/44.876 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 1318652868 10549.223 100.00% Conn: 1 Mbps: 10549.223 Peak Mbps: 10549.223 Avg Mbps: 10549.223 2000 1389416520 11126.459 100.00% Conn: 1 Mbps: 11126.459 Peak Mbps: 11126.459 Avg Mbps: 11126.459 3000 1366790888 10934.327 100.00% Conn: 1 Mbps: 10934.327 Peak Mbps: 11126.459 Avg Mbps: 10934.327 4000 1312613616 10500.909 100.00% Conn: 1 Mbps: 10500.909 Peak Mbps: 11126.459 Avg Mbps: 10500.909 5000 1301464280 10411.714 100.00% Conn: 1 Mbps: 10411.714 Peak Mbps: 11126.459 Avg Mbps: 10411.714 --- fc00:0:0:1::12 tcpbench statistics --- 8022150268 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10411.714/10704.526/11126.459/276.461 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.038 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.038/0.038/0.038/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 1416639046 11333.112 100.00% Conn: 1 Mbps: 11333.112 Peak Mbps: 11333.112 Avg Mbps: 11333.112 2000 1416406504 11342.595 100.00% Conn: 1 Mbps: 11342.595 Peak Mbps: 11342.595 Avg Mbps: 11342.595 3000 1418533044 11348.264 100.00% Conn: 1 Mbps: 11348.264 Peak Mbps: 11348.264 Avg Mbps: 11348.264 4000 1416602800 11332.822 100.00% Conn: 1 Mbps: 11332.822 Peak Mbps: 11348.264 Avg Mbps: 11332.822 5000 1420266992 11362.136 100.00% Conn: 1 Mbps: 11362.136 Peak Mbps: 11362.136 Avg Mbps: 11362.136 --- 169.254.0.13 tcpbench statistics --- 8507308590 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11332.822/11343.786/11362.136/10.884 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 1427411932 11419.295 100.00% Conn: 1 Mbps: 11419.295 Peak Mbps: 11419.295 Avg Mbps: 11419.295 2000 1438591304 11520.251 100.00% Conn: 1 Mbps: 11520.251 Peak Mbps: 11520.251 Avg Mbps: 11520.251 3000 1439277920 11514.223 100.00% Conn: 1 Mbps: 11514.223 Peak Mbps: 11520.251 Avg Mbps: 11514.223 4000 1439277920 11514.223 100.00% Conn: 1 Mbps: 11514.223 Peak Mbps: 11520.251 Avg Mbps: 11514.223 5000 1438754784 11510.038 100.00% Conn: 1 Mbps: 11510.038 Peak Mbps: 11520.251 Avg Mbps: 11510.038 --- fc00::13 tcpbench statistics --- 8618079732 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11419.295/11495.606/11520.251/38.294 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.82s