START sys/net/pair 2024-03-25T10:22:24Z ==== 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.210 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.210/0.210/0.210/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.259 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.259/0.259/0.259/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 110461304 883.690 100.00% Conn: 1 Mbps: 883.690 Peak Mbps: 883.690 Avg Mbps: 883.690 2000 109666504 878.210 100.00% Conn: 1 Mbps: 878.210 Peak Mbps: 883.690 Avg Mbps: 878.210 3000 110063904 880.511 100.00% Conn: 1 Mbps: 880.511 Peak Mbps: 883.690 Avg Mbps: 880.511 4000 110008268 880.947 100.00% Conn: 1 Mbps: 880.947 Peak Mbps: 883.690 Avg Mbps: 880.947 5000 109968528 879.748 100.00% Conn: 1 Mbps: 879.748 Peak Mbps: 883.690 Avg Mbps: 879.748 --- 169.254.1.11 tcpbench statistics --- 660216516 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 878.210/880.621/883.690/1.795 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 110127848 881.023 100.00% Conn: 1 Mbps: 881.023 Peak Mbps: 881.023 Avg Mbps: 881.023 2000 109723520 877.788 100.00% Conn: 1 Mbps: 877.788 Peak Mbps: 881.023 Avg Mbps: 877.788 3000 109461896 875.695 100.00% Conn: 1 Mbps: 875.695 Peak Mbps: 881.023 Avg Mbps: 875.695 4000 109247840 873.983 100.00% Conn: 1 Mbps: 873.983 Peak Mbps: 881.023 Avg Mbps: 873.983 5000 109430184 875.441 100.00% Conn: 1 Mbps: 875.441 Peak Mbps: 881.023 Avg Mbps: 875.441 --- fc00:0:0:1::11 tcpbench statistics --- 657453184 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 873.983/876.786/881.023/2.442 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.334 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.334/0.334/0.334/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.713 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.713/0.713/0.713/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 40545448 324.040 100.00% Conn: 1 Mbps: 324.040 Peak Mbps: 324.040 Avg Mbps: 324.040 2001 40620744 324.966 100.00% Conn: 1 Mbps: 324.966 Peak Mbps: 324.966 Avg Mbps: 324.966 3003 40678664 325.104 100.00% Conn: 1 Mbps: 325.104 Peak Mbps: 325.104 Avg Mbps: 325.104 4002 40510696 324.410 100.00% Conn: 1 Mbps: 324.410 Peak Mbps: 325.104 Avg Mbps: 324.410 5003 40816224 326.204 100.00% Conn: 1 Mbps: 326.204 Peak Mbps: 326.204 Avg Mbps: 326.204 --- 169.254.1.12 tcpbench statistics --- 243905464 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 324.040/324.945/326.204/0.737 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 38780196 310.242 100.00% Conn: 1 Mbps: 310.242 Peak Mbps: 310.242 Avg Mbps: 310.242 2002 39030096 311.929 100.00% Conn: 1 Mbps: 311.929 Peak Mbps: 311.929 Avg Mbps: 311.929 3003 39284280 313.960 100.00% Conn: 1 Mbps: 313.960 Peak Mbps: 313.960 Avg Mbps: 313.960 4003 39324264 314.594 100.00% Conn: 1 Mbps: 314.594 Peak Mbps: 314.594 Avg Mbps: 314.594 5003 39241440 313.932 100.00% Conn: 1 Mbps: 313.932 Peak Mbps: 314.594 Avg Mbps: 313.932 --- fc00:0:0:1::12 tcpbench statistics --- 234864588 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 310.242/312.931/314.594/1.616 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.267 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.267/0.267/0.267/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.368 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.368/0.368/0.368/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 60841940 486.736 100.00% Conn: 1 Mbps: 486.736 Peak Mbps: 486.736 Avg Mbps: 486.736 2000 59451040 476.084 100.00% Conn: 1 Mbps: 476.084 Peak Mbps: 486.736 Avg Mbps: 476.084 3000 59705376 477.643 100.00% Conn: 1 Mbps: 477.643 Peak Mbps: 486.736 Avg Mbps: 477.643 4000 59292080 474.337 100.00% Conn: 1 Mbps: 474.337 Peak Mbps: 486.736 Avg Mbps: 474.337 5000 59864336 478.915 100.00% Conn: 1 Mbps: 478.915 Peak Mbps: 486.736 Avg Mbps: 478.915 --- 169.254.0.13 tcpbench statistics --- 358502488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 474.337/478.743/486.736/4.280 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 59309368 474.475 100.00% Conn: 1 Mbps: 474.475 Peak Mbps: 474.475 Avg Mbps: 474.475 2000 59182520 473.934 100.00% Conn: 1 Mbps: 473.934 Peak Mbps: 474.475 Avg Mbps: 473.934 3000 59214232 473.714 100.00% Conn: 1 Mbps: 473.714 Peak Mbps: 474.475 Avg Mbps: 473.714 4001 59087384 472.699 100.00% Conn: 1 Mbps: 472.699 Peak Mbps: 474.475 Avg Mbps: 472.699 5001 59190448 473.524 100.00% Conn: 1 Mbps: 473.524 Peak Mbps: 474.475 Avg Mbps: 473.524 --- fc00::13 tcpbench statistics --- 354690792 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 472.699/473.669/474.475/0.580 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.209 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.209/0.209/0.209/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.297 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.297/0.297/0.297/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 1002 40364448 322.271 100.00% Conn: 1 Mbps: 322.271 Peak Mbps: 322.271 Avg Mbps: 322.271 2002 40953784 327.630 100.00% Conn: 1 Mbps: 327.630 Peak Mbps: 327.630 Avg Mbps: 327.630 3004 40959576 327.349 100.00% Conn: 1 Mbps: 327.349 Peak Mbps: 327.630 Avg Mbps: 327.349 4005 41026184 328.209 100.00% Conn: 1 Mbps: 328.209 Peak Mbps: 328.209 Avg Mbps: 328.209 5006 40976952 327.488 100.00% Conn: 1 Mbps: 327.488 Peak Mbps: 328.209 Avg Mbps: 327.488 --- 169.254.1.11 tcpbench statistics --- 244755440 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 322.271/326.590/328.209/2.179 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 38811612 310.183 100.00% Conn: 1 Mbps: 310.183 Peak Mbps: 310.183 Avg Mbps: 310.183 2001 38748780 309.990 100.00% Conn: 1 Mbps: 309.990 Peak Mbps: 310.183 Avg Mbps: 309.990 3002 38918712 311.039 100.00% Conn: 1 Mbps: 311.039 Peak Mbps: 311.039 Avg Mbps: 311.039 4004 38881584 310.742 100.00% Conn: 1 Mbps: 310.742 Peak Mbps: 311.039 Avg Mbps: 310.742 5004 38843028 310.744 100.00% Conn: 1 Mbps: 310.744 Peak Mbps: 311.039 Avg Mbps: 310.744 --- fc00:0:0:1::11 tcpbench statistics --- 233245236 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 309.990/310.540/311.039/0.390 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.185 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.185/0.185/0.185/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.256 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.256/0.256/0.256/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 105756128 846.049 100.00% Conn: 1 Mbps: 846.049 Peak Mbps: 846.049 Avg Mbps: 846.049 2000 105365168 842.921 100.00% Conn: 1 Mbps: 842.921 Peak Mbps: 846.049 Avg Mbps: 842.921 3000 105924096 847.393 100.00% Conn: 1 Mbps: 847.393 Peak Mbps: 847.393 Avg Mbps: 847.393 4000 106022560 849.030 100.00% Conn: 1 Mbps: 849.030 Peak Mbps: 849.030 Avg Mbps: 849.030 5000 106165912 849.327 100.00% Conn: 1 Mbps: 849.327 Peak Mbps: 849.327 Avg Mbps: 849.327 --- 169.254.1.12 tcpbench statistics --- 635107280 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 842.921/846.944/849.327/2.333 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 104759508 838.076 100.00% Conn: 1 Mbps: 838.076 Peak Mbps: 838.076 Avg Mbps: 838.076 2000 105105084 841.682 100.00% Conn: 1 Mbps: 841.682 Peak Mbps: 841.682 Avg Mbps: 841.682 3000 105085092 840.681 100.00% Conn: 1 Mbps: 840.681 Peak Mbps: 841.682 Avg Mbps: 840.681 4000 104810916 838.487 100.00% Conn: 1 Mbps: 838.487 Peak Mbps: 841.682 Avg Mbps: 838.487 5000 105136500 841.092 100.00% Conn: 1 Mbps: 841.092 Peak Mbps: 841.682 Avg Mbps: 841.092 --- fc00:0:0:1::12 tcpbench statistics --- 629705160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 838.076/840.004/841.682/1.447 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.197 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.197/0.197/0.197/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.282 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.282/0.282/0.282/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 175473198 1403.786 100.00% Conn: 1 Mbps: 1403.786 Peak Mbps: 1403.786 Avg Mbps: 1403.786 2000 174376184 1396.406 100.00% Conn: 1 Mbps: 1396.406 Peak Mbps: 1403.786 Avg Mbps: 1396.406 3000 174343456 1394.748 100.00% Conn: 1 Mbps: 1394.748 Peak Mbps: 1403.786 Avg Mbps: 1394.748 4000 174212604 1393.701 100.00% Conn: 1 Mbps: 1393.701 Peak Mbps: 1403.786 Avg Mbps: 1393.701 5000 174278036 1394.224 100.00% Conn: 1 Mbps: 1394.224 Peak Mbps: 1403.786 Avg Mbps: 1394.224 --- 169.254.0.13 tcpbench statistics --- 1046830638 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1393.701/1396.573/1403.786/3.719 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 173698076 1389.585 100.00% Conn: 1 Mbps: 1389.585 Peak Mbps: 1389.585 Avg Mbps: 1389.585 2000 171817480 1375.916 100.00% Conn: 1 Mbps: 1375.916 Peak Mbps: 1389.585 Avg Mbps: 1375.916 3000 171686696 1373.494 100.00% Conn: 1 Mbps: 1373.494 Peak Mbps: 1389.585 Avg Mbps: 1373.494 4000 171752088 1374.017 100.00% Conn: 1 Mbps: 1374.017 Peak Mbps: 1389.585 Avg Mbps: 1374.017 5000 172046352 1376.371 100.00% Conn: 1 Mbps: 1376.371 Peak Mbps: 1389.585 Avg Mbps: 1376.371 --- fc00::13 tcpbench statistics --- 1032850868 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1373.494/1377.876/1389.585/5.955 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.234 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.234/0.234/0.234/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.320 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.320/0.320/0.320/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 40019824 319.839 100.00% Conn: 1 Mbps: 319.839 Peak Mbps: 319.839 Avg Mbps: 319.839 2002 40203720 321.630 100.00% Conn: 1 Mbps: 321.630 Peak Mbps: 321.630 Avg Mbps: 321.630 3004 40205168 320.999 100.00% Conn: 1 Mbps: 320.999 Peak Mbps: 321.630 Avg Mbps: 320.999 4004 40226888 321.815 100.00% Conn: 1 Mbps: 321.815 Peak Mbps: 321.815 Avg Mbps: 321.815 5006 40223992 321.470 100.00% Conn: 1 Mbps: 321.470 Peak Mbps: 321.815 Avg Mbps: 321.470 --- 169.254.1.11 tcpbench statistics --- 240808192 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 319.839/321.151/321.815/0.710 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 1003 64301024 512.870 100.00% Conn: 1 Mbps: 512.870 Peak Mbps: 512.870 Avg Mbps: 512.870 2004 64174224 512.881 100.00% Conn: 1 Mbps: 512.881 Peak Mbps: 512.881 Avg Mbps: 512.881 3005 64223744 513.277 100.00% Conn: 1 Mbps: 513.277 Peak Mbps: 513.277 Avg Mbps: 513.277 4006 63471080 507.261 100.00% Conn: 1 Mbps: 507.261 Peak Mbps: 513.277 Avg Mbps: 507.261 5006 63002072 504.017 100.00% Conn: 1 Mbps: 504.017 Peak Mbps: 513.277 Avg Mbps: 504.017 --- fc00:0:0:1::11 tcpbench statistics --- 381828840 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 504.017/510.061/513.277/3.756 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.201 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.201/0.201/0.201/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.278 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.278/0.278/0.278/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 175538482 1404.308 100.00% Conn: 1 Mbps: 1404.308 Peak Mbps: 1404.308 Avg Mbps: 1404.308 2000 174605292 1396.842 100.00% Conn: 1 Mbps: 1396.842 Peak Mbps: 1404.308 Avg Mbps: 1396.842 3000 174441712 1395.534 100.00% Conn: 1 Mbps: 1395.534 Peak Mbps: 1404.308 Avg Mbps: 1395.534 4000 174343564 1394.749 100.00% Conn: 1 Mbps: 1394.749 Peak Mbps: 1404.308 Avg Mbps: 1394.749 5000 174539860 1396.319 100.00% Conn: 1 Mbps: 1396.319 Peak Mbps: 1404.308 Avg Mbps: 1396.319 --- 169.254.1.12 tcpbench statistics --- 1047747042 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1394.749/1397.550/1404.308/3.453 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 173060756 1384.486 100.00% Conn: 1 Mbps: 1384.486 Peak Mbps: 1384.486 Avg Mbps: 1384.486 2000 171555912 1373.821 100.00% Conn: 1 Mbps: 1373.821 Peak Mbps: 1384.486 Avg Mbps: 1373.821 3000 169659544 1357.276 100.00% Conn: 1 Mbps: 1357.276 Peak Mbps: 1384.486 Avg Mbps: 1357.276 4000 171490520 1371.924 100.00% Conn: 1 Mbps: 1371.924 Peak Mbps: 1384.486 Avg Mbps: 1371.924 5000 171228952 1369.832 100.00% Conn: 1 Mbps: 1369.832 Peak Mbps: 1384.486 Avg Mbps: 1369.832 --- fc00:0:0:1::12 tcpbench statistics --- 1028061156 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1357.276/1371.468/1384.486/8.710 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.204 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.204/0.204/0.204/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.266 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.266/0.266/0.266/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 176602186 1412.817 100.00% Conn: 1 Mbps: 1412.817 Peak Mbps: 1412.817 Avg Mbps: 1412.817 2000 175161356 1401.291 100.00% Conn: 1 Mbps: 1401.291 Peak Mbps: 1412.817 Avg Mbps: 1401.291 3000 174965072 1399.721 100.00% Conn: 1 Mbps: 1399.721 Peak Mbps: 1412.817 Avg Mbps: 1399.721 4000 175292220 1402.338 100.00% Conn: 1 Mbps: 1402.338 Peak Mbps: 1412.817 Avg Mbps: 1402.338 5000 175128652 1401.029 100.00% Conn: 1 Mbps: 1401.029 Peak Mbps: 1412.817 Avg Mbps: 1401.029 --- 169.254.0.13 tcpbench statistics --- 1052179978 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1399.721/1403.439/1412.817/4.763 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 177475220 1419.802 100.00% Conn: 1 Mbps: 1419.802 Peak Mbps: 1419.802 Avg Mbps: 1419.802 2000 176460312 1411.682 100.00% Conn: 1 Mbps: 1411.682 Peak Mbps: 1419.802 Avg Mbps: 1411.682 3000 175806392 1406.451 100.00% Conn: 1 Mbps: 1406.451 Peak Mbps: 1419.802 Avg Mbps: 1406.451 4000 176198744 1409.590 100.00% Conn: 1 Mbps: 1409.590 Peak Mbps: 1419.802 Avg Mbps: 1409.590 5000 175937176 1407.497 100.00% Conn: 1 Mbps: 1407.497 Peak Mbps: 1419.802 Avg Mbps: 1407.497 --- fc00::13 tcpbench statistics --- 1057684236 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1406.451/1411.005/1419.802/4.752 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.63s