START sys/net/pair 2025-01-03T18:00:18Z ==== 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 704828640 5638.629 100.00% Conn: 1 Mbps: 5638.629 Peak Mbps: 5638.629 Avg Mbps: 5638.629 2000 704564956 5642.162 100.00% Conn: 1 Mbps: 5642.162 Peak Mbps: 5642.162 Avg Mbps: 5642.162 3000 700838744 5606.710 100.00% Conn: 1 Mbps: 5606.710 Peak Mbps: 5642.162 Avg Mbps: 5606.710 4000 701705076 5613.641 100.00% Conn: 1 Mbps: 5613.641 Peak Mbps: 5642.162 Avg Mbps: 5613.641 5000 702727848 5621.823 100.00% Conn: 1 Mbps: 5621.823 Peak Mbps: 5642.162 Avg Mbps: 5621.823 --- 169.254.1.11 tcpbench statistics --- 4213706500 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5606.710/5624.593/5642.162/13.807 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 714851904 5718.815 100.00% Conn: 1 Mbps: 5718.815 Peak Mbps: 5718.815 Avg Mbps: 5718.815 2000 713044320 5710.065 100.00% Conn: 1 Mbps: 5710.065 Peak Mbps: 5718.815 Avg Mbps: 5710.065 3000 714895056 5719.160 100.00% Conn: 1 Mbps: 5719.160 Peak Mbps: 5719.160 Avg Mbps: 5719.160 4000 724766584 5803.937 100.00% Conn: 1 Mbps: 5803.937 Peak Mbps: 5803.937 Avg Mbps: 5803.937 5000 717106576 5736.853 100.00% Conn: 1 Mbps: 5736.853 Peak Mbps: 5803.937 Avg Mbps: 5736.853 --- fc00:0:0:1::11 tcpbench statistics --- 4297425432 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5710.065/5737.766/5803.937/34.211 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.080 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.080/0.080/0.080/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.163 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.163/0.163/0.163/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 257121024 2056.968 100.00% Conn: 1 Mbps: 2056.968 Peak Mbps: 2056.968 Avg Mbps: 2056.968 2001 269307992 2154.464 100.00% Conn: 1 Mbps: 2154.464 Peak Mbps: 2154.464 Avg Mbps: 2154.464 3002 269318568 2154.549 100.00% Conn: 1 Mbps: 2154.549 Peak Mbps: 2154.549 Avg Mbps: 2154.549 4002 267950376 2143.603 100.00% Conn: 1 Mbps: 2143.603 Peak Mbps: 2154.549 Avg Mbps: 2143.603 5004 269979472 2155.525 100.00% Conn: 1 Mbps: 2155.525 Peak Mbps: 2155.525 Avg Mbps: 2155.525 --- 169.254.1.12 tcpbench statistics --- 1601232560 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2056.968/2133.022/2155.525/38.277 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 235428696 1881.548 100.00% Conn: 1 Mbps: 1881.548 Peak Mbps: 1881.548 Avg Mbps: 1881.548 2002 241796488 1932.439 100.00% Conn: 1 Mbps: 1932.439 Peak Mbps: 1932.439 Avg Mbps: 1932.439 3001 246476412 1973.785 100.00% Conn: 1 Mbps: 1973.785 Peak Mbps: 1973.785 Avg Mbps: 1973.785 4002 250176996 2001.416 100.00% Conn: 1 Mbps: 2001.416 Peak Mbps: 2001.416 Avg Mbps: 2001.416 5002 250697284 2007.586 100.00% Conn: 1 Mbps: 2007.586 Peak Mbps: 2007.586 Avg Mbps: 2007.586 --- fc00:0:0:1::12 tcpbench statistics --- 1476095660 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1881.548/1959.355/2007.586/47.079 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.061 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.061/0.061/0.061/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.067 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.067/0.067/0.067/0.000 ms ==== run-tcpbench-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 541743628 4333.949 100.00% Conn: 1 Mbps: 4333.949 Peak Mbps: 4333.949 Avg Mbps: 4333.949 2000 551303112 4410.425 100.00% Conn: 1 Mbps: 4410.425 Peak Mbps: 4410.425 Avg Mbps: 4410.425 3000 546695092 4377.939 100.00% Conn: 1 Mbps: 4377.939 Peak Mbps: 4410.425 Avg Mbps: 4377.939 4000 534526704 4276.214 100.00% Conn: 1 Mbps: 4276.214 Peak Mbps: 4410.425 Avg Mbps: 4276.214 5001 543047100 4344.377 100.00% Conn: 1 Mbps: 4344.377 Peak Mbps: 4410.425 Avg Mbps: 4344.377 --- 169.254.0.13 tcpbench statistics --- 3245539716 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4276.214/4348.581/4410.425/45.067 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 536624096 4292.993 100.00% Conn: 1 Mbps: 4292.993 Peak Mbps: 4292.993 Avg Mbps: 4292.993 2001 561147480 4484.695 100.00% Conn: 1 Mbps: 4484.695 Peak Mbps: 4484.695 Avg Mbps: 4484.695 3001 562612600 4505.406 100.00% Conn: 1 Mbps: 4505.406 Peak Mbps: 4505.406 Avg Mbps: 4505.406 4002 561398056 4491.184 100.00% Conn: 1 Mbps: 4491.184 Peak Mbps: 4505.406 Avg Mbps: 4491.184 5003 564356760 4514.854 100.00% Conn: 1 Mbps: 4514.854 Peak Mbps: 4514.854 Avg Mbps: 4514.854 --- fc00::13 tcpbench statistics --- 3352257328 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4292.993/4457.827/4514.854/83.091 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.050 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.050/0.050/0.050/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.060 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.060/0.060/0.060/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 255916904 2047.335 100.00% Conn: 1 Mbps: 2047.335 Peak Mbps: 2047.335 Avg Mbps: 2047.335 2000 266297208 2132.510 100.00% Conn: 1 Mbps: 2132.510 Peak Mbps: 2132.510 Avg Mbps: 2132.510 3001 267533632 2140.269 100.00% Conn: 1 Mbps: 2140.269 Peak Mbps: 2140.269 Avg Mbps: 2140.269 4001 263757576 2112.173 100.00% Conn: 1 Mbps: 2112.173 Peak Mbps: 2140.269 Avg Mbps: 2112.173 5001 264730864 2117.847 100.00% Conn: 1 Mbps: 2117.847 Peak Mbps: 2140.269 Avg Mbps: 2117.847 --- 169.254.1.11 tcpbench statistics --- 1583467384 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2047.335/2110.027/2140.269/32.912 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 233293128 1866.345 100.00% Conn: 1 Mbps: 1866.345 Peak Mbps: 1866.345 Avg Mbps: 1866.345 2001 240943816 1927.551 100.00% Conn: 1 Mbps: 1927.551 Peak Mbps: 1927.551 Avg Mbps: 1927.551 3001 245075416 1960.603 100.00% Conn: 1 Mbps: 1960.603 Peak Mbps: 1960.603 Avg Mbps: 1960.603 4001 243055108 1946.387 100.00% Conn: 1 Mbps: 1946.387 Peak Mbps: 1960.603 Avg Mbps: 1946.387 5001 247652504 1981.220 100.00% Conn: 1 Mbps: 1981.220 Peak Mbps: 1981.220 Avg Mbps: 1981.220 --- fc00:0:0:1::11 tcpbench statistics --- 1454251752 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1866.345/1936.421/1981.220/39.193 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.041 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.041/0.041/0.041/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.044 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.044/0.044/0.044/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 669487312 5355.898 100.00% Conn: 1 Mbps: 5355.898 Peak Mbps: 5355.898 Avg Mbps: 5355.898 2000 666372496 5336.316 100.00% Conn: 1 Mbps: 5336.316 Peak Mbps: 5355.898 Avg Mbps: 5336.316 3000 668340944 5346.728 100.00% Conn: 1 Mbps: 5346.728 Peak Mbps: 5355.898 Avg Mbps: 5346.728 4000 669303248 5354.426 100.00% Conn: 1 Mbps: 5354.426 Peak Mbps: 5355.898 Avg Mbps: 5354.426 5000 666567976 5332.544 100.00% Conn: 1 Mbps: 5332.544 Peak Mbps: 5355.898 Avg Mbps: 5332.544 --- 169.254.1.12 tcpbench statistics --- 4011542608 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5332.544/5345.182/5355.898/9.392 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 682130716 5457.046 100.00% Conn: 1 Mbps: 5457.046 Peak Mbps: 5457.046 Avg Mbps: 5457.046 2000 681201696 5455.069 100.00% Conn: 1 Mbps: 5455.069 Peak Mbps: 5457.046 Avg Mbps: 5455.069 3000 683075232 5464.602 100.00% Conn: 1 Mbps: 5464.602 Peak Mbps: 5464.602 Avg Mbps: 5464.602 4000 681590112 5452.721 100.00% Conn: 1 Mbps: 5452.721 Peak Mbps: 5464.602 Avg Mbps: 5452.721 5000 680714168 5445.713 100.00% Conn: 1 Mbps: 5445.713 Peak Mbps: 5464.602 Avg Mbps: 5445.713 --- fc00:0:0:1::12 tcpbench statistics --- 4092121308 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5445.713/5455.030/5464.602/6.129 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.059 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.059/0.059/0.059/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.051 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-tcpbench-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 1129767242 9038.138 100.00% Conn: 1 Mbps: 9038.138 Peak Mbps: 9038.138 Avg Mbps: 9038.138 2000 1138778528 9119.348 100.00% Conn: 1 Mbps: 9119.348 Peak Mbps: 9119.348 Avg Mbps: 9119.348 3000 1139040256 9112.322 100.00% Conn: 1 Mbps: 9112.322 Peak Mbps: 9119.348 Avg Mbps: 9112.322 4000 1139416490 9115.332 100.00% Conn: 1 Mbps: 9115.332 Peak Mbps: 9119.348 Avg Mbps: 9115.332 5000 1138304146 9106.433 100.00% Conn: 1 Mbps: 9106.433 Peak Mbps: 9119.348 Avg Mbps: 9106.433 --- 169.254.0.13 tcpbench statistics --- 6822858340 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9038.138/9098.315/9119.348/30.382 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 1109703356 8877.627 100.00% Conn: 1 Mbps: 8877.627 Peak Mbps: 8877.627 Avg Mbps: 8877.627 2000 1117941632 8952.486 100.00% Conn: 1 Mbps: 8952.486 Peak Mbps: 8952.486 Avg Mbps: 8952.486 3000 1119282168 8954.257 100.00% Conn: 1 Mbps: 8954.257 Peak Mbps: 8954.257 Avg Mbps: 8954.257 4000 1118301288 8946.410 100.00% Conn: 1 Mbps: 8946.410 Peak Mbps: 8954.257 Avg Mbps: 8946.410 5000 1118530160 8948.241 100.00% Conn: 1 Mbps: 8948.241 Peak Mbps: 8954.257 Avg Mbps: 8948.241 --- fc00::13 tcpbench statistics --- 6701111708 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8877.627/8935.804/8954.257/29.225 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.065 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.065/0.065/0.065/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.056 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.056/0.056/0.056/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 1000 260215792 2081.726 100.00% Conn: 1 Mbps: 2081.726 Peak Mbps: 2081.726 Avg Mbps: 2081.726 2002 268097576 2142.638 100.00% Conn: 1 Mbps: 2142.638 Peak Mbps: 2142.638 Avg Mbps: 2142.638 3002 266118824 2131.082 100.00% Conn: 1 Mbps: 2131.082 Peak Mbps: 2142.638 Avg Mbps: 2131.082 4002 266056392 2128.451 100.00% Conn: 1 Mbps: 2128.451 Peak Mbps: 2142.638 Avg Mbps: 2128.451 5004 268454176 2145.488 100.00% Conn: 1 Mbps: 2145.488 Peak Mbps: 2145.488 Avg Mbps: 2145.488 --- 169.254.1.11 tcpbench statistics --- 1591948544 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2081.726/2125.877/2145.488/23.015 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 489706280 3917.650 100.00% Conn: 1 Mbps: 3917.650 Peak Mbps: 3917.650 Avg Mbps: 3917.650 2001 535606984 4284.856 100.00% Conn: 1 Mbps: 4284.856 Peak Mbps: 4284.856 Avg Mbps: 4284.856 3001 536586112 4292.689 100.00% Conn: 1 Mbps: 4292.689 Peak Mbps: 4292.689 Avg Mbps: 4292.689 4001 536613920 4297.209 100.00% Conn: 1 Mbps: 4297.209 Peak Mbps: 4297.209 Avg Mbps: 4297.209 5001 535821144 4286.569 100.00% Conn: 1 Mbps: 4286.569 Peak Mbps: 4297.209 Avg Mbps: 4286.569 --- fc00:0:0:1::11 tcpbench statistics --- 3172713760 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3917.650/4215.795/4297.209/149.137 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.061 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.061/0.061/0.061/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.048 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-tcpbench-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 1133008474 9064.068 100.00% Conn: 1 Mbps: 9064.068 Peak Mbps: 9064.068 Avg Mbps: 9064.068 2000 1144372964 9164.148 100.00% Conn: 1 Mbps: 9164.148 Peak Mbps: 9164.148 Avg Mbps: 9164.148 3000 1145747036 9165.976 100.00% Conn: 1 Mbps: 9165.976 Peak Mbps: 9165.976 Avg Mbps: 9165.976 4000 1143211546 9145.692 100.00% Conn: 1 Mbps: 9145.692 Peak Mbps: 9165.976 Avg Mbps: 9145.692 5000 1144896420 9159.171 100.00% Conn: 1 Mbps: 9159.171 Peak Mbps: 9165.976 Avg Mbps: 9159.171 --- 169.254.1.12 tcpbench statistics --- 6854824220 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9064.068/9139.811/9165.976/38.531 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 1117995824 8943.967 100.00% Conn: 1 Mbps: 8943.967 Peak Mbps: 8943.967 Avg Mbps: 8943.967 2000 1121309320 8979.454 100.00% Conn: 1 Mbps: 8979.454 Peak Mbps: 8979.454 Avg Mbps: 8979.454 3000 1120916968 8967.336 100.00% Conn: 1 Mbps: 8967.336 Peak Mbps: 8979.454 Avg Mbps: 8967.336 4000 1120066872 8960.535 100.00% Conn: 1 Mbps: 8960.535 Peak Mbps: 8979.454 Avg Mbps: 8960.535 5000 1120164960 8961.320 100.00% Conn: 1 Mbps: 8961.320 Peak Mbps: 8979.454 Avg Mbps: 8961.320 --- fc00:0:0:1::12 tcpbench statistics --- 6721534392 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8943.967/8962.522/8979.454/11.485 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.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-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.045 ms --- fc00::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-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 1166146310 9329.170 100.00% Conn: 1 Mbps: 9329.170 Peak Mbps: 9329.170 Avg Mbps: 9329.170 2000 1166325400 9339.943 100.00% Conn: 1 Mbps: 9339.943 Peak Mbps: 9339.943 Avg Mbps: 9339.943 3000 1166685276 9333.482 100.00% Conn: 1 Mbps: 9333.482 Peak Mbps: 9339.943 Avg Mbps: 9333.482 4000 1162301332 9298.411 100.00% Conn: 1 Mbps: 9298.411 Peak Mbps: 9339.943 Avg Mbps: 9298.411 5000 1166767066 9334.137 100.00% Conn: 1 Mbps: 9334.137 Peak Mbps: 9339.943 Avg Mbps: 9334.137 --- 169.254.0.13 tcpbench statistics --- 6992996774 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9298.411/9327.029/9339.943/14.714 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 1164616684 9316.933 100.00% Conn: 1 Mbps: 9316.933 Peak Mbps: 9316.933 Avg Mbps: 9316.933 2000 1165677792 9334.757 100.00% Conn: 1 Mbps: 9334.757 Peak Mbps: 9334.757 Avg Mbps: 9334.757 3000 1167578192 9340.626 100.00% Conn: 1 Mbps: 9340.626 Peak Mbps: 9340.626 Avg Mbps: 9340.626 4000 1167868424 9342.947 100.00% Conn: 1 Mbps: 9342.947 Peak Mbps: 9342.947 Avg Mbps: 9342.947 5000 1168260776 9346.086 100.00% Conn: 1 Mbps: 9346.086 Peak Mbps: 9346.086 Avg Mbps: 9346.086 --- fc00::13 tcpbench statistics --- 7001085588 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9316.933/9336.270/9346.086/10.355 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.87s