START sys/net/pair 2024-05-16T01:19:19Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.038 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.044 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 922794592 7382.357 100.00% Conn: 1 Mbps: 7382.357 Peak Mbps: 7382.357 Avg Mbps: 7382.357 2000 924368296 7402.349 100.00% Conn: 1 Mbps: 7402.349 Peak Mbps: 7402.349 Avg Mbps: 7402.349 3000 924694164 7397.553 100.00% Conn: 1 Mbps: 7397.553 Peak Mbps: 7402.349 Avg Mbps: 7397.553 4000 923533756 7395.666 100.00% Conn: 1 Mbps: 7395.666 Peak Mbps: 7402.349 Avg Mbps: 7395.666 5000 921944156 7375.553 100.00% Conn: 1 Mbps: 7375.553 Peak Mbps: 7402.349 Avg Mbps: 7375.553 --- 169.254.1.11 tcpbench statistics --- 5540097764 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7375.553/7390.696/7402.349/10.063 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 925332376 7402.659 100.00% Conn: 1 Mbps: 7402.659 Peak Mbps: 7402.659 Avg Mbps: 7402.659 2000 923841912 7398.133 100.00% Conn: 1 Mbps: 7398.133 Peak Mbps: 7402.659 Avg Mbps: 7398.133 3000 924452368 7403.022 100.00% Conn: 1 Mbps: 7403.022 Peak Mbps: 7403.022 Avg Mbps: 7403.022 4000 923905336 7391.243 100.00% Conn: 1 Mbps: 7391.243 Peak Mbps: 7403.022 Avg Mbps: 7391.243 5000 925570216 7404.562 100.00% Conn: 1 Mbps: 7404.562 Peak Mbps: 7404.562 Avg Mbps: 7404.562 --- fc00:0:0:1::11 tcpbench statistics --- 5546912408 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7391.243/7399.924/7404.562/4.841 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.120 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.120/0.120/0.120/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 277199592 2217.597 100.00% Conn: 1 Mbps: 2217.597 Peak Mbps: 2217.597 Avg Mbps: 2217.597 2000 277615736 2220.926 100.00% Conn: 1 Mbps: 2220.926 Peak Mbps: 2220.926 Avg Mbps: 2220.926 3000 277621920 2220.975 100.00% Conn: 1 Mbps: 2220.975 Peak Mbps: 2220.975 Avg Mbps: 2220.975 4000 277864736 2225.143 100.00% Conn: 1 Mbps: 2225.143 Peak Mbps: 2225.143 Avg Mbps: 2225.143 5000 277853032 2222.824 100.00% Conn: 1 Mbps: 2222.824 Peak Mbps: 2225.143 Avg Mbps: 2222.824 --- 169.254.1.12 tcpbench statistics --- 1665969840 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2217.597/2221.493/2225.143/2.485 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 268935472 2151.484 100.00% Conn: 1 Mbps: 2151.484 Peak Mbps: 2151.484 Avg Mbps: 2151.484 2000 269334360 2154.675 100.00% Conn: 1 Mbps: 2154.675 Peak Mbps: 2154.675 Avg Mbps: 2154.675 3001 269458568 2155.669 100.00% Conn: 1 Mbps: 2155.669 Peak Mbps: 2155.669 Avg Mbps: 2155.669 4001 269155988 2153.248 100.00% Conn: 1 Mbps: 2153.248 Peak Mbps: 2155.669 Avg Mbps: 2153.248 5001 269392980 2155.144 100.00% Conn: 1 Mbps: 2155.144 Peak Mbps: 2155.669 Avg Mbps: 2155.144 --- fc00:0:0:1::12 tcpbench statistics --- 1615376308 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2151.484/2154.044/2155.669/1.512 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.062 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/0.000 ms ==== run-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 439373388 3514.987 100.00% Conn: 1 Mbps: 3514.987 Peak Mbps: 3514.987 Avg Mbps: 3514.987 2000 439421076 3518.887 100.00% Conn: 1 Mbps: 3518.887 Peak Mbps: 3518.887 Avg Mbps: 3518.887 3000 439834372 3518.675 100.00% Conn: 1 Mbps: 3518.675 Peak Mbps: 3518.887 Avg Mbps: 3518.675 4000 441408076 3531.265 100.00% Conn: 1 Mbps: 3531.265 Peak Mbps: 3531.265 Avg Mbps: 3531.265 5000 442751288 3542.010 100.00% Conn: 1 Mbps: 3542.010 Peak Mbps: 3542.010 Avg Mbps: 3542.010 --- 169.254.0.13 tcpbench statistics --- 2647144984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3514.987/3525.165/3542.010/10.061 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 403844392 3230.755 100.00% Conn: 1 Mbps: 3230.755 Peak Mbps: 3230.755 Avg Mbps: 3230.755 2000 402155728 3220.466 100.00% Conn: 1 Mbps: 3220.466 Peak Mbps: 3230.755 Avg Mbps: 3220.466 3000 403035736 3224.286 100.00% Conn: 1 Mbps: 3224.286 Peak Mbps: 3230.755 Avg Mbps: 3224.286 4000 402639336 3221.115 100.00% Conn: 1 Mbps: 3221.115 Peak Mbps: 3230.755 Avg Mbps: 3221.115 5000 402353928 3218.831 100.00% Conn: 1 Mbps: 3218.831 Peak Mbps: 3230.755 Avg Mbps: 3218.831 --- fc00::13 tcpbench statistics --- 2415709168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3218.831/3223.091/3230.755/4.222 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.042 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.042/0.042/0.042/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.047 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.047/0.047/0.047/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 280029032 2237.994 100.00% Conn: 1 Mbps: 2237.994 Peak Mbps: 2237.994 Avg Mbps: 2237.994 2001 280036680 2240.293 100.00% Conn: 1 Mbps: 2240.293 Peak Mbps: 2240.293 Avg Mbps: 2240.293 3001 279660200 2239.521 100.00% Conn: 1 Mbps: 2239.521 Peak Mbps: 2240.293 Avg Mbps: 2239.521 4001 280199304 2241.594 100.00% Conn: 1 Mbps: 2241.594 Peak Mbps: 2241.594 Avg Mbps: 2241.594 5001 280218232 2241.746 100.00% Conn: 1 Mbps: 2241.746 Peak Mbps: 2241.746 Avg Mbps: 2241.746 --- 169.254.1.11 tcpbench statistics --- 1679804424 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2237.994/2240.230/2241.746/1.390 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 272239440 2177.916 100.00% Conn: 1 Mbps: 2177.916 Peak Mbps: 2177.916 Avg Mbps: 2177.916 2000 272714704 2183.902 100.00% Conn: 1 Mbps: 2183.902 Peak Mbps: 2183.902 Avg Mbps: 2183.902 3000 272398324 2179.187 100.00% Conn: 1 Mbps: 2179.187 Peak Mbps: 2183.902 Avg Mbps: 2179.187 4001 272763228 2182.106 100.00% Conn: 1 Mbps: 2182.106 Peak Mbps: 2183.902 Avg Mbps: 2182.106 5001 273473764 2187.790 100.00% Conn: 1 Mbps: 2187.790 Peak Mbps: 2187.790 Avg Mbps: 2187.790 --- fc00:0:0:1::11 tcpbench statistics --- 1636605868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2177.916/2182.180/2187.790/3.510 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.039 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.039/0.039/0.039/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.042 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.042/0.042/0.042/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 925806312 7406.450 100.00% Conn: 1 Mbps: 7406.450 Peak Mbps: 7406.450 Avg Mbps: 7406.450 2000 924550896 7403.811 100.00% Conn: 1 Mbps: 7403.811 Peak Mbps: 7406.450 Avg Mbps: 7403.811 3000 928201304 7425.610 100.00% Conn: 1 Mbps: 7425.610 Peak Mbps: 7425.610 Avg Mbps: 7425.610 4000 928629912 7429.039 100.00% Conn: 1 Mbps: 7429.039 Peak Mbps: 7429.039 Avg Mbps: 7429.039 5000 927808896 7422.471 100.00% Conn: 1 Mbps: 7422.471 Peak Mbps: 7429.039 Avg Mbps: 7422.471 --- 169.254.1.12 tcpbench statistics --- 5561905560 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7403.811/7417.476/7429.039/10.326 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 931511532 7452.092 100.00% Conn: 1 Mbps: 7452.092 Peak Mbps: 7452.092 Avg Mbps: 7452.092 2000 930217764 7449.191 100.00% Conn: 1 Mbps: 7449.191 Peak Mbps: 7452.092 Avg Mbps: 7449.191 3000 931003164 7448.025 100.00% Conn: 1 Mbps: 7448.025 Peak Mbps: 7452.092 Avg Mbps: 7448.025 4000 930350568 7442.805 100.00% Conn: 1 Mbps: 7442.805 Peak Mbps: 7452.092 Avg Mbps: 7442.805 5000 929840772 7446.172 100.00% Conn: 1 Mbps: 7446.172 Peak Mbps: 7452.092 Avg Mbps: 7446.172 --- fc00:0:0:1::12 tcpbench statistics --- 5582975916 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7442.805/7447.657/7452.092/3.096 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.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-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 1348857830 10790.863 100.00% Conn: 1 Mbps: 10790.863 Peak Mbps: 10790.863 Avg Mbps: 10790.863 2000 1353133760 10835.906 100.00% Conn: 1 Mbps: 10835.906 Peak Mbps: 10835.906 Avg Mbps: 10835.906 3000 1373319532 10986.556 100.00% Conn: 1 Mbps: 10986.556 Peak Mbps: 10986.556 Avg Mbps: 10986.556 4000 1338804152 10710.433 100.00% Conn: 1 Mbps: 10710.433 Peak Mbps: 10986.556 Avg Mbps: 10710.433 5000 1350974504 10807.796 100.00% Conn: 1 Mbps: 10807.796 Peak Mbps: 10986.556 Avg Mbps: 10807.796 --- 169.254.0.13 tcpbench statistics --- 8106756580 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10710.433/10826.311/10986.556/90.330 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 1320657084 10565.257 100.00% Conn: 1 Mbps: 10565.257 Peak Mbps: 10565.257 Avg Mbps: 10565.257 2000 1313104056 10515.348 100.00% Conn: 1 Mbps: 10515.348 Peak Mbps: 10565.257 Avg Mbps: 10515.348 3000 1293911504 10351.292 100.00% Conn: 1 Mbps: 10351.292 Peak Mbps: 10565.257 Avg Mbps: 10351.292 4000 1335925864 10687.407 100.00% Conn: 1 Mbps: 10687.407 Peak Mbps: 10687.407 Avg Mbps: 10687.407 5000 1307414952 10459.320 100.00% Conn: 1 Mbps: 10459.320 Peak Mbps: 10687.407 Avg Mbps: 10459.320 --- fc00::13 tcpbench statistics --- 7881371052 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10351.292/10515.725/10687.407/111.488 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.045 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.045/0.045/0.045/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 275527080 2204.217 100.00% Conn: 1 Mbps: 2204.217 Peak Mbps: 2204.217 Avg Mbps: 2204.217 2000 275944960 2207.560 100.00% Conn: 1 Mbps: 2207.560 Peak Mbps: 2207.560 Avg Mbps: 2207.560 3000 275507384 2206.265 100.00% Conn: 1 Mbps: 2206.265 Peak Mbps: 2207.560 Avg Mbps: 2206.265 4001 276023048 2208.184 100.00% Conn: 1 Mbps: 2208.184 Peak Mbps: 2208.184 Avg Mbps: 2208.184 5000 275738680 2208.118 100.00% Conn: 1 Mbps: 2208.118 Peak Mbps: 2208.184 Avg Mbps: 2208.118 --- 169.254.1.11 tcpbench statistics --- 1654263296 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2204.217/2206.869/2208.184/1.494 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 434215208 3473.722 100.00% Conn: 1 Mbps: 3473.722 Peak Mbps: 3473.722 Avg Mbps: 3473.722 2000 432229288 3457.834 100.00% Conn: 1 Mbps: 3457.834 Peak Mbps: 3473.722 Avg Mbps: 3457.834 3000 432484536 3463.340 100.00% Conn: 1 Mbps: 3463.340 Peak Mbps: 3473.722 Avg Mbps: 3463.340 4000 432509040 3460.072 100.00% Conn: 1 Mbps: 3460.072 Peak Mbps: 3473.722 Avg Mbps: 3460.072 5001 432678144 3461.425 100.00% Conn: 1 Mbps: 3461.425 Peak Mbps: 3473.722 Avg Mbps: 3461.425 --- fc00:0:0:1::11 tcpbench statistics --- 2596322696 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3457.834/3463.279/3473.722/5.521 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.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-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 1352149028 10817.192 100.00% Conn: 1 Mbps: 10817.192 Peak Mbps: 10817.192 Avg Mbps: 10817.192 2000 1348520804 10798.965 100.00% Conn: 1 Mbps: 10798.965 Peak Mbps: 10817.192 Avg Mbps: 10798.965 3000 1344954760 10759.638 100.00% Conn: 1 Mbps: 10759.638 Peak Mbps: 10817.192 Avg Mbps: 10759.638 4000 1359333442 10874.668 100.00% Conn: 1 Mbps: 10874.668 Peak Mbps: 10874.668 Avg Mbps: 10874.668 5000 1340865260 10726.922 100.00% Conn: 1 Mbps: 10726.922 Peak Mbps: 10874.668 Avg Mbps: 10726.922 --- 169.254.1.12 tcpbench statistics --- 8069970678 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10726.922/10795.477/10874.668/50.476 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 1289158556 10313.268 100.00% Conn: 1 Mbps: 10313.268 Peak Mbps: 10313.268 Avg Mbps: 10313.268 2000 1287862744 10313.215 100.00% Conn: 1 Mbps: 10313.215 Peak Mbps: 10313.268 Avg Mbps: 10313.215 3000 1288451272 10307.610 100.00% Conn: 1 Mbps: 10307.610 Peak Mbps: 10313.268 Avg Mbps: 10307.610 4000 1319806736 10558.454 100.00% Conn: 1 Mbps: 10558.454 Peak Mbps: 10558.454 Avg Mbps: 10558.454 5000 1312417440 10499.340 100.00% Conn: 1 Mbps: 10499.340 Peak Mbps: 10558.454 Avg Mbps: 10499.340 --- fc00:0:0:1::12 tcpbench statistics --- 7794910548 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10307.610/10398.377/10558.454/108.215 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.040 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.040/0.040/0.040/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.043 ms --- fc00::13 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-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 1414061964 11312.496 100.00% Conn: 1 Mbps: 11312.496 Peak Mbps: 11312.496 Avg Mbps: 11312.496 2000 1419678104 11368.794 100.00% Conn: 1 Mbps: 11368.794 Peak Mbps: 11368.794 Avg Mbps: 11368.794 3000 1413658360 11309.267 100.00% Conn: 1 Mbps: 11309.267 Peak Mbps: 11368.794 Avg Mbps: 11309.267 4000 1416406504 11331.252 100.00% Conn: 1 Mbps: 11331.252 Peak Mbps: 11368.794 Avg Mbps: 11331.252 5000 1407147876 11257.183 100.00% Conn: 1 Mbps: 11257.183 Peak Mbps: 11368.794 Avg Mbps: 11257.183 --- 169.254.0.13 tcpbench statistics --- 8486639560 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11257.183/11315.798/11368.794/36.157 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 1419661796 11357.294 100.00% Conn: 1 Mbps: 11357.294 Peak Mbps: 11357.294 Avg Mbps: 11357.294 2000 1434308128 11485.951 100.00% Conn: 1 Mbps: 11485.951 Peak Mbps: 11485.951 Avg Mbps: 11485.951 3000 1433752296 11470.018 100.00% Conn: 1 Mbps: 11470.018 Peak Mbps: 11485.951 Avg Mbps: 11470.018 4000 1431136616 11449.093 100.00% Conn: 1 Mbps: 11449.093 Peak Mbps: 11485.951 Avg Mbps: 11449.093 5000 1434373520 11474.988 100.00% Conn: 1 Mbps: 11474.988 Peak Mbps: 11485.951 Avg Mbps: 11474.988 --- fc00::13 tcpbench statistics --- 8587017348 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11357.294/11447.469/11485.951/46.649 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.79s