START sys/net/pair 2024-07-16T01:48:34Z ==== 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.039 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.039/0.039/0.039/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 931632768 7453.062 100.00% Conn: 1 Mbps: 7453.062 Peak Mbps: 7453.062 Avg Mbps: 7453.062 2000 930202128 7449.066 100.00% Conn: 1 Mbps: 7449.066 Peak Mbps: 7453.062 Avg Mbps: 7449.066 3000 931481756 7451.854 100.00% Conn: 1 Mbps: 7451.854 Peak Mbps: 7453.062 Avg Mbps: 7451.854 4000 931887104 7455.097 100.00% Conn: 1 Mbps: 7455.097 Peak Mbps: 7455.097 Avg Mbps: 7455.097 5000 932658060 7461.264 100.00% Conn: 1 Mbps: 7461.264 Peak Mbps: 7461.264 Avg Mbps: 7461.264 --- 169.254.1.11 tcpbench statistics --- 5590472188 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7449.066/7454.069/7461.264/4.093 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 942591632 7540.733 100.00% Conn: 1 Mbps: 7540.733 Peak Mbps: 7540.733 Avg Mbps: 7540.733 2000 940847472 7534.314 100.00% Conn: 1 Mbps: 7534.314 Peak Mbps: 7540.733 Avg Mbps: 7534.314 3000 940395576 7523.165 100.00% Conn: 1 Mbps: 7523.165 Peak Mbps: 7540.733 Avg Mbps: 7523.165 4000 940387648 7523.101 100.00% Conn: 1 Mbps: 7523.101 Peak Mbps: 7540.733 Avg Mbps: 7523.101 5000 942504424 7547.583 100.00% Conn: 1 Mbps: 7547.583 Peak Mbps: 7547.583 Avg Mbps: 7547.583 --- fc00:0:0:1::11 tcpbench statistics --- 5648105400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7523.101/7533.779/7547.583/9.653 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.070 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.070/0.070/0.070/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 273167088 2185.337 100.00% Conn: 1 Mbps: 2185.337 Peak Mbps: 2185.337 Avg Mbps: 2185.337 2001 273725736 2189.806 100.00% Conn: 1 Mbps: 2189.806 Peak Mbps: 2189.806 Avg Mbps: 2189.806 3001 273777408 2190.219 100.00% Conn: 1 Mbps: 2190.219 Peak Mbps: 2190.219 Avg Mbps: 2190.219 4001 273758528 2190.068 100.00% Conn: 1 Mbps: 2190.068 Peak Mbps: 2190.219 Avg Mbps: 2190.068 5001 273414184 2189.503 100.00% Conn: 1 Mbps: 2189.503 Peak Mbps: 2190.219 Avg Mbps: 2189.503 --- 169.254.1.12 tcpbench statistics --- 1641434504 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2185.337/2188.987/2190.219/1.841 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 268763080 2150.105 100.00% Conn: 1 Mbps: 2150.105 Peak Mbps: 2150.105 Avg Mbps: 2150.105 2001 268898100 2151.185 100.00% Conn: 1 Mbps: 2151.185 Peak Mbps: 2151.185 Avg Mbps: 2151.185 3000 268696200 2151.721 100.00% Conn: 1 Mbps: 2151.721 Peak Mbps: 2151.721 Avg Mbps: 2151.721 4000 269093920 2152.751 100.00% Conn: 1 Mbps: 2152.751 Peak Mbps: 2152.751 Avg Mbps: 2152.751 5001 269080856 2152.647 100.00% Conn: 1 Mbps: 2152.647 Peak Mbps: 2152.751 Avg Mbps: 2152.647 --- fc00:0:0:1::12 tcpbench statistics --- 1613509872 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2150.105/2151.682/2152.751/0.981 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.055 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.055/0.055/0.055/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 428715120 3429.721 100.00% Conn: 1 Mbps: 3429.721 Peak Mbps: 3429.721 Avg Mbps: 3429.721 2000 427570608 3423.989 100.00% Conn: 1 Mbps: 3423.989 Peak Mbps: 3429.721 Avg Mbps: 3423.989 3000 428436940 3427.496 100.00% Conn: 1 Mbps: 3427.496 Peak Mbps: 3429.721 Avg Mbps: 3427.496 4000 428476680 3427.813 100.00% Conn: 1 Mbps: 3427.813 Peak Mbps: 3429.721 Avg Mbps: 3427.813 5000 427244740 3417.958 100.00% Conn: 1 Mbps: 3417.958 Peak Mbps: 3429.721 Avg Mbps: 3417.958 --- 169.254.0.13 tcpbench statistics --- 2568881028 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3417.958/3425.395/3429.721/4.154 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 425337200 3402.698 100.00% Conn: 1 Mbps: 3402.698 Peak Mbps: 3402.698 Avg Mbps: 3402.698 2000 425638464 3408.516 100.00% Conn: 1 Mbps: 3408.516 Peak Mbps: 3408.516 Avg Mbps: 3408.516 3000 424655392 3397.243 100.00% Conn: 1 Mbps: 3397.243 Peak Mbps: 3408.516 Avg Mbps: 3397.243 4000 425400624 3403.205 100.00% Conn: 1 Mbps: 3403.205 Peak Mbps: 3408.516 Avg Mbps: 3403.205 5000 425939728 3407.518 100.00% Conn: 1 Mbps: 3407.518 Peak Mbps: 3408.516 Avg Mbps: 3407.518 --- fc00::13 tcpbench statistics --- 2552340320 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3397.243/3403.836/3408.516/4.015 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.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-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.050 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.050/0.050/0.050/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 275526280 2204.210 100.00% Conn: 1 Mbps: 2204.210 Peak Mbps: 2204.210 Avg Mbps: 2204.210 2000 277100744 2216.806 100.00% Conn: 1 Mbps: 2216.806 Peak Mbps: 2216.806 Avg Mbps: 2216.806 3001 277104752 2216.838 100.00% Conn: 1 Mbps: 2216.838 Peak Mbps: 2216.838 Avg Mbps: 2216.838 4001 276875576 2217.222 100.00% Conn: 1 Mbps: 2217.222 Peak Mbps: 2217.222 Avg Mbps: 2217.222 5001 276997816 2215.983 100.00% Conn: 1 Mbps: 2215.983 Peak Mbps: 2217.222 Avg Mbps: 2215.983 --- 169.254.1.11 tcpbench statistics --- 1660243376 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2204.210/2214.212/2217.222/5.017 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 270261236 2162.090 100.00% Conn: 1 Mbps: 2162.090 Peak Mbps: 2162.090 Avg Mbps: 2162.090 2001 270503836 2164.031 100.00% Conn: 1 Mbps: 2164.031 Peak Mbps: 2164.031 Avg Mbps: 2164.031 3001 270466312 2165.896 100.00% Conn: 1 Mbps: 2165.896 Peak Mbps: 2165.896 Avg Mbps: 2165.896 4001 270436904 2165.661 100.00% Conn: 1 Mbps: 2165.661 Peak Mbps: 2165.896 Avg Mbps: 2165.661 5001 271565024 2172.520 100.00% Conn: 1 Mbps: 2172.520 Peak Mbps: 2172.520 Avg Mbps: 2172.520 --- fc00:0:0:1::11 tcpbench statistics --- 1624379324 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2162.090/2166.040/2172.520/3.516 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.036 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.036/0.036/0.036/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 946198496 7569.588 100.00% Conn: 1 Mbps: 7569.588 Peak Mbps: 7569.588 Avg Mbps: 7569.588 2000 944932944 7567.031 100.00% Conn: 1 Mbps: 7567.031 Peak Mbps: 7569.588 Avg Mbps: 7567.031 3000 943487840 7547.903 100.00% Conn: 1 Mbps: 7547.903 Peak Mbps: 7569.588 Avg Mbps: 7547.903 4000 943835360 7550.683 100.00% Conn: 1 Mbps: 7550.683 Peak Mbps: 7569.588 Avg Mbps: 7550.683 5000 943224304 7545.794 100.00% Conn: 1 Mbps: 7545.794 Peak Mbps: 7569.588 Avg Mbps: 7545.794 --- 169.254.1.12 tcpbench statistics --- 5665790872 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7545.794/7556.200/7569.588/10.041 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 957752460 7662.020 100.00% Conn: 1 Mbps: 7662.020 Peak Mbps: 7662.020 Avg Mbps: 7662.020 2000 957890976 7670.799 100.00% Conn: 1 Mbps: 7670.799 Peak Mbps: 7670.799 Avg Mbps: 7670.799 3000 960559908 7684.479 100.00% Conn: 1 Mbps: 7684.479 Peak Mbps: 7684.479 Avg Mbps: 7684.479 4000 960856932 7686.855 100.00% Conn: 1 Mbps: 7686.855 Peak Mbps: 7686.855 Avg Mbps: 7686.855 5000 961265340 7690.123 100.00% Conn: 1 Mbps: 7690.123 Peak Mbps: 7690.123 Avg Mbps: 7690.123 --- fc00:0:0:1::12 tcpbench statistics --- 5758707024 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7662.020/7678.855/7690.123/10.686 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.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-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.046 ms --- fc00::13 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-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 1406660278 11253.282 100.00% Conn: 1 Mbps: 11253.282 Peak Mbps: 11253.282 Avg Mbps: 11253.282 2000 1410746204 11297.267 100.00% Conn: 1 Mbps: 11297.267 Peak Mbps: 11297.267 Avg Mbps: 11297.267 3000 1414639840 11317.119 100.00% Conn: 1 Mbps: 11317.119 Peak Mbps: 11317.119 Avg Mbps: 11317.119 4000 1412775028 11302.200 100.00% Conn: 1 Mbps: 11302.200 Peak Mbps: 11317.119 Avg Mbps: 11302.200 5000 1411041080 11288.329 100.00% Conn: 1 Mbps: 11288.329 Peak Mbps: 11317.119 Avg Mbps: 11288.329 --- 169.254.0.13 tcpbench statistics --- 8467655978 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11253.282/11291.639/11317.119/21.329 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 1364200700 10913.606 100.00% Conn: 1 Mbps: 10913.606 Peak Mbps: 10913.606 Avg Mbps: 10913.606 2000 1351521856 10822.998 100.00% Conn: 1 Mbps: 10822.998 Peak Mbps: 10913.606 Avg Mbps: 10822.998 3000 1371466416 10971.731 100.00% Conn: 1 Mbps: 10971.731 Peak Mbps: 10971.731 Avg Mbps: 10971.731 4000 1376763168 11014.105 100.00% Conn: 1 Mbps: 11014.105 Peak Mbps: 11014.105 Avg Mbps: 11014.105 5000 1368294904 10946.359 100.00% Conn: 1 Mbps: 10946.359 Peak Mbps: 11014.105 Avg Mbps: 10946.359 --- fc00::13 tcpbench statistics --- 8202471012 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10822.998/10933.760/11014.105/64.390 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.053 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.053/0.053/0.053/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 271971056 2175.768 100.00% Conn: 1 Mbps: 2175.768 Peak Mbps: 2175.768 Avg Mbps: 2175.768 2000 271994816 2178.137 100.00% Conn: 1 Mbps: 2178.137 Peak Mbps: 2178.137 Avg Mbps: 2178.137 3000 272164720 2177.318 100.00% Conn: 1 Mbps: 2177.318 Peak Mbps: 2178.137 Avg Mbps: 2177.318 4001 272493752 2179.950 100.00% Conn: 1 Mbps: 2179.950 Peak Mbps: 2179.950 Avg Mbps: 2179.950 5002 271982160 2175.857 100.00% Conn: 1 Mbps: 2175.857 Peak Mbps: 2179.950 Avg Mbps: 2175.857 --- 169.254.1.11 tcpbench statistics --- 1632113160 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2175.768/2177.406/2179.950/1.555 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 428261320 3426.091 100.00% Conn: 1 Mbps: 3426.091 Peak Mbps: 3426.091 Avg Mbps: 3426.091 2000 426298336 3410.387 100.00% Conn: 1 Mbps: 3410.387 Peak Mbps: 3426.091 Avg Mbps: 3410.387 3000 426844160 3414.753 100.00% Conn: 1 Mbps: 3414.753 Peak Mbps: 3426.091 Avg Mbps: 3414.753 4001 426880224 3411.630 100.00% Conn: 1 Mbps: 3411.630 Peak Mbps: 3426.091 Avg Mbps: 3411.630 5001 427038768 3416.310 100.00% Conn: 1 Mbps: 3416.310 Peak Mbps: 3426.091 Avg Mbps: 3416.310 --- fc00:0:0:1::11 tcpbench statistics --- 2561332816 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3410.387/3415.834/3426.091/5.549 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.041 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.041/0.041/0.041/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.046 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.046/0.046/0.046/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 1397771106 11182.169 100.00% Conn: 1 Mbps: 11182.169 Peak Mbps: 11182.169 Avg Mbps: 11182.169 2000 1402894796 11234.393 100.00% Conn: 1 Mbps: 11234.393 Peak Mbps: 11234.393 Avg Mbps: 11234.393 3000 1407475036 11259.800 100.00% Conn: 1 Mbps: 11259.800 Peak Mbps: 11259.800 Avg Mbps: 11259.800 4000 1408063924 11264.511 100.00% Conn: 1 Mbps: 11264.511 Peak Mbps: 11264.511 Avg Mbps: 11264.511 5000 1407246024 11257.968 100.00% Conn: 1 Mbps: 11257.968 Peak Mbps: 11264.511 Avg Mbps: 11257.968 --- 169.254.1.12 tcpbench statistics --- 8430729626 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11182.169/11239.768/11264.511/30.631 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 1387832852 11102.663 100.00% Conn: 1 Mbps: 11102.663 Peak Mbps: 11102.663 Avg Mbps: 11102.663 2000 1374834104 11009.683 100.00% Conn: 1 Mbps: 11009.683 Peak Mbps: 11102.663 Avg Mbps: 11009.683 3000 1380392424 11043.139 100.00% Conn: 1 Mbps: 11043.139 Peak Mbps: 11102.663 Avg Mbps: 11043.139 4000 1380163552 11041.308 100.00% Conn: 1 Mbps: 11041.308 Peak Mbps: 11102.663 Avg Mbps: 11041.308 5000 1379607720 11036.862 100.00% Conn: 1 Mbps: 11036.862 Peak Mbps: 11102.663 Avg Mbps: 11036.862 --- fc00:0:0:1::12 tcpbench statistics --- 8297511228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11009.683/11046.731/11102.663/30.465 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.044 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-3-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 1406139286 11249.114 100.00% Conn: 1 Mbps: 11249.114 Peak Mbps: 11249.114 Avg Mbps: 11249.114 2000 1410746636 11297.270 100.00% Conn: 1 Mbps: 11297.270 Peak Mbps: 11297.270 Avg Mbps: 11297.270 3000 1410386760 11283.094 100.00% Conn: 1 Mbps: 11283.094 Peak Mbps: 11297.270 Avg Mbps: 11283.094 4000 1415294160 11322.353 100.00% Conn: 1 Mbps: 11322.353 Peak Mbps: 11322.353 Avg Mbps: 11322.353 5000 1413560212 11308.482 100.00% Conn: 1 Mbps: 11308.482 Peak Mbps: 11322.353 Avg Mbps: 11308.482 --- 169.254.0.13 tcpbench statistics --- 8465630482 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11249.114/11292.063/11322.353/25.057 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 1440859388 11526.875 100.00% Conn: 1 Mbps: 11526.875 Peak Mbps: 11526.875 Avg Mbps: 11526.875 2000 1441599336 11544.339 100.00% Conn: 1 Mbps: 11544.339 Peak Mbps: 11544.339 Avg Mbps: 11544.339 3000 1440716544 11525.732 100.00% Conn: 1 Mbps: 11525.732 Peak Mbps: 11544.339 Avg Mbps: 11525.732 4000 1441730120 11533.841 100.00% Conn: 1 Mbps: 11533.841 Peak Mbps: 11544.339 Avg Mbps: 11533.841 5000 1438068168 11504.545 100.00% Conn: 1 Mbps: 11504.545 Peak Mbps: 11544.339 Avg Mbps: 11504.545 --- fc00::13 tcpbench statistics --- 8641237900 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11504.545/11527.067/11544.339/13.063 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