START sys/net/pair 2024-12-25T02:44:37Z ==== 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.040 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.040/0.040/0.040/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.041 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.041/0.041/0.041/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 956072868 7648.583 100.00% Conn: 1 Mbps: 7648.583 Peak Mbps: 7648.583 Avg Mbps: 7648.583 2000 957551196 7668.078 100.00% Conn: 1 Mbps: 7668.078 Peak Mbps: 7668.078 Avg Mbps: 7668.078 3000 956565644 7652.525 100.00% Conn: 1 Mbps: 7652.525 Peak Mbps: 7668.078 Avg Mbps: 7652.525 4000 952663176 7621.305 100.00% Conn: 1 Mbps: 7621.305 Peak Mbps: 7668.078 Avg Mbps: 7621.305 5000 956788188 7654.306 100.00% Conn: 1 Mbps: 7654.306 Peak Mbps: 7668.078 Avg Mbps: 7654.306 --- 169.254.1.11 tcpbench statistics --- 5735817264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7621.305/7648.959/7668.078/15.308 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 961016304 7688.130 100.00% Conn: 1 Mbps: 7688.130 Peak Mbps: 7688.130 Avg Mbps: 7688.130 2000 958947096 7679.256 100.00% Conn: 1 Mbps: 7679.256 Peak Mbps: 7688.130 Avg Mbps: 7679.256 3000 961523696 7692.190 100.00% Conn: 1 Mbps: 7692.190 Peak Mbps: 7692.190 Avg Mbps: 7692.190 4000 960921168 7687.369 100.00% Conn: 1 Mbps: 7687.369 Peak Mbps: 7692.190 Avg Mbps: 7687.369 5000 959644760 7677.158 100.00% Conn: 1 Mbps: 7677.158 Peak Mbps: 7692.190 Avg Mbps: 7677.158 --- fc00:0:0:1::11 tcpbench statistics --- 5761301384 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7677.158/7684.821/7692.190/5.682 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.114 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.114/0.114/0.114/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1001 263647640 2107.074 100.00% Conn: 1 Mbps: 2107.074 Peak Mbps: 2107.074 Avg Mbps: 2107.074 2000 263208064 2107.772 100.00% Conn: 1 Mbps: 2107.772 Peak Mbps: 2107.772 Avg Mbps: 2107.772 3001 263292216 2106.338 100.00% Conn: 1 Mbps: 2106.338 Peak Mbps: 2107.772 Avg Mbps: 2106.338 4003 263669424 2107.248 100.00% Conn: 1 Mbps: 2107.248 Peak Mbps: 2107.772 Avg Mbps: 2107.248 5003 263151032 2105.208 100.00% Conn: 1 Mbps: 2105.208 Peak Mbps: 2107.772 Avg Mbps: 2105.208 --- 169.254.1.12 tcpbench statistics --- 1579528960 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2105.208/2106.728/2107.772/0.888 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 258612324 2068.899 100.00% Conn: 1 Mbps: 2068.899 Peak Mbps: 2068.899 Avg Mbps: 2068.899 2000 258374864 2066.999 100.00% Conn: 1 Mbps: 2066.999 Peak Mbps: 2068.899 Avg Mbps: 2066.999 3002 258366480 2064.867 100.00% Conn: 1 Mbps: 2064.867 Peak Mbps: 2068.899 Avg Mbps: 2064.867 4001 257927660 2065.487 100.00% Conn: 1 Mbps: 2065.487 Peak Mbps: 2068.899 Avg Mbps: 2065.487 5002 258349288 2066.794 100.00% Conn: 1 Mbps: 2066.794 Peak Mbps: 2068.899 Avg Mbps: 2066.794 --- fc00:0:0:1::12 tcpbench statistics --- 1549183688 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2064.867/2066.609/2068.899/1.394 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.054 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.054/0.054/0.054/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.061 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.061/0.061/0.061/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 494691468 3957.532 100.00% Conn: 1 Mbps: 3957.532 Peak Mbps: 3957.532 Avg Mbps: 3957.532 2000 494611988 3960.857 100.00% Conn: 1 Mbps: 3960.857 Peak Mbps: 3960.857 Avg Mbps: 3960.857 3000 494961700 3959.694 100.00% Conn: 1 Mbps: 3959.694 Peak Mbps: 3960.857 Avg Mbps: 3959.694 4000 497361996 3978.896 100.00% Conn: 1 Mbps: 3978.896 Peak Mbps: 3978.896 Avg Mbps: 3978.896 5000 498260120 3990.071 100.00% Conn: 1 Mbps: 3990.071 Peak Mbps: 3990.071 Avg Mbps: 3990.071 --- 169.254.0.13 tcpbench statistics --- 2980134392 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3957.532/3969.410/3990.071/12.849 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 463677008 3709.416 100.00% Conn: 1 Mbps: 3709.416 Peak Mbps: 3709.416 Avg Mbps: 3709.416 2000 463692864 3713.256 100.00% Conn: 1 Mbps: 3713.256 Peak Mbps: 3713.256 Avg Mbps: 3713.256 3000 464541160 3716.329 100.00% Conn: 1 Mbps: 3716.329 Peak Mbps: 3716.329 Avg Mbps: 3716.329 4000 465643152 3725.145 100.00% Conn: 1 Mbps: 3725.145 Peak Mbps: 3725.145 Avg Mbps: 3725.145 5000 466118832 3728.951 100.00% Conn: 1 Mbps: 3728.951 Peak Mbps: 3728.951 Avg Mbps: 3728.951 --- fc00::13 tcpbench statistics --- 2788642288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3709.416/3718.619/3728.951/7.322 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.043 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-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 266203696 2127.502 100.00% Conn: 1 Mbps: 2127.502 Peak Mbps: 2127.502 Avg Mbps: 2127.502 2001 265689280 2125.514 100.00% Conn: 1 Mbps: 2125.514 Peak Mbps: 2127.502 Avg Mbps: 2125.514 3000 266589816 2134.853 100.00% Conn: 1 Mbps: 2134.853 Peak Mbps: 2134.853 Avg Mbps: 2134.853 4001 266897344 2135.179 100.00% Conn: 1 Mbps: 2135.179 Peak Mbps: 2135.179 Avg Mbps: 2135.179 5001 266748816 2133.991 100.00% Conn: 1 Mbps: 2133.991 Peak Mbps: 2135.179 Avg Mbps: 2133.991 --- 169.254.1.11 tcpbench statistics --- 1598597304 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2125.514/2131.408/2135.179/4.068 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 261660312 2093.282 100.00% Conn: 1 Mbps: 2093.282 Peak Mbps: 2093.282 Avg Mbps: 2093.282 2001 261091316 2088.731 100.00% Conn: 1 Mbps: 2088.731 Peak Mbps: 2093.282 Avg Mbps: 2088.731 3001 260921964 2089.465 100.00% Conn: 1 Mbps: 2089.465 Peak Mbps: 2093.282 Avg Mbps: 2089.465 4002 261377072 2088.928 100.00% Conn: 1 Mbps: 2088.928 Peak Mbps: 2093.282 Avg Mbps: 2088.928 5001 261645932 2095.263 100.00% Conn: 1 Mbps: 2095.263 Peak Mbps: 2095.263 Avg Mbps: 2095.263 --- fc00:0:0:1::11 tcpbench statistics --- 1568109764 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2088.731/2091.134/2095.263/2.649 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.035 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.035/0.035/0.035/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 956234584 7649.877 100.00% Conn: 1 Mbps: 7649.877 Peak Mbps: 7649.877 Avg Mbps: 7649.877 2000 949748992 7605.598 100.00% Conn: 1 Mbps: 7605.598 Peak Mbps: 7649.877 Avg Mbps: 7605.598 3000 948896120 7591.169 100.00% Conn: 1 Mbps: 7591.169 Peak Mbps: 7649.877 Avg Mbps: 7591.169 4000 947191824 7585.120 100.00% Conn: 1 Mbps: 7585.120 Peak Mbps: 7649.877 Avg Mbps: 7585.120 5000 949026440 7592.212 100.00% Conn: 1 Mbps: 7592.212 Peak Mbps: 7649.877 Avg Mbps: 7592.212 --- 169.254.1.12 tcpbench statistics --- 5700403864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7585.120/7604.795/7649.877/23.512 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 941089128 7528.713 100.00% Conn: 1 Mbps: 7528.713 Peak Mbps: 7528.713 Avg Mbps: 7528.713 2000 940112376 7528.427 100.00% Conn: 1 Mbps: 7528.427 Peak Mbps: 7528.713 Avg Mbps: 7528.427 3000 940312296 7522.498 100.00% Conn: 1 Mbps: 7522.498 Peak Mbps: 7528.713 Avg Mbps: 7522.498 4000 940080960 7528.176 100.00% Conn: 1 Mbps: 7528.176 Peak Mbps: 7528.713 Avg Mbps: 7528.176 5000 939818208 7518.546 100.00% Conn: 1 Mbps: 7518.546 Peak Mbps: 7528.713 Avg Mbps: 7518.546 --- fc00:0:0:1::12 tcpbench statistics --- 5641428240 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7518.546/7525.272/7528.713/4.078 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.042 ms --- fc00::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-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 1391041090 11128.329 100.00% Conn: 1 Mbps: 11128.329 Peak Mbps: 11128.329 Avg Mbps: 11128.329 2000 1391476912 11142.958 100.00% Conn: 1 Mbps: 11142.958 Peak Mbps: 11142.958 Avg Mbps: 11142.958 3000 1386700376 11093.603 100.00% Conn: 1 Mbps: 11093.603 Peak Mbps: 11142.958 Avg Mbps: 11093.603 4000 1386913030 11095.304 100.00% Conn: 1 Mbps: 11095.304 Peak Mbps: 11142.958 Avg Mbps: 11095.304 5000 1390053766 11120.430 100.00% Conn: 1 Mbps: 11120.430 Peak Mbps: 11142.958 Avg Mbps: 11120.430 --- 169.254.0.13 tcpbench statistics --- 8332836476 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11093.603/11116.125/11142.958/19.122 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 1408782624 11270.261 100.00% Conn: 1 Mbps: 11270.261 Peak Mbps: 11270.261 Avg Mbps: 11270.261 2000 1421000856 11379.386 100.00% Conn: 1 Mbps: 11379.386 Peak Mbps: 11379.386 Avg Mbps: 11379.386 3000 1396217288 11169.738 100.00% Conn: 1 Mbps: 11169.738 Peak Mbps: 11379.386 Avg Mbps: 11169.738 4000 1405143296 11241.146 100.00% Conn: 1 Mbps: 11241.146 Peak Mbps: 11379.386 Avg Mbps: 11241.146 5000 1390985928 11127.887 100.00% Conn: 1 Mbps: 11127.887 Peak Mbps: 11379.386 Avg Mbps: 11127.887 --- fc00::13 tcpbench statistics --- 8412723568 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11127.887/11237.684/11379.386/86.977 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.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-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 262606640 2100.853 100.00% Conn: 1 Mbps: 2100.853 Peak Mbps: 2100.853 Avg Mbps: 2100.853 2001 262868448 2100.847 100.00% Conn: 1 Mbps: 2100.847 Peak Mbps: 2100.853 Avg Mbps: 2100.847 3000 262528672 2102.332 100.00% Conn: 1 Mbps: 2102.332 Peak Mbps: 2102.332 Avg Mbps: 2102.332 4001 262766312 2102.130 100.00% Conn: 1 Mbps: 2102.130 Peak Mbps: 2102.332 Avg Mbps: 2102.130 5001 262670688 2101.366 100.00% Conn: 1 Mbps: 2101.366 Peak Mbps: 2102.332 Avg Mbps: 2101.366 --- 169.254.1.11 tcpbench statistics --- 1576229296 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2100.847/2101.506/2102.332/0.625 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 439560080 3516.481 100.00% Conn: 1 Mbps: 3516.481 Peak Mbps: 3516.481 Avg Mbps: 3516.481 2000 436784640 3494.277 100.00% Conn: 1 Mbps: 3494.277 Peak Mbps: 3516.481 Avg Mbps: 3494.277 3001 437332672 3498.661 100.00% Conn: 1 Mbps: 3498.661 Peak Mbps: 3516.481 Avg Mbps: 3498.661 4001 437036568 3496.293 100.00% Conn: 1 Mbps: 3496.293 Peak Mbps: 3516.481 Avg Mbps: 3496.293 5001 437153424 3497.227 100.00% Conn: 1 Mbps: 3497.227 Peak Mbps: 3516.481 Avg Mbps: 3497.227 --- fc00:0:0:1::11 tcpbench statistics --- 2623835240 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3494.277/3500.588/3516.481/8.073 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.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-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.043 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.043/0.043/0.043/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 1418835624 11350.685 100.00% Conn: 1 Mbps: 11350.685 Peak Mbps: 11350.685 Avg Mbps: 11350.685 2000 1420937670 11378.880 100.00% Conn: 1 Mbps: 11378.880 Peak Mbps: 11378.880 Avg Mbps: 11378.880 3000 1407344172 11258.753 100.00% Conn: 1 Mbps: 11258.753 Peak Mbps: 11378.880 Avg Mbps: 11258.753 4000 1390462716 11123.702 100.00% Conn: 1 Mbps: 11123.702 Peak Mbps: 11378.880 Avg Mbps: 11123.702 5000 1388205312 11105.642 100.00% Conn: 1 Mbps: 11105.642 Peak Mbps: 11378.880 Avg Mbps: 11105.642 --- 169.254.1.12 tcpbench statistics --- 8450959886 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11105.642/11243.533/11378.880/112.610 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 1474422444 11795.380 100.00% Conn: 1 Mbps: 11795.380 Peak Mbps: 11795.380 Avg Mbps: 11795.380 2000 1434406216 11486.736 100.00% Conn: 1 Mbps: 11486.736 Peak Mbps: 11795.380 Avg Mbps: 11486.736 3000 1495057296 11960.458 100.00% Conn: 1 Mbps: 11960.458 Peak Mbps: 11960.458 Avg Mbps: 11960.458 4000 1442253256 11538.026 100.00% Conn: 1 Mbps: 11538.026 Peak Mbps: 11960.458 Avg Mbps: 11538.026 5000 1483613696 11868.910 100.00% Conn: 1 Mbps: 11868.910 Peak Mbps: 11960.458 Avg Mbps: 11868.910 --- fc00:0:0:1::12 tcpbench statistics --- 8805356084 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11486.736/11729.902/11960.458/185.856 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.037 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.037/0.037/0.037/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.038 ms --- fc00::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-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 1399382000 11195.056 100.00% Conn: 1 Mbps: 11195.056 Peak Mbps: 11195.056 Avg Mbps: 11195.056 2000 1398150976 11196.404 100.00% Conn: 1 Mbps: 11196.404 Peak Mbps: 11196.404 Avg Mbps: 11196.404 3000 1396253448 11170.028 100.00% Conn: 1 Mbps: 11170.028 Peak Mbps: 11196.404 Avg Mbps: 11170.028 4000 1392638330 11141.107 100.00% Conn: 1 Mbps: 11141.107 Peak Mbps: 11196.404 Avg Mbps: 11141.107 5000 1397840174 11182.721 100.00% Conn: 1 Mbps: 11182.721 Peak Mbps: 11196.404 Avg Mbps: 11182.721 --- 169.254.0.13 tcpbench statistics --- 8376494308 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11141.107/11177.063/11196.404/20.358 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 1411575872 11292.607 100.00% Conn: 1 Mbps: 11292.607 Peak Mbps: 11292.607 Avg Mbps: 11292.607 2000 1413611560 11320.213 100.00% Conn: 1 Mbps: 11320.213 Peak Mbps: 11320.213 Avg Mbps: 11320.213 3000 1410276568 11282.213 100.00% Conn: 1 Mbps: 11282.213 Peak Mbps: 11320.213 Avg Mbps: 11282.213 4000 1405535648 11244.285 100.00% Conn: 1 Mbps: 11244.285 Peak Mbps: 11320.213 Avg Mbps: 11244.285 5000 1409916912 11279.335 100.00% Conn: 1 Mbps: 11279.335 Peak Mbps: 11320.213 Avg Mbps: 11279.335 --- fc00::13 tcpbench statistics --- 8460768080 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11244.285/11283.731/11320.213/24.443 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.85s