START sys/net/pair 2024-02-25T02:55:18Z ==== 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.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 958234724 7665.878 100.00% Conn: 1 Mbps: 7665.878 Peak Mbps: 7665.878 Avg Mbps: 7665.878 2000 956963044 7663.368 100.00% Conn: 1 Mbps: 7663.368 Peak Mbps: 7665.878 Avg Mbps: 7663.368 3000 957002784 7656.022 100.00% Conn: 1 Mbps: 7656.022 Peak Mbps: 7665.878 Avg Mbps: 7656.022 4000 957463768 7659.710 100.00% Conn: 1 Mbps: 7659.710 Peak Mbps: 7665.878 Avg Mbps: 7659.710 5000 958973888 7679.471 100.00% Conn: 1 Mbps: 7679.471 Peak Mbps: 7679.471 Avg Mbps: 7679.471 --- 169.254.1.11 tcpbench statistics --- 5746459636 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7656.022/7664.890/7679.471/8.017 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 950630624 7605.045 100.00% Conn: 1 Mbps: 7605.045 Peak Mbps: 7605.045 Avg Mbps: 7605.045 2000 949584128 7604.277 100.00% Conn: 1 Mbps: 7604.277 Peak Mbps: 7605.045 Avg Mbps: 7604.277 3000 948252224 7586.018 100.00% Conn: 1 Mbps: 7586.018 Peak Mbps: 7605.045 Avg Mbps: 7586.018 4000 949814040 7598.512 100.00% Conn: 1 Mbps: 7598.512 Peak Mbps: 7605.045 Avg Mbps: 7598.512 5000 950289720 7602.318 100.00% Conn: 1 Mbps: 7602.318 Peak Mbps: 7605.045 Avg Mbps: 7602.318 --- fc00:0:0:1::11 tcpbench statistics --- 5698646400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7586.018/7599.234/7605.045/6.984 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.061 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.061/0.061/0.061/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.121 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.121/0.121/0.121/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 285147528 2281.180 100.00% Conn: 1 Mbps: 2281.180 Peak Mbps: 2281.180 Avg Mbps: 2281.180 2000 285441848 2283.535 100.00% Conn: 1 Mbps: 2283.535 Peak Mbps: 2283.535 Avg Mbps: 2283.535 3001 285344208 2282.754 100.00% Conn: 1 Mbps: 2282.754 Peak Mbps: 2283.535 Avg Mbps: 2282.754 4002 285591656 2284.733 100.00% Conn: 1 Mbps: 2284.733 Peak Mbps: 2284.733 Avg Mbps: 2284.733 5002 285248808 2281.990 100.00% Conn: 1 Mbps: 2281.990 Peak Mbps: 2284.733 Avg Mbps: 2281.990 --- 169.254.1.12 tcpbench statistics --- 1711379840 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2281.180/2282.838/2284.733/1.229 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 274794696 2198.358 100.00% Conn: 1 Mbps: 2198.358 Peak Mbps: 2198.358 Avg Mbps: 2198.358 2000 275410512 2205.490 100.00% Conn: 1 Mbps: 2205.490 Peak Mbps: 2205.490 Avg Mbps: 2205.490 3001 275523112 2204.185 100.00% Conn: 1 Mbps: 2204.185 Peak Mbps: 2205.490 Avg Mbps: 2204.185 4000 275243168 2204.149 100.00% Conn: 1 Mbps: 2204.149 Peak Mbps: 2205.490 Avg Mbps: 2204.149 5000 275289500 2202.316 100.00% Conn: 1 Mbps: 2202.316 Peak Mbps: 2205.490 Avg Mbps: 2202.316 --- fc00:0:0:1::12 tcpbench statistics --- 1651611384 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2198.358/2202.900/2205.490/2.486 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.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 453552620 3628.421 100.00% Conn: 1 Mbps: 3628.421 Peak Mbps: 3628.421 Avg Mbps: 3628.421 2000 451605360 3616.459 100.00% Conn: 1 Mbps: 3616.459 Peak Mbps: 3628.421 Avg Mbps: 3616.459 3000 451827904 3614.623 100.00% Conn: 1 Mbps: 3614.623 Peak Mbps: 3628.421 Avg Mbps: 3614.623 4000 452988312 3627.534 100.00% Conn: 1 Mbps: 3627.534 Peak Mbps: 3628.421 Avg Mbps: 3627.534 5000 453377764 3627.022 100.00% Conn: 1 Mbps: 3627.022 Peak Mbps: 3628.421 Avg Mbps: 3627.022 --- 169.254.0.13 tcpbench statistics --- 2716356168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3614.623/3622.812/3628.421/5.982 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 419708320 3357.667 100.00% Conn: 1 Mbps: 3357.667 Peak Mbps: 3357.667 Avg Mbps: 3357.667 2000 418741104 3353.282 100.00% Conn: 1 Mbps: 3353.282 Peak Mbps: 3357.667 Avg Mbps: 3353.282 3000 419303992 3354.432 100.00% Conn: 1 Mbps: 3354.432 Peak Mbps: 3357.667 Avg Mbps: 3354.432 4000 419700392 3357.603 100.00% Conn: 1 Mbps: 3357.603 Peak Mbps: 3357.667 Avg Mbps: 3357.603 5000 420873736 3366.990 100.00% Conn: 1 Mbps: 3366.990 Peak Mbps: 3366.990 Avg Mbps: 3366.990 --- fc00::13 tcpbench statistics --- 2518257848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3353.282/3357.995/3366.990/4.818 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.046 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 286292264 2290.338 100.00% Conn: 1 Mbps: 2290.338 Peak Mbps: 2290.338 Avg Mbps: 2290.338 2000 286632600 2295.356 100.00% Conn: 1 Mbps: 2295.356 Peak Mbps: 2295.356 Avg Mbps: 2295.356 3001 286624248 2292.994 100.00% Conn: 1 Mbps: 2292.994 Peak Mbps: 2295.356 Avg Mbps: 2292.994 4001 286602696 2292.822 100.00% Conn: 1 Mbps: 2292.822 Peak Mbps: 2295.356 Avg Mbps: 2292.822 5002 287934856 2303.479 100.00% Conn: 1 Mbps: 2303.479 Peak Mbps: 2303.479 Avg Mbps: 2303.479 --- 169.254.1.11 tcpbench statistics --- 1721660856 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2290.338/2294.998/2303.479/4.528 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 275988532 2207.908 100.00% Conn: 1 Mbps: 2207.908 Peak Mbps: 2207.908 Avg Mbps: 2207.908 2000 276726068 2213.809 100.00% Conn: 1 Mbps: 2213.809 Peak Mbps: 2213.809 Avg Mbps: 2213.809 3001 276676428 2213.411 100.00% Conn: 1 Mbps: 2213.411 Peak Mbps: 2213.809 Avg Mbps: 2213.411 4001 277289068 2218.313 100.00% Conn: 1 Mbps: 2218.313 Peak Mbps: 2218.313 Avg Mbps: 2218.313 5001 277638164 2221.105 100.00% Conn: 1 Mbps: 2221.105 Peak Mbps: 2221.105 Avg Mbps: 2221.105 --- fc00:0:0:1::11 tcpbench statistics --- 1661458604 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2207.908/2214.909/2221.105/4.526 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.038 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.038/0.038/0.038/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.042 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/0.000 ms ==== run-tcpbench-2-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 948173568 7585.389 100.00% Conn: 1 Mbps: 7585.389 Peak Mbps: 7585.389 Avg Mbps: 7585.389 2000 950587384 7612.311 100.00% Conn: 1 Mbps: 7612.311 Peak Mbps: 7612.311 Avg Mbps: 7612.311 3000 950368736 7602.950 100.00% Conn: 1 Mbps: 7602.950 Peak Mbps: 7612.311 Avg Mbps: 7602.950 4000 950468648 7603.749 100.00% Conn: 1 Mbps: 7603.749 Peak Mbps: 7612.311 Avg Mbps: 7603.749 5000 950289096 7602.313 100.00% Conn: 1 Mbps: 7602.313 Peak Mbps: 7612.311 Avg Mbps: 7602.313 --- 169.254.1.12 tcpbench statistics --- 5701305968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7585.389/7601.342/7612.311/8.765 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 967302924 7738.423 100.00% Conn: 1 Mbps: 7738.423 Peak Mbps: 7738.423 Avg Mbps: 7738.423 2000 967261512 7745.838 100.00% Conn: 1 Mbps: 7745.838 Peak Mbps: 7745.838 Avg Mbps: 7745.838 3000 965330856 7722.647 100.00% Conn: 1 Mbps: 7722.647 Peak Mbps: 7745.838 Avg Mbps: 7722.647 4000 965476512 7731.544 100.00% Conn: 1 Mbps: 7731.544 Peak Mbps: 7745.838 Avg Mbps: 7731.544 5000 966950208 7735.602 100.00% Conn: 1 Mbps: 7735.602 Peak Mbps: 7745.838 Avg Mbps: 7735.602 --- fc00:0:0:1::12 tcpbench statistics --- 5797184484 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7722.647/7734.811/7745.838/7.667 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.039 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-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 1361104776 10888.838 100.00% Conn: 1 Mbps: 10888.838 Peak Mbps: 10888.838 Avg Mbps: 10888.838 2000 1394633190 11168.234 100.00% Conn: 1 Mbps: 11168.234 Peak Mbps: 11168.234 Avg Mbps: 11168.234 3000 1374414606 10995.317 100.00% Conn: 1 Mbps: 10995.317 Peak Mbps: 11168.234 Avg Mbps: 10995.317 4000 1371813744 10974.510 100.00% Conn: 1 Mbps: 10974.510 Peak Mbps: 11168.234 Avg Mbps: 10974.510 5000 1385243674 11081.949 100.00% Conn: 1 Mbps: 11081.949 Peak Mbps: 11168.234 Avg Mbps: 11081.949 --- 169.254.0.13 tcpbench statistics --- 8268789460 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10888.838/11021.770/11168.234/95.580 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 1307848892 10462.791 100.00% Conn: 1 Mbps: 10462.791 Peak Mbps: 10462.791 Avg Mbps: 10462.791 2000 1375651504 11016.228 100.00% Conn: 1 Mbps: 11016.228 Peak Mbps: 11016.228 Avg Mbps: 11016.228 3000 1311174992 10489.400 100.00% Conn: 1 Mbps: 10489.400 Peak Mbps: 11016.228 Avg Mbps: 10489.400 4000 1361232568 10889.861 100.00% Conn: 1 Mbps: 10889.861 Peak Mbps: 11016.228 Avg Mbps: 10889.861 5000 1302347072 10418.777 100.00% Conn: 1 Mbps: 10418.777 Peak Mbps: 11016.228 Avg Mbps: 10418.777 --- fc00::13 tcpbench statistics --- 8015139028 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10418.777/10655.411/11016.228/247.311 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.046 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.046/0.046/0.046/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 281110912 2248.887 100.00% Conn: 1 Mbps: 2248.887 Peak Mbps: 2248.887 Avg Mbps: 2248.887 2000 281319616 2250.557 100.00% Conn: 1 Mbps: 2250.557 Peak Mbps: 2250.557 Avg Mbps: 2250.557 3000 281258360 2252.319 100.00% Conn: 1 Mbps: 2252.319 Peak Mbps: 2252.319 Avg Mbps: 2252.319 4000 281116840 2248.935 100.00% Conn: 1 Mbps: 2248.935 Peak Mbps: 2252.319 Avg Mbps: 2248.935 5001 281330256 2250.642 100.00% Conn: 1 Mbps: 2250.642 Peak Mbps: 2252.319 Avg Mbps: 2250.642 --- 169.254.1.11 tcpbench statistics --- 1687395064 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2248.887/2250.268/2252.319/1.274 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 439216136 3513.729 100.00% Conn: 1 Mbps: 3513.729 Peak Mbps: 3513.729 Avg Mbps: 3513.729 2000 437720432 3501.763 100.00% Conn: 1 Mbps: 3501.763 Peak Mbps: 3513.729 Avg Mbps: 3501.763 3001 436576776 3492.614 100.00% Conn: 1 Mbps: 3492.614 Peak Mbps: 3513.729 Avg Mbps: 3492.614 4001 436687560 3493.500 100.00% Conn: 1 Mbps: 3493.500 Peak Mbps: 3513.729 Avg Mbps: 3493.500 5001 435921392 3490.862 100.00% Conn: 1 Mbps: 3490.862 Peak Mbps: 3513.729 Avg Mbps: 3490.862 --- fc00:0:0:1::11 tcpbench statistics --- 2621870016 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3490.862/3498.494/3513.729/8.492 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.044 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.044/0.044/0.044/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 1357867428 10862.939 100.00% Conn: 1 Mbps: 10862.939 Peak Mbps: 10862.939 Avg Mbps: 10862.939 2000 1381956328 11066.717 100.00% Conn: 1 Mbps: 11066.717 Peak Mbps: 11066.717 Avg Mbps: 11066.717 3000 1366285592 10930.285 100.00% Conn: 1 Mbps: 10930.285 Peak Mbps: 11066.717 Avg Mbps: 10930.285 4000 1303372724 10426.982 100.00% Conn: 1 Mbps: 10426.982 Peak Mbps: 11066.717 Avg Mbps: 10426.982 5000 1387583708 11100.670 100.00% Conn: 1 Mbps: 11100.670 Peak Mbps: 11100.670 Avg Mbps: 11100.670 --- 169.254.1.12 tcpbench statistics --- 8159032860 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10426.982/10877.519/11100.670/241.484 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 1301229644 10409.837 100.00% Conn: 1 Mbps: 10409.837 Peak Mbps: 10409.837 Avg Mbps: 10409.837 2000 1280473448 10254.042 100.00% Conn: 1 Mbps: 10254.042 Peak Mbps: 10409.837 Avg Mbps: 10254.042 3000 1353025872 10824.207 100.00% Conn: 1 Mbps: 10824.207 Peak Mbps: 10824.207 Avg Mbps: 10824.207 4000 1300548792 10404.390 100.00% Conn: 1 Mbps: 10404.390 Peak Mbps: 10824.207 Avg Mbps: 10404.390 5000 1345309616 10762.477 100.00% Conn: 1 Mbps: 10762.477 Peak Mbps: 10824.207 Avg Mbps: 10762.477 --- fc00:0:0:1::12 tcpbench statistics --- 7886171348 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10254.042/10530.991/10824.207/222.247 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 1416440134 11331.521 100.00% Conn: 1 Mbps: 11331.521 Peak Mbps: 11331.521 Avg Mbps: 11331.521 2000 1413462064 11319.016 100.00% Conn: 1 Mbps: 11319.016 Peak Mbps: 11331.521 Avg Mbps: 11319.016 3000 1416308356 11330.467 100.00% Conn: 1 Mbps: 11330.467 Peak Mbps: 11331.521 Avg Mbps: 11330.467 4000 1408227504 11265.820 100.00% Conn: 1 Mbps: 11265.820 Peak Mbps: 11331.521 Avg Mbps: 11265.820 5000 1413396632 11307.173 100.00% Conn: 1 Mbps: 11307.173 Peak Mbps: 11331.521 Avg Mbps: 11307.173 --- 169.254.0.13 tcpbench statistics --- 8477632562 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11265.820/11310.799/11331.521/24.166 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 1442894140 11543.153 100.00% Conn: 1 Mbps: 11543.153 Peak Mbps: 11543.153 Avg Mbps: 11543.153 2000 1445915208 11578.901 100.00% Conn: 1 Mbps: 11578.901 Peak Mbps: 11578.901 Avg Mbps: 11578.901 3000 1445882512 11567.060 100.00% Conn: 1 Mbps: 11567.060 Peak Mbps: 11578.901 Avg Mbps: 11567.060 4000 1430907744 11447.262 100.00% Conn: 1 Mbps: 11447.262 Peak Mbps: 11578.901 Avg Mbps: 11447.262 5000 1430417304 11443.338 100.00% Conn: 1 Mbps: 11443.338 Peak Mbps: 11578.901 Avg Mbps: 11443.338 --- fc00::13 tcpbench statistics --- 8626303428 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11443.338/11515.943/11578.901/58.831 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.88s