START sys/net/pair 2024-08-05T08:34:28Z ==== 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.206 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.206/0.206/0.206/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 109666504 877.332 100.00% Conn: 1 Mbps: 877.332 Peak Mbps: 877.332 Avg Mbps: 877.332 2000 109904944 879.240 100.00% Conn: 1 Mbps: 879.240 Peak Mbps: 879.240 Avg Mbps: 879.240 3000 109928788 879.430 100.00% Conn: 1 Mbps: 879.430 Peak Mbps: 879.430 Avg Mbps: 879.430 4000 109793672 878.349 100.00% Conn: 1 Mbps: 878.349 Peak Mbps: 879.430 Avg Mbps: 878.349 5000 109936736 880.374 100.00% Conn: 1 Mbps: 880.374 Peak Mbps: 880.374 Avg Mbps: 880.374 --- 169.254.1.11 tcpbench statistics --- 658920992 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 877.332/878.945/880.374/1.032 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 111039568 888.317 100.00% Conn: 1 Mbps: 888.317 Peak Mbps: 888.317 Avg Mbps: 888.317 2000 110413256 883.306 100.00% Conn: 1 Mbps: 883.306 Peak Mbps: 888.317 Avg Mbps: 883.306 3000 110690736 885.526 100.00% Conn: 1 Mbps: 885.526 Peak Mbps: 888.317 Avg Mbps: 885.526 4001 110999928 887.999 100.00% Conn: 1 Mbps: 887.999 Peak Mbps: 888.317 Avg Mbps: 887.999 5001 110151632 881.213 100.00% Conn: 1 Mbps: 881.213 Peak Mbps: 888.317 Avg Mbps: 881.213 --- fc00:0:0:1::11 tcpbench statistics --- 663145488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 881.213/885.272/888.317/2.724 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.298 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.298/0.298/0.298/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.700 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.700/0.700/0.700/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 40189240 321.514 100.00% Conn: 1 Mbps: 321.514 Peak Mbps: 321.514 Avg Mbps: 321.514 2001 40357208 322.858 100.00% Conn: 1 Mbps: 322.858 Peak Mbps: 322.858 Avg Mbps: 322.858 3002 40352864 322.500 100.00% Conn: 1 Mbps: 322.500 Peak Mbps: 322.858 Avg Mbps: 322.500 4003 40338384 322.707 100.00% Conn: 1 Mbps: 322.707 Peak Mbps: 322.858 Avg Mbps: 322.707 5003 40331144 322.649 100.00% Conn: 1 Mbps: 322.649 Peak Mbps: 322.858 Avg Mbps: 322.649 --- 169.254.1.12 tcpbench statistics --- 241789936 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 321.514/322.446/322.858/0.480 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 38364648 306.611 100.00% Conn: 1 Mbps: 306.611 Peak Mbps: 306.611 Avg Mbps: 306.611 2002 38761632 309.783 100.00% Conn: 1 Mbps: 309.783 Peak Mbps: 309.783 Avg Mbps: 309.783 3004 38665956 309.019 100.00% Conn: 1 Mbps: 309.019 Peak Mbps: 309.783 Avg Mbps: 309.019 4006 38925852 311.096 100.00% Conn: 1 Mbps: 311.096 Peak Mbps: 311.096 Avg Mbps: 311.096 5007 38913000 310.993 100.00% Conn: 1 Mbps: 310.993 Peak Mbps: 311.096 Avg Mbps: 310.993 --- fc00:0:0:1::12 tcpbench statistics --- 232201368 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 306.611/309.500/311.096/1.639 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.270 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.270/0.270/0.270/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.352 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.352/0.352/0.352/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 63019692 504.158 100.00% Conn: 1 Mbps: 504.158 Peak Mbps: 504.158 Avg Mbps: 504.158 2000 62177204 497.418 100.00% Conn: 1 Mbps: 497.418 Peak Mbps: 504.158 Avg Mbps: 497.418 3000 62820992 502.568 100.00% Conn: 1 Mbps: 502.568 Peak Mbps: 504.158 Avg Mbps: 502.568 4001 62590500 500.724 100.00% Conn: 1 Mbps: 500.724 Peak Mbps: 504.158 Avg Mbps: 500.724 5001 62630240 501.543 100.00% Conn: 1 Mbps: 501.543 Peak Mbps: 504.158 Avg Mbps: 501.543 --- 169.254.0.13 tcpbench statistics --- 375662220 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 497.418/501.282/504.158/2.247 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 62306152 498.449 100.00% Conn: 1 Mbps: 498.449 Peak Mbps: 498.449 Avg Mbps: 498.449 2000 61854256 495.329 100.00% Conn: 1 Mbps: 495.329 Peak Mbps: 498.449 Avg Mbps: 495.329 3000 61545064 492.361 100.00% Conn: 1 Mbps: 492.361 Peak Mbps: 498.449 Avg Mbps: 492.361 4000 62543992 500.352 100.00% Conn: 1 Mbps: 500.352 Peak Mbps: 500.352 Avg Mbps: 500.352 5000 62393360 499.647 100.00% Conn: 1 Mbps: 499.647 Peak Mbps: 500.352 Avg Mbps: 499.647 --- fc00::13 tcpbench statistics --- 372877624 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 492.361/497.228/500.352/2.980 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.226 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.226/0.226/0.226/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 1002 40363000 322.259 100.00% Conn: 1 Mbps: 322.259 Peak Mbps: 322.259 Avg Mbps: 322.259 2003 40533864 323.947 100.00% Conn: 1 Mbps: 323.947 Peak Mbps: 323.947 Avg Mbps: 323.947 3004 40564272 324.514 100.00% Conn: 1 Mbps: 324.514 Peak Mbps: 324.514 Avg Mbps: 324.514 4006 40438296 323.183 100.00% Conn: 1 Mbps: 323.183 Peak Mbps: 324.514 Avg Mbps: 323.183 5007 40517936 323.820 100.00% Conn: 1 Mbps: 323.820 Peak Mbps: 324.514 Avg Mbps: 323.820 --- 169.254.1.11 tcpbench statistics --- 242547240 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 322.259/323.545/324.514/0.769 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 1003 38778768 309.302 100.00% Conn: 1 Mbps: 309.302 Peak Mbps: 309.302 Avg Mbps: 309.302 2001 38663100 310.236 100.00% Conn: 1 Mbps: 310.236 Peak Mbps: 310.236 Avg Mbps: 310.236 3003 38785908 309.977 100.00% Conn: 1 Mbps: 309.977 Peak Mbps: 310.236 Avg Mbps: 309.977 4004 38875872 310.696 100.00% Conn: 1 Mbps: 310.696 Peak Mbps: 310.696 Avg Mbps: 310.696 5005 38830176 310.641 100.00% Conn: 1 Mbps: 310.641 Peak Mbps: 310.696 Avg Mbps: 310.641 --- fc00:0:0:1::11 tcpbench statistics --- 232649760 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 309.302/310.171/310.696/0.509 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.172 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.172/0.172/0.172/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.242 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.242/0.242/0.242/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 105867624 846.941 100.00% Conn: 1 Mbps: 846.941 Peak Mbps: 846.941 Avg Mbps: 846.941 2000 105466528 844.577 100.00% Conn: 1 Mbps: 844.577 Peak Mbps: 846.941 Avg Mbps: 844.577 3000 105757576 846.061 100.00% Conn: 1 Mbps: 846.061 Peak Mbps: 846.941 Avg Mbps: 846.061 4000 106432344 851.459 100.00% Conn: 1 Mbps: 851.459 Peak Mbps: 851.459 Avg Mbps: 851.459 5000 106477232 851.818 100.00% Conn: 1 Mbps: 851.818 Peak Mbps: 851.818 Avg Mbps: 851.818 --- 169.254.1.12 tcpbench statistics --- 636907144 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 844.577/848.171/851.818/2.932 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 104499612 835.997 100.00% Conn: 1 Mbps: 835.997 Peak Mbps: 835.997 Avg Mbps: 835.997 2000 104185452 833.484 100.00% Conn: 1 Mbps: 833.484 Peak Mbps: 835.997 Avg Mbps: 833.484 3000 104202588 834.455 100.00% Conn: 1 Mbps: 834.455 Peak Mbps: 835.997 Avg Mbps: 834.455 4000 104253996 834.867 100.00% Conn: 1 Mbps: 834.867 Peak Mbps: 835.997 Avg Mbps: 834.867 5000 105019404 840.155 100.00% Conn: 1 Mbps: 840.155 Peak Mbps: 840.155 Avg Mbps: 840.155 --- fc00:0:0:1::12 tcpbench statistics --- 626789184 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 833.484/835.792/840.155/2.326 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.206 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.206/0.206/0.206/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.265 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.265/0.265/0.265/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 185353990 1482.832 100.00% Conn: 1 Mbps: 1482.832 Peak Mbps: 1482.832 Avg Mbps: 1482.832 2000 184681712 1478.933 100.00% Conn: 1 Mbps: 1478.933 Peak Mbps: 1482.832 Avg Mbps: 1478.933 3000 184387268 1475.098 100.00% Conn: 1 Mbps: 1475.098 Peak Mbps: 1482.832 Avg Mbps: 1475.098 4000 184845292 1478.762 100.00% Conn: 1 Mbps: 1478.762 Peak Mbps: 1482.832 Avg Mbps: 1478.762 5000 184747144 1477.977 100.00% Conn: 1 Mbps: 1477.977 Peak Mbps: 1482.832 Avg Mbps: 1477.977 --- 169.254.0.13 tcpbench statistics --- 1108271810 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1475.098/1478.720/1482.832/2.475 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 172275260 1378.202 100.00% Conn: 1 Mbps: 1378.202 Peak Mbps: 1378.202 Avg Mbps: 1378.202 2000 170444248 1363.554 100.00% Conn: 1 Mbps: 1363.554 Peak Mbps: 1378.202 Avg Mbps: 1363.554 3000 170378856 1363.031 100.00% Conn: 1 Mbps: 1363.031 Peak Mbps: 1378.202 Avg Mbps: 1363.031 4000 170411552 1363.292 100.00% Conn: 1 Mbps: 1363.292 Peak Mbps: 1378.202 Avg Mbps: 1363.292 5000 170313464 1362.508 100.00% Conn: 1 Mbps: 1362.508 Peak Mbps: 1378.202 Avg Mbps: 1362.508 --- fc00::13 tcpbench statistics --- 1023875276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1362.508/1366.117/1378.202/6.052 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.240 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.240/0.240/0.240/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.294 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.294/0.294/0.294/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 40063264 319.866 100.00% Conn: 1 Mbps: 319.866 Peak Mbps: 319.866 Avg Mbps: 319.866 2002 40200824 321.929 100.00% Conn: 1 Mbps: 321.929 Peak Mbps: 321.929 Avg Mbps: 321.929 3002 40141456 321.453 100.00% Conn: 1 Mbps: 321.453 Peak Mbps: 321.929 Avg Mbps: 321.453 4003 40252952 321.702 100.00% Conn: 1 Mbps: 321.702 Peak Mbps: 321.929 Avg Mbps: 321.702 5003 40205168 321.963 100.00% Conn: 1 Mbps: 321.963 Peak Mbps: 321.963 Avg Mbps: 321.963 --- 169.254.1.11 tcpbench statistics --- 240876248 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 319.866/321.383/321.963/0.780 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 1001 64600928 516.291 100.00% Conn: 1 Mbps: 516.291 Peak Mbps: 516.291 Avg Mbps: 516.291 2002 63762936 510.103 100.00% Conn: 1 Mbps: 510.103 Peak Mbps: 516.291 Avg Mbps: 510.103 3002 63941768 511.534 100.00% Conn: 1 Mbps: 511.534 Peak Mbps: 516.291 Avg Mbps: 511.534 4005 63685344 508.466 100.00% Conn: 1 Mbps: 508.466 Peak Mbps: 516.291 Avg Mbps: 508.466 5009 63766728 508.608 100.00% Conn: 1 Mbps: 508.608 Peak Mbps: 516.291 Avg Mbps: 508.608 --- fc00:0:0:1::11 tcpbench statistics --- 383011488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 508.466/511.001/516.291/2.872 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.200 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.200/0.200/0.200/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.266 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.266/0.266/0.266/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 179939088 1439.513 100.00% Conn: 1 Mbps: 1439.513 Peak Mbps: 1439.513 Avg Mbps: 1439.513 2000 178629264 1430.465 100.00% Conn: 1 Mbps: 1430.465 Peak Mbps: 1439.513 Avg Mbps: 1430.465 3000 178432956 1427.464 100.00% Conn: 1 Mbps: 1427.464 Peak Mbps: 1439.513 Avg Mbps: 1427.464 4000 178629252 1429.034 100.00% Conn: 1 Mbps: 1429.034 Peak Mbps: 1439.513 Avg Mbps: 1429.034 5000 178596548 1428.772 100.00% Conn: 1 Mbps: 1428.772 Peak Mbps: 1439.513 Avg Mbps: 1428.772 --- 169.254.1.12 tcpbench statistics --- 1071220656 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1427.464/1431.049/1439.513/4.338 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 173092732 1384.742 100.00% Conn: 1 Mbps: 1384.742 Peak Mbps: 1384.742 Avg Mbps: 1384.742 2000 171392432 1371.139 100.00% Conn: 1 Mbps: 1371.139 Peak Mbps: 1384.742 Avg Mbps: 1371.139 3000 171425128 1371.401 100.00% Conn: 1 Mbps: 1371.401 Peak Mbps: 1384.742 Avg Mbps: 1371.401 4000 171359736 1370.878 100.00% Conn: 1 Mbps: 1370.878 Peak Mbps: 1384.742 Avg Mbps: 1370.878 5000 171425128 1371.401 100.00% Conn: 1 Mbps: 1371.401 Peak Mbps: 1384.742 Avg Mbps: 1371.401 --- fc00:0:0:1::12 tcpbench statistics --- 1029793324 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1370.878/1373.912/1384.742/5.418 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.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-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.244 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.244/0.244/0.244/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 185565186 1484.521 100.00% Conn: 1 Mbps: 1484.521 Peak Mbps: 1484.521 Avg Mbps: 1484.521 2000 184387268 1476.575 100.00% Conn: 1 Mbps: 1476.575 Peak Mbps: 1484.521 Avg Mbps: 1476.575 3000 184289120 1474.313 100.00% Conn: 1 Mbps: 1474.313 Peak Mbps: 1484.521 Avg Mbps: 1474.313 4000 184060108 1472.481 100.00% Conn: 1 Mbps: 1472.481 Peak Mbps: 1484.521 Avg Mbps: 1472.481 5000 184158256 1473.266 100.00% Conn: 1 Mbps: 1473.266 Peak Mbps: 1484.521 Avg Mbps: 1473.266 --- 169.254.0.13 tcpbench statistics --- 1106454614 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1472.481/1476.231/1484.521/4.368 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 183344764 1466.758 100.00% Conn: 1 Mbps: 1466.758 Peak Mbps: 1466.758 Avg Mbps: 1466.758 2000 182149416 1458.654 100.00% Conn: 1 Mbps: 1458.654 Peak Mbps: 1466.758 Avg Mbps: 1458.654 3000 181985936 1455.887 100.00% Conn: 1 Mbps: 1455.887 Peak Mbps: 1466.758 Avg Mbps: 1455.887 4000 182541768 1460.334 100.00% Conn: 1 Mbps: 1460.334 Peak Mbps: 1466.758 Avg Mbps: 1460.334 5000 182312896 1458.503 100.00% Conn: 1 Mbps: 1458.503 Peak Mbps: 1466.758 Avg Mbps: 1458.503 --- fc00::13 tcpbench statistics --- 1094222628 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1455.887/1460.027/1466.758/3.654 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.19s