START sys/net/pair 2025-01-11T06:34:26Z ==== 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.159 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.159/0.159/0.159/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.188 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.188/0.188/0.188/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 277242136 2217.937 100.00% Conn: 1 Mbps: 2217.937 Peak Mbps: 2217.937 Avg Mbps: 2217.937 2000 328093440 2627.375 100.00% Conn: 1 Mbps: 2627.375 Peak Mbps: 2627.375 Avg Mbps: 2627.375 3000 330841908 2646.735 100.00% Conn: 1 Mbps: 2646.735 Peak Mbps: 2646.735 Avg Mbps: 2646.735 4000 327370172 2618.961 100.00% Conn: 1 Mbps: 2618.961 Peak Mbps: 2646.735 Avg Mbps: 2618.961 5000 331026252 2648.210 100.00% Conn: 1 Mbps: 2648.210 Peak Mbps: 2648.210 Avg Mbps: 2648.210 --- 169.254.1.11 tcpbench statistics --- 1926363168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2217.937/2551.844/2648.210/167.329 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 328409992 2627.280 100.00% Conn: 1 Mbps: 2627.280 Peak Mbps: 2627.280 Avg Mbps: 2627.280 2000 322699104 2584.177 100.00% Conn: 1 Mbps: 2584.177 Peak Mbps: 2627.280 Avg Mbps: 2584.177 3000 328417400 2627.339 100.00% Conn: 1 Mbps: 2627.339 Peak Mbps: 2627.339 Avg Mbps: 2627.339 4000 330740304 2648.571 100.00% Conn: 1 Mbps: 2648.571 Peak Mbps: 2648.571 Avg Mbps: 2648.571 5000 330428384 2643.427 100.00% Conn: 1 Mbps: 2643.427 Peak Mbps: 2648.571 Avg Mbps: 2643.427 --- fc00:0:0:1::11 tcpbench statistics --- 1971816032 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2584.177/2626.159/2648.571/22.652 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.202 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.202/0.202/0.202/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.189 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.189/0.189/0.189/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 220690128 1763.757 100.00% Conn: 1 Mbps: 1763.757 Peak Mbps: 1763.757 Avg Mbps: 1763.757 2002 229956752 1839.654 100.00% Conn: 1 Mbps: 1839.654 Peak Mbps: 1839.654 Avg Mbps: 1839.654 3003 252198304 2017.586 100.00% Conn: 1 Mbps: 2017.586 Peak Mbps: 2017.586 Avg Mbps: 2017.586 4002 242253256 1939.966 100.00% Conn: 1 Mbps: 1939.966 Peak Mbps: 2017.586 Avg Mbps: 1939.966 5004 257839712 2060.657 100.00% Conn: 1 Mbps: 2060.657 Peak Mbps: 2060.657 Avg Mbps: 2060.657 --- 169.254.1.12 tcpbench statistics --- 1428511432 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1763.757/1924.324/2060.657/109.982 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 233737924 1866.171 100.00% Conn: 1 Mbps: 1866.171 Peak Mbps: 1866.171 Avg Mbps: 1866.171 2003 206243184 1649.945 100.00% Conn: 1 Mbps: 1649.945 Peak Mbps: 1866.171 Avg Mbps: 1649.945 3004 220794600 1764.592 100.00% Conn: 1 Mbps: 1764.592 Peak Mbps: 1866.171 Avg Mbps: 1764.592 4005 243031204 1944.250 100.00% Conn: 1 Mbps: 1944.250 Peak Mbps: 1944.250 Avg Mbps: 1944.250 5006 206605940 1651.196 100.00% Conn: 1 Mbps: 1651.196 Peak Mbps: 1944.250 Avg Mbps: 1651.196 --- fc00:0:0:1::12 tcpbench statistics --- 1344570484 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1649.945/1775.231/1944.250/116.646 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.171 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.171/0.171/0.171/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.163 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.163/0.163/0.163/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 1001 483133944 3861.210 100.00% Conn: 1 Mbps: 3861.210 Peak Mbps: 3861.210 Avg Mbps: 3861.210 2000 595992088 4772.709 100.00% Conn: 1 Mbps: 4772.709 Peak Mbps: 4772.709 Avg Mbps: 4772.709 3000 519679420 4161.597 100.00% Conn: 1 Mbps: 4161.597 Peak Mbps: 4772.709 Avg Mbps: 4161.597 4000 550526168 4408.618 100.00% Conn: 1 Mbps: 4408.618 Peak Mbps: 4772.709 Avg Mbps: 4408.618 5001 564131324 4513.051 100.00% Conn: 1 Mbps: 4513.051 Peak Mbps: 4772.709 Avg Mbps: 4513.051 --- 169.254.0.13 tcpbench statistics --- 3327032088 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3861.210/4343.437/4772.709/310.773 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 521822000 4174.576 100.00% Conn: 1 Mbps: 4174.576 Peak Mbps: 4174.576 Avg Mbps: 4174.576 2000 474556048 3796.448 100.00% Conn: 1 Mbps: 3796.448 Peak Mbps: 4174.576 Avg Mbps: 3796.448 3000 495170400 3961.363 100.00% Conn: 1 Mbps: 3961.363 Peak Mbps: 4174.576 Avg Mbps: 3961.363 4000 459979440 3683.519 100.00% Conn: 1 Mbps: 3683.519 Peak Mbps: 4174.576 Avg Mbps: 3683.519 5001 455676488 3645.412 100.00% Conn: 1 Mbps: 3645.412 Peak Mbps: 4174.576 Avg Mbps: 3645.412 --- fc00::13 tcpbench statistics --- 2928606200 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3645.412/3852.264/4174.576/195.021 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.179 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.179/0.179/0.179/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.107 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.107/0.107/0.107/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 223080496 1781.082 100.00% Conn: 1 Mbps: 1781.082 Peak Mbps: 1781.082 Avg Mbps: 1781.082 2001 234062568 1874.375 100.00% Conn: 1 Mbps: 1874.375 Peak Mbps: 1874.375 Avg Mbps: 1874.375 3001 244007224 1952.058 100.00% Conn: 1 Mbps: 1952.058 Peak Mbps: 1952.058 Avg Mbps: 1952.058 4002 213735712 1709.886 100.00% Conn: 1 Mbps: 1709.886 Peak Mbps: 1952.058 Avg Mbps: 1709.886 5002 223461344 1787.691 100.00% Conn: 1 Mbps: 1787.691 Peak Mbps: 1952.058 Avg Mbps: 1787.691 --- 169.254.1.11 tcpbench statistics --- 1392647232 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1709.886/1821.018/1952.058/83.755 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 222357032 1777.079 100.00% Conn: 1 Mbps: 1777.079 Peak Mbps: 1777.079 Avg Mbps: 1777.079 2002 214104788 1711.127 100.00% Conn: 1 Mbps: 1711.127 Peak Mbps: 1777.079 Avg Mbps: 1711.127 3003 228961784 1831.694 100.00% Conn: 1 Mbps: 1831.694 Peak Mbps: 1831.694 Avg Mbps: 1831.694 4004 223609068 1788.873 100.00% Conn: 1 Mbps: 1788.873 Peak Mbps: 1831.694 Avg Mbps: 1788.873 5005 211202800 1689.622 100.00% Conn: 1 Mbps: 1689.622 Peak Mbps: 1831.694 Avg Mbps: 1689.622 --- fc00:0:0:1::11 tcpbench statistics --- 1285764956 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 1689.622/1759.679/1831.694/52.166 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.119 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.119/0.119/0.119/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.129 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.129/0.129/0.129/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 346759968 2774.080 100.00% Conn: 1 Mbps: 2774.080 Peak Mbps: 2774.080 Avg Mbps: 2774.080 2000 339015064 2714.835 100.00% Conn: 1 Mbps: 2714.835 Peak Mbps: 2774.080 Avg Mbps: 2714.835 3000 338610456 2708.884 100.00% Conn: 1 Mbps: 2708.884 Peak Mbps: 2774.080 Avg Mbps: 2708.884 4000 333874776 2670.998 100.00% Conn: 1 Mbps: 2670.998 Peak Mbps: 2774.080 Avg Mbps: 2670.998 5000 336019984 2688.160 100.00% Conn: 1 Mbps: 2688.160 Peak Mbps: 2774.080 Avg Mbps: 2688.160 --- 169.254.1.12 tcpbench statistics --- 2028416384 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2670.998/2711.391/2774.080/34.984 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 329809452 2638.476 100.00% Conn: 1 Mbps: 2638.476 Peak Mbps: 2638.476 Avg Mbps: 2638.476 2000 334995792 2679.966 100.00% Conn: 1 Mbps: 2679.966 Peak Mbps: 2679.966 Avg Mbps: 2679.966 3000 328892676 2631.141 100.00% Conn: 1 Mbps: 2631.141 Peak Mbps: 2679.966 Avg Mbps: 2631.141 4000 329959392 2639.675 100.00% Conn: 1 Mbps: 2639.675 Peak Mbps: 2679.966 Avg Mbps: 2639.675 5000 330105048 2640.840 100.00% Conn: 1 Mbps: 2640.840 Peak Mbps: 2679.966 Avg Mbps: 2640.840 --- fc00:0:0:1::12 tcpbench statistics --- 1984021476 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2631.141/2646.020/2679.966/17.307 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.148 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.148/0.148/0.148/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.123 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.123/0.123/0.123/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 526829274 4214.634 100.00% Conn: 1 Mbps: 4214.634 Peak Mbps: 4214.634 Avg Mbps: 4214.634 2000 517779774 4146.385 100.00% Conn: 1 Mbps: 4146.385 Peak Mbps: 4214.634 Avg Mbps: 4146.385 3000 518205082 4145.641 100.00% Conn: 1 Mbps: 4145.641 Peak Mbps: 4214.634 Avg Mbps: 4145.641 4000 520920498 4167.364 100.00% Conn: 1 Mbps: 4167.364 Peak Mbps: 4214.634 Avg Mbps: 4167.364 5000 531144260 4249.154 100.00% Conn: 1 Mbps: 4249.154 Peak Mbps: 4249.154 Avg Mbps: 4249.154 --- 169.254.0.13 tcpbench statistics --- 3137320692 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4145.641/4184.635/4249.154/40.852 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 522044428 4176.355 100.00% Conn: 1 Mbps: 4176.355 Peak Mbps: 4176.355 Avg Mbps: 4176.355 2000 517218024 4141.886 100.00% Conn: 1 Mbps: 4141.886 Peak Mbps: 4176.355 Avg Mbps: 4141.886 3000 518041760 4144.334 100.00% Conn: 1 Mbps: 4144.334 Peak Mbps: 4176.355 Avg Mbps: 4144.334 4000 516367928 4130.943 100.00% Conn: 1 Mbps: 4130.943 Peak Mbps: 4176.355 Avg Mbps: 4130.943 5000 516760280 4138.220 100.00% Conn: 1 Mbps: 4138.220 Peak Mbps: 4176.355 Avg Mbps: 4138.220 --- fc00::13 tcpbench statistics --- 3111577420 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4130.943/4146.348/4176.355/15.670 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.104 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.104/0.104/0.104/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.121 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.121/0.121/0.121/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 1002 248056648 1980.492 100.00% Conn: 1 Mbps: 1980.492 Peak Mbps: 1980.492 Avg Mbps: 1980.492 2002 241127984 1929.024 100.00% Conn: 1 Mbps: 1929.024 Peak Mbps: 1980.492 Avg Mbps: 1929.024 3002 223433824 1789.260 100.00% Conn: 1 Mbps: 1789.260 Peak Mbps: 1980.492 Avg Mbps: 1789.260 4002 241925648 1935.405 100.00% Conn: 1 Mbps: 1935.405 Peak Mbps: 1980.492 Avg Mbps: 1935.405 5003 230410440 1843.284 100.00% Conn: 1 Mbps: 1843.284 Peak Mbps: 1980.492 Avg Mbps: 1843.284 --- 169.254.1.11 tcpbench statistics --- 1414303704 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1789.260/1895.493/1980.492/69.215 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 392524488 3137.059 100.00% Conn: 1 Mbps: 3137.059 Peak Mbps: 3137.059 Avg Mbps: 3137.059 2001 401611872 3212.895 100.00% Conn: 1 Mbps: 3212.895 Peak Mbps: 3212.895 Avg Mbps: 3212.895 3002 400557560 3204.460 100.00% Conn: 1 Mbps: 3204.460 Peak Mbps: 3212.895 Avg Mbps: 3204.460 4002 422561088 3380.489 100.00% Conn: 1 Mbps: 3380.489 Peak Mbps: 3380.489 Avg Mbps: 3380.489 5002 431285768 3450.286 100.00% Conn: 1 Mbps: 3450.286 Peak Mbps: 3450.286 Avg Mbps: 3450.286 --- fc00:0:0:1::11 tcpbench statistics --- 2503358888 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3137.059/3277.038/3450.286/118.062 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.075 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.075/0.075/0.075/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.120 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.120/0.120/0.120/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 533503180 4268.025 100.00% Conn: 1 Mbps: 4268.025 Peak Mbps: 4268.025 Avg Mbps: 4268.025 2000 535822648 4290.872 100.00% Conn: 1 Mbps: 4290.872 Peak Mbps: 4290.872 Avg Mbps: 4290.872 3000 535829672 4286.637 100.00% Conn: 1 Mbps: 4286.637 Peak Mbps: 4290.872 Avg Mbps: 4286.637 4000 535778138 4286.225 100.00% Conn: 1 Mbps: 4286.225 Peak Mbps: 4290.872 Avg Mbps: 4286.225 5000 533876046 4275.284 100.00% Conn: 1 Mbps: 4275.284 Peak Mbps: 4290.872 Avg Mbps: 4275.284 --- 169.254.1.12 tcpbench statistics --- 3209340050 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4268.025/4281.409/4290.872/8.447 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 522847172 4182.777 100.00% Conn: 1 Mbps: 4182.777 Peak Mbps: 4182.777 Avg Mbps: 4182.777 2000 521762768 4178.280 100.00% Conn: 1 Mbps: 4178.280 Peak Mbps: 4182.777 Avg Mbps: 4178.280 3000 522096064 4176.769 100.00% Conn: 1 Mbps: 4176.769 Peak Mbps: 4182.777 Avg Mbps: 4176.769 4000 521632560 4173.060 100.00% Conn: 1 Mbps: 4173.060 Peak Mbps: 4182.777 Avg Mbps: 4173.060 5000 521272328 4170.179 100.00% Conn: 1 Mbps: 4170.179 Peak Mbps: 4182.777 Avg Mbps: 4170.179 --- fc00:0:0:1::12 tcpbench statistics --- 3129281116 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4170.179/4176.213/4182.777/4.336 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.150 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.150/0.150/0.150/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.096 ms --- fc00::13 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-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 546115076 4368.921 100.00% Conn: 1 Mbps: 4368.921 Peak Mbps: 4368.921 Avg Mbps: 4368.921 2000 546062756 4372.875 100.00% Conn: 1 Mbps: 4372.875 Peak Mbps: 4372.875 Avg Mbps: 4372.875 3000 546635286 4373.082 100.00% Conn: 1 Mbps: 4373.082 Peak Mbps: 4373.082 Avg Mbps: 4373.082 4000 544737758 4357.902 100.00% Conn: 1 Mbps: 4357.902 Peak Mbps: 4373.082 Avg Mbps: 4357.902 5000 545473868 4363.791 100.00% Conn: 1 Mbps: 4363.791 Peak Mbps: 4373.082 Avg Mbps: 4363.791 --- 169.254.0.13 tcpbench statistics --- 3259269314 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4357.902/4367.314/4373.082/5.793 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 519032948 4152.264 100.00% Conn: 1 Mbps: 4152.264 Peak Mbps: 4152.264 Avg Mbps: 4152.264 2000 515517832 4128.271 100.00% Conn: 1 Mbps: 4128.271 Peak Mbps: 4152.264 Avg Mbps: 4128.271 3000 516760280 4134.082 100.00% Conn: 1 Mbps: 4134.082 Peak Mbps: 4152.264 Avg Mbps: 4134.082 4000 516433320 4135.602 100.00% Conn: 1 Mbps: 4135.602 Peak Mbps: 4152.264 Avg Mbps: 4135.602 5000 525359328 4202.875 100.00% Conn: 1 Mbps: 4202.875 Peak Mbps: 4202.875 Avg Mbps: 4202.875 --- fc00::13 tcpbench statistics --- 3129579676 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4128.271/4150.619/4202.875/27.319 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.02s