START sys/net/pair 2024-07-25T09:18:39Z ==== 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.186 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.186/0.186/0.186/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.236 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.236/0.236/0.236/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 109332688 874.662 100.00% Conn: 1 Mbps: 874.662 Peak Mbps: 874.662 Avg Mbps: 874.662 2000 108752484 870.891 100.00% Conn: 1 Mbps: 870.891 Peak Mbps: 874.662 Avg Mbps: 870.891 3000 108712744 869.702 100.00% Conn: 1 Mbps: 869.702 Peak Mbps: 874.662 Avg Mbps: 869.702 4000 108673004 870.254 100.00% Conn: 1 Mbps: 870.254 Peak Mbps: 874.662 Avg Mbps: 870.254 5000 108625316 869.872 100.00% Conn: 1 Mbps: 869.872 Peak Mbps: 874.662 Avg Mbps: 869.872 --- 169.254.1.11 tcpbench statistics --- 652904356 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 869.702/871.076/874.662/1.839 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 110706592 885.653 100.00% Conn: 1 Mbps: 885.653 Peak Mbps: 885.653 Avg Mbps: 885.653 2000 109937576 879.501 100.00% Conn: 1 Mbps: 879.501 Peak Mbps: 885.653 Avg Mbps: 879.501 3000 110183344 882.349 100.00% Conn: 1 Mbps: 882.349 Peak Mbps: 885.653 Avg Mbps: 882.349 4000 110326048 882.608 100.00% Conn: 1 Mbps: 882.608 Peak Mbps: 885.653 Avg Mbps: 882.608 5000 110024784 880.198 100.00% Conn: 1 Mbps: 880.198 Peak Mbps: 885.653 Avg Mbps: 880.198 --- fc00:0:0:1::11 tcpbench statistics --- 660901864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 879.501/882.062/885.653/2.159 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.269 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.269/0.269/0.269/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.646 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.646/0.646/0.646/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 1002 39751944 317.381 100.00% Conn: 1 Mbps: 317.381 Peak Mbps: 317.381 Avg Mbps: 317.381 2003 39879368 318.716 100.00% Conn: 1 Mbps: 318.716 Peak Mbps: 318.716 Avg Mbps: 318.716 3004 39915568 319.325 100.00% Conn: 1 Mbps: 319.325 Peak Mbps: 319.325 Avg Mbps: 319.325 4006 40021272 319.850 100.00% Conn: 1 Mbps: 319.850 Peak Mbps: 319.850 Avg Mbps: 319.850 5007 39854752 318.519 100.00% Conn: 1 Mbps: 318.519 Peak Mbps: 319.850 Avg Mbps: 318.519 --- 169.254.1.12 tcpbench statistics --- 239050320 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 317.381/318.758/319.850/0.833 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 38441760 307.227 100.00% Conn: 1 Mbps: 307.227 Peak Mbps: 307.227 Avg Mbps: 307.227 2001 38594556 309.066 100.00% Conn: 1 Mbps: 309.066 Peak Mbps: 309.066 Avg Mbps: 309.066 3003 38708796 309.361 100.00% Conn: 1 Mbps: 309.361 Peak Mbps: 309.361 Avg Mbps: 309.361 4003 38691660 309.533 100.00% Conn: 1 Mbps: 309.533 Peak Mbps: 309.533 Avg Mbps: 309.533 5004 38784480 309.966 100.00% Conn: 1 Mbps: 309.966 Peak Mbps: 309.966 Avg Mbps: 309.966 --- fc00:0:0:1::12 tcpbench statistics --- 231594468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 307.227/309.031/309.966/0.948 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.249 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.249/0.249/0.249/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.342 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.342/0.342/0.342/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 62002348 496.019 100.00% Conn: 1 Mbps: 496.019 Peak Mbps: 496.019 Avg Mbps: 496.019 2000 61867232 495.433 100.00% Conn: 1 Mbps: 495.433 Peak Mbps: 496.019 Avg Mbps: 495.433 3000 61485728 491.886 100.00% Conn: 1 Mbps: 491.886 Peak Mbps: 496.019 Avg Mbps: 491.886 4000 61461884 492.187 100.00% Conn: 1 Mbps: 492.187 Peak Mbps: 496.019 Avg Mbps: 492.187 5000 61930816 495.447 100.00% Conn: 1 Mbps: 495.447 Peak Mbps: 496.019 Avg Mbps: 495.447 --- 169.254.0.13 tcpbench statistics --- 370170152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 491.886/494.194/496.019/1.777 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 60744336 485.955 100.00% Conn: 1 Mbps: 485.955 Peak Mbps: 485.955 Avg Mbps: 485.955 2000 60577848 484.623 100.00% Conn: 1 Mbps: 484.623 Peak Mbps: 485.955 Avg Mbps: 484.623 3000 60118024 480.944 100.00% Conn: 1 Mbps: 480.944 Peak Mbps: 485.955 Avg Mbps: 480.944 4000 60308296 482.466 100.00% Conn: 1 Mbps: 482.466 Peak Mbps: 485.955 Avg Mbps: 482.466 5000 61188304 489.506 100.00% Conn: 1 Mbps: 489.506 Peak Mbps: 489.506 Avg Mbps: 489.506 --- fc00::13 tcpbench statistics --- 363506728 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 480.944/484.699/489.506/2.959 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.217 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.217/0.217/0.217/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.274 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.274/0.274/0.274/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 39708504 317.351 100.00% Conn: 1 Mbps: 317.351 Peak Mbps: 317.351 Avg Mbps: 317.351 2002 39754840 318.039 100.00% Conn: 1 Mbps: 318.039 Peak Mbps: 318.039 Avg Mbps: 318.039 3004 39793936 318.033 100.00% Conn: 1 Mbps: 318.033 Peak Mbps: 318.039 Avg Mbps: 318.033 4005 39830136 318.323 100.00% Conn: 1 Mbps: 318.323 Peak Mbps: 318.323 Avg Mbps: 318.323 5006 39851856 318.496 100.00% Conn: 1 Mbps: 318.496 Peak Mbps: 318.496 Avg Mbps: 318.496 --- 169.254.1.11 tcpbench statistics --- 238494288 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 317.351/318.048/318.496/0.391 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 1002 38194716 304.948 100.00% Conn: 1 Mbps: 304.948 Peak Mbps: 304.948 Avg Mbps: 304.948 2004 38601696 308.505 100.00% Conn: 1 Mbps: 308.505 Peak Mbps: 308.505 Avg Mbps: 308.505 3006 38551716 308.106 100.00% Conn: 1 Mbps: 308.106 Peak Mbps: 308.505 Avg Mbps: 308.106 4007 38585988 308.380 100.00% Conn: 1 Mbps: 308.380 Peak Mbps: 308.505 Avg Mbps: 308.380 5008 38688804 309.201 100.00% Conn: 1 Mbps: 309.201 Peak Mbps: 309.201 Avg Mbps: 309.201 --- fc00:0:0:1::11 tcpbench statistics --- 230777652 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 304.948/307.828/309.201/1.485 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.197 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.197/0.197/0.197/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.237 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.237/0.237/0.237/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 105491144 843.929 100.00% Conn: 1 Mbps: 843.929 Peak Mbps: 843.929 Avg Mbps: 843.929 2000 105298560 843.232 100.00% Conn: 1 Mbps: 843.232 Peak Mbps: 843.929 Avg Mbps: 843.232 3000 105250776 842.006 100.00% Conn: 1 Mbps: 842.006 Peak Mbps: 843.929 Avg Mbps: 842.006 4000 105774952 846.200 100.00% Conn: 1 Mbps: 846.200 Peak Mbps: 846.200 Avg Mbps: 846.200 5000 105414400 843.315 100.00% Conn: 1 Mbps: 843.315 Peak Mbps: 846.200 Avg Mbps: 843.315 --- 169.254.1.12 tcpbench statistics --- 632760072 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 842.006/843.736/846.200/1.381 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 105185052 841.480 100.00% Conn: 1 Mbps: 841.480 Peak Mbps: 841.480 Avg Mbps: 841.480 2000 105726264 845.810 100.00% Conn: 1 Mbps: 845.810 Peak Mbps: 845.810 Avg Mbps: 845.810 3000 105741972 845.936 100.00% Conn: 1 Mbps: 845.936 Peak Mbps: 845.936 Avg Mbps: 845.936 4000 105580608 844.645 100.00% Conn: 1 Mbps: 844.645 Peak Mbps: 845.936 Avg Mbps: 844.645 5001 106019004 848.152 100.00% Conn: 1 Mbps: 848.152 Peak Mbps: 848.152 Avg Mbps: 848.152 --- fc00:0:0:1::12 tcpbench statistics --- 634093404 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 841.480/845.205/848.152/2.180 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.176 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.176/0.176/0.176/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.253 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.253/0.253/0.253/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 177779858 1422.239 100.00% Conn: 1 Mbps: 1422.239 Peak Mbps: 1422.239 Avg Mbps: 1422.239 2000 176502724 1413.435 100.00% Conn: 1 Mbps: 1413.435 Peak Mbps: 1422.239 Avg Mbps: 1413.435 3000 176568144 1412.545 100.00% Conn: 1 Mbps: 1412.545 Peak Mbps: 1422.239 Avg Mbps: 1412.545 4000 176568156 1412.545 100.00% Conn: 1 Mbps: 1412.545 Peak Mbps: 1422.239 Avg Mbps: 1412.545 5000 176600860 1412.807 100.00% Conn: 1 Mbps: 1412.807 Peak Mbps: 1422.239 Avg Mbps: 1412.807 --- 169.254.0.13 tcpbench statistics --- 1060326170 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1412.545/1414.714/1422.239/3.776 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 173011748 1384.094 100.00% Conn: 1 Mbps: 1384.094 Peak Mbps: 1384.094 Avg Mbps: 1384.094 2000 171261648 1371.465 100.00% Conn: 1 Mbps: 1371.465 Peak Mbps: 1384.094 Avg Mbps: 1371.465 3000 171359736 1370.878 100.00% Conn: 1 Mbps: 1370.878 Peak Mbps: 1384.094 Avg Mbps: 1370.878 4000 171294344 1370.355 100.00% Conn: 1 Mbps: 1370.355 Peak Mbps: 1384.094 Avg Mbps: 1370.355 5000 171457824 1371.663 100.00% Conn: 1 Mbps: 1371.663 Peak Mbps: 1384.094 Avg Mbps: 1371.663 --- fc00::13 tcpbench statistics --- 1029450772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1370.355/1373.691/1384.094/5.222 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.208 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.208/0.208/0.208/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.291 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.291/0.291/0.291/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 39446416 315.571 100.00% Conn: 1 Mbps: 315.571 Peak Mbps: 315.571 Avg Mbps: 315.571 2001 39657824 316.946 100.00% Conn: 1 Mbps: 316.946 Peak Mbps: 316.946 Avg Mbps: 316.946 3000 39429040 315.748 100.00% Conn: 1 Mbps: 315.748 Peak Mbps: 316.946 Avg Mbps: 315.748 4002 39594112 316.436 100.00% Conn: 1 Mbps: 316.436 Peak Mbps: 316.946 Avg Mbps: 316.436 5004 39615832 316.294 100.00% Conn: 1 Mbps: 316.294 Peak Mbps: 316.946 Avg Mbps: 316.294 --- 169.254.1.11 tcpbench statistics --- 237086832 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 315.571/316.199/316.946/0.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 1002 64753984 516.998 100.00% Conn: 1 Mbps: 516.998 Peak Mbps: 516.998 Avg Mbps: 516.998 2003 64576800 516.098 100.00% Conn: 1 Mbps: 516.098 Peak Mbps: 516.998 Avg Mbps: 516.098 3004 63773272 509.676 100.00% Conn: 1 Mbps: 509.676 Peak Mbps: 516.998 Avg Mbps: 509.676 4003 63779304 511.257 100.00% Conn: 1 Mbps: 511.257 Peak Mbps: 516.998 Avg Mbps: 511.257 5002 63838184 511.729 100.00% Conn: 1 Mbps: 511.729 Peak Mbps: 516.998 Avg Mbps: 511.729 --- fc00:0:0:1::11 tcpbench statistics --- 384642512 bytes sent over 6.004 seconds bandwidth min/avg/max/std-dev = 509.676/513.152/516.998/2.869 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.180 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.180/0.180/0.180/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.253 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.253/0.253/0.253/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 180200018 1441.600 100.00% Conn: 1 Mbps: 1441.600 Peak Mbps: 1441.600 Avg Mbps: 1441.600 2000 178498496 1429.417 100.00% Conn: 1 Mbps: 1429.417 Peak Mbps: 1441.600 Avg Mbps: 1429.417 3000 178138620 1425.109 100.00% Conn: 1 Mbps: 1425.109 Peak Mbps: 1441.600 Avg Mbps: 1425.109 4000 178465780 1427.726 100.00% Conn: 1 Mbps: 1427.726 Peak Mbps: 1441.600 Avg Mbps: 1427.726 5000 178596644 1428.773 100.00% Conn: 1 Mbps: 1428.773 Peak Mbps: 1441.600 Avg Mbps: 1428.773 --- 169.254.1.12 tcpbench statistics --- 1072169042 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1425.109/1430.525/1441.600/5.729 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 173322972 1386.584 100.00% Conn: 1 Mbps: 1386.584 Peak Mbps: 1386.584 Avg Mbps: 1386.584 2000 171817480 1375.916 100.00% Conn: 1 Mbps: 1375.916 Peak Mbps: 1386.584 Avg Mbps: 1375.916 3000 172046352 1376.371 100.00% Conn: 1 Mbps: 1376.371 Peak Mbps: 1386.584 Avg Mbps: 1376.371 4000 171948264 1375.586 100.00% Conn: 1 Mbps: 1375.586 Peak Mbps: 1386.584 Avg Mbps: 1375.586 5000 172013656 1376.109 100.00% Conn: 1 Mbps: 1376.109 Peak Mbps: 1386.584 Avg Mbps: 1376.109 --- fc00:0:0:1::12 tcpbench statistics --- 1032933508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1375.586/1378.113/1386.584/4.243 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.181 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.181/0.181/0.181/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.233 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.233/0.233/0.233/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 183799314 1470.395 100.00% Conn: 1 Mbps: 1470.395 Peak Mbps: 1470.395 Avg Mbps: 1470.395 2000 182915048 1464.785 100.00% Conn: 1 Mbps: 1464.785 Peak Mbps: 1470.395 Avg Mbps: 1464.785 3000 182947764 1463.582 100.00% Conn: 1 Mbps: 1463.582 Peak Mbps: 1470.395 Avg Mbps: 1463.582 4000 182686048 1461.488 100.00% Conn: 1 Mbps: 1461.488 Peak Mbps: 1470.395 Avg Mbps: 1461.488 5000 182980480 1463.844 100.00% Conn: 1 Mbps: 1463.844 Peak Mbps: 1470.395 Avg Mbps: 1463.844 --- 169.254.0.13 tcpbench statistics --- 1098178270 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1461.488/1464.819/1470.395/2.989 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 180253516 1442.028 100.00% Conn: 1 Mbps: 1442.028 Peak Mbps: 1442.028 Avg Mbps: 1442.028 2000 178585552 1430.115 100.00% Conn: 1 Mbps: 1430.115 Peak Mbps: 1442.028 Avg Mbps: 1430.115 3000 178618248 1428.946 100.00% Conn: 1 Mbps: 1428.946 Peak Mbps: 1442.028 Avg Mbps: 1428.946 4000 178585552 1428.684 100.00% Conn: 1 Mbps: 1428.684 Peak Mbps: 1442.028 Avg Mbps: 1428.684 5000 178323984 1426.592 100.00% Conn: 1 Mbps: 1426.592 Peak Mbps: 1442.028 Avg Mbps: 1426.592 --- fc00::13 tcpbench statistics --- 1072625444 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1426.592/1431.273/1442.028/5.496 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 1m59.27s