START sys/net/pair 2025-02-19T04:54:42Z ==== 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.038 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.038/0.038/0.038/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.044 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 527842576 4222.741 100.00% Conn: 1 Mbps: 4222.741 Peak Mbps: 4222.741 Avg Mbps: 4222.741 2000 527103412 4221.048 100.00% Conn: 1 Mbps: 4221.048 Peak Mbps: 4222.741 Avg Mbps: 4221.048 3000 526634480 4217.293 100.00% Conn: 1 Mbps: 4217.293 Peak Mbps: 4222.741 Avg Mbps: 4217.293 4000 526761648 4214.093 100.00% Conn: 1 Mbps: 4214.093 Peak Mbps: 4222.741 Avg Mbps: 4214.093 5000 526626532 4213.012 100.00% Conn: 1 Mbps: 4213.012 Peak Mbps: 4222.741 Avg Mbps: 4213.012 --- 169.254.1.11 tcpbench statistics --- 3162405876 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4213.012/4217.638/4222.741/3.788 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 519672472 4157.380 100.00% Conn: 1 Mbps: 4157.380 Peak Mbps: 4157.380 Avg Mbps: 4157.380 2000 523485840 4192.079 100.00% Conn: 1 Mbps: 4192.079 Peak Mbps: 4192.079 Avg Mbps: 4192.079 3000 524825672 4198.605 100.00% Conn: 1 Mbps: 4198.605 Peak Mbps: 4198.605 Avg Mbps: 4198.605 4000 522780248 4182.242 100.00% Conn: 1 Mbps: 4182.242 Peak Mbps: 4198.605 Avg Mbps: 4182.242 5000 520703112 4165.625 100.00% Conn: 1 Mbps: 4165.625 Peak Mbps: 4198.605 Avg Mbps: 4165.625 --- fc00:0:0:1::11 tcpbench statistics --- 3131005040 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4157.380/4179.186/4198.605/15.570 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.057 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.057/0.057/0.057/0.000 ms ==== run-ping6-1-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.113 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.113/0.113/0.113/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1002 274917712 2194.952 100.00% Conn: 1 Mbps: 2194.952 Peak Mbps: 2194.952 Avg Mbps: 2194.952 2002 286783784 2294.270 100.00% Conn: 1 Mbps: 2294.270 Peak Mbps: 2294.270 Avg Mbps: 2294.270 3003 287362272 2296.602 100.00% Conn: 1 Mbps: 2296.602 Peak Mbps: 2296.602 Avg Mbps: 2296.602 4004 289178336 2313.427 100.00% Conn: 1 Mbps: 2313.427 Peak Mbps: 2313.427 Avg Mbps: 2313.427 5003 288544280 2310.665 100.00% Conn: 1 Mbps: 2310.665 Peak Mbps: 2313.427 Avg Mbps: 2310.665 --- 169.254.1.12 tcpbench statistics --- 1716010832 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2194.952/2281.983/2313.427/44.160 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 256407036 2051.256 100.00% Conn: 1 Mbps: 2051.256 Peak Mbps: 2051.256 Avg Mbps: 2051.256 2000 267949616 2143.597 100.00% Conn: 1 Mbps: 2143.597 Peak Mbps: 2143.597 Avg Mbps: 2143.597 3002 270250860 2159.847 100.00% Conn: 1 Mbps: 2159.847 Peak Mbps: 2159.847 Avg Mbps: 2159.847 4002 269272044 2156.333 100.00% Conn: 1 Mbps: 2156.333 Peak Mbps: 2159.847 Avg Mbps: 2156.333 5002 271886288 2175.090 100.00% Conn: 1 Mbps: 2175.090 Peak Mbps: 2175.090 Avg Mbps: 2175.090 --- fc00:0:0:1::12 tcpbench statistics --- 1606606300 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2051.256/2137.225/2175.090/44.140 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.071 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.071/0.071/0.071/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.070 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.070/0.070/0.070/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 564226000 4513.808 100.00% Conn: 1 Mbps: 4513.808 Peak Mbps: 4513.808 Avg Mbps: 4513.808 2000 580057156 4645.102 100.00% Conn: 1 Mbps: 4645.102 Peak Mbps: 4645.102 Avg Mbps: 4645.102 3000 586187164 4689.497 100.00% Conn: 1 Mbps: 4689.497 Peak Mbps: 4689.497 Avg Mbps: 4689.497 4000 564448544 4515.588 100.00% Conn: 1 Mbps: 4515.588 Peak Mbps: 4689.497 Avg Mbps: 4515.588 5000 582880096 4667.708 100.00% Conn: 1 Mbps: 4667.708 Peak Mbps: 4689.497 Avg Mbps: 4667.708 --- 169.254.0.13 tcpbench statistics --- 3450711144 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4513.808/4606.341/4689.497/76.134 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 551777632 4414.221 100.00% Conn: 1 Mbps: 4414.221 Peak Mbps: 4414.221 Avg Mbps: 4414.221 2000 580342608 4642.741 100.00% Conn: 1 Mbps: 4642.741 Peak Mbps: 4642.741 Avg Mbps: 4642.741 3000 581812536 4654.500 100.00% Conn: 1 Mbps: 4654.500 Peak Mbps: 4654.500 Avg Mbps: 4654.500 4000 581686864 4658.153 100.00% Conn: 1 Mbps: 4658.153 Peak Mbps: 4658.153 Avg Mbps: 4658.153 5000 587644944 4705.865 100.00% Conn: 1 Mbps: 4705.865 Peak Mbps: 4705.865 Avg Mbps: 4705.865 --- fc00::13 tcpbench statistics --- 3469682768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4414.221/4615.096/4705.865/102.724 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.048 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.048/0.048/0.048/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.051 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.051/0.051/0.051/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 276037176 2208.297 100.00% Conn: 1 Mbps: 2208.297 Peak Mbps: 2208.297 Avg Mbps: 2208.297 2001 281296432 2250.371 100.00% Conn: 1 Mbps: 2250.371 Peak Mbps: 2250.371 Avg Mbps: 2250.371 3003 287013136 2291.522 100.00% Conn: 1 Mbps: 2291.522 Peak Mbps: 2291.522 Avg Mbps: 2291.522 4001 285344416 2287.330 100.00% Conn: 1 Mbps: 2287.330 Peak Mbps: 2291.522 Avg Mbps: 2287.330 5001 286843536 2297.045 100.00% Conn: 1 Mbps: 2297.045 Peak Mbps: 2297.045 Avg Mbps: 2297.045 --- 169.254.1.11 tcpbench statistics --- 1706360112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2208.297/2266.913/2297.045/33.585 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1002 254872204 2034.908 100.00% Conn: 1 Mbps: 2034.908 Peak Mbps: 2034.908 Avg Mbps: 2034.908 2002 268758812 2150.070 100.00% Conn: 1 Mbps: 2150.070 Peak Mbps: 2150.070 Avg Mbps: 2150.070 3003 269895020 2157.003 100.00% Conn: 1 Mbps: 2157.003 Peak Mbps: 2157.003 Avg Mbps: 2157.003 4004 272608220 2180.866 100.00% Conn: 1 Mbps: 2180.866 Peak Mbps: 2180.866 Avg Mbps: 2180.866 5005 273848460 2190.788 100.00% Conn: 1 Mbps: 2190.788 Peak Mbps: 2190.788 Avg Mbps: 2190.788 --- fc00:0:0:1::11 tcpbench statistics --- 1612872776 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2034.908/2142.727/2190.788/55.941 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.053 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.053/0.053/0.053/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.045 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-2-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 528111776 4224.894 100.00% Conn: 1 Mbps: 4224.894 Peak Mbps: 4224.894 Avg Mbps: 4224.894 2000 526699864 4217.817 100.00% Conn: 1 Mbps: 4217.817 Peak Mbps: 4224.894 Avg Mbps: 4217.817 3000 526530448 4212.244 100.00% Conn: 1 Mbps: 4212.244 Peak Mbps: 4224.894 Avg Mbps: 4212.244 4000 526974984 4215.800 100.00% Conn: 1 Mbps: 4215.800 Peak Mbps: 4224.894 Avg Mbps: 4215.800 5000 526647736 4213.182 100.00% Conn: 1 Mbps: 4213.182 Peak Mbps: 4224.894 Avg Mbps: 4213.182 --- 169.254.1.12 tcpbench statistics --- 3161104296 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4212.244/4216.787/4224.894/4.503 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 524632920 4197.063 100.00% Conn: 1 Mbps: 4197.063 Peak Mbps: 4197.063 Avg Mbps: 4197.063 2000 526155168 4213.455 100.00% Conn: 1 Mbps: 4213.455 Peak Mbps: 4213.455 Avg Mbps: 4213.455 3000 526352232 4210.818 100.00% Conn: 1 Mbps: 4210.818 Peak Mbps: 4213.455 Avg Mbps: 4210.818 4000 526319388 4210.555 100.00% Conn: 1 Mbps: 4210.555 Peak Mbps: 4213.455 Avg Mbps: 4210.555 5000 527794512 4222.356 100.00% Conn: 1 Mbps: 4222.356 Peak Mbps: 4222.356 Avg Mbps: 4222.356 --- fc00:0:0:1::12 tcpbench statistics --- 3159982644 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4197.063/4210.849/4222.356/8.116 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.058 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.058/0.058/0.058/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.050 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/0.000 ms ==== run-tcpbench-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 784006614 6272.053 100.00% Conn: 1 Mbps: 6272.053 Peak Mbps: 6272.053 Avg Mbps: 6272.053 2000 783580916 6274.922 100.00% Conn: 1 Mbps: 6274.922 Peak Mbps: 6274.922 Avg Mbps: 6274.922 3000 783711780 6269.694 100.00% Conn: 1 Mbps: 6269.694 Peak Mbps: 6274.922 Avg Mbps: 6269.694 4000 783482768 6267.862 100.00% Conn: 1 Mbps: 6267.862 Peak Mbps: 6274.922 Avg Mbps: 6267.862 5000 782141412 6257.131 100.00% Conn: 1 Mbps: 6257.131 Peak Mbps: 6274.922 Avg Mbps: 6257.131 --- 169.254.0.13 tcpbench statistics --- 4700079098 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6257.131/6268.333/6274.922/6.080 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 753644276 6029.154 100.00% Conn: 1 Mbps: 6029.154 Peak Mbps: 6029.154 Avg Mbps: 6029.154 2000 753838976 6036.749 100.00% Conn: 1 Mbps: 6036.749 Peak Mbps: 6036.749 Avg Mbps: 6036.749 3000 754165936 6033.327 100.00% Conn: 1 Mbps: 6033.327 Peak Mbps: 6036.749 Avg Mbps: 6033.327 4000 754787160 6038.297 100.00% Conn: 1 Mbps: 6038.297 Peak Mbps: 6038.297 Avg Mbps: 6038.297 5000 760541656 6084.333 100.00% Conn: 1 Mbps: 6084.333 Peak Mbps: 6084.333 Avg Mbps: 6084.333 --- fc00::13 tcpbench statistics --- 4539906468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6029.154/6044.372/6084.333/20.226 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.062 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.062/0.062/0.062/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.068 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.068/0.068/0.068/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 273479624 2187.837 100.00% Conn: 1 Mbps: 2187.837 Peak Mbps: 2187.837 Avg Mbps: 2187.837 2001 283965480 2269.454 100.00% Conn: 1 Mbps: 2269.454 Peak Mbps: 2269.454 Avg Mbps: 2269.454 3001 283930840 2273.720 100.00% Conn: 1 Mbps: 2273.720 Peak Mbps: 2273.720 Avg Mbps: 2273.720 4001 284020728 2274.440 100.00% Conn: 1 Mbps: 2274.440 Peak Mbps: 2274.440 Avg Mbps: 2274.440 5002 286086576 2288.693 100.00% Conn: 1 Mbps: 2288.693 Peak Mbps: 2288.693 Avg Mbps: 2288.693 --- 169.254.1.11 tcpbench statistics --- 1696032768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2187.837/2258.829/2288.693/36.083 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 532714248 4261.714 100.00% Conn: 1 Mbps: 4261.714 Peak Mbps: 4261.714 Avg Mbps: 4261.714 2001 597510048 4780.080 100.00% Conn: 1 Mbps: 4780.080 Peak Mbps: 4780.080 Avg Mbps: 4780.080 3000 597096824 4781.556 100.00% Conn: 1 Mbps: 4781.556 Peak Mbps: 4781.556 Avg Mbps: 4781.556 4001 600595704 4804.766 100.00% Conn: 1 Mbps: 4804.766 Peak Mbps: 4804.766 Avg Mbps: 4804.766 5001 596953896 4775.631 100.00% Conn: 1 Mbps: 4775.631 Peak Mbps: 4804.766 Avg Mbps: 4775.631 --- fc00:0:0:1::11 tcpbench statistics --- 3520789848 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4261.714/4680.749/4804.766/209.763 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.063 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.063/0.063/0.063/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.047 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-tcpbench-3-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 793158530 6345.268 100.00% Conn: 1 Mbps: 6345.268 Peak Mbps: 6345.268 Avg Mbps: 6345.268 2000 795260528 6368.453 100.00% Conn: 1 Mbps: 6368.453 Peak Mbps: 6368.453 Avg Mbps: 6368.453 3000 795685836 6365.487 100.00% Conn: 1 Mbps: 6365.487 Peak Mbps: 6368.453 Avg Mbps: 6365.487 4000 795129664 6361.037 100.00% Conn: 1 Mbps: 6361.037 Peak Mbps: 6368.453 Avg Mbps: 6361.037 5000 794933368 6359.467 100.00% Conn: 1 Mbps: 6359.467 Peak Mbps: 6368.453 Avg Mbps: 6359.467 --- 169.254.1.12 tcpbench statistics --- 4768937714 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6345.268/6359.942/6368.453/7.999 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 750963996 6007.712 100.00% Conn: 1 Mbps: 6007.712 Peak Mbps: 6007.712 Avg Mbps: 6007.712 2000 750896336 6013.184 100.00% Conn: 1 Mbps: 6013.184 Peak Mbps: 6013.184 Avg Mbps: 6013.184 3000 751354080 6010.833 100.00% Conn: 1 Mbps: 6010.833 Peak Mbps: 6013.184 Avg Mbps: 6010.833 4000 751059816 6008.479 100.00% Conn: 1 Mbps: 6008.479 Peak Mbps: 6013.184 Avg Mbps: 6008.479 5000 760345480 6082.764 100.00% Conn: 1 Mbps: 6082.764 Peak Mbps: 6082.764 Avg Mbps: 6082.764 --- fc00:0:0:1::12 tcpbench statistics --- 4528823316 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6007.712/6024.594/6082.764/29.148 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.048 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.048/0.048/0.048/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.056 ms --- fc00::13 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-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 794477750 6355.822 100.00% Conn: 1 Mbps: 6355.822 Peak Mbps: 6355.822 Avg Mbps: 6355.822 2000 793395248 6353.515 100.00% Conn: 1 Mbps: 6353.515 Peak Mbps: 6355.822 Avg Mbps: 6353.515 3000 791170608 6329.365 100.00% Conn: 1 Mbps: 6329.365 Peak Mbps: 6355.822 Avg Mbps: 6329.365 4000 790843868 6326.751 100.00% Conn: 1 Mbps: 6326.751 Peak Mbps: 6355.822 Avg Mbps: 6326.751 5000 791007448 6328.060 100.00% Conn: 1 Mbps: 6328.060 Peak Mbps: 6355.822 Avg Mbps: 6328.060 --- 169.254.0.13 tcpbench statistics --- 4751084470 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6326.751/6338.703/6355.822/13.083 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 782551788 6260.414 100.00% Conn: 1 Mbps: 6260.414 Peak Mbps: 6260.414 Avg Mbps: 6260.414 2000 782611456 6267.159 100.00% Conn: 1 Mbps: 6267.159 Peak Mbps: 6267.159 Avg Mbps: 6267.159 3000 782513368 6260.107 100.00% Conn: 1 Mbps: 6260.107 Peak Mbps: 6267.159 Avg Mbps: 6260.107 4000 779734208 6237.874 100.00% Conn: 1 Mbps: 6237.874 Peak Mbps: 6267.159 Avg Mbps: 6237.874 5000 781140136 6249.121 100.00% Conn: 1 Mbps: 6249.121 Peak Mbps: 6267.159 Avg Mbps: 6249.121 --- fc00::13 tcpbench statistics --- 4688939084 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6237.874/6254.935/6267.159/10.306 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 1m53.71s