START sys/net/pair 2024-06-26T01:48:05Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.037 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.037/0.037/0.037/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.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 939334380 7514.675 100.00% Conn: 1 Mbps: 7514.675 Peak Mbps: 7514.675 Avg Mbps: 7514.675 2000 938642904 7516.660 100.00% Conn: 1 Mbps: 7516.660 Peak Mbps: 7516.660 Avg Mbps: 7516.660 3000 940272244 7522.178 100.00% Conn: 1 Mbps: 7522.178 Peak Mbps: 7522.178 Avg Mbps: 7522.178 4000 941233952 7529.872 100.00% Conn: 1 Mbps: 7529.872 Peak Mbps: 7529.872 Avg Mbps: 7529.872 5000 936576424 7492.611 100.00% Conn: 1 Mbps: 7492.611 Peak Mbps: 7529.872 Avg Mbps: 7492.611 --- 169.254.1.11 tcpbench statistics --- 5636840820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7492.611/7515.199/7529.872/12.463 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 947776544 7582.212 100.00% Conn: 1 Mbps: 7582.212 Peak Mbps: 7582.212 Avg Mbps: 7582.212 2000 946864824 7582.501 100.00% Conn: 1 Mbps: 7582.501 Peak Mbps: 7582.501 Avg Mbps: 7582.501 3000 947174016 7577.392 100.00% Conn: 1 Mbps: 7577.392 Peak Mbps: 7582.501 Avg Mbps: 7577.392 4000 946737976 7581.485 100.00% Conn: 1 Mbps: 7581.485 Peak Mbps: 7582.501 Avg Mbps: 7581.485 5000 943749120 7549.993 100.00% Conn: 1 Mbps: 7549.993 Peak Mbps: 7582.501 Avg Mbps: 7549.993 --- fc00:0:0:1::11 tcpbench statistics --- 5677074312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7549.993/7574.717/7582.501/12.498 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.065 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.065/0.065/0.065/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.118 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.118/0.118/0.118/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 278756272 2230.050 100.00% Conn: 1 Mbps: 2230.050 Peak Mbps: 2230.050 Avg Mbps: 2230.050 2000 279221456 2233.772 100.00% Conn: 1 Mbps: 2233.772 Peak Mbps: 2233.772 Avg Mbps: 2233.772 3000 278875832 2233.240 100.00% Conn: 1 Mbps: 2233.240 Peak Mbps: 2233.772 Avg Mbps: 2233.240 4000 279341480 2234.732 100.00% Conn: 1 Mbps: 2234.732 Peak Mbps: 2234.732 Avg Mbps: 2234.732 5001 279359352 2234.875 100.00% Conn: 1 Mbps: 2234.875 Peak Mbps: 2234.875 Avg Mbps: 2234.875 --- 169.254.1.12 tcpbench statistics --- 1674562376 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2230.050/2233.334/2234.875/1.750 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 268778520 2150.228 100.00% Conn: 1 Mbps: 2150.228 Peak Mbps: 2150.228 Avg Mbps: 2150.228 2000 269012056 2152.096 100.00% Conn: 1 Mbps: 2152.096 Peak Mbps: 2152.096 Avg Mbps: 2152.096 3000 269286884 2154.295 100.00% Conn: 1 Mbps: 2154.295 Peak Mbps: 2154.295 Avg Mbps: 2154.295 4001 269377724 2155.022 100.00% Conn: 1 Mbps: 2155.022 Peak Mbps: 2155.022 Avg Mbps: 2155.022 5002 269294236 2154.354 100.00% Conn: 1 Mbps: 2154.354 Peak Mbps: 2155.022 Avg Mbps: 2154.354 --- fc00:0:0:1::12 tcpbench statistics --- 1614461740 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2150.228/2153.199/2155.022/1.783 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.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-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.064 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.064/0.064/0.064/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 436941300 3495.530 100.00% Conn: 1 Mbps: 3495.530 Peak Mbps: 3495.530 Avg Mbps: 3495.530 2000 435685516 3488.973 100.00% Conn: 1 Mbps: 3488.973 Peak Mbps: 3495.530 Avg Mbps: 3488.973 3000 435049676 3480.397 100.00% Conn: 1 Mbps: 3480.397 Peak Mbps: 3495.530 Avg Mbps: 3480.397 4000 434548952 3476.392 100.00% Conn: 1 Mbps: 3476.392 Peak Mbps: 3495.530 Avg Mbps: 3476.392 5000 435606036 3488.337 100.00% Conn: 1 Mbps: 3488.337 Peak Mbps: 3495.530 Avg Mbps: 3488.337 --- 169.254.0.13 tcpbench statistics --- 2613095752 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3476.392/3485.926/3495.530/6.765 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 415339992 3322.720 100.00% Conn: 1 Mbps: 3322.720 Peak Mbps: 3322.720 Avg Mbps: 3322.720 2000 416085224 3332.014 100.00% Conn: 1 Mbps: 3332.014 Peak Mbps: 3332.014 Avg Mbps: 3332.014 3000 415030800 3320.246 100.00% Conn: 1 Mbps: 3320.246 Peak Mbps: 3332.014 Avg Mbps: 3320.246 4000 414697824 3317.583 100.00% Conn: 1 Mbps: 3317.583 Peak Mbps: 3332.014 Avg Mbps: 3317.583 5000 415284496 3322.276 100.00% Conn: 1 Mbps: 3322.276 Peak Mbps: 3332.014 Avg Mbps: 3322.276 --- fc00::13 tcpbench statistics --- 2491041024 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3317.583/3322.968/3332.014/4.874 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.040 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.040/0.040/0.040/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.049 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.049/0.049/0.049/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 280050136 2240.401 100.00% Conn: 1 Mbps: 2240.401 Peak Mbps: 2240.401 Avg Mbps: 2240.401 2000 280212952 2243.948 100.00% Conn: 1 Mbps: 2243.948 Peak Mbps: 2243.948 Avg Mbps: 2243.948 3000 280856592 2246.853 100.00% Conn: 1 Mbps: 2246.853 Peak Mbps: 2246.853 Avg Mbps: 2246.853 4000 281176760 2251.666 100.00% Conn: 1 Mbps: 2251.666 Peak Mbps: 2251.666 Avg Mbps: 2251.666 5001 281086600 2248.693 100.00% Conn: 1 Mbps: 2248.693 Peak Mbps: 2251.666 Avg Mbps: 2248.693 --- 169.254.1.11 tcpbench statistics --- 1684251992 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2240.401/2246.312/2251.666/3.877 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 271066076 2168.529 100.00% Conn: 1 Mbps: 2168.529 Peak Mbps: 2168.529 Avg Mbps: 2168.529 2001 271427836 2171.423 100.00% Conn: 1 Mbps: 2171.423 Peak Mbps: 2171.423 Avg Mbps: 2171.423 3001 271225060 2169.800 100.00% Conn: 1 Mbps: 2169.800 Peak Mbps: 2171.423 Avg Mbps: 2169.800 4001 272796836 2184.559 100.00% Conn: 1 Mbps: 2184.559 Peak Mbps: 2184.559 Avg Mbps: 2184.559 5002 273513536 2188.108 100.00% Conn: 1 Mbps: 2188.108 Peak Mbps: 2188.108 Avg Mbps: 2188.108 --- fc00:0:0:1::11 tcpbench statistics --- 1633108768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2168.529/2176.484/2188.108/8.172 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.036 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.036/0.036/0.036/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.043 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.043/0.043/0.043/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 952611688 7620.894 100.00% Conn: 1 Mbps: 7620.894 Peak Mbps: 7620.894 Avg Mbps: 7620.894 2000 954058240 7640.106 100.00% Conn: 1 Mbps: 7640.106 Peak Mbps: 7640.106 Avg Mbps: 7640.106 3000 954236344 7633.891 100.00% Conn: 1 Mbps: 7633.891 Peak Mbps: 7640.106 Avg Mbps: 7633.891 4000 954204488 7633.636 100.00% Conn: 1 Mbps: 7633.636 Peak Mbps: 7640.106 Avg Mbps: 7633.636 5000 953712168 7629.697 100.00% Conn: 1 Mbps: 7629.697 Peak Mbps: 7640.106 Avg Mbps: 7629.697 --- 169.254.1.12 tcpbench statistics --- 5721553352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7620.894/7631.645/7640.106/6.324 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 958809180 7670.473 100.00% Conn: 1 Mbps: 7670.473 Peak Mbps: 7670.473 Avg Mbps: 7670.473 2000 958594980 7676.436 100.00% Conn: 1 Mbps: 7676.436 Peak Mbps: 7676.436 Avg Mbps: 7676.436 3000 958233696 7665.870 100.00% Conn: 1 Mbps: 7665.870 Peak Mbps: 7676.436 Avg Mbps: 7665.870 4000 958892004 7671.136 100.00% Conn: 1 Mbps: 7671.136 Peak Mbps: 7676.436 Avg Mbps: 7671.136 5000 959594580 7676.757 100.00% Conn: 1 Mbps: 7676.757 Peak Mbps: 7676.757 Avg Mbps: 7676.757 --- fc00:0:0:1::12 tcpbench statistics --- 5752456668 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7665.870/7672.134/7676.757/4.071 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.039 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.039/0.039/0.039/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.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-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 1413649596 11309.197 100.00% Conn: 1 Mbps: 11309.197 Peak Mbps: 11309.197 Avg Mbps: 11309.197 2000 1429787348 11449.749 100.00% Conn: 1 Mbps: 11449.749 Peak Mbps: 11449.749 Avg Mbps: 11449.749 3000 1429460188 11435.682 100.00% Conn: 1 Mbps: 11435.682 Peak Mbps: 11449.749 Avg Mbps: 11435.682 4000 1420512362 11364.099 100.00% Conn: 1 Mbps: 11364.099 Peak Mbps: 11449.749 Avg Mbps: 11364.099 5000 1423571308 11388.570 100.00% Conn: 1 Mbps: 11388.570 Peak Mbps: 11449.749 Avg Mbps: 11388.570 --- 169.254.0.13 tcpbench statistics --- 8545459510 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11309.197/11389.459/11449.749/50.710 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 1360543500 10884.348 100.00% Conn: 1 Mbps: 10884.348 Peak Mbps: 10884.348 Avg Mbps: 10884.348 2000 1344328736 10765.395 100.00% Conn: 1 Mbps: 10765.395 Peak Mbps: 10884.348 Avg Mbps: 10765.395 3000 1389841568 11118.733 100.00% Conn: 1 Mbps: 11118.733 Peak Mbps: 11118.733 Avg Mbps: 11118.733 4000 1382713840 11061.711 100.00% Conn: 1 Mbps: 11061.711 Peak Mbps: 11118.733 Avg Mbps: 11061.711 5000 1371924160 10975.393 100.00% Conn: 1 Mbps: 10975.393 Peak Mbps: 11118.733 Avg Mbps: 10975.393 --- fc00::13 tcpbench statistics --- 8270483444 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10765.395/10961.116/11118.733/125.989 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.044 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.044/0.044/0.044/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.053 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.053/0.053/0.053/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 277075720 2216.606 100.00% Conn: 1 Mbps: 2216.606 Peak Mbps: 2216.606 Avg Mbps: 2216.606 2000 277440360 2221.745 100.00% Conn: 1 Mbps: 2221.745 Peak Mbps: 2221.745 Avg Mbps: 2221.745 3000 277528520 2220.228 100.00% Conn: 1 Mbps: 2220.228 Peak Mbps: 2221.745 Avg Mbps: 2220.228 4000 277446600 2219.573 100.00% Conn: 1 Mbps: 2219.573 Peak Mbps: 2221.745 Avg Mbps: 2219.573 5001 277446712 2219.574 100.00% Conn: 1 Mbps: 2219.574 Peak Mbps: 2221.745 Avg Mbps: 2219.574 --- 169.254.1.11 tcpbench statistics --- 1663928784 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2216.606/2219.545/2221.745/1.670 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 435259176 3482.073 100.00% Conn: 1 Mbps: 3482.073 Peak Mbps: 3482.073 Avg Mbps: 3482.073 2000 433873424 3470.987 100.00% Conn: 1 Mbps: 3470.987 Peak Mbps: 3482.073 Avg Mbps: 3470.987 3000 433594376 3468.755 100.00% Conn: 1 Mbps: 3468.755 Peak Mbps: 3482.073 Avg Mbps: 3468.755 4000 432777560 3462.220 100.00% Conn: 1 Mbps: 3462.220 Peak Mbps: 3482.073 Avg Mbps: 3462.220 5001 432883536 3463.068 100.00% Conn: 1 Mbps: 3463.068 Peak Mbps: 3482.073 Avg Mbps: 3463.068 --- fc00:0:0:1::11 tcpbench statistics --- 2601337624 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3462.220/3469.421/3482.073/7.144 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.040 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.040/0.040/0.040/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.046 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.046/0.046/0.046/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 1430656864 11445.255 100.00% Conn: 1 Mbps: 11445.255 Peak Mbps: 11445.255 Avg Mbps: 11445.255 2000 1432992556 11475.416 100.00% Conn: 1 Mbps: 11475.416 Peak Mbps: 11475.416 Avg Mbps: 11475.416 3000 1438014462 11504.116 100.00% Conn: 1 Mbps: 11504.116 Peak Mbps: 11504.116 Avg Mbps: 11504.116 4000 1432469088 11459.753 100.00% Conn: 1 Mbps: 11459.753 Peak Mbps: 11504.116 Avg Mbps: 11459.753 5000 1428053400 11424.427 100.00% Conn: 1 Mbps: 11424.427 Peak Mbps: 11504.116 Avg Mbps: 11424.427 --- 169.254.1.12 tcpbench statistics --- 8601608580 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11424.427/11461.793/11504.116/27.021 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 1346510364 10772.083 100.00% Conn: 1 Mbps: 10772.083 Peak Mbps: 10772.083 Avg Mbps: 10772.083 2000 1378594144 11039.793 100.00% Conn: 1 Mbps: 11039.793 Peak Mbps: 11039.793 Avg Mbps: 11039.793 3000 1319512472 10556.100 100.00% Conn: 1 Mbps: 10556.100 Peak Mbps: 11039.793 Avg Mbps: 10556.100 4000 1396086504 11168.692 100.00% Conn: 1 Mbps: 11168.692 Peak Mbps: 11168.692 Avg Mbps: 11168.692 5000 1334029496 10672.236 100.00% Conn: 1 Mbps: 10672.236 Peak Mbps: 11168.692 Avg Mbps: 10672.236 --- fc00:0:0:1::12 tcpbench statistics --- 8169936692 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10556.100/10841.781/11168.692/228.603 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.037 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.037/0.037/0.037/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.041 ms --- fc00::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-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 1443742998 11549.944 100.00% Conn: 1 Mbps: 11549.944 Peak Mbps: 11549.944 Avg Mbps: 11549.944 2000 1444509548 11567.644 100.00% Conn: 1 Mbps: 11567.644 Peak Mbps: 11567.644 Avg Mbps: 11567.644 3000 1448500900 11588.007 100.00% Conn: 1 Mbps: 11588.007 Peak Mbps: 11588.007 Avg Mbps: 11588.007 4000 1442939180 11543.513 100.00% Conn: 1 Mbps: 11543.513 Peak Mbps: 11588.007 Avg Mbps: 11543.513 5000 1442971896 11543.775 100.00% Conn: 1 Mbps: 11543.775 Peak Mbps: 11588.007 Avg Mbps: 11543.775 --- 169.254.0.13 tcpbench statistics --- 8668973450 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11543.513/11558.577/11588.007/17.140 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 1444565740 11556.526 100.00% Conn: 1 Mbps: 11556.526 Peak Mbps: 11556.526 Avg Mbps: 11556.526 2000 1449577160 11608.226 100.00% Conn: 1 Mbps: 11608.226 Peak Mbps: 11608.226 Avg Mbps: 11608.226 3000 1454906608 11639.253 100.00% Conn: 1 Mbps: 11639.253 Peak Mbps: 11639.253 Avg Mbps: 11639.253 4000 1448236624 11585.893 100.00% Conn: 1 Mbps: 11585.893 Peak Mbps: 11639.253 Avg Mbps: 11585.893 5000 1448334712 11586.678 100.00% Conn: 1 Mbps: 11586.678 Peak Mbps: 11639.253 Avg Mbps: 11586.678 --- fc00::13 tcpbench statistics --- 8687154788 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11556.526/11595.315/11639.253/27.442 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 1m51.83s