START sys/net/pair 2025-02-22T06:35:43Z ==== 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.168 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.168/0.168/0.168/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.214 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.214/0.214/0.214/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 274626264 2197.010 100.00% Conn: 1 Mbps: 2197.010 Peak Mbps: 2197.010 Avg Mbps: 2197.010 2000 315821728 2529.103 100.00% Conn: 1 Mbps: 2529.103 Peak Mbps: 2529.103 Avg Mbps: 2529.103 3000 318402588 2547.221 100.00% Conn: 1 Mbps: 2547.221 Peak Mbps: 2547.221 Avg Mbps: 2547.221 4000 310861336 2489.380 100.00% Conn: 1 Mbps: 2489.380 Peak Mbps: 2547.221 Avg Mbps: 2489.380 5000 314979240 2519.834 100.00% Conn: 1 Mbps: 2519.834 Peak Mbps: 2547.221 Avg Mbps: 2519.834 --- 169.254.1.11 tcpbench statistics --- 1849249152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2197.010/2456.510/2547.221/131.094 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 313988312 2511.906 100.00% Conn: 1 Mbps: 2511.906 Peak Mbps: 2511.906 Avg Mbps: 2511.906 2000 312426624 2501.915 100.00% Conn: 1 Mbps: 2501.915 Peak Mbps: 2511.906 Avg Mbps: 2501.915 3000 310872736 2486.982 100.00% Conn: 1 Mbps: 2486.982 Peak Mbps: 2511.906 Avg Mbps: 2486.982 4000 311966800 2495.734 100.00% Conn: 1 Mbps: 2495.734 Peak Mbps: 2511.906 Avg Mbps: 2495.734 5000 320647960 2565.184 100.00% Conn: 1 Mbps: 2565.184 Peak Mbps: 2565.184 Avg Mbps: 2565.184 --- fc00:0:0:1::11 tcpbench statistics --- 1893198344 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2486.982/2512.344/2565.184/27.641 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.148 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.148/0.148/0.148/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.214 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.214/0.214/0.214/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 225032448 1798.461 100.00% Conn: 1 Mbps: 1798.461 Peak Mbps: 1798.461 Avg Mbps: 1798.461 2001 224383120 1795.065 100.00% Conn: 1 Mbps: 1795.065 Peak Mbps: 1798.461 Avg Mbps: 1795.065 3001 218099312 1744.794 100.00% Conn: 1 Mbps: 1744.794 Peak Mbps: 1798.461 Avg Mbps: 1744.794 4002 202862624 1622.901 100.00% Conn: 1 Mbps: 1622.901 Peak Mbps: 1798.461 Avg Mbps: 1622.901 5002 224768984 1798.152 100.00% Conn: 1 Mbps: 1798.152 Peak Mbps: 1798.461 Avg Mbps: 1798.152 --- 169.254.1.12 tcpbench statistics --- 1316602152 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1622.901/1751.875/1798.461/67.619 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 208256864 1662.729 100.00% Conn: 1 Mbps: 1662.729 Peak Mbps: 1662.729 Avg Mbps: 1662.729 2002 223516880 1788.135 100.00% Conn: 1 Mbps: 1788.135 Peak Mbps: 1788.135 Avg Mbps: 1788.135 3002 228680960 1829.448 100.00% Conn: 1 Mbps: 1829.448 Peak Mbps: 1829.448 Avg Mbps: 1829.448 4003 227908432 1823.267 100.00% Conn: 1 Mbps: 1823.267 Peak Mbps: 1829.448 Avg Mbps: 1823.267 5003 216512476 1732.100 100.00% Conn: 1 Mbps: 1732.100 Peak Mbps: 1829.448 Avg Mbps: 1732.100 --- fc00:0:0:1::12 tcpbench statistics --- 1299236428 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1662.729/1767.136/1829.448/62.614 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.131 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.131/0.131/0.131/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.144 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.144/0.144/0.144/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 490404976 3923.240 100.00% Conn: 1 Mbps: 3923.240 Peak Mbps: 3923.240 Avg Mbps: 3923.240 2002 563808816 4505.965 100.00% Conn: 1 Mbps: 4505.965 Peak Mbps: 4505.965 Avg Mbps: 4505.965 3001 514961852 4123.819 100.00% Conn: 1 Mbps: 4123.819 Peak Mbps: 4505.965 Avg Mbps: 4123.819 4002 575743136 4605.945 100.00% Conn: 1 Mbps: 4605.945 Peak Mbps: 4605.945 Avg Mbps: 4605.945 5001 513655116 4113.354 100.00% Conn: 1 Mbps: 4113.354 Peak Mbps: 4605.945 Avg Mbps: 4113.354 --- 169.254.0.13 tcpbench statistics --- 3236344460 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3923.240/4254.464/4605.945/258.256 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 473343320 3786.747 100.00% Conn: 1 Mbps: 3786.747 Peak Mbps: 3786.747 Avg Mbps: 3786.747 2001 503526280 4028.210 100.00% Conn: 1 Mbps: 4028.210 Peak Mbps: 4028.210 Avg Mbps: 4028.210 3001 491973608 3935.789 100.00% Conn: 1 Mbps: 3935.789 Peak Mbps: 4028.210 Avg Mbps: 3935.789 4002 490203568 3917.711 100.00% Conn: 1 Mbps: 3917.711 Peak Mbps: 4028.210 Avg Mbps: 3917.711 5002 430621808 3448.423 100.00% Conn: 1 Mbps: 3448.423 Peak Mbps: 4028.210 Avg Mbps: 3448.423 --- fc00::13 tcpbench statistics --- 2832003944 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3448.423/3823.376/4028.210/202.694 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.160 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.160/0.160/0.160/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.116 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.116/0.116/0.116/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 226080200 1806.835 100.00% Conn: 1 Mbps: 1806.835 Peak Mbps: 1806.835 Avg Mbps: 1806.835 2002 243386696 1947.094 100.00% Conn: 1 Mbps: 1947.094 Peak Mbps: 1947.094 Avg Mbps: 1947.094 3003 225205488 1801.644 100.00% Conn: 1 Mbps: 1801.644 Peak Mbps: 1947.094 Avg Mbps: 1801.644 4003 246919816 1975.359 100.00% Conn: 1 Mbps: 1975.359 Peak Mbps: 1975.359 Avg Mbps: 1975.359 5004 225691752 1805.534 100.00% Conn: 1 Mbps: 1805.534 Peak Mbps: 1975.359 Avg Mbps: 1805.534 --- 169.254.1.11 tcpbench statistics --- 1385777856 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1801.644/1867.293/1975.359/77.234 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 218261668 1744.349 100.00% Conn: 1 Mbps: 1744.349 Peak Mbps: 1744.349 Avg Mbps: 1744.349 2001 229444224 1835.554 100.00% Conn: 1 Mbps: 1835.554 Peak Mbps: 1835.554 Avg Mbps: 1835.554 3002 216069976 1728.560 100.00% Conn: 1 Mbps: 1728.560 Peak Mbps: 1835.554 Avg Mbps: 1728.560 4003 196216740 1568.166 100.00% Conn: 1 Mbps: 1568.166 Peak Mbps: 1835.554 Avg Mbps: 1568.166 5003 194728400 1559.387 100.00% Conn: 1 Mbps: 1559.387 Peak Mbps: 1835.554 Avg Mbps: 1559.387 --- fc00:0:0:1::11 tcpbench statistics --- 1265014432 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1559.387/1687.203/1835.554/107.230 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.096 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.096/0.096/0.096/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.091 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.091/0.091/0.091/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 317246664 2537.973 100.00% Conn: 1 Mbps: 2537.973 Peak Mbps: 2537.973 Avg Mbps: 2537.973 2000 304120544 2435.400 100.00% Conn: 1 Mbps: 2435.400 Peak Mbps: 2537.973 Avg Mbps: 2435.400 3000 301809536 2414.476 100.00% Conn: 1 Mbps: 2414.476 Peak Mbps: 2537.973 Avg Mbps: 2414.476 4000 307321464 2458.572 100.00% Conn: 1 Mbps: 2458.572 Peak Mbps: 2537.973 Avg Mbps: 2458.572 5000 319240560 2553.924 100.00% Conn: 1 Mbps: 2553.924 Peak Mbps: 2553.924 Avg Mbps: 2553.924 --- 169.254.1.12 tcpbench statistics --- 1869652648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2414.476/2480.069/2553.924/55.799 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 320497492 2563.980 100.00% Conn: 1 Mbps: 2563.980 Peak Mbps: 2563.980 Avg Mbps: 2563.980 2000 309061460 2474.967 100.00% Conn: 1 Mbps: 2474.967 Peak Mbps: 2563.980 Avg Mbps: 2474.967 3000 303520636 2428.165 100.00% Conn: 1 Mbps: 2428.165 Peak Mbps: 2563.980 Avg Mbps: 2428.165 4000 304997584 2439.981 100.00% Conn: 1 Mbps: 2439.981 Peak Mbps: 2563.980 Avg Mbps: 2439.981 5000 316288384 2530.307 100.00% Conn: 1 Mbps: 2530.307 Peak Mbps: 2563.980 Avg Mbps: 2530.307 --- fc00:0:0:1::12 tcpbench statistics --- 1872313432 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2428.165/2487.480/2563.980/52.187 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.141 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.141/0.141/0.141/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.172 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.172/0.172/0.172/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 500833710 4006.670 100.00% Conn: 1 Mbps: 4006.670 Peak Mbps: 4006.670 Avg Mbps: 4006.670 2000 491672394 3937.316 100.00% Conn: 1 Mbps: 3937.316 Peak Mbps: 4006.670 Avg Mbps: 3937.316 3000 508553862 4068.431 100.00% Conn: 1 Mbps: 4068.431 Peak Mbps: 4068.431 Avg Mbps: 4068.431 4000 505335056 4042.680 100.00% Conn: 1 Mbps: 4042.680 Peak Mbps: 4068.431 Avg Mbps: 4042.680 5000 495190208 3961.522 100.00% Conn: 1 Mbps: 3961.522 Peak Mbps: 4068.431 Avg Mbps: 3961.522 --- 169.254.0.13 tcpbench statistics --- 2994828004 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3937.316/4003.324/4068.431/48.792 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 492174860 3937.399 100.00% Conn: 1 Mbps: 3937.399 Peak Mbps: 3937.399 Avg Mbps: 3937.399 2000 479552232 3840.258 100.00% Conn: 1 Mbps: 3840.258 Peak Mbps: 3937.399 Avg Mbps: 3840.258 3000 483998888 3871.991 100.00% Conn: 1 Mbps: 3871.991 Peak Mbps: 3937.399 Avg Mbps: 3871.991 4000 493975776 3951.806 100.00% Conn: 1 Mbps: 3951.806 Peak Mbps: 3951.806 Avg Mbps: 3951.806 5000 485241336 3881.931 100.00% Conn: 1 Mbps: 3881.931 Peak Mbps: 3951.806 Avg Mbps: 3881.931 --- fc00::13 tcpbench statistics --- 2913514444 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3840.258/3896.677/3951.806/41.731 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.092 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.092/0.092/0.092/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.108 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.108/0.108/0.108/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 236874072 1893.099 100.00% Conn: 1 Mbps: 1893.099 Peak Mbps: 1893.099 Avg Mbps: 1893.099 2002 222297840 1776.606 100.00% Conn: 1 Mbps: 1776.606 Peak Mbps: 1893.099 Avg Mbps: 1776.606 3003 197662888 1581.303 100.00% Conn: 1 Mbps: 1581.303 Peak Mbps: 1893.099 Avg Mbps: 1581.303 4004 223466584 1787.733 100.00% Conn: 1 Mbps: 1787.733 Peak Mbps: 1893.099 Avg Mbps: 1787.733 5005 236593024 1892.744 100.00% Conn: 1 Mbps: 1892.744 Peak Mbps: 1893.099 Avg Mbps: 1892.744 --- 169.254.1.11 tcpbench statistics --- 1338374136 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1581.303/1786.297/1893.099/113.891 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 1001 367634720 2938.140 100.00% Conn: 1 Mbps: 2938.140 Peak Mbps: 2938.140 Avg Mbps: 2938.140 2000 390653576 3128.357 100.00% Conn: 1 Mbps: 3128.357 Peak Mbps: 3128.357 Avg Mbps: 3128.357 3001 393965216 3151.722 100.00% Conn: 1 Mbps: 3151.722 Peak Mbps: 3151.722 Avg Mbps: 3151.722 4001 414993880 3319.951 100.00% Conn: 1 Mbps: 3319.951 Peak Mbps: 3319.951 Avg Mbps: 3319.951 5002 362108160 2893.971 100.00% Conn: 1 Mbps: 2893.971 Peak Mbps: 3319.951 Avg Mbps: 2893.971 --- fc00:0:0:1::11 tcpbench statistics --- 2295717704 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2893.971/3086.428/3319.951/154.650 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.145 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.145/0.145/0.145/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.181 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.181/0.181/0.181/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 496939984 3975.520 100.00% Conn: 1 Mbps: 3975.520 Peak Mbps: 3975.520 Avg Mbps: 3975.520 2000 504448004 4039.624 100.00% Conn: 1 Mbps: 4039.624 Peak Mbps: 4039.624 Avg Mbps: 4039.624 3000 509698922 4077.591 100.00% Conn: 1 Mbps: 4077.591 Peak Mbps: 4077.591 Avg Mbps: 4077.591 4000 504791522 4038.332 100.00% Conn: 1 Mbps: 4038.332 Peak Mbps: 4077.591 Avg Mbps: 4038.332 5000 493774974 3950.200 100.00% Conn: 1 Mbps: 3950.200 Peak Mbps: 4077.591 Avg Mbps: 3950.200 --- 169.254.1.12 tcpbench statistics --- 3016865912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3950.200/4016.253/4077.591/46.515 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 495561260 3964.490 100.00% Conn: 1 Mbps: 3964.490 Peak Mbps: 3964.490 Avg Mbps: 3964.490 2000 499006352 3996.047 100.00% Conn: 1 Mbps: 3996.047 Peak Mbps: 3996.047 Avg Mbps: 3996.047 3000 500281496 4002.252 100.00% Conn: 1 Mbps: 4002.252 Peak Mbps: 4002.252 Avg Mbps: 4002.252 4000 498908264 3991.266 100.00% Conn: 1 Mbps: 3991.266 Peak Mbps: 4002.252 Avg Mbps: 3991.266 5000 501491248 4011.930 100.00% Conn: 1 Mbps: 4011.930 Peak Mbps: 4011.930 Avg Mbps: 4011.930 --- fc00:0:0:1::12 tcpbench statistics --- 2999846564 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3964.490/3993.197/4011.930/15.930 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.076 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.076/0.076/0.076/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.081 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.081/0.081/0.081/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 515704910 4125.639 100.00% Conn: 1 Mbps: 4125.639 Peak Mbps: 4125.639 Avg Mbps: 4125.639 2000 519006624 4156.209 100.00% Conn: 1 Mbps: 4156.209 Peak Mbps: 4156.209 Avg Mbps: 4156.209 3000 516781936 4134.255 100.00% Conn: 1 Mbps: 4134.255 Peak Mbps: 4156.209 Avg Mbps: 4134.255 4000 509911564 4083.376 100.00% Conn: 1 Mbps: 4083.376 Peak Mbps: 4156.209 Avg Mbps: 4083.376 5000 527430994 4219.448 100.00% Conn: 1 Mbps: 4219.448 Peak Mbps: 4219.448 Avg Mbps: 4219.448 --- 169.254.0.13 tcpbench statistics --- 3116675972 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4083.376/4143.786/4219.448/44.606 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 518351796 4146.814 100.00% Conn: 1 Mbps: 4146.814 Peak Mbps: 4146.814 Avg Mbps: 4146.814 2000 518133512 4149.217 100.00% Conn: 1 Mbps: 4149.217 Peak Mbps: 4149.217 Avg Mbps: 4149.217 3000 521015944 4168.128 100.00% Conn: 1 Mbps: 4168.128 Peak Mbps: 4168.128 Avg Mbps: 4168.128 4000 505315884 4042.527 100.00% Conn: 1 Mbps: 4042.527 Peak Mbps: 4168.128 Avg Mbps: 4042.527 5000 519833704 4158.670 100.00% Conn: 1 Mbps: 4158.670 Peak Mbps: 4168.128 Avg Mbps: 4158.670 --- fc00::13 tcpbench statistics --- 3096043432 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4042.527/4133.071/4168.128/45.896 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 1m54.19s