START sys/net/pair 2024-06-15T09:43:38Z ==== 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.188 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.188/0.188/0.188/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.238 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.238/0.238/0.238/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 111462752 891.702 100.00% Conn: 1 Mbps: 891.702 Peak Mbps: 891.702 Avg Mbps: 891.702 2000 111144832 890.049 100.00% Conn: 1 Mbps: 890.049 Peak Mbps: 891.702 Avg Mbps: 890.049 3000 110795120 886.361 100.00% Conn: 1 Mbps: 886.361 Peak Mbps: 891.702 Avg Mbps: 886.361 4000 111375324 891.003 100.00% Conn: 1 Mbps: 891.003 Peak Mbps: 891.702 Avg Mbps: 891.003 5000 110588472 884.708 100.00% Conn: 1 Mbps: 884.708 Peak Mbps: 891.702 Avg Mbps: 884.708 --- 169.254.1.11 tcpbench statistics --- 666566968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 884.708/888.764/891.702/2.739 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 112141560 897.132 100.00% Conn: 1 Mbps: 897.132 Peak Mbps: 897.132 Avg Mbps: 897.132 2000 111269480 890.156 100.00% Conn: 1 Mbps: 890.156 Peak Mbps: 897.132 Avg Mbps: 890.156 3000 111491464 891.932 100.00% Conn: 1 Mbps: 891.932 Peak Mbps: 897.132 Avg Mbps: 891.932 4000 111768944 894.152 100.00% Conn: 1 Mbps: 894.152 Peak Mbps: 897.132 Avg Mbps: 894.152 5000 111515248 893.015 100.00% Conn: 1 Mbps: 893.015 Peak Mbps: 897.132 Avg Mbps: 893.015 --- fc00:0:0:1::11 tcpbench statistics --- 669598880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 890.156/893.277/897.132/2.335 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.306 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.306/0.306/0.306/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.634 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.634/0.634/0.634/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 40444088 323.229 100.00% Conn: 1 Mbps: 323.229 Peak Mbps: 323.229 Avg Mbps: 323.229 2003 40633776 324.745 100.00% Conn: 1 Mbps: 324.745 Peak Mbps: 324.745 Avg Mbps: 324.745 3005 40742376 325.288 100.00% Conn: 1 Mbps: 325.288 Peak Mbps: 325.288 Avg Mbps: 325.288 4005 40612056 325.222 100.00% Conn: 1 Mbps: 325.222 Peak Mbps: 325.288 Avg Mbps: 325.222 5006 40706176 325.324 100.00% Conn: 1 Mbps: 325.324 Peak Mbps: 325.324 Avg Mbps: 325.324 --- 169.254.1.12 tcpbench statistics --- 243524640 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 323.229/324.762/325.324/0.794 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 39091500 312.732 100.00% Conn: 1 Mbps: 312.732 Peak Mbps: 312.732 Avg Mbps: 312.732 2001 39265716 314.126 100.00% Conn: 1 Mbps: 314.126 Peak Mbps: 314.126 Avg Mbps: 314.126 3002 39399948 315.200 100.00% Conn: 1 Mbps: 315.200 Peak Mbps: 315.200 Avg Mbps: 315.200 4003 39322836 314.583 100.00% Conn: 1 Mbps: 314.583 Peak Mbps: 315.200 Avg Mbps: 314.583 5004 39419940 315.044 100.00% Conn: 1 Mbps: 315.044 Peak Mbps: 315.200 Avg Mbps: 315.044 --- fc00:0:0:1::12 tcpbench statistics --- 235884180 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 312.732/314.337/315.200/0.886 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.282 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.282/0.282/0.282/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.349 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.349/0.349/0.349/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 63623740 508.990 100.00% Conn: 1 Mbps: 508.990 Peak Mbps: 508.990 Avg Mbps: 508.990 2000 63210444 505.684 100.00% Conn: 1 Mbps: 505.684 Peak Mbps: 508.990 Avg Mbps: 505.684 3000 63313768 506.510 100.00% Conn: 1 Mbps: 506.510 Peak Mbps: 508.990 Avg Mbps: 506.510 4000 62789200 502.314 100.00% Conn: 1 Mbps: 502.314 Peak Mbps: 508.990 Avg Mbps: 502.314 5000 63019692 504.158 100.00% Conn: 1 Mbps: 504.158 Peak Mbps: 508.990 Avg Mbps: 504.158 --- 169.254.0.13 tcpbench statistics --- 378650668 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 502.314/505.531/508.990/2.244 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 60815688 486.526 100.00% Conn: 1 Mbps: 486.526 Peak Mbps: 486.526 Avg Mbps: 486.526 2000 60561992 484.496 100.00% Conn: 1 Mbps: 484.496 Peak Mbps: 486.526 Avg Mbps: 484.496 3000 60688840 485.511 100.00% Conn: 1 Mbps: 485.511 Peak Mbps: 486.526 Avg Mbps: 485.511 4001 60791904 486.335 100.00% Conn: 1 Mbps: 486.335 Peak Mbps: 486.526 Avg Mbps: 486.335 5001 60641272 485.616 100.00% Conn: 1 Mbps: 485.616 Peak Mbps: 486.526 Avg Mbps: 485.616 --- fc00::13 tcpbench statistics --- 364172680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 484.496/485.697/486.526/0.718 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.267 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.267/0.267/0.267/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 40404992 322.917 100.00% Conn: 1 Mbps: 322.917 Peak Mbps: 322.917 Avg Mbps: 322.917 2001 40504904 324.039 100.00% Conn: 1 Mbps: 324.039 Peak Mbps: 324.039 Avg Mbps: 324.039 3002 40593232 324.746 100.00% Conn: 1 Mbps: 324.746 Peak Mbps: 324.746 Avg Mbps: 324.746 4003 40630880 324.722 100.00% Conn: 1 Mbps: 324.722 Peak Mbps: 324.746 Avg Mbps: 324.722 5004 40533864 324.271 100.00% Conn: 1 Mbps: 324.271 Peak Mbps: 324.746 Avg Mbps: 324.271 --- 169.254.1.11 tcpbench statistics --- 243054040 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 322.917/324.139/324.746/0.668 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 39037236 311.986 100.00% Conn: 1 Mbps: 311.986 Peak Mbps: 311.986 Avg Mbps: 311.986 2003 39062940 312.191 100.00% Conn: 1 Mbps: 312.191 Peak Mbps: 312.191 Avg Mbps: 312.191 3004 39387096 314.782 100.00% Conn: 1 Mbps: 314.782 Peak Mbps: 314.782 Avg Mbps: 314.782 4004 39367104 315.252 100.00% Conn: 1 Mbps: 315.252 Peak Mbps: 315.252 Avg Mbps: 315.252 5006 39651276 316.893 100.00% Conn: 1 Mbps: 316.893 Peak Mbps: 316.893 Avg Mbps: 316.893 --- fc00:0:0:1::11 tcpbench statistics --- 235802784 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 311.986/314.221/316.893/1.878 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.171 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.171/0.171/0.171/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.236 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.236/0.236/0.236/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 107939712 863.518 100.00% Conn: 1 Mbps: 863.518 Peak Mbps: 863.518 Avg Mbps: 863.518 2000 108381352 867.051 100.00% Conn: 1 Mbps: 867.051 Peak Mbps: 867.051 Avg Mbps: 867.051 3000 109069152 872.553 100.00% Conn: 1 Mbps: 872.553 Peak Mbps: 872.553 Avg Mbps: 872.553 4000 108691224 870.400 100.00% Conn: 1 Mbps: 870.400 Peak Mbps: 872.553 Avg Mbps: 870.400 5001 108888152 871.105 100.00% Conn: 1 Mbps: 871.105 Peak Mbps: 872.553 Avg Mbps: 871.105 --- 169.254.1.12 tcpbench statistics --- 651530496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 863.518/868.925/872.553/3.251 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 106244628 849.957 100.00% Conn: 1 Mbps: 849.957 Peak Mbps: 849.957 Avg Mbps: 849.957 2000 106650180 853.201 100.00% Conn: 1 Mbps: 853.201 Peak Mbps: 853.201 Avg Mbps: 853.201 3000 106668744 853.350 100.00% Conn: 1 Mbps: 853.350 Peak Mbps: 853.350 Avg Mbps: 853.350 4001 106661604 853.293 100.00% Conn: 1 Mbps: 853.293 Peak Mbps: 853.350 Avg Mbps: 853.293 5001 105906192 847.250 100.00% Conn: 1 Mbps: 847.250 Peak Mbps: 853.350 Avg Mbps: 847.250 --- fc00:0:0:1::12 tcpbench statistics --- 638348844 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 847.250/851.410/853.350/2.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.205 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.205/0.205/0.205/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.249 ms --- fc00::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-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 181182478 1449.460 100.00% Conn: 1 Mbps: 1449.460 Peak Mbps: 1449.460 Avg Mbps: 1449.460 2000 179610732 1438.324 100.00% Conn: 1 Mbps: 1438.324 Peak Mbps: 1449.460 Avg Mbps: 1438.324 3000 179610732 1438.324 100.00% Conn: 1 Mbps: 1438.324 Peak Mbps: 1449.460 Avg Mbps: 1438.324 4000 179905188 1439.242 100.00% Conn: 1 Mbps: 1439.242 Peak Mbps: 1449.460 Avg Mbps: 1439.242 5000 179839744 1438.718 100.00% Conn: 1 Mbps: 1438.718 Peak Mbps: 1449.460 Avg Mbps: 1438.718 --- 169.254.0.13 tcpbench statistics --- 1079694174 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1438.324/1440.814/1449.460/4.336 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 182052084 1456.417 100.00% Conn: 1 Mbps: 1456.417 Peak Mbps: 1456.417 Avg Mbps: 1456.417 2000 180383832 1444.515 100.00% Conn: 1 Mbps: 1444.515 Peak Mbps: 1456.417 Avg Mbps: 1444.515 3000 180481920 1443.855 100.00% Conn: 1 Mbps: 1443.855 Peak Mbps: 1456.417 Avg Mbps: 1443.855 4000 180383832 1443.071 100.00% Conn: 1 Mbps: 1443.071 Peak Mbps: 1456.417 Avg Mbps: 1443.071 5000 180645400 1445.163 100.00% Conn: 1 Mbps: 1445.163 Peak Mbps: 1456.417 Avg Mbps: 1445.163 --- fc00::13 tcpbench statistics --- 1084559772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1443.071/1446.604/1456.417/4.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.236 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.236/0.236/0.236/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.290 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.290/0.290/0.290/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 40109600 320.877 100.00% Conn: 1 Mbps: 320.877 Peak Mbps: 320.877 Avg Mbps: 320.877 2002 40277568 321.899 100.00% Conn: 1 Mbps: 321.899 Peak Mbps: 321.899 Avg Mbps: 321.899 3003 40237024 321.896 100.00% Conn: 1 Mbps: 321.896 Peak Mbps: 321.899 Avg Mbps: 321.896 4003 40171864 321.375 100.00% Conn: 1 Mbps: 321.375 Peak Mbps: 321.899 Avg Mbps: 321.375 5006 40241368 321.288 100.00% Conn: 1 Mbps: 321.288 Peak Mbps: 321.899 Avg Mbps: 321.288 --- 169.254.1.11 tcpbench statistics --- 240964576 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 320.877/321.467/321.899/0.390 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 65902336 526.692 100.00% Conn: 1 Mbps: 526.692 Peak Mbps: 526.692 Avg Mbps: 526.692 2006 64748632 515.925 100.00% Conn: 1 Mbps: 515.925 Peak Mbps: 526.692 Avg Mbps: 515.925 3008 64799664 517.363 100.00% Conn: 1 Mbps: 517.363 Peak Mbps: 526.692 Avg Mbps: 517.363 4008 64553160 516.942 100.00% Conn: 1 Mbps: 516.942 Peak Mbps: 526.692 Avg Mbps: 516.942 5009 64248072 513.471 100.00% Conn: 1 Mbps: 513.471 Peak Mbps: 526.692 Avg Mbps: 513.471 --- fc00:0:0:1::11 tcpbench statistics --- 388006792 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 513.471/518.079/526.692/4.514 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.206 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.206/0.206/0.206/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.258 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.258/0.258/0.258/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 181509106 1452.073 100.00% Conn: 1 Mbps: 1452.073 Peak Mbps: 1452.073 Avg Mbps: 1452.073 2000 179872472 1440.420 100.00% Conn: 1 Mbps: 1440.420 Peak Mbps: 1452.073 Avg Mbps: 1440.420 3000 180036040 1440.288 100.00% Conn: 1 Mbps: 1440.288 Peak Mbps: 1452.073 Avg Mbps: 1440.288 4000 180068756 1440.550 100.00% Conn: 1 Mbps: 1440.550 Peak Mbps: 1452.073 Avg Mbps: 1440.550 5000 180003324 1440.027 100.00% Conn: 1 Mbps: 1440.027 Peak Mbps: 1452.073 Avg Mbps: 1440.027 --- 169.254.1.12 tcpbench statistics --- 1081623898 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1440.027/1442.672/1452.073/4.704 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 179666716 1437.334 100.00% Conn: 1 Mbps: 1437.334 Peak Mbps: 1437.334 Avg Mbps: 1437.334 2000 178814424 1431.947 100.00% Conn: 1 Mbps: 1431.947 Peak Mbps: 1437.334 Avg Mbps: 1431.947 3000 179239472 1433.916 100.00% Conn: 1 Mbps: 1433.916 Peak Mbps: 1437.334 Avg Mbps: 1433.916 4000 180449224 1443.594 100.00% Conn: 1 Mbps: 1443.594 Peak Mbps: 1443.594 Avg Mbps: 1443.594 5000 180383832 1443.071 100.00% Conn: 1 Mbps: 1443.071 Peak Mbps: 1443.594 Avg Mbps: 1443.071 --- fc00:0:0:1::12 tcpbench statistics --- 1078218188 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1431.947/1437.972/1443.594/4.707 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.194 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.194/0.194/0.194/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.237 ms --- fc00::13 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-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 191404862 1531.239 100.00% Conn: 1 Mbps: 1531.239 Peak Mbps: 1531.239 Avg Mbps: 1531.239 2000 190570592 1526.091 100.00% Conn: 1 Mbps: 1526.091 Peak Mbps: 1531.239 Avg Mbps: 1526.091 3000 190308852 1522.471 100.00% Conn: 1 Mbps: 1522.471 Peak Mbps: 1531.239 Avg Mbps: 1522.471 4000 190505160 1524.041 100.00% Conn: 1 Mbps: 1524.041 Peak Mbps: 1531.239 Avg Mbps: 1524.041 5000 190243432 1521.947 100.00% Conn: 1 Mbps: 1521.947 Peak Mbps: 1531.239 Avg Mbps: 1521.947 --- 169.254.0.13 tcpbench statistics --- 1142949170 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1521.947/1525.158/1531.239/3.365 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 187577276 1500.618 100.00% Conn: 1 Mbps: 1500.618 Peak Mbps: 1500.618 Avg Mbps: 1500.618 2000 185876760 1488.503 100.00% Conn: 1 Mbps: 1488.503 Peak Mbps: 1500.618 Avg Mbps: 1488.503 3000 185778672 1486.229 100.00% Conn: 1 Mbps: 1486.229 Peak Mbps: 1500.618 Avg Mbps: 1486.229 4000 185484408 1483.875 100.00% Conn: 1 Mbps: 1483.875 Peak Mbps: 1500.618 Avg Mbps: 1483.875 5000 185320928 1482.567 100.00% Conn: 1 Mbps: 1482.567 Peak Mbps: 1500.618 Avg Mbps: 1482.567 --- fc00::13 tcpbench statistics --- 1115195492 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1482.567/1488.359/1500.618/6.457 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.29s