START sys/net/pair 2024-12-30T00:32:31Z ==== 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.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-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.044 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 719119144 5752.953 100.00% Conn: 1 Mbps: 5752.953 Peak Mbps: 5752.953 Avg Mbps: 5752.953 2000 726304136 5816.249 100.00% Conn: 1 Mbps: 5816.249 Peak Mbps: 5816.249 Avg Mbps: 5816.249 3000 724658900 5797.271 100.00% Conn: 1 Mbps: 5797.271 Peak Mbps: 5816.249 Avg Mbps: 5797.271 4000 722377824 5779.023 100.00% Conn: 1 Mbps: 5779.023 Peak Mbps: 5816.249 Avg Mbps: 5779.023 5000 720049060 5760.392 100.00% Conn: 1 Mbps: 5760.392 Peak Mbps: 5816.249 Avg Mbps: 5760.392 --- 169.254.1.11 tcpbench statistics --- 4337072588 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5752.953/5781.178/5816.249/23.334 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 746349848 5970.799 100.00% Conn: 1 Mbps: 5970.799 Peak Mbps: 5970.799 Avg Mbps: 5970.799 2000 743265856 5952.079 100.00% Conn: 1 Mbps: 5952.079 Peak Mbps: 5970.799 Avg Mbps: 5952.079 3000 746246784 5969.974 100.00% Conn: 1 Mbps: 5969.974 Peak Mbps: 5970.799 Avg Mbps: 5969.974 4000 743622616 5948.981 100.00% Conn: 1 Mbps: 5948.981 Peak Mbps: 5970.799 Avg Mbps: 5948.981 5000 745699752 5965.598 100.00% Conn: 1 Mbps: 5965.598 Peak Mbps: 5970.799 Avg Mbps: 5965.598 --- fc00:0:0:1::11 tcpbench statistics --- 4474365000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5948.981/5961.486/5970.799/9.171 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.072 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.072/0.072/0.072/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.113 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.113/0.113/0.113/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 273045688 2182.183 100.00% Conn: 1 Mbps: 2182.183 Peak Mbps: 2182.183 Avg Mbps: 2182.183 2001 280629624 2247.284 100.00% Conn: 1 Mbps: 2247.284 Peak Mbps: 2247.284 Avg Mbps: 2247.284 3001 284921224 2279.370 100.00% Conn: 1 Mbps: 2279.370 Peak Mbps: 2279.370 Avg Mbps: 2279.370 4001 283971272 2274.044 100.00% Conn: 1 Mbps: 2274.044 Peak Mbps: 2279.370 Avg Mbps: 2274.044 5001 285120088 2280.961 100.00% Conn: 1 Mbps: 2280.961 Peak Mbps: 2280.961 Avg Mbps: 2280.961 --- 169.254.1.12 tcpbench statistics --- 1696248496 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2182.183/2252.768/2280.961/37.329 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 1002 243614628 1945.027 100.00% Conn: 1 Mbps: 1945.027 Peak Mbps: 1945.027 Avg Mbps: 1945.027 2002 253642596 2031.172 100.00% Conn: 1 Mbps: 2031.172 Peak Mbps: 2031.172 Avg Mbps: 2031.172 3002 258355336 2066.843 100.00% Conn: 1 Mbps: 2066.843 Peak Mbps: 2066.843 Avg Mbps: 2066.843 4003 261607076 2090.766 100.00% Conn: 1 Mbps: 2090.766 Peak Mbps: 2090.766 Avg Mbps: 2090.766 5004 260038256 2078.228 100.00% Conn: 1 Mbps: 2078.228 Peak Mbps: 2090.766 Avg Mbps: 2078.228 --- fc00:0:0:1::12 tcpbench statistics --- 1536552160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1945.027/2042.407/2090.766/52.589 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.074 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.074/0.074/0.074/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.098 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.098/0.098/0.098/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 575935924 4607.487 100.00% Conn: 1 Mbps: 4607.487 Peak Mbps: 4607.487 Avg Mbps: 4607.487 2000 589503160 4720.746 100.00% Conn: 1 Mbps: 4720.746 Peak Mbps: 4720.746 Avg Mbps: 4720.746 3000 599827332 4798.619 100.00% Conn: 1 Mbps: 4798.619 Peak Mbps: 4798.619 Avg Mbps: 4798.619 4000 590806632 4726.453 100.00% Conn: 1 Mbps: 4726.453 Peak Mbps: 4798.619 Avg Mbps: 4726.453 5001 583303440 4666.428 100.00% Conn: 1 Mbps: 4666.428 Peak Mbps: 4798.619 Avg Mbps: 4666.428 --- 169.254.0.13 tcpbench statistics --- 3502459516 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4607.487/4703.947/4798.619/63.974 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 1001 551736944 4409.486 100.00% Conn: 1 Mbps: 4409.486 Peak Mbps: 4409.486 Avg Mbps: 4409.486 2001 580879232 4647.034 100.00% Conn: 1 Mbps: 4647.034 Peak Mbps: 4647.034 Avg Mbps: 4647.034 3001 583146120 4665.169 100.00% Conn: 1 Mbps: 4665.169 Peak Mbps: 4665.169 Avg Mbps: 4665.169 4002 581157752 4649.262 100.00% Conn: 1 Mbps: 4649.262 Peak Mbps: 4665.169 Avg Mbps: 4649.262 5002 581657216 4653.258 100.00% Conn: 1 Mbps: 4653.258 Peak Mbps: 4665.169 Avg Mbps: 4653.258 --- fc00::13 tcpbench statistics --- 3459207480 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4409.486/4604.842/4665.169/97.878 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.056 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.056/0.056/0.056/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.072 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.072/0.072/0.072/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 1002 270355752 2158.529 100.00% Conn: 1 Mbps: 2158.529 Peak Mbps: 2158.529 Avg Mbps: 2158.529 2001 282682328 2263.722 100.00% Conn: 1 Mbps: 2263.722 Peak Mbps: 2263.722 Avg Mbps: 2263.722 3002 280088240 2240.706 100.00% Conn: 1 Mbps: 2240.706 Peak Mbps: 2263.722 Avg Mbps: 2240.706 4003 283774960 2270.200 100.00% Conn: 1 Mbps: 2270.200 Peak Mbps: 2270.200 Avg Mbps: 2270.200 5003 279458976 2235.672 100.00% Conn: 1 Mbps: 2235.672 Peak Mbps: 2270.200 Avg Mbps: 2235.672 --- 169.254.1.11 tcpbench statistics --- 1673168608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2158.529/2233.766/2270.200/39.843 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 241572460 1932.580 100.00% Conn: 1 Mbps: 1932.580 Peak Mbps: 1932.580 Avg Mbps: 1932.580 2001 252617108 2020.937 100.00% Conn: 1 Mbps: 2020.937 Peak Mbps: 2020.937 Avg Mbps: 2020.937 3001 257272968 2060.244 100.00% Conn: 1 Mbps: 2060.244 Peak Mbps: 2060.244 Avg Mbps: 2060.244 4002 259086500 2070.621 100.00% Conn: 1 Mbps: 2070.621 Peak Mbps: 2070.621 Avg Mbps: 2070.621 5002 260055136 2082.524 100.00% Conn: 1 Mbps: 2082.524 Peak Mbps: 2082.524 Avg Mbps: 2082.524 --- fc00:0:0:1::11 tcpbench statistics --- 1527093720 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 1932.580/2033.381/2082.524/54.478 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.052 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.052/0.052/0.052/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.046 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-tcpbench-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 710443824 5683.551 100.00% Conn: 1 Mbps: 5683.551 Peak Mbps: 5683.551 Avg Mbps: 5683.551 2000 707217680 5663.405 100.00% Conn: 1 Mbps: 5663.405 Peak Mbps: 5683.551 Avg Mbps: 5663.405 3000 706199736 5649.598 100.00% Conn: 1 Mbps: 5649.598 Peak Mbps: 5683.551 Avg Mbps: 5649.598 4000 709294112 5674.353 100.00% Conn: 1 Mbps: 5674.353 Peak Mbps: 5683.551 Avg Mbps: 5674.353 5000 707705656 5661.645 100.00% Conn: 1 Mbps: 5661.645 Peak Mbps: 5683.551 Avg Mbps: 5661.645 --- 169.254.1.12 tcpbench statistics --- 4247930992 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5649.598/5666.510/5683.551/11.586 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 713353116 5706.825 100.00% Conn: 1 Mbps: 5706.825 Peak Mbps: 5706.825 Avg Mbps: 5706.825 2000 712616268 5706.637 100.00% Conn: 1 Mbps: 5706.637 Peak Mbps: 5706.825 Avg Mbps: 5706.637 3000 714318444 5714.548 100.00% Conn: 1 Mbps: 5714.548 Peak Mbps: 5714.548 Avg Mbps: 5714.548 4000 712794768 5708.066 100.00% Conn: 1 Mbps: 5708.066 Peak Mbps: 5714.548 Avg Mbps: 5708.066 5000 712598368 5706.493 100.00% Conn: 1 Mbps: 5706.493 Peak Mbps: 5714.548 Avg Mbps: 5706.493 --- fc00:0:0:1::12 tcpbench statistics --- 4276641812 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5706.493/5708.514/5714.548/3.068 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.060 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.060/0.060/0.060/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.052 ms --- fc00::13 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-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 1182847786 9462.782 100.00% Conn: 1 Mbps: 9462.782 Peak Mbps: 9462.782 Avg Mbps: 9462.782 2000 1184368274 9484.431 100.00% Conn: 1 Mbps: 9484.431 Peak Mbps: 9484.431 Avg Mbps: 9484.431 3000 1183992040 9471.936 100.00% Conn: 1 Mbps: 9471.936 Peak Mbps: 9484.431 Avg Mbps: 9471.936 4000 1182029080 9456.233 100.00% Conn: 1 Mbps: 9456.233 Peak Mbps: 9484.431 Avg Mbps: 9456.233 5000 1179902540 9439.220 100.00% Conn: 1 Mbps: 9439.220 Peak Mbps: 9484.431 Avg Mbps: 9439.220 --- 169.254.0.13 tcpbench statistics --- 7100092558 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9439.220/9462.920/9484.431/15.168 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 1160447908 9283.583 100.00% Conn: 1 Mbps: 9283.583 Peak Mbps: 9283.583 Avg Mbps: 9283.583 2000 1160315648 9291.817 100.00% Conn: 1 Mbps: 9291.817 Peak Mbps: 9291.817 Avg Mbps: 9291.817 3000 1153253312 9226.026 100.00% Conn: 1 Mbps: 9226.026 Peak Mbps: 9291.817 Avg Mbps: 9226.026 4000 1159596336 9276.771 100.00% Conn: 1 Mbps: 9276.771 Peak Mbps: 9291.817 Avg Mbps: 9276.771 5000 1163029416 9304.235 100.00% Conn: 1 Mbps: 9304.235 Peak Mbps: 9304.235 Avg Mbps: 9304.235 --- fc00::13 tcpbench statistics --- 6958723852 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9226.026/9276.487/9304.235/26.839 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.061 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.061/0.061/0.061/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.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-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 268837512 2148.552 100.00% Conn: 1 Mbps: 2148.552 Peak Mbps: 2148.552 Avg Mbps: 2148.552 2000 283239704 2270.459 100.00% Conn: 1 Mbps: 2270.459 Peak Mbps: 2270.459 Avg Mbps: 2270.459 3000 281415552 2251.324 100.00% Conn: 1 Mbps: 2251.324 Peak Mbps: 2270.459 Avg Mbps: 2251.324 4002 286153864 2286.944 100.00% Conn: 1 Mbps: 2286.944 Peak Mbps: 2286.944 Avg Mbps: 2286.944 5002 280265392 2242.123 100.00% Conn: 1 Mbps: 2242.123 Peak Mbps: 2286.944 Avg Mbps: 2242.123 --- 169.254.1.11 tcpbench statistics --- 1678437416 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2148.552/2239.880/2286.944/48.222 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 501284664 4010.277 100.00% Conn: 1 Mbps: 4010.277 Peak Mbps: 4010.277 Avg Mbps: 4010.277 2000 544744928 4357.959 100.00% Conn: 1 Mbps: 4357.959 Peak Mbps: 4357.959 Avg Mbps: 4357.959 3000 544673096 4357.385 100.00% Conn: 1 Mbps: 4357.385 Peak Mbps: 4357.959 Avg Mbps: 4357.385 4000 548907264 4391.258 100.00% Conn: 1 Mbps: 4391.258 Peak Mbps: 4391.258 Avg Mbps: 4391.258 5000 544202008 4353.616 100.00% Conn: 1 Mbps: 4353.616 Peak Mbps: 4391.258 Avg Mbps: 4353.616 --- fc00:0:0:1::11 tcpbench statistics --- 3230940856 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4010.277/4294.099/4391.258/142.562 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 8 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.059 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.059/0.059/0.059/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.050 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.050/0.050/0.050/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 1186059130 9488.473 100.00% Conn: 1 Mbps: 9488.473 Peak Mbps: 9488.473 Avg Mbps: 9488.473 2000 1190486166 9533.423 100.00% Conn: 1 Mbps: 9533.423 Peak Mbps: 9533.423 Avg Mbps: 9533.423 3000 1191565794 9532.526 100.00% Conn: 1 Mbps: 9532.526 Peak Mbps: 9533.423 Avg Mbps: 9532.526 4000 1191336782 9530.694 100.00% Conn: 1 Mbps: 9530.694 Peak Mbps: 9533.423 Avg Mbps: 9530.694 5000 1191925670 9535.405 100.00% Conn: 1 Mbps: 9535.405 Peak Mbps: 9535.405 Avg Mbps: 9535.405 --- 169.254.1.12 tcpbench statistics --- 7141647054 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9488.473/9524.104/9535.405/17.880 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 1154604900 9236.839 100.00% Conn: 1 Mbps: 9236.839 Peak Mbps: 9236.839 Avg Mbps: 9236.839 2000 1159955992 9288.937 100.00% Conn: 1 Mbps: 9288.937 Peak Mbps: 9288.937 Avg Mbps: 9288.937 3000 1159334768 9274.678 100.00% Conn: 1 Mbps: 9274.678 Peak Mbps: 9288.937 Avg Mbps: 9274.678 4000 1160577216 9284.618 100.00% Conn: 1 Mbps: 9284.618 Peak Mbps: 9288.937 Avg Mbps: 9284.618 5000 1160315648 9282.525 100.00% Conn: 1 Mbps: 9282.525 Peak Mbps: 9288.937 Avg Mbps: 9282.525 --- fc00:0:0:1::12 tcpbench statistics --- 6955267652 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9236.839/9273.519/9288.937/18.914 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.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-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.047 ms --- fc00::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-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 1137429200 9099.434 100.00% Conn: 1 Mbps: 9099.434 Peak Mbps: 9099.434 Avg Mbps: 9099.434 2000 1134868966 9088.040 100.00% Conn: 1 Mbps: 9088.040 Peak Mbps: 9099.434 Avg Mbps: 9088.040 3000 1132693352 9061.547 100.00% Conn: 1 Mbps: 9061.547 Peak Mbps: 9099.434 Avg Mbps: 9061.547 4000 1130014384 9040.115 100.00% Conn: 1 Mbps: 9040.115 Peak Mbps: 9099.434 Avg Mbps: 9040.115 5000 1134541806 9076.334 100.00% Conn: 1 Mbps: 9076.334 Peak Mbps: 9099.434 Avg Mbps: 9076.334 --- 169.254.0.13 tcpbench statistics --- 6804285810 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9040.115/9073.094/9099.434/20.730 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 1209719600 9677.757 100.00% Conn: 1 Mbps: 9677.757 Peak Mbps: 9677.757 Avg Mbps: 9677.757 2000 1217958696 9753.423 100.00% Conn: 1 Mbps: 9753.423 Peak Mbps: 9753.423 Avg Mbps: 9753.423 3000 1219266536 9754.132 100.00% Conn: 1 Mbps: 9754.132 Peak Mbps: 9754.132 Avg Mbps: 9754.132 4000 1218024088 9744.193 100.00% Conn: 1 Mbps: 9744.193 Peak Mbps: 9754.132 Avg Mbps: 9744.193 5000 1217926000 9743.408 100.00% Conn: 1 Mbps: 9743.408 Peak Mbps: 9754.132 Avg Mbps: 9743.408 --- fc00::13 tcpbench statistics --- 7298924552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9677.757/9734.583/9754.132/28.763 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.83s