START sys/net/pair 2025-01-05T14:17:09Z ==== 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.037 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.037/0.037/0.037/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.043 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-tcpbench-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 521873628 4174.989 100.00% Conn: 1 Mbps: 4174.989 Peak Mbps: 4174.989 Avg Mbps: 4174.989 2000 521325216 4174.777 100.00% Conn: 1 Mbps: 4174.777 Peak Mbps: 4174.989 Avg Mbps: 4174.777 3000 521285476 4174.458 100.00% Conn: 1 Mbps: 4174.458 Peak Mbps: 4174.989 Avg Mbps: 4174.458 4000 521420592 4171.365 100.00% Conn: 1 Mbps: 4171.365 Peak Mbps: 4174.989 Avg Mbps: 4171.365 5000 521357008 4170.856 100.00% Conn: 1 Mbps: 4170.856 Peak Mbps: 4174.989 Avg Mbps: 4170.856 --- 169.254.1.11 tcpbench statistics --- 3127975140 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4170.856/4173.289/4174.989/1.794 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 527275424 4218.203 100.00% Conn: 1 Mbps: 4218.203 Peak Mbps: 4218.203 Avg Mbps: 4218.203 2000 525666040 4209.538 100.00% Conn: 1 Mbps: 4209.538 Peak Mbps: 4218.203 Avg Mbps: 4209.538 3000 525071440 4200.572 100.00% Conn: 1 Mbps: 4200.572 Peak Mbps: 4218.203 Avg Mbps: 4200.572 4000 525237928 4206.110 100.00% Conn: 1 Mbps: 4206.110 Peak Mbps: 4218.203 Avg Mbps: 4206.110 5000 524579904 4196.639 100.00% Conn: 1 Mbps: 4196.639 Peak Mbps: 4218.203 Avg Mbps: 4196.639 --- fc00:0:0:1::11 tcpbench statistics --- 3153068664 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4196.639/4206.212/4218.203/7.461 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.073 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.073/0.073/0.073/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.137 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.137/0.137/0.137/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 273349152 2186.793 100.00% Conn: 1 Mbps: 2186.793 Peak Mbps: 2186.793 Avg Mbps: 2186.793 2000 285175416 2281.403 100.00% Conn: 1 Mbps: 2281.403 Peak Mbps: 2281.403 Avg Mbps: 2281.403 3001 286069488 2288.556 100.00% Conn: 1 Mbps: 2288.556 Peak Mbps: 2288.556 Avg Mbps: 2288.556 4001 286839832 2294.719 100.00% Conn: 1 Mbps: 2294.719 Peak Mbps: 2294.719 Avg Mbps: 2294.719 5000 286718264 2296.042 100.00% Conn: 1 Mbps: 2296.042 Peak Mbps: 2296.042 Avg Mbps: 2296.042 --- 169.254.1.12 tcpbench statistics --- 1701180120 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2186.793/2269.503/2296.042/41.679 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 258518468 2068.148 100.00% Conn: 1 Mbps: 2068.148 Peak Mbps: 2068.148 Avg Mbps: 2068.148 2001 273496604 2187.973 100.00% Conn: 1 Mbps: 2187.973 Peak Mbps: 2187.973 Avg Mbps: 2187.973 3002 275892392 2204.934 100.00% Conn: 1 Mbps: 2204.934 Peak Mbps: 2204.934 Avg Mbps: 2204.934 4003 276545272 2212.362 100.00% Conn: 1 Mbps: 2212.362 Peak Mbps: 2212.362 Avg Mbps: 2212.362 5003 278787812 2232.535 100.00% Conn: 1 Mbps: 2232.535 Peak Mbps: 2232.535 Avg Mbps: 2232.535 --- fc00:0:0:1::12 tcpbench statistics --- 1639594876 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2068.148/2181.190/2232.535/58.303 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.069 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.069/0.069/0.069/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.074 ms --- fc00::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-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 598691156 4789.529 100.00% Conn: 1 Mbps: 4789.529 Peak Mbps: 4789.529 Avg Mbps: 4789.529 2000 615517772 4929.071 100.00% Conn: 1 Mbps: 4929.071 Peak Mbps: 4929.071 Avg Mbps: 4929.071 3000 604987232 4839.898 100.00% Conn: 1 Mbps: 4839.898 Peak Mbps: 4929.071 Avg Mbps: 4839.898 4000 602122064 4816.977 100.00% Conn: 1 Mbps: 4816.977 Peak Mbps: 4929.071 Avg Mbps: 4816.977 5000 570044356 4564.920 100.00% Conn: 1 Mbps: 4564.920 Peak Mbps: 4929.071 Avg Mbps: 4564.920 --- 169.254.0.13 tcpbench statistics --- 3576254220 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4564.920/4788.079/4929.071/120.997 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 551686136 4413.489 100.00% Conn: 1 Mbps: 4413.489 Peak Mbps: 4413.489 Avg Mbps: 4413.489 2000 582421176 4659.369 100.00% Conn: 1 Mbps: 4659.369 Peak Mbps: 4659.369 Avg Mbps: 4659.369 3001 580703272 4645.626 100.00% Conn: 1 Mbps: 4645.626 Peak Mbps: 4659.369 Avg Mbps: 4645.626 4001 582861248 4662.890 100.00% Conn: 1 Mbps: 4662.890 Peak Mbps: 4662.890 Avg Mbps: 4662.890 5001 581472808 4656.439 100.00% Conn: 1 Mbps: 4656.439 Peak Mbps: 4662.890 Avg Mbps: 4656.439 --- fc00::13 tcpbench statistics --- 3462237880 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4413.489/4607.563/4662.890/97.208 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.047 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.047/0.047/0.047/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 270511568 2164.093 100.00% Conn: 1 Mbps: 2164.093 Peak Mbps: 2164.093 Avg Mbps: 2164.093 2000 282853104 2265.090 100.00% Conn: 1 Mbps: 2265.090 Peak Mbps: 2265.090 Avg Mbps: 2265.090 3001 285517696 2284.142 100.00% Conn: 1 Mbps: 2284.142 Peak Mbps: 2284.142 Avg Mbps: 2284.142 4001 282865240 2262.922 100.00% Conn: 1 Mbps: 2262.922 Peak Mbps: 2284.142 Avg Mbps: 2262.922 5002 286306456 2288.163 100.00% Conn: 1 Mbps: 2288.163 Peak Mbps: 2288.163 Avg Mbps: 2288.163 --- 169.254.1.11 tcpbench statistics --- 1692566344 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2164.093/2252.882/2288.163/45.509 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 1002 255259248 2037.998 100.00% Conn: 1 Mbps: 2037.998 Peak Mbps: 2037.998 Avg Mbps: 2037.998 2002 269804488 2158.436 100.00% Conn: 1 Mbps: 2158.436 Peak Mbps: 2158.436 Avg Mbps: 2158.436 3002 271368248 2170.946 100.00% Conn: 1 Mbps: 2170.946 Peak Mbps: 2170.946 Avg Mbps: 2170.946 4002 270805600 2168.613 100.00% Conn: 1 Mbps: 2168.613 Peak Mbps: 2170.946 Avg Mbps: 2168.613 5003 272986908 2183.895 100.00% Conn: 1 Mbps: 2183.895 Peak Mbps: 2183.895 Avg Mbps: 2183.895 --- fc00:0:0:1::11 tcpbench statistics --- 1615727324 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2037.998/2143.978/2183.895/53.607 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.045 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.045/0.045/0.045/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 526424744 4211.398 100.00% Conn: 1 Mbps: 4211.398 Peak Mbps: 4211.398 Avg Mbps: 4211.398 2000 527074896 4220.820 100.00% Conn: 1 Mbps: 4220.820 Peak Mbps: 4220.820 Avg Mbps: 4220.820 3000 526533344 4212.267 100.00% Conn: 1 Mbps: 4212.267 Peak Mbps: 4220.820 Avg Mbps: 4212.267 4000 527321056 4218.568 100.00% Conn: 1 Mbps: 4218.568 Peak Mbps: 4220.820 Avg Mbps: 4218.568 5000 526778056 4214.224 100.00% Conn: 1 Mbps: 4214.224 Peak Mbps: 4220.820 Avg Mbps: 4214.224 --- 169.254.1.12 tcpbench statistics --- 3160419280 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4211.398/4215.456/4220.820/3.650 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 529842264 4238.738 100.00% Conn: 1 Mbps: 4238.738 Peak Mbps: 4238.738 Avg Mbps: 4238.738 2000 531463044 4255.960 100.00% Conn: 1 Mbps: 4255.960 Peak Mbps: 4255.960 Avg Mbps: 4255.960 3000 531630120 4253.041 100.00% Conn: 1 Mbps: 4253.041 Peak Mbps: 4255.960 Avg Mbps: 4253.041 4000 531068916 4248.551 100.00% Conn: 1 Mbps: 4248.551 Peak Mbps: 4255.960 Avg Mbps: 4248.551 5000 531908580 4255.269 100.00% Conn: 1 Mbps: 4255.269 Peak Mbps: 4255.960 Avg Mbps: 4255.269 --- fc00:0:0:1::12 tcpbench statistics --- 3187508772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4238.738/4250.312/4255.960/6.340 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.045 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.045/0.045/0.045/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.062 ms --- fc00::13 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-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 788179202 6305.434 100.00% Conn: 1 Mbps: 6305.434 Peak Mbps: 6305.434 Avg Mbps: 6305.434 2000 789698808 6323.914 100.00% Conn: 1 Mbps: 6323.914 Peak Mbps: 6323.914 Avg Mbps: 6323.914 3000 791040164 6328.321 100.00% Conn: 1 Mbps: 6328.321 Peak Mbps: 6328.321 Avg Mbps: 6328.321 4000 790843868 6326.751 100.00% Conn: 1 Mbps: 6326.751 Peak Mbps: 6328.321 Avg Mbps: 6326.751 5000 790549424 6324.395 100.00% Conn: 1 Mbps: 6324.395 Peak Mbps: 6328.321 Avg Mbps: 6324.395 --- 169.254.0.13 tcpbench statistics --- 4741171692 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6305.434/6321.763/6328.321/8.320 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 765990292 6127.922 100.00% Conn: 1 Mbps: 6127.922 Peak Mbps: 6127.922 Avg Mbps: 6127.922 2000 765511448 6130.222 100.00% Conn: 1 Mbps: 6130.222 Peak Mbps: 6130.222 Avg Mbps: 6130.222 3000 763386208 6107.090 100.00% Conn: 1 Mbps: 6107.090 Peak Mbps: 6130.222 Avg Mbps: 6107.090 4000 765446056 6123.568 100.00% Conn: 1 Mbps: 6123.568 Peak Mbps: 6130.222 Avg Mbps: 6123.568 5000 765086400 6120.691 100.00% Conn: 1 Mbps: 6120.691 Peak Mbps: 6130.222 Avg Mbps: 6120.691 --- fc00::13 tcpbench statistics --- 4590376020 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6107.090/6121.899/6130.222/8.113 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.063 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.063/0.063/0.063/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.082 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.082/0.082/0.082/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 270389664 2160.956 100.00% Conn: 1 Mbps: 2160.956 Peak Mbps: 2160.956 Avg Mbps: 2160.956 2001 278490768 2227.926 100.00% Conn: 1 Mbps: 2227.926 Peak Mbps: 2227.926 Avg Mbps: 2227.926 3001 279553040 2236.424 100.00% Conn: 1 Mbps: 2236.424 Peak Mbps: 2236.424 Avg Mbps: 2236.424 4001 281650936 2253.207 100.00% Conn: 1 Mbps: 2253.207 Peak Mbps: 2253.207 Avg Mbps: 2253.207 5001 277072624 2216.581 100.00% Conn: 1 Mbps: 2216.581 Peak Mbps: 2253.207 Avg Mbps: 2216.581 --- 169.254.1.11 tcpbench statistics --- 1663092424 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2160.956/2219.019/2253.207/31.395 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 525655272 4205.242 100.00% Conn: 1 Mbps: 4205.242 Peak Mbps: 4205.242 Avg Mbps: 4205.242 2000 579637656 4637.101 100.00% Conn: 1 Mbps: 4637.101 Peak Mbps: 4637.101 Avg Mbps: 4637.101 3000 586955208 4695.642 100.00% Conn: 1 Mbps: 4695.642 Peak Mbps: 4695.642 Avg Mbps: 4695.642 4001 581984912 4655.879 100.00% Conn: 1 Mbps: 4655.879 Peak Mbps: 4695.642 Avg Mbps: 4655.879 5001 586371504 4690.972 100.00% Conn: 1 Mbps: 4690.972 Peak Mbps: 4695.642 Avg Mbps: 4690.972 --- fc00:0:0:1::11 tcpbench statistics --- 3448137960 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4205.242/4576.967/4695.642/187.138 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.054 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.054/0.054/0.054/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.047 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.047/0.047/0.047/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 792043078 6336.345 100.00% Conn: 1 Mbps: 6336.345 Peak Mbps: 6336.345 Avg Mbps: 6336.345 2000 793690160 6355.877 100.00% Conn: 1 Mbps: 6355.877 Peak Mbps: 6355.877 Avg Mbps: 6355.877 3000 794050036 6352.400 100.00% Conn: 1 Mbps: 6352.400 Peak Mbps: 6355.877 Avg Mbps: 6352.400 4000 793853740 6350.830 100.00% Conn: 1 Mbps: 6350.830 Peak Mbps: 6355.877 Avg Mbps: 6350.830 5000 793166704 6345.334 100.00% Conn: 1 Mbps: 6345.334 Peak Mbps: 6355.877 Avg Mbps: 6345.334 --- 169.254.1.12 tcpbench statistics --- 4760493878 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6336.345/6348.157/6355.877/6.815 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 773465828 6187.727 100.00% Conn: 1 Mbps: 6187.727 Peak Mbps: 6187.727 Avg Mbps: 6187.727 2000 774633632 6203.272 100.00% Conn: 1 Mbps: 6203.272 Peak Mbps: 6203.272 Avg Mbps: 6203.272 3000 774960592 6199.685 100.00% Conn: 1 Mbps: 6199.685 Peak Mbps: 6203.272 Avg Mbps: 6199.685 4000 774862504 6198.900 100.00% Conn: 1 Mbps: 6198.900 Peak Mbps: 6203.272 Avg Mbps: 6198.900 5000 774764416 6198.115 100.00% Conn: 1 Mbps: 6198.115 Peak Mbps: 6203.272 Avg Mbps: 6198.115 --- fc00:0:0:1::12 tcpbench statistics --- 4647059036 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6187.727/6197.540/6203.272/5.214 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.042 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.042/0.042/0.042/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.046 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-tcpbench-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 786201648 6289.613 100.00% Conn: 1 Mbps: 6289.613 Peak Mbps: 6289.613 Avg Mbps: 6289.613 2000 786852516 6301.121 100.00% Conn: 1 Mbps: 6301.121 Peak Mbps: 6301.121 Avg Mbps: 6301.121 3000 787474120 6299.793 100.00% Conn: 1 Mbps: 6299.793 Peak Mbps: 6301.121 Avg Mbps: 6299.793 4000 786885232 6295.082 100.00% Conn: 1 Mbps: 6295.082 Peak Mbps: 6301.121 Avg Mbps: 6295.082 5000 786525356 6292.203 100.00% Conn: 1 Mbps: 6292.203 Peak Mbps: 6301.121 Avg Mbps: 6292.203 --- 169.254.0.13 tcpbench statistics --- 4720562376 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6289.613/6295.562/6301.121/4.375 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 794631988 6357.056 100.00% Conn: 1 Mbps: 6357.056 Peak Mbps: 6357.056 Avg Mbps: 6357.056 2000 794512800 6362.465 100.00% Conn: 1 Mbps: 6362.465 Peak Mbps: 6362.465 Avg Mbps: 6362.465 3000 793858880 6350.871 100.00% Conn: 1 Mbps: 6350.871 Peak Mbps: 6362.465 Avg Mbps: 6350.871 4000 794447408 6355.579 100.00% Conn: 1 Mbps: 6355.579 Peak Mbps: 6362.465 Avg Mbps: 6355.579 5000 794578192 6356.626 100.00% Conn: 1 Mbps: 6356.626 Peak Mbps: 6362.465 Avg Mbps: 6356.626 --- fc00::13 tcpbench statistics --- 4766313196 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6350.871/6356.519/6362.465/3.700 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.84s