START sys/net/pair 2025-01-09T04:55:10Z ==== 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.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 506184276 4049.474 100.00% Conn: 1 Mbps: 4049.474 Peak Mbps: 4049.474 Avg Mbps: 4049.474 2000 505413320 4047.354 100.00% Conn: 1 Mbps: 4047.354 Peak Mbps: 4049.474 Avg Mbps: 4047.354 3000 505755084 4046.041 100.00% Conn: 1 Mbps: 4046.041 Peak Mbps: 4049.474 Avg Mbps: 4046.041 4000 501351892 4010.815 100.00% Conn: 1 Mbps: 4010.815 Peak Mbps: 4049.474 Avg Mbps: 4010.815 5000 505691500 4045.532 100.00% Conn: 1 Mbps: 4045.532 Peak Mbps: 4049.474 Avg Mbps: 4045.532 --- 169.254.1.11 tcpbench statistics --- 3029650432 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4010.815/4039.843/4049.474/14.578 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 507368216 4058.946 100.00% Conn: 1 Mbps: 4058.946 Peak Mbps: 4058.946 Avg Mbps: 4058.946 2000 507162088 4061.358 100.00% Conn: 1 Mbps: 4061.358 Peak Mbps: 4061.358 Avg Mbps: 4061.358 3000 507328576 4058.629 100.00% Conn: 1 Mbps: 4058.629 Peak Mbps: 4061.358 Avg Mbps: 4058.629 4000 507518848 4060.151 100.00% Conn: 1 Mbps: 4060.151 Peak Mbps: 4061.358 Avg Mbps: 4060.151 5000 504086024 4032.688 100.00% Conn: 1 Mbps: 4032.688 Peak Mbps: 4061.358 Avg Mbps: 4032.688 --- fc00:0:0:1::11 tcpbench statistics --- 3041069808 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4032.688/4054.354/4061.358/10.876 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.072 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.072/0.072/0.072/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.124 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.124/0.124/0.124/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 1001 267697104 2139.437 100.00% Conn: 1 Mbps: 2139.437 Peak Mbps: 2139.437 Avg Mbps: 2139.437 2001 279569872 2238.798 100.00% Conn: 1 Mbps: 2238.798 Peak Mbps: 2238.798 Avg Mbps: 2238.798 3002 280301560 2240.172 100.00% Conn: 1 Mbps: 2240.172 Peak Mbps: 2240.172 Avg Mbps: 2240.172 4002 282981064 2263.849 100.00% Conn: 1 Mbps: 2263.849 Peak Mbps: 2263.849 Avg Mbps: 2263.849 5002 285148904 2281.191 100.00% Conn: 1 Mbps: 2281.191 Peak Mbps: 2281.191 Avg Mbps: 2281.191 --- 169.254.1.12 tcpbench statistics --- 1679663840 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2139.437/2232.689/2281.191/49.219 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 255378776 2043.030 100.00% Conn: 1 Mbps: 2043.030 Peak Mbps: 2043.030 Avg Mbps: 2043.030 2002 270543500 2162.186 100.00% Conn: 1 Mbps: 2162.186 Peak Mbps: 2162.186 Avg Mbps: 2162.186 3001 273558292 2190.657 100.00% Conn: 1 Mbps: 2190.657 Peak Mbps: 2190.657 Avg Mbps: 2190.657 4002 274665656 2195.130 100.00% Conn: 1 Mbps: 2195.130 Peak Mbps: 2195.130 Avg Mbps: 2195.130 5002 271276360 2172.383 100.00% Conn: 1 Mbps: 2172.383 Peak Mbps: 2195.130 Avg Mbps: 2172.383 --- fc00:0:0:1::12 tcpbench statistics --- 1622761684 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2043.030/2152.677/2195.130/56.118 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.077 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.077/0.077/0.077/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.072 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.072/0.072/0.072/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 598875360 4791.003 100.00% Conn: 1 Mbps: 4791.003 Peak Mbps: 4791.003 Avg Mbps: 4791.003 2000 634946152 5079.569 100.00% Conn: 1 Mbps: 5079.569 Peak Mbps: 5079.569 Avg Mbps: 5079.569 3000 609452748 4875.622 100.00% Conn: 1 Mbps: 4875.622 Peak Mbps: 5079.569 Avg Mbps: 4875.622 4000 597803080 4782.425 100.00% Conn: 1 Mbps: 4782.425 Peak Mbps: 5079.569 Avg Mbps: 4782.425 5000 600047636 4800.381 100.00% Conn: 1 Mbps: 4800.381 Peak Mbps: 5079.569 Avg Mbps: 4800.381 --- 169.254.0.13 tcpbench statistics --- 3614022664 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4782.425/4865.800/5079.569/111.910 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 546154736 4369.238 100.00% Conn: 1 Mbps: 4369.238 Peak Mbps: 4369.238 Avg Mbps: 4369.238 2000 582863712 4662.910 100.00% Conn: 1 Mbps: 4662.910 Peak Mbps: 4662.910 Avg Mbps: 4662.910 3001 580916936 4647.335 100.00% Conn: 1 Mbps: 4647.335 Peak Mbps: 4662.910 Avg Mbps: 4647.335 4001 580080208 4640.642 100.00% Conn: 1 Mbps: 4640.642 Peak Mbps: 4662.910 Avg Mbps: 4640.642 5002 581598616 4652.789 100.00% Conn: 1 Mbps: 4652.789 Peak Mbps: 4662.910 Avg Mbps: 4652.789 --- fc00::13 tcpbench statistics --- 3453201904 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4369.238/4594.583/4662.910/112.908 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.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-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.061 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.061/0.061/0.061/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 266962304 2133.565 100.00% Conn: 1 Mbps: 2133.565 Peak Mbps: 2133.565 Avg Mbps: 2133.565 2002 280616208 2242.687 100.00% Conn: 1 Mbps: 2242.687 Peak Mbps: 2242.687 Avg Mbps: 2242.687 3004 283771912 2267.907 100.00% Conn: 1 Mbps: 2267.907 Peak Mbps: 2267.907 Avg Mbps: 2267.907 4004 280995528 2247.964 100.00% Conn: 1 Mbps: 2247.964 Peak Mbps: 2267.907 Avg Mbps: 2247.964 5004 281690352 2255.779 100.00% Conn: 1 Mbps: 2255.779 Peak Mbps: 2267.907 Avg Mbps: 2255.779 --- 169.254.1.11 tcpbench statistics --- 1676119112 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2133.565/2229.580/2267.907/48.753 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 254831160 2038.649 100.00% Conn: 1 Mbps: 2038.649 Peak Mbps: 2038.649 Avg Mbps: 2038.649 2000 268832500 2152.813 100.00% Conn: 1 Mbps: 2152.813 Peak Mbps: 2152.813 Avg Mbps: 2152.813 3002 270938080 2165.339 100.00% Conn: 1 Mbps: 2165.339 Peak Mbps: 2165.339 Avg Mbps: 2165.339 4002 272769556 2182.156 100.00% Conn: 1 Mbps: 2182.156 Peak Mbps: 2182.156 Avg Mbps: 2182.156 5002 272965684 2183.725 100.00% Conn: 1 Mbps: 2183.725 Peak Mbps: 2183.725 Avg Mbps: 2183.725 --- fc00:0:0:1::11 tcpbench statistics --- 1612106780 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2038.649/2144.537/2183.725/54.156 Mbps ==== run-ping-2-2 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.053 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.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 511998320 4095.987 100.00% Conn: 1 Mbps: 4095.987 Peak Mbps: 4095.987 Avg Mbps: 4095.987 2000 511281560 4094.347 100.00% Conn: 1 Mbps: 4094.347 Peak Mbps: 4095.987 Avg Mbps: 4094.347 3000 510871776 4086.974 100.00% Conn: 1 Mbps: 4086.974 Peak Mbps: 4095.987 Avg Mbps: 4086.974 4000 510624168 4084.993 100.00% Conn: 1 Mbps: 4084.993 Peak Mbps: 4095.987 Avg Mbps: 4084.993 5000 510719736 4085.758 100.00% Conn: 1 Mbps: 4085.758 Peak Mbps: 4095.987 Avg Mbps: 4085.758 --- 169.254.1.12 tcpbench statistics --- 3066481728 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4084.993/4089.612/4095.987/4.609 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 514050012 4112.400 100.00% Conn: 1 Mbps: 4112.400 Peak Mbps: 4112.400 Avg Mbps: 4112.400 2000 513687300 4113.612 100.00% Conn: 1 Mbps: 4113.612 Peak Mbps: 4113.612 Avg Mbps: 4113.612 3000 513980040 4111.840 100.00% Conn: 1 Mbps: 4111.840 Peak Mbps: 4113.612 Avg Mbps: 4111.840 4000 509149116 4073.193 100.00% Conn: 1 Mbps: 4073.193 Peak Mbps: 4113.612 Avg Mbps: 4073.193 5000 515276664 4122.213 100.00% Conn: 1 Mbps: 4122.213 Peak Mbps: 4122.213 Avg Mbps: 4122.213 --- fc00:0:0:1::12 tcpbench statistics --- 3080207424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4073.193/4106.652/4122.213/17.147 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.045 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.045/0.045/0.045/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.063 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.063/0.063/0.063/0.000 ms ==== run-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 778135140 6225.081 100.00% Conn: 1 Mbps: 6225.081 Peak Mbps: 6225.081 Avg Mbps: 6225.081 2000 778509936 6234.314 100.00% Conn: 1 Mbps: 6234.314 Peak Mbps: 6234.314 Avg Mbps: 6234.314 3000 778444504 6227.556 100.00% Conn: 1 Mbps: 6227.556 Peak Mbps: 6234.314 Avg Mbps: 6227.556 4000 778542652 6228.341 100.00% Conn: 1 Mbps: 6228.341 Peak Mbps: 6234.314 Avg Mbps: 6228.341 5000 778477220 6227.818 100.00% Conn: 1 Mbps: 6227.818 Peak Mbps: 6234.314 Avg Mbps: 6227.818 --- 169.254.0.13 tcpbench statistics --- 4670243154 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6225.081/6228.622/6234.314/3.059 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 748924636 5991.397 100.00% Conn: 1 Mbps: 5991.397 Peak Mbps: 5991.397 Avg Mbps: 5991.397 2000 753152360 6031.250 100.00% Conn: 1 Mbps: 6031.250 Peak Mbps: 6031.250 Avg Mbps: 6031.250 3000 748149872 5985.199 100.00% Conn: 1 Mbps: 5985.199 Peak Mbps: 6031.250 Avg Mbps: 5985.199 4000 748084480 5984.676 100.00% Conn: 1 Mbps: 5984.676 Peak Mbps: 6031.250 Avg Mbps: 5984.676 5000 754067848 6032.543 100.00% Conn: 1 Mbps: 6032.543 Peak Mbps: 6032.543 Avg Mbps: 6032.543 --- fc00::13 tcpbench statistics --- 4506152780 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5984.676/6005.013/6032.543/22.081 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.060 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.060/0.060/0.060/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.071 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.071/0.071/0.071/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 1002 268083112 2140.384 100.00% Conn: 1 Mbps: 2140.384 Peak Mbps: 2140.384 Avg Mbps: 2140.384 2001 280203864 2243.875 100.00% Conn: 1 Mbps: 2243.875 Peak Mbps: 2243.875 Avg Mbps: 2243.875 3002 282091008 2256.728 100.00% Conn: 1 Mbps: 2256.728 Peak Mbps: 2256.728 Avg Mbps: 2256.728 4002 278939976 2233.754 100.00% Conn: 1 Mbps: 2233.754 Peak Mbps: 2256.728 Avg Mbps: 2233.754 5003 279393760 2235.150 100.00% Conn: 1 Mbps: 2235.150 Peak Mbps: 2256.728 Avg Mbps: 2235.150 --- 169.254.1.11 tcpbench statistics --- 1669568456 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2140.384/2221.978/2256.728/41.610 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 517431240 4139.450 100.00% Conn: 1 Mbps: 4139.450 Peak Mbps: 4139.450 Avg Mbps: 4139.450 2000 573445736 4587.566 100.00% Conn: 1 Mbps: 4587.566 Peak Mbps: 4587.566 Avg Mbps: 4587.566 3001 581419696 4651.358 100.00% Conn: 1 Mbps: 4651.358 Peak Mbps: 4651.358 Avg Mbps: 4651.358 4001 582220320 4657.763 100.00% Conn: 1 Mbps: 4657.763 Peak Mbps: 4657.763 Avg Mbps: 4657.763 5001 582571912 4660.575 100.00% Conn: 1 Mbps: 4660.575 Peak Mbps: 4660.575 Avg Mbps: 4660.575 --- fc00:0:0:1::11 tcpbench statistics --- 3419624704 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4139.450/4539.342/4660.575/201.746 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.062 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.062/0.062/0.062/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.049 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.049/0.049/0.049/0.000 ms ==== run-tcpbench-3-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 770311786 6162.494 100.00% Conn: 1 Mbps: 6162.494 Peak Mbps: 6162.494 Avg Mbps: 6162.494 2000 769872912 6165.148 100.00% Conn: 1 Mbps: 6165.148 Peak Mbps: 6165.148 Avg Mbps: 6165.148 3000 770396368 6163.171 100.00% Conn: 1 Mbps: 6163.171 Peak Mbps: 6165.148 Avg Mbps: 6163.171 4000 770330936 6162.647 100.00% Conn: 1 Mbps: 6162.647 Peak Mbps: 6165.148 Avg Mbps: 6162.647 5000 770690812 6165.526 100.00% Conn: 1 Mbps: 6165.526 Peak Mbps: 6165.526 Avg Mbps: 6165.526 --- 169.254.1.12 tcpbench statistics --- 4622260910 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6162.494/6163.798/6165.526/1.283 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 752745460 6021.964 100.00% Conn: 1 Mbps: 6021.964 Peak Mbps: 6021.964 Avg Mbps: 6021.964 2000 752596528 6026.799 100.00% Conn: 1 Mbps: 6026.799 Peak Mbps: 6026.799 Avg Mbps: 6026.799 3000 752890792 6023.126 100.00% Conn: 1 Mbps: 6023.126 Peak Mbps: 6026.799 Avg Mbps: 6023.126 4000 753838976 6036.749 100.00% Conn: 1 Mbps: 6036.749 Peak Mbps: 6036.749 Avg Mbps: 6036.749 5000 754656376 6037.251 100.00% Conn: 1 Mbps: 6037.251 Peak Mbps: 6037.251 Avg Mbps: 6037.251 --- fc00:0:0:1::12 tcpbench statistics --- 4521449900 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6021.964/6029.178/6037.251/6.585 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.053 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.053/0.053/0.053/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.059 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.059/0.059/0.059/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 785953218 6287.626 100.00% Conn: 1 Mbps: 6287.626 Peak Mbps: 6287.626 Avg Mbps: 6287.626 2000 789404364 6321.556 100.00% Conn: 1 Mbps: 6321.556 Peak Mbps: 6321.556 Avg Mbps: 6321.556 3000 789698808 6317.590 100.00% Conn: 1 Mbps: 6317.590 Peak Mbps: 6321.556 Avg Mbps: 6317.590 4000 789077204 6312.618 100.00% Conn: 1 Mbps: 6312.618 Peak Mbps: 6321.556 Avg Mbps: 6312.618 5000 787801280 6302.410 100.00% Conn: 1 Mbps: 6302.410 Peak Mbps: 6321.556 Avg Mbps: 6302.410 --- 169.254.0.13 tcpbench statistics --- 4730259610 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6287.626/6308.360/6321.556/12.188 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 780941572 6247.533 100.00% Conn: 1 Mbps: 6247.533 Peak Mbps: 6247.533 Avg Mbps: 6247.533 2000 777707056 6227.884 100.00% Conn: 1 Mbps: 6227.884 Peak Mbps: 6247.533 Avg Mbps: 6227.884 3000 780780480 6246.244 100.00% Conn: 1 Mbps: 6246.244 Peak Mbps: 6247.533 Avg Mbps: 6246.244 4000 781663272 6253.306 100.00% Conn: 1 Mbps: 6253.306 Peak Mbps: 6253.306 Avg Mbps: 6253.306 5000 781467096 6251.737 100.00% Conn: 1 Mbps: 6251.737 Peak Mbps: 6253.306 Avg Mbps: 6251.737 --- fc00::13 tcpbench statistics --- 4683536132 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6227.884/6245.341/6253.306/9.107 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.83s