START sys/net/pair 2025-01-08T04:56:58Z ==== 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.049 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.049/0.049/0.049/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.045 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.045/0.045/0.045/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 494985544 3959.884 100.00% Conn: 1 Mbps: 3959.884 Peak Mbps: 3959.884 Avg Mbps: 3959.884 2000 493761552 3954.046 100.00% Conn: 1 Mbps: 3954.046 Peak Mbps: 3959.884 Avg Mbps: 3954.046 3000 493896668 3951.173 100.00% Conn: 1 Mbps: 3951.173 Peak Mbps: 3959.884 Avg Mbps: 3951.173 4000 490661832 3925.295 100.00% Conn: 1 Mbps: 3925.295 Peak Mbps: 3959.884 Avg Mbps: 3925.295 5000 493507216 3948.058 100.00% Conn: 1 Mbps: 3948.058 Peak Mbps: 3959.884 Avg Mbps: 3948.058 --- 169.254.1.11 tcpbench statistics --- 2960693584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3925.295/3947.691/3959.884/11.857 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 498029032 3984.232 100.00% Conn: 1 Mbps: 3984.232 Peak Mbps: 3984.232 Avg Mbps: 3984.232 2000 497061816 3980.475 100.00% Conn: 1 Mbps: 3980.475 Peak Mbps: 3984.232 Avg Mbps: 3980.475 3000 497482000 3979.856 100.00% Conn: 1 Mbps: 3979.856 Peak Mbps: 3984.232 Avg Mbps: 3979.856 4000 496911184 3975.289 100.00% Conn: 1 Mbps: 3975.289 Peak Mbps: 3984.232 Avg Mbps: 3975.289 5000 496958752 3975.670 100.00% Conn: 1 Mbps: 3975.670 Peak Mbps: 3984.232 Avg Mbps: 3975.670 --- fc00:0:0:1::11 tcpbench statistics --- 2984059560 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3975.289/3979.105/3984.232/3.319 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.083 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.083/0.083/0.083/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.139 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.139/0.139/0.139/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 265391544 2123.132 100.00% Conn: 1 Mbps: 2123.132 Peak Mbps: 2123.132 Avg Mbps: 2123.132 2000 275296320 2202.371 100.00% Conn: 1 Mbps: 2202.371 Peak Mbps: 2202.371 Avg Mbps: 2202.371 3001 280840040 2246.720 100.00% Conn: 1 Mbps: 2246.720 Peak Mbps: 2246.720 Avg Mbps: 2246.720 4003 282619672 2258.699 100.00% Conn: 1 Mbps: 2258.699 Peak Mbps: 2258.699 Avg Mbps: 2258.699 5003 274828952 2200.832 100.00% Conn: 1 Mbps: 2200.832 Peak Mbps: 2258.699 Avg Mbps: 2200.832 --- 169.254.1.12 tcpbench statistics --- 1656235552 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2123.132/2206.351/2258.699/47.627 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 253734936 2027.852 100.00% Conn: 1 Mbps: 2027.852 Peak Mbps: 2027.852 Avg Mbps: 2027.852 2000 263698940 2111.703 100.00% Conn: 1 Mbps: 2111.703 Peak Mbps: 2111.703 Avg Mbps: 2111.703 3002 271226608 2167.645 100.00% Conn: 1 Mbps: 2167.645 Peak Mbps: 2167.645 Avg Mbps: 2167.645 4002 265008856 2120.071 100.00% Conn: 1 Mbps: 2120.071 Peak Mbps: 2167.645 Avg Mbps: 2120.071 5002 273821624 2190.573 100.00% Conn: 1 Mbps: 2190.573 Peak Mbps: 2190.573 Avg Mbps: 2190.573 --- fc00:0:0:1::12 tcpbench statistics --- 1594410468 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2027.852/2123.569/2190.573/56.120 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.070 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.070/0.070/0.070/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.073 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.073/0.073/0.073/0.000 ms ==== run-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 570112668 4560.901 100.00% Conn: 1 Mbps: 4560.901 Peak Mbps: 4560.901 Avg Mbps: 4560.901 2000 578737648 4629.901 100.00% Conn: 1 Mbps: 4629.901 Peak Mbps: 4629.901 Avg Mbps: 4629.901 3000 573745884 4589.967 100.00% Conn: 1 Mbps: 4589.967 Peak Mbps: 4629.901 Avg Mbps: 4589.967 4000 590731180 4725.849 100.00% Conn: 1 Mbps: 4725.849 Peak Mbps: 4725.849 Avg Mbps: 4725.849 5000 565886432 4527.091 100.00% Conn: 1 Mbps: 4527.091 Peak Mbps: 4725.849 Avg Mbps: 4527.091 --- 169.254.0.13 tcpbench statistics --- 3351555504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4527.091/4606.742/4725.849/68.483 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 544710016 4357.680 100.00% Conn: 1 Mbps: 4357.680 Peak Mbps: 4357.680 Avg Mbps: 4357.680 2000 573816696 4595.129 100.00% Conn: 1 Mbps: 4595.129 Peak Mbps: 4595.129 Avg Mbps: 4595.129 3000 571822480 4574.580 100.00% Conn: 1 Mbps: 4574.580 Peak Mbps: 4595.129 Avg Mbps: 4574.580 4001 572610864 4576.311 100.00% Conn: 1 Mbps: 4576.311 Peak Mbps: 4595.129 Avg Mbps: 4576.311 5001 573826312 4590.610 100.00% Conn: 1 Mbps: 4590.610 Peak Mbps: 4595.129 Avg Mbps: 4590.610 --- fc00::13 tcpbench statistics --- 3408714256 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4357.680/4538.862/4595.129/90.938 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.057 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.057/0.057/0.057/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.055 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.055/0.055/0.055/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 264008264 2112.066 100.00% Conn: 1 Mbps: 2112.066 Peak Mbps: 2112.066 Avg Mbps: 2112.066 2000 276323560 2210.588 100.00% Conn: 1 Mbps: 2210.588 Peak Mbps: 2210.588 Avg Mbps: 2210.588 3001 275711688 2203.490 100.00% Conn: 1 Mbps: 2203.490 Peak Mbps: 2210.588 Avg Mbps: 2203.490 4002 278889808 2231.118 100.00% Conn: 1 Mbps: 2231.118 Peak Mbps: 2231.118 Avg Mbps: 2231.118 5003 274801928 2198.415 100.00% Conn: 1 Mbps: 2198.415 Peak Mbps: 2231.118 Avg Mbps: 2198.415 --- 169.254.1.11 tcpbench statistics --- 1646404432 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2112.066/2191.136/2231.118/41.072 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 252113420 2016.907 100.00% Conn: 1 Mbps: 2016.907 Peak Mbps: 2016.907 Avg Mbps: 2016.907 2002 269572476 2154.425 100.00% Conn: 1 Mbps: 2154.425 Peak Mbps: 2154.425 Avg Mbps: 2154.425 3003 269643592 2157.149 100.00% Conn: 1 Mbps: 2157.149 Peak Mbps: 2157.149 Avg Mbps: 2157.149 4003 270780380 2166.243 100.00% Conn: 1 Mbps: 2166.243 Peak Mbps: 2166.243 Avg Mbps: 2166.243 5004 272222052 2175.601 100.00% Conn: 1 Mbps: 2175.601 Peak Mbps: 2175.601 Avg Mbps: 2175.601 --- fc00:0:0:1::11 tcpbench statistics --- 1607902880 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2016.907/2134.065/2175.601/59.049 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.049 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.049/0.049/0.049/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 502674648 4021.397 100.00% Conn: 1 Mbps: 4021.397 Peak Mbps: 4021.397 Avg Mbps: 4021.397 2000 504365912 4038.966 100.00% Conn: 1 Mbps: 4038.966 Peak Mbps: 4038.966 Avg Mbps: 4038.966 3000 504777144 4038.217 100.00% Conn: 1 Mbps: 4038.217 Peak Mbps: 4038.966 Avg Mbps: 4038.217 4000 504871264 4038.970 100.00% Conn: 1 Mbps: 4038.970 Peak Mbps: 4038.970 Avg Mbps: 4038.970 5000 503859112 4030.873 100.00% Conn: 1 Mbps: 4030.873 Peak Mbps: 4038.970 Avg Mbps: 4030.873 --- 169.254.1.12 tcpbench statistics --- 3023943832 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4021.397/4033.685/4038.970/6.859 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 499688616 3997.509 100.00% Conn: 1 Mbps: 3997.509 Peak Mbps: 3997.509 Avg Mbps: 3997.509 2000 497630868 3985.032 100.00% Conn: 1 Mbps: 3985.032 Peak Mbps: 3997.509 Avg Mbps: 3985.032 3000 498319164 3986.553 100.00% Conn: 1 Mbps: 3986.553 Peak Mbps: 3997.509 Avg Mbps: 3986.553 4000 500955252 4007.642 100.00% Conn: 1 Mbps: 4007.642 Peak Mbps: 4007.642 Avg Mbps: 4007.642 5000 501483612 4011.869 100.00% Conn: 1 Mbps: 4011.869 Peak Mbps: 4011.869 Avg Mbps: 4011.869 --- fc00:0:0:1::12 tcpbench statistics --- 2998051728 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3985.032/3997.721/4011.869/10.811 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.057 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.057/0.057/0.057/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 760260442 6082.084 100.00% Conn: 1 Mbps: 6082.084 Peak Mbps: 6082.084 Avg Mbps: 6082.084 2000 761334036 6096.769 100.00% Conn: 1 Mbps: 6096.769 Peak Mbps: 6096.769 Avg Mbps: 6096.769 3000 761203172 6089.625 100.00% Conn: 1 Mbps: 6089.625 Peak Mbps: 6096.769 Avg Mbps: 6089.625 4000 760647000 6085.176 100.00% Conn: 1 Mbps: 6085.176 Peak Mbps: 6096.769 Avg Mbps: 6085.176 5000 760908728 6087.270 100.00% Conn: 1 Mbps: 6087.270 Peak Mbps: 6096.769 Avg Mbps: 6087.270 --- 169.254.0.13 tcpbench statistics --- 4565720130 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6082.084/6088.185/6096.769/4.957 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 740424612 5923.397 100.00% Conn: 1 Mbps: 5923.397 Peak Mbps: 5923.397 Avg Mbps: 5923.397 2000 740106656 5926.780 100.00% Conn: 1 Mbps: 5926.780 Peak Mbps: 5926.780 Avg Mbps: 5926.780 3000 740564400 5924.515 100.00% Conn: 1 Mbps: 5924.515 Peak Mbps: 5926.780 Avg Mbps: 5924.515 4000 740499008 5923.992 100.00% Conn: 1 Mbps: 5923.992 Peak Mbps: 5926.780 Avg Mbps: 5923.992 5000 740956752 5927.654 100.00% Conn: 1 Mbps: 5927.654 Peak Mbps: 5927.654 Avg Mbps: 5927.654 --- fc00::13 tcpbench statistics --- 4442886956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5923.397/5925.268/5927.654/1.654 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.061 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.061/0.061/0.061/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.058 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.058/0.058/0.058/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 263897096 2109.068 100.00% Conn: 1 Mbps: 2109.068 Peak Mbps: 2109.068 Avg Mbps: 2109.068 2003 275211392 2197.297 100.00% Conn: 1 Mbps: 2197.297 Peak Mbps: 2197.297 Avg Mbps: 2197.297 3005 275164488 2199.117 100.00% Conn: 1 Mbps: 2199.117 Peak Mbps: 2199.117 Avg Mbps: 2199.117 4003 276151920 2213.643 100.00% Conn: 1 Mbps: 2213.643 Peak Mbps: 2213.643 Avg Mbps: 2213.643 5005 275483728 2199.471 100.00% Conn: 1 Mbps: 2199.471 Peak Mbps: 2213.643 Avg Mbps: 2199.471 --- 169.254.1.11 tcpbench statistics --- 1640149784 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2109.068/2183.719/2213.643/37.783 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 518283400 4146.267 100.00% Conn: 1 Mbps: 4146.267 Peak Mbps: 4146.267 Avg Mbps: 4146.267 2000 563138680 4505.109 100.00% Conn: 1 Mbps: 4505.109 Peak Mbps: 4505.109 Avg Mbps: 4505.109 3000 566140456 4529.124 100.00% Conn: 1 Mbps: 4529.124 Peak Mbps: 4529.124 Avg Mbps: 4529.124 4001 565761344 4526.091 100.00% Conn: 1 Mbps: 4526.091 Peak Mbps: 4529.124 Avg Mbps: 4526.091 5001 577331968 4618.656 100.00% Conn: 1 Mbps: 4618.656 Peak Mbps: 4618.656 Avg Mbps: 4618.656 --- fc00:0:0:1::11 tcpbench statistics --- 3366874176 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4146.267/4465.049/4618.656/164.106 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.049 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.049/0.049/0.049/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.049 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.049/0.049/0.049/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 742508894 5940.071 100.00% Conn: 1 Mbps: 5940.071 Peak Mbps: 5940.071 Avg Mbps: 5940.071 2000 743863260 5956.863 100.00% Conn: 1 Mbps: 5956.863 Peak Mbps: 5956.863 Avg Mbps: 5956.863 3000 743012608 5944.101 100.00% Conn: 1 Mbps: 5944.101 Peak Mbps: 5956.863 Avg Mbps: 5944.101 4000 743372520 5946.980 100.00% Conn: 1 Mbps: 5946.980 Peak Mbps: 5956.863 Avg Mbps: 5946.980 5000 742914448 5943.316 100.00% Conn: 1 Mbps: 5943.316 Peak Mbps: 5956.863 Avg Mbps: 5943.316 --- 169.254.1.12 tcpbench statistics --- 4460042244 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5940.071/5946.266/5956.863/5.737 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 733210804 5865.686 100.00% Conn: 1 Mbps: 5865.686 Peak Mbps: 5865.686 Avg Mbps: 5865.686 2000 733763632 5875.985 100.00% Conn: 1 Mbps: 5875.985 Peak Mbps: 5875.985 Avg Mbps: 5875.985 3000 734057896 5872.463 100.00% Conn: 1 Mbps: 5872.463 Peak Mbps: 5875.985 Avg Mbps: 5872.463 4000 736346616 5890.773 100.00% Conn: 1 Mbps: 5890.773 Peak Mbps: 5890.773 Avg Mbps: 5890.773 5000 736804360 5894.435 100.00% Conn: 1 Mbps: 5894.435 Peak Mbps: 5894.435 Avg Mbps: 5894.435 --- fc00:0:0:1::12 tcpbench statistics --- 4410726100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5865.686/5879.868/5894.435/10.974 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.041 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.041/0.041/0.041/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.048 ms --- fc00::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-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 758297418 6066.379 100.00% Conn: 1 Mbps: 6066.379 Peak Mbps: 6066.379 Avg Mbps: 6066.379 2000 759469224 6081.836 100.00% Conn: 1 Mbps: 6081.836 Peak Mbps: 6081.836 Avg Mbps: 6081.836 3000 759567372 6076.539 100.00% Conn: 1 Mbps: 6076.539 Peak Mbps: 6081.836 Avg Mbps: 6076.539 4000 760156260 6081.250 100.00% Conn: 1 Mbps: 6081.250 Peak Mbps: 6081.836 Avg Mbps: 6081.250 5000 760090828 6080.727 100.00% Conn: 1 Mbps: 6080.727 Peak Mbps: 6081.836 Avg Mbps: 6080.727 --- 169.254.0.13 tcpbench statistics --- 4557377486 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6066.379/6077.346/6081.836/5.792 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 759437228 6075.498 100.00% Conn: 1 Mbps: 6075.498 Peak Mbps: 6075.498 Avg Mbps: 6075.498 2000 759724256 6083.878 100.00% Conn: 1 Mbps: 6083.878 Peak Mbps: 6083.878 Avg Mbps: 6083.878 3000 759789648 6078.317 100.00% Conn: 1 Mbps: 6078.317 Peak Mbps: 6083.878 Avg Mbps: 6078.317 4000 760051216 6080.410 100.00% Conn: 1 Mbps: 6080.410 Peak Mbps: 6083.878 Avg Mbps: 6080.410 5000 760116608 6080.933 100.00% Conn: 1 Mbps: 6080.933 Peak Mbps: 6083.878 Avg Mbps: 6080.933 --- fc00::13 tcpbench statistics --- 4559072084 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6075.498/6079.807/6083.878/2.793 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.88s