START sys/net/pair 2025-01-26T02:33:16Z ==== 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 525116412 4200.931 100.00% Conn: 1 Mbps: 4200.931 Peak Mbps: 4200.931 Avg Mbps: 4200.931 2000 522922764 4187.570 100.00% Conn: 1 Mbps: 4187.570 Peak Mbps: 4200.931 Avg Mbps: 4187.570 3000 523041984 4184.336 100.00% Conn: 1 Mbps: 4184.336 Peak Mbps: 4200.931 Avg Mbps: 4184.336 4000 523375800 4187.006 100.00% Conn: 1 Mbps: 4187.006 Peak Mbps: 4200.931 Avg Mbps: 4187.006 5000 523304268 4186.434 100.00% Conn: 1 Mbps: 4186.434 Peak Mbps: 4200.931 Avg Mbps: 4186.434 --- 169.254.1.11 tcpbench statistics --- 3138609564 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4184.336/4189.255/4200.931/5.939 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 523739536 4189.916 100.00% Conn: 1 Mbps: 4189.916 Peak Mbps: 4189.916 Avg Mbps: 4189.916 2000 521472128 4175.953 100.00% Conn: 1 Mbps: 4175.953 Peak Mbps: 4189.916 Avg Mbps: 4175.953 3000 522074656 4176.597 100.00% Conn: 1 Mbps: 4176.597 Peak Mbps: 4189.916 Avg Mbps: 4176.597 4000 523113224 4184.906 100.00% Conn: 1 Mbps: 4184.906 Peak Mbps: 4189.916 Avg Mbps: 4184.906 5000 522074656 4176.597 100.00% Conn: 1 Mbps: 4176.597 Peak Mbps: 4189.916 Avg Mbps: 4176.597 --- fc00:0:0:1::11 tcpbench statistics --- 3135405080 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4175.953/4180.794/4189.916/5.635 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.151 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.151/0.151/0.151/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 273599160 2188.793 100.00% Conn: 1 Mbps: 2188.793 Peak Mbps: 2188.793 Avg Mbps: 2188.793 2001 287739480 2301.916 100.00% Conn: 1 Mbps: 2301.916 Peak Mbps: 2301.916 Avg Mbps: 2301.916 3001 287973904 2303.791 100.00% Conn: 1 Mbps: 2303.791 Peak Mbps: 2303.791 Avg Mbps: 2303.791 4001 287165072 2297.321 100.00% Conn: 1 Mbps: 2297.321 Peak Mbps: 2303.791 Avg Mbps: 2297.321 5002 288865800 2308.618 100.00% Conn: 1 Mbps: 2308.618 Peak Mbps: 2308.618 Avg Mbps: 2308.618 --- 169.254.1.12 tcpbench statistics --- 1715909952 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 2188.793/2280.088/2308.618/45.791 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 256396488 2049.123 100.00% Conn: 1 Mbps: 2049.123 Peak Mbps: 2049.123 Avg Mbps: 2049.123 2001 273577024 2190.807 100.00% Conn: 1 Mbps: 2190.807 Peak Mbps: 2190.807 Avg Mbps: 2190.807 3002 273443840 2185.365 100.00% Conn: 1 Mbps: 2185.365 Peak Mbps: 2190.807 Avg Mbps: 2185.365 4002 275650256 2207.409 100.00% Conn: 1 Mbps: 2207.409 Peak Mbps: 2207.409 Avg Mbps: 2207.409 5002 276891288 2215.130 100.00% Conn: 1 Mbps: 2215.130 Peak Mbps: 2215.130 Avg Mbps: 2215.130 --- fc00:0:0:1::12 tcpbench statistics --- 1634490828 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2049.123/2169.567/2215.130/61.181 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.078 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.078/0.078/0.078/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.076 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.076/0.076/0.076/0.000 ms ==== run-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 605869740 4846.958 100.00% Conn: 1 Mbps: 4846.958 Peak Mbps: 4846.958 Avg Mbps: 4846.958 2000 613448632 4912.502 100.00% Conn: 1 Mbps: 4912.502 Peak Mbps: 4912.502 Avg Mbps: 4912.502 3000 602013980 4816.112 100.00% Conn: 1 Mbps: 4816.112 Peak Mbps: 4912.502 Avg Mbps: 4816.112 4000 612013264 4896.106 100.00% Conn: 1 Mbps: 4896.106 Peak Mbps: 4912.502 Avg Mbps: 4896.106 5000 603323440 4826.588 100.00% Conn: 1 Mbps: 4826.588 Peak Mbps: 4912.502 Avg Mbps: 4826.588 --- 169.254.0.13 tcpbench statistics --- 3633816900 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4816.112/4859.653/4912.502/38.137 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 553819288 4430.554 100.00% Conn: 1 Mbps: 4430.554 Peak Mbps: 4430.554 Avg Mbps: 4430.554 2000 581130344 4653.696 100.00% Conn: 1 Mbps: 4653.696 Peak Mbps: 4653.696 Avg Mbps: 4653.696 3000 579647288 4637.178 100.00% Conn: 1 Mbps: 4637.178 Peak Mbps: 4653.696 Avg Mbps: 4637.178 4000 581355056 4650.840 100.00% Conn: 1 Mbps: 4650.840 Peak Mbps: 4653.696 Avg Mbps: 4650.840 5001 582201792 4657.614 100.00% Conn: 1 Mbps: 4657.614 Peak Mbps: 4657.614 Avg Mbps: 4657.614 --- fc00::13 tcpbench statistics --- 3460905320 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4430.554/4605.977/4657.614/87.981 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.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 1001 271390352 2168.954 100.00% Conn: 1 Mbps: 2168.954 Peak Mbps: 2168.954 Avg Mbps: 2168.954 2001 282185064 2257.481 100.00% Conn: 1 Mbps: 2257.481 Peak Mbps: 2257.481 Avg Mbps: 2257.481 3001 284771416 2280.452 100.00% Conn: 1 Mbps: 2280.452 Peak Mbps: 2280.452 Avg Mbps: 2280.452 4001 287675368 2303.707 100.00% Conn: 1 Mbps: 2303.707 Peak Mbps: 2303.707 Avg Mbps: 2303.707 5001 283679288 2269.434 100.00% Conn: 1 Mbps: 2269.434 Peak Mbps: 2303.707 Avg Mbps: 2269.434 --- 169.254.1.11 tcpbench statistics --- 1696604144 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2168.954/2256.005/2303.707/46.116 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 255382028 2041.015 100.00% Conn: 1 Mbps: 2041.015 Peak Mbps: 2041.015 Avg Mbps: 2041.015 2001 271839360 2174.715 100.00% Conn: 1 Mbps: 2174.715 Peak Mbps: 2174.715 Avg Mbps: 2174.715 3003 274443424 2193.354 100.00% Conn: 1 Mbps: 2193.354 Peak Mbps: 2193.354 Avg Mbps: 2193.354 4002 275029456 2202.438 100.00% Conn: 1 Mbps: 2202.438 Peak Mbps: 2202.438 Avg Mbps: 2202.438 5003 278556532 2228.452 100.00% Conn: 1 Mbps: 2228.452 Peak Mbps: 2228.452 Avg Mbps: 2228.452 --- fc00:0:0:1::11 tcpbench statistics --- 1632416148 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2041.015/2167.995/2228.452/65.808 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.051 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.051/0.051/0.051/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.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-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 529330880 4234.647 100.00% Conn: 1 Mbps: 4234.647 Peak Mbps: 4234.647 Avg Mbps: 4234.647 2000 528402712 4231.453 100.00% Conn: 1 Mbps: 4231.453 Peak Mbps: 4234.647 Avg Mbps: 4231.453 3000 529039832 4232.319 100.00% Conn: 1 Mbps: 4232.319 Peak Mbps: 4234.647 Avg Mbps: 4232.319 4000 528285424 4226.283 100.00% Conn: 1 Mbps: 4226.283 Peak Mbps: 4234.647 Avg Mbps: 4226.283 5000 528777744 4230.222 100.00% Conn: 1 Mbps: 4230.222 Peak Mbps: 4234.647 Avg Mbps: 4230.222 --- 169.254.1.12 tcpbench statistics --- 3171845448 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4226.283/4230.985/4234.647/2.760 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 527714544 4221.716 100.00% Conn: 1 Mbps: 4221.716 Peak Mbps: 4221.716 Avg Mbps: 4221.716 2000 526485036 4216.096 100.00% Conn: 1 Mbps: 4216.096 Peak Mbps: 4221.716 Avg Mbps: 4216.096 3000 525681072 4205.449 100.00% Conn: 1 Mbps: 4205.449 Peak Mbps: 4221.716 Avg Mbps: 4205.449 4000 526139460 4209.116 100.00% Conn: 1 Mbps: 4209.116 Peak Mbps: 4221.716 Avg Mbps: 4209.116 5000 525172704 4201.382 100.00% Conn: 1 Mbps: 4201.382 Peak Mbps: 4221.716 Avg Mbps: 4201.382 --- fc00:0:0:1::12 tcpbench statistics --- 3157200900 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4201.382/4210.752/4221.716/7.313 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.044 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.044/0.044/0.044/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 787180886 6297.447 100.00% Conn: 1 Mbps: 6297.447 Peak Mbps: 6297.447 Avg Mbps: 6297.447 2000 786100048 6295.095 100.00% Conn: 1 Mbps: 6295.095 Peak Mbps: 6297.447 Avg Mbps: 6295.095 3000 785805604 6286.445 100.00% Conn: 1 Mbps: 6286.445 Peak Mbps: 6297.447 Avg Mbps: 6286.445 4000 782239560 6257.916 100.00% Conn: 1 Mbps: 6257.916 Peak Mbps: 6297.447 Avg Mbps: 6257.916 5000 785314864 6282.519 100.00% Conn: 1 Mbps: 6282.519 Peak Mbps: 6297.447 Avg Mbps: 6282.519 --- 169.254.0.13 tcpbench statistics --- 4713886070 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6257.916/6283.885/6297.447/14.088 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 786374556 6290.996 100.00% Conn: 1 Mbps: 6290.996 Peak Mbps: 6290.996 Avg Mbps: 6290.996 2000 786044536 6294.651 100.00% Conn: 1 Mbps: 6294.651 Peak Mbps: 6294.651 Avg Mbps: 6294.651 3000 786567672 6292.541 100.00% Conn: 1 Mbps: 6292.541 Peak Mbps: 6294.651 Avg Mbps: 6292.541 4000 786502280 6292.018 100.00% Conn: 1 Mbps: 6292.018 Peak Mbps: 6294.651 Avg Mbps: 6292.018 5000 787679336 6301.435 100.00% Conn: 1 Mbps: 6301.435 Peak Mbps: 6301.435 Avg Mbps: 6301.435 --- fc00::13 tcpbench statistics --- 4720716932 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6290.996/6294.328/6301.435/3.748 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.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-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.057 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.057/0.057/0.057/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 271963968 2173.538 100.00% Conn: 1 Mbps: 2173.538 Peak Mbps: 2173.538 Avg Mbps: 2173.538 2002 284194048 2273.552 100.00% Conn: 1 Mbps: 2273.552 Peak Mbps: 2273.552 Avg Mbps: 2273.552 3001 280248696 2244.234 100.00% Conn: 1 Mbps: 2244.234 Peak Mbps: 2273.552 Avg Mbps: 2244.234 4001 281121408 2248.971 100.00% Conn: 1 Mbps: 2248.971 Peak Mbps: 2273.552 Avg Mbps: 2248.971 5002 281014856 2248.119 100.00% Conn: 1 Mbps: 2248.119 Peak Mbps: 2273.552 Avg Mbps: 2248.119 --- 169.254.1.11 tcpbench statistics --- 1678076912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2173.538/2237.683/2273.552/33.706 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 522365936 4178.927 100.00% Conn: 1 Mbps: 4178.927 Peak Mbps: 4178.927 Avg Mbps: 4178.927 2001 588049632 4704.397 100.00% Conn: 1 Mbps: 4704.397 Peak Mbps: 4704.397 Avg Mbps: 4704.397 3000 581600248 4657.459 100.00% Conn: 1 Mbps: 4657.459 Peak Mbps: 4704.397 Avg Mbps: 4657.459 4001 588145768 4705.166 100.00% Conn: 1 Mbps: 4705.166 Peak Mbps: 4705.166 Avg Mbps: 4705.166 5001 583414480 4667.316 100.00% Conn: 1 Mbps: 4667.316 Peak Mbps: 4705.166 Avg Mbps: 4667.316 --- fc00:0:0:1::11 tcpbench statistics --- 3444630032 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4178.927/4582.653/4705.166/202.775 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.060 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.060/0.060/0.060/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.056 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.056/0.056/0.056/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 790635782 6325.086 100.00% Conn: 1 Mbps: 6325.086 Peak Mbps: 6325.086 Avg Mbps: 6325.086 2000 791040164 6334.656 100.00% Conn: 1 Mbps: 6334.656 Peak Mbps: 6334.656 Avg Mbps: 6334.656 3000 789404364 6315.235 100.00% Conn: 1 Mbps: 6315.235 Peak Mbps: 6334.656 Avg Mbps: 6315.235 4000 789109920 6312.879 100.00% Conn: 1 Mbps: 6312.879 Peak Mbps: 6334.656 Avg Mbps: 6312.879 5000 790876584 6327.013 100.00% Conn: 1 Mbps: 6327.013 Peak Mbps: 6334.656 Avg Mbps: 6327.013 --- 169.254.1.12 tcpbench statistics --- 4741518090 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6312.879/6322.974/6334.656/7.988 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 772367740 6178.942 100.00% Conn: 1 Mbps: 6178.942 Peak Mbps: 6178.942 Avg Mbps: 6178.942 2000 773489272 6194.108 100.00% Conn: 1 Mbps: 6194.108 Peak Mbps: 6194.108 Avg Mbps: 6194.108 3000 773031528 6190.443 100.00% Conn: 1 Mbps: 6190.443 Peak Mbps: 6194.108 Avg Mbps: 6190.443 4000 771919864 6175.359 100.00% Conn: 1 Mbps: 6175.359 Peak Mbps: 6194.108 Avg Mbps: 6175.359 5000 775581816 6204.655 100.00% Conn: 1 Mbps: 6204.655 Peak Mbps: 6204.655 Avg Mbps: 6204.655 --- fc00:0:0:1::12 tcpbench statistics --- 4644064580 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6175.359/6188.701/6204.655/10.583 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.042 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.042/0.042/0.042/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.046 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/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 796801658 6374.413 100.00% Conn: 1 Mbps: 6374.413 Peak Mbps: 6374.413 Avg Mbps: 6374.413 2000 797158056 6383.648 100.00% Conn: 1 Mbps: 6383.648 Peak Mbps: 6383.648 Avg Mbps: 6383.648 3000 796340156 6370.721 100.00% Conn: 1 Mbps: 6370.721 Peak Mbps: 6383.648 Avg Mbps: 6370.721 4000 797321636 6378.573 100.00% Conn: 1 Mbps: 6378.573 Peak Mbps: 6383.648 Avg Mbps: 6378.573 5000 797190772 6377.526 100.00% Conn: 1 Mbps: 6377.526 Peak Mbps: 6383.648 Avg Mbps: 6377.526 --- 169.254.0.13 tcpbench statistics --- 4781283298 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6370.721/6376.976/6383.648/4.314 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 795138236 6361.106 100.00% Conn: 1 Mbps: 6361.106 Peak Mbps: 6361.106 Avg Mbps: 6361.106 2000 795886032 6373.462 100.00% Conn: 1 Mbps: 6373.462 Peak Mbps: 6373.462 Avg Mbps: 6373.462 3000 795755248 6366.042 100.00% Conn: 1 Mbps: 6366.042 Peak Mbps: 6373.462 Avg Mbps: 6366.042 4000 795297504 6362.380 100.00% Conn: 1 Mbps: 6362.380 Peak Mbps: 6373.462 Avg Mbps: 6362.380 5000 796016816 6368.135 100.00% Conn: 1 Mbps: 6368.135 Peak Mbps: 6373.462 Avg Mbps: 6368.135 --- fc00::13 tcpbench statistics --- 4773260556 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6361.106/6366.225/6373.462/4.405 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.86s