START sys/net/pair 2025-01-11T05:40:32Z ==== 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.049 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.049/0.049/0.049/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.057 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.057/0.057/0.057/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 520260184 4162.081 100.00% Conn: 1 Mbps: 4162.081 Peak Mbps: 4162.081 Avg Mbps: 4162.081 2000 518996452 4156.128 100.00% Conn: 1 Mbps: 4156.128 Peak Mbps: 4162.081 Avg Mbps: 4156.128 3000 519584604 4156.677 100.00% Conn: 1 Mbps: 4156.677 Peak Mbps: 4162.081 Avg Mbps: 4156.677 4000 519846888 4158.775 100.00% Conn: 1 Mbps: 4158.775 Peak Mbps: 4162.081 Avg Mbps: 4158.775 5000 519338216 4154.706 100.00% Conn: 1 Mbps: 4154.706 Peak Mbps: 4162.081 Avg Mbps: 4154.706 --- 169.254.1.11 tcpbench statistics --- 3116959212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4154.706/4157.673/4162.081/2.563 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 512164656 4097.317 100.00% Conn: 1 Mbps: 4097.317 Peak Mbps: 4097.317 Avg Mbps: 4097.317 2000 510745544 4090.054 100.00% Conn: 1 Mbps: 4090.054 Peak Mbps: 4097.317 Avg Mbps: 4090.054 3000 510769328 4086.155 100.00% Conn: 1 Mbps: 4086.155 Peak Mbps: 4097.317 Avg Mbps: 4086.155 4000 510626624 4085.013 100.00% Conn: 1 Mbps: 4085.013 Peak Mbps: 4097.317 Avg Mbps: 4085.013 5000 510357072 4082.857 100.00% Conn: 1 Mbps: 4082.857 Peak Mbps: 4097.317 Avg Mbps: 4082.857 --- fc00:0:0:1::11 tcpbench statistics --- 3064909304 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4082.857/4088.279/4097.317/5.088 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.078 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.078/0.078/0.078/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.142 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.142/0.142/0.142/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 268188920 2143.368 100.00% Conn: 1 Mbps: 2143.368 Peak Mbps: 2143.368 Avg Mbps: 2143.368 2002 280452760 2243.622 100.00% Conn: 1 Mbps: 2243.622 Peak Mbps: 2243.622 Avg Mbps: 2243.622 3002 281012352 2248.099 100.00% Conn: 1 Mbps: 2248.099 Peak Mbps: 2248.099 Avg Mbps: 2248.099 4003 279921896 2239.375 100.00% Conn: 1 Mbps: 2239.375 Peak Mbps: 2248.099 Avg Mbps: 2239.375 5004 278992720 2229.712 100.00% Conn: 1 Mbps: 2229.712 Peak Mbps: 2248.099 Avg Mbps: 2229.712 --- 169.254.1.12 tcpbench statistics --- 1671620336 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2143.368/2220.835/2248.099/39.208 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 254086152 2030.659 100.00% Conn: 1 Mbps: 2030.659 Peak Mbps: 2030.659 Avg Mbps: 2030.659 2001 266162664 2131.433 100.00% Conn: 1 Mbps: 2131.433 Peak Mbps: 2131.433 Avg Mbps: 2131.433 3003 269750212 2153.694 100.00% Conn: 1 Mbps: 2153.694 Peak Mbps: 2153.694 Avg Mbps: 2153.694 4002 274690540 2199.724 100.00% Conn: 1 Mbps: 2199.724 Peak Mbps: 2199.724 Avg Mbps: 2199.724 5003 273552368 2186.233 100.00% Conn: 1 Mbps: 2186.233 Peak Mbps: 2199.724 Avg Mbps: 2186.233 --- fc00:0:0:1::12 tcpbench statistics --- 1610882152 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2030.659/2140.348/2199.724/59.867 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.072 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.072/0.072/0.072/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.088 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.088/0.088/0.088/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 601386368 4811.091 100.00% Conn: 1 Mbps: 4811.091 Peak Mbps: 4811.091 Avg Mbps: 4811.091 2000 629060744 5037.523 100.00% Conn: 1 Mbps: 5037.523 Peak Mbps: 5037.523 Avg Mbps: 5037.523 3000 625235516 5001.884 100.00% Conn: 1 Mbps: 5001.884 Peak Mbps: 5037.523 Avg Mbps: 5001.884 4000 625619400 5004.955 100.00% Conn: 1 Mbps: 5004.955 Peak Mbps: 5037.523 Avg Mbps: 5004.955 5000 602093740 4816.750 100.00% Conn: 1 Mbps: 4816.750 Peak Mbps: 5037.523 Avg Mbps: 4816.750 --- 169.254.0.13 tcpbench statistics --- 3675043908 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4811.091/4934.441/5037.523/99.210 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 540858048 4326.864 100.00% Conn: 1 Mbps: 4326.864 Peak Mbps: 4326.864 Avg Mbps: 4326.864 2000 573163744 4585.310 100.00% Conn: 1 Mbps: 4585.310 Peak Mbps: 4585.310 Avg Mbps: 4585.310 3000 572199256 4577.594 100.00% Conn: 1 Mbps: 4577.594 Peak Mbps: 4585.310 Avg Mbps: 4577.594 4000 573039752 4584.318 100.00% Conn: 1 Mbps: 4584.318 Peak Mbps: 4585.310 Avg Mbps: 4584.318 5001 572018992 4576.152 100.00% Conn: 1 Mbps: 4576.152 Peak Mbps: 4585.310 Avg Mbps: 4576.152 --- fc00::13 tcpbench statistics --- 3404396744 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4326.864/4530.048/4585.310/101.655 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.055 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.055/0.055/0.055/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.052 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.052/0.052/0.052/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 267053464 2136.428 100.00% Conn: 1 Mbps: 2136.428 Peak Mbps: 2136.428 Avg Mbps: 2136.428 2001 278785616 2230.285 100.00% Conn: 1 Mbps: 2230.285 Peak Mbps: 2230.285 Avg Mbps: 2230.285 3001 280668336 2247.594 100.00% Conn: 1 Mbps: 2247.594 Peak Mbps: 2247.594 Avg Mbps: 2247.594 4001 278279864 2226.239 100.00% Conn: 1 Mbps: 2226.239 Peak Mbps: 2247.594 Avg Mbps: 2226.239 5002 283426160 2267.409 100.00% Conn: 1 Mbps: 2267.409 Peak Mbps: 2267.409 Avg Mbps: 2267.409 --- 169.254.1.11 tcpbench statistics --- 1671579912 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2136.428/2221.591/2267.409/45.001 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 1001 250333948 2000.671 100.00% Conn: 1 Mbps: 2000.671 Peak Mbps: 2000.671 Avg Mbps: 2000.671 2000 265681160 2127.577 100.00% Conn: 1 Mbps: 2127.577 Peak Mbps: 2127.577 Avg Mbps: 2127.577 3002 267719412 2139.616 100.00% Conn: 1 Mbps: 2139.616 Peak Mbps: 2139.616 Avg Mbps: 2139.616 4002 269162088 2153.297 100.00% Conn: 1 Mbps: 2153.297 Peak Mbps: 2153.297 Avg Mbps: 2153.297 5002 269740372 2160.083 100.00% Conn: 1 Mbps: 2160.083 Peak Mbps: 2160.083 Avg Mbps: 2160.083 --- fc00:0:0:1::11 tcpbench statistics --- 1593905028 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2000.671/2116.249/2160.083/58.867 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.043 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.043/0.043/0.043/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.048 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.048/0.048/0.048/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 513670760 4109.366 100.00% Conn: 1 Mbps: 4109.366 Peak Mbps: 4109.366 Avg Mbps: 4109.366 2000 513229120 4109.943 100.00% Conn: 1 Mbps: 4109.943 Peak Mbps: 4109.943 Avg Mbps: 4109.943 3000 512952552 4103.620 100.00% Conn: 1 Mbps: 4103.620 Peak Mbps: 4109.943 Avg Mbps: 4103.620 4000 513947328 4111.579 100.00% Conn: 1 Mbps: 4111.579 Peak Mbps: 4111.579 Avg Mbps: 4111.579 5000 515083176 4120.665 100.00% Conn: 1 Mbps: 4120.665 Peak Mbps: 4120.665 Avg Mbps: 4120.665 --- 169.254.1.12 tcpbench statistics --- 3082734696 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4103.620/4111.035/4120.665/5.514 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 525851004 4206.808 100.00% Conn: 1 Mbps: 4206.808 Peak Mbps: 4206.808 Avg Mbps: 4206.808 2000 526253700 4214.244 100.00% Conn: 1 Mbps: 4214.244 Peak Mbps: 4214.244 Avg Mbps: 4214.244 3000 526497888 4211.983 100.00% Conn: 1 Mbps: 4211.983 Peak Mbps: 4214.244 Avg Mbps: 4211.983 4000 529153968 4233.232 100.00% Conn: 1 Mbps: 4233.232 Peak Mbps: 4233.232 Avg Mbps: 4233.232 5000 528648456 4229.188 100.00% Conn: 1 Mbps: 4229.188 Peak Mbps: 4233.232 Avg Mbps: 4229.188 --- fc00:0:0:1::12 tcpbench statistics --- 3161363520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4206.808/4219.091/4233.232/10.264 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.047 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.047/0.047/0.047/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.067 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.067/0.067/0.067/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 777302250 6218.418 100.00% Conn: 1 Mbps: 6218.418 Peak Mbps: 6218.418 Avg Mbps: 6218.418 2000 779589564 6242.959 100.00% Conn: 1 Mbps: 6242.959 Peak Mbps: 6242.959 Avg Mbps: 6242.959 3000 778837096 6230.697 100.00% Conn: 1 Mbps: 6230.697 Peak Mbps: 6242.959 Avg Mbps: 6230.697 4000 779491416 6235.931 100.00% Conn: 1 Mbps: 6235.931 Peak Mbps: 6242.959 Avg Mbps: 6235.931 5000 779491416 6235.931 100.00% Conn: 1 Mbps: 6235.931 Peak Mbps: 6242.959 Avg Mbps: 6235.931 --- 169.254.0.13 tcpbench statistics --- 4674072294 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6218.418/6232.787/6242.959/8.174 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 758049124 6064.393 100.00% Conn: 1 Mbps: 6064.393 Peak Mbps: 6064.393 Avg Mbps: 6064.393 2000 760966704 6093.827 100.00% Conn: 1 Mbps: 6093.827 Peak Mbps: 6093.827 Avg Mbps: 6093.827 3000 760607048 6084.856 100.00% Conn: 1 Mbps: 6084.856 Peak Mbps: 6093.827 Avg Mbps: 6084.856 4000 759168424 6073.347 100.00% Conn: 1 Mbps: 6073.347 Peak Mbps: 6093.827 Avg Mbps: 6073.347 5000 759364600 6074.917 100.00% Conn: 1 Mbps: 6074.917 Peak Mbps: 6093.827 Avg Mbps: 6074.917 --- fc00::13 tcpbench statistics --- 4557912852 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6064.393/6078.268/6093.827/10.134 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.052 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.052/0.052/0.052/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.061 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.061/0.061/0.061/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 1001 268464992 2145.574 100.00% Conn: 1 Mbps: 2145.574 Peak Mbps: 2145.574 Avg Mbps: 2145.574 2001 280109920 2240.879 100.00% Conn: 1 Mbps: 2240.879 Peak Mbps: 2240.879 Avg Mbps: 2240.879 3002 279566960 2236.536 100.00% Conn: 1 Mbps: 2236.536 Peak Mbps: 2240.879 Avg Mbps: 2236.536 4001 277787720 2224.526 100.00% Conn: 1 Mbps: 2224.526 Peak Mbps: 2240.879 Avg Mbps: 2224.526 5002 280896296 2247.170 100.00% Conn: 1 Mbps: 2247.170 Peak Mbps: 2247.170 Avg Mbps: 2247.170 --- 169.254.1.11 tcpbench statistics --- 1663463560 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2145.574/2218.937/2247.170/37.421 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 522720160 4181.761 100.00% Conn: 1 Mbps: 4181.761 Peak Mbps: 4181.761 Avg Mbps: 4181.761 2000 577461440 4619.692 100.00% Conn: 1 Mbps: 4619.692 Peak Mbps: 4619.692 Avg Mbps: 4619.692 3000 584267632 4678.820 100.00% Conn: 1 Mbps: 4678.820 Peak Mbps: 4678.820 Avg Mbps: 4678.820 4000 581525728 4652.206 100.00% Conn: 1 Mbps: 4652.206 Peak Mbps: 4678.820 Avg Mbps: 4652.206 5000 580389832 4647.766 100.00% Conn: 1 Mbps: 4647.766 Peak Mbps: 4678.820 Avg Mbps: 4647.766 --- fc00:0:0:1::11 tcpbench statistics --- 3426615872 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4181.761/4556.049/4678.820/188.081 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.062 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.062/0.062/0.062/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.051 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.051/0.051/0.051/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 772710522 6181.684 100.00% Conn: 1 Mbps: 6181.684 Peak Mbps: 6181.684 Avg Mbps: 6181.684 2000 774093276 6198.945 100.00% Conn: 1 Mbps: 6198.945 Peak Mbps: 6198.945 Avg Mbps: 6198.945 3000 774453152 6195.625 100.00% Conn: 1 Mbps: 6195.625 Peak Mbps: 6198.945 Avg Mbps: 6195.625 4000 774093276 6192.746 100.00% Conn: 1 Mbps: 6192.746 Peak Mbps: 6198.945 Avg Mbps: 6192.746 5000 774093276 6192.746 100.00% Conn: 1 Mbps: 6192.746 Peak Mbps: 6198.945 Avg Mbps: 6192.746 --- 169.254.1.12 tcpbench statistics --- 4643438630 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6181.684/6192.349/6198.945/5.802 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 760404820 6083.239 100.00% Conn: 1 Mbps: 6083.239 Peak Mbps: 6083.239 Avg Mbps: 6083.239 2000 762470720 6105.872 100.00% Conn: 1 Mbps: 6105.872 Peak Mbps: 6105.872 Avg Mbps: 6105.872 3000 762961160 6103.689 100.00% Conn: 1 Mbps: 6103.689 Peak Mbps: 6105.872 Avg Mbps: 6103.689 4000 763222728 6105.782 100.00% Conn: 1 Mbps: 6105.782 Peak Mbps: 6105.872 Avg Mbps: 6105.782 5000 762568808 6100.550 100.00% Conn: 1 Mbps: 6100.550 Peak Mbps: 6105.872 Avg Mbps: 6100.550 --- fc00:0:0:1::12 tcpbench statistics --- 4574589396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6083.239/6099.826/6105.872/8.516 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.056 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/0.000 ms ==== run-ping6-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.048 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/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 786612078 6292.897 100.00% Conn: 1 Mbps: 6292.897 Peak Mbps: 6292.897 Avg Mbps: 6292.897 2000 789208068 6319.985 100.00% Conn: 1 Mbps: 6319.985 Peak Mbps: 6319.985 Avg Mbps: 6319.985 3000 788193872 6305.551 100.00% Conn: 1 Mbps: 6305.551 Peak Mbps: 6319.985 Avg Mbps: 6305.551 4000 789927820 6319.423 100.00% Conn: 1 Mbps: 6319.423 Peak Mbps: 6319.985 Avg Mbps: 6319.423 5000 789044488 6312.356 100.00% Conn: 1 Mbps: 6312.356 Peak Mbps: 6319.985 Avg Mbps: 6312.356 --- 169.254.0.13 tcpbench statistics --- 4731899950 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6292.897/6310.042/6319.985/10.063 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 797349212 6378.794 100.00% Conn: 1 Mbps: 6378.794 Peak Mbps: 6378.794 Avg Mbps: 6378.794 2000 799417200 6401.739 100.00% Conn: 1 Mbps: 6401.739 Peak Mbps: 6401.739 Avg Mbps: 6401.739 3000 799874944 6399.000 100.00% Conn: 1 Mbps: 6399.000 Peak Mbps: 6401.739 Avg Mbps: 6399.000 4000 798567104 6388.537 100.00% Conn: 1 Mbps: 6388.537 Peak Mbps: 6401.739 Avg Mbps: 6388.537 5000 794055056 6352.440 100.00% Conn: 1 Mbps: 6352.440 Peak Mbps: 6401.739 Avg Mbps: 6352.440 --- fc00::13 tcpbench statistics --- 4787765228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6352.440/6384.102/6401.739/17.795 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 1m52.86s