START sys/net/pair 2024-03-25T02:53: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.037 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.037/0.037/0.037/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.041 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.041/0.041/0.041/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 936854604 7494.837 100.00% Conn: 1 Mbps: 7494.837 Peak Mbps: 7494.837 Avg Mbps: 7494.837 2000 935495496 7491.455 100.00% Conn: 1 Mbps: 7491.455 Peak Mbps: 7494.837 Avg Mbps: 7491.455 3000 934788124 7478.305 100.00% Conn: 1 Mbps: 7478.305 Peak Mbps: 7494.837 Avg Mbps: 7478.305 4000 934939136 7479.513 100.00% Conn: 1 Mbps: 7479.513 Peak Mbps: 7494.837 Avg Mbps: 7479.513 5000 934589424 7476.715 100.00% Conn: 1 Mbps: 7476.715 Peak Mbps: 7494.837 Avg Mbps: 7476.715 --- 169.254.1.11 tcpbench statistics --- 5612472252 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7476.715/7484.165/7494.837/7.463 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 951486848 7611.895 100.00% Conn: 1 Mbps: 7611.895 Peak Mbps: 7611.895 Avg Mbps: 7611.895 2000 950781256 7613.864 100.00% Conn: 1 Mbps: 7613.864 Peak Mbps: 7613.864 Avg Mbps: 7613.864 3000 950630624 7605.045 100.00% Conn: 1 Mbps: 7605.045 Peak Mbps: 7613.864 Avg Mbps: 7605.045 4000 950567200 7604.538 100.00% Conn: 1 Mbps: 7604.538 Peak Mbps: 7613.864 Avg Mbps: 7604.538 5000 950979456 7607.836 100.00% Conn: 1 Mbps: 7607.836 Peak Mbps: 7613.864 Avg Mbps: 7607.836 --- fc00:0:0:1::11 tcpbench statistics --- 5703434912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7604.538/7608.635/7613.864/3.695 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.061 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.061/0.061/0.061/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.119 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.119/0.119/0.119/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 283478592 2267.829 100.00% Conn: 1 Mbps: 2267.829 Peak Mbps: 2267.829 Avg Mbps: 2267.829 2001 284141096 2273.129 100.00% Conn: 1 Mbps: 2273.129 Peak Mbps: 2273.129 Avg Mbps: 2273.129 3001 284161976 2273.296 100.00% Conn: 1 Mbps: 2273.296 Peak Mbps: 2273.296 Avg Mbps: 2273.296 4002 284303328 2274.427 100.00% Conn: 1 Mbps: 2274.427 Peak Mbps: 2274.427 Avg Mbps: 2274.427 5002 284276648 2274.213 100.00% Conn: 1 Mbps: 2274.213 Peak Mbps: 2274.427 Avg Mbps: 2274.213 --- 169.254.1.12 tcpbench statistics --- 1705945608 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2267.829/2272.579/2274.427/2.428 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 272288260 2178.306 100.00% Conn: 1 Mbps: 2178.306 Peak Mbps: 2178.306 Avg Mbps: 2178.306 2000 274648188 2197.186 100.00% Conn: 1 Mbps: 2197.186 Peak Mbps: 2197.186 Avg Mbps: 2197.186 3000 275472992 2205.990 100.00% Conn: 1 Mbps: 2205.990 Peak Mbps: 2205.990 Avg Mbps: 2205.990 4001 275582156 2204.657 100.00% Conn: 1 Mbps: 2204.657 Peak Mbps: 2205.990 Avg Mbps: 2204.657 5002 275696368 2205.571 100.00% Conn: 1 Mbps: 2205.571 Peak Mbps: 2205.990 Avg Mbps: 2205.571 --- fc00:0:0:1::12 tcpbench statistics --- 1648448412 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2178.306/2198.342/2205.990/10.521 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.055 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.055/0.055/0.055/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.062 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.062/0.062/0.062/0.000 ms ==== run-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 444801872 3558.415 100.00% Conn: 1 Mbps: 3558.415 Peak Mbps: 3558.415 Avg Mbps: 3558.415 2000 445048260 3560.386 100.00% Conn: 1 Mbps: 3560.386 Peak Mbps: 3560.386 Avg Mbps: 3560.386 3000 444611120 3556.889 100.00% Conn: 1 Mbps: 3556.889 Peak Mbps: 3560.386 Avg Mbps: 3556.889 4000 445755632 3566.045 100.00% Conn: 1 Mbps: 3566.045 Peak Mbps: 3566.045 Avg Mbps: 3566.045 5000 445119792 3560.958 100.00% Conn: 1 Mbps: 3560.958 Peak Mbps: 3566.045 Avg Mbps: 3560.958 --- 169.254.0.13 tcpbench statistics --- 2670019328 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3556.889/3560.539/3566.045/3.110 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 406785680 3254.285 100.00% Conn: 1 Mbps: 3254.285 Peak Mbps: 3254.285 Avg Mbps: 3254.285 2000 407554696 3263.701 100.00% Conn: 1 Mbps: 3263.701 Peak Mbps: 3263.701 Avg Mbps: 3263.701 3000 407840104 3262.721 100.00% Conn: 1 Mbps: 3262.721 Peak Mbps: 3263.701 Avg Mbps: 3262.721 4000 408022448 3264.180 100.00% Conn: 1 Mbps: 3264.180 Peak Mbps: 3264.180 Avg Mbps: 3264.180 5000 408593264 3272.018 100.00% Conn: 1 Mbps: 3272.018 Peak Mbps: 3272.018 Avg Mbps: 3272.018 --- fc00::13 tcpbench statistics --- 2446779000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3254.285/3263.381/3272.018/5.630 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.040 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.040/0.040/0.040/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.049 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.049/0.049/0.049/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 1000 285271896 2282.175 100.00% Conn: 1 Mbps: 2282.175 Peak Mbps: 2282.175 Avg Mbps: 2282.175 2000 285491192 2286.216 100.00% Conn: 1 Mbps: 2286.216 Peak Mbps: 2286.216 Avg Mbps: 2286.216 3000 285798720 2286.390 100.00% Conn: 1 Mbps: 2286.390 Peak Mbps: 2286.390 Avg Mbps: 2286.390 4000 285870392 2286.963 100.00% Conn: 1 Mbps: 2286.963 Peak Mbps: 2286.963 Avg Mbps: 2286.963 5000 285467904 2286.029 100.00% Conn: 1 Mbps: 2286.029 Peak Mbps: 2286.963 Avg Mbps: 2286.029 --- 169.254.1.11 tcpbench statistics --- 1713382040 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2282.175/2285.555/2286.963/1.718 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 275708192 2205.666 100.00% Conn: 1 Mbps: 2205.666 Peak Mbps: 2205.666 Avg Mbps: 2205.666 2000 275994764 2207.958 100.00% Conn: 1 Mbps: 2207.958 Peak Mbps: 2207.958 Avg Mbps: 2207.958 3000 275937108 2207.497 100.00% Conn: 1 Mbps: 2207.497 Peak Mbps: 2207.958 Avg Mbps: 2207.497 4001 276092704 2208.742 100.00% Conn: 1 Mbps: 2208.742 Peak Mbps: 2208.742 Avg Mbps: 2208.742 5001 275569052 2204.552 100.00% Conn: 1 Mbps: 2204.552 Peak Mbps: 2208.742 Avg Mbps: 2204.552 --- fc00:0:0:1::11 tcpbench statistics --- 1654595324 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2204.552/2206.883/2208.742/1.543 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.036 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.036/0.036/0.036/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.044 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.044/0.044/0.044/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 934340824 7474.727 100.00% Conn: 1 Mbps: 7474.727 Peak Mbps: 7474.727 Avg Mbps: 7474.727 2000 939901144 7526.736 100.00% Conn: 1 Mbps: 7526.736 Peak Mbps: 7526.736 Avg Mbps: 7526.736 3000 940196536 7521.572 100.00% Conn: 1 Mbps: 7521.572 Peak Mbps: 7526.736 Avg Mbps: 7521.572 4000 939933000 7519.464 100.00% Conn: 1 Mbps: 7519.464 Peak Mbps: 7526.736 Avg Mbps: 7519.464 5000 940279072 7522.233 100.00% Conn: 1 Mbps: 7522.233 Peak Mbps: 7526.736 Avg Mbps: 7522.233 --- 169.254.1.12 tcpbench statistics --- 5635566768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7474.727/7512.946/7526.736/19.256 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 952278936 7618.231 100.00% Conn: 1 Mbps: 7618.231 Peak Mbps: 7618.231 Avg Mbps: 7618.231 2000 950383980 7610.683 100.00% Conn: 1 Mbps: 7610.683 Peak Mbps: 7618.231 Avg Mbps: 7610.683 3000 949175892 7593.407 100.00% Conn: 1 Mbps: 7593.407 Peak Mbps: 7618.231 Avg Mbps: 7593.407 4000 948434760 7587.478 100.00% Conn: 1 Mbps: 7587.478 Peak Mbps: 7618.231 Avg Mbps: 7587.478 5000 949814208 7606.120 100.00% Conn: 1 Mbps: 7606.120 Peak Mbps: 7618.231 Avg Mbps: 7606.120 --- fc00:0:0:1::12 tcpbench statistics --- 5698115556 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7587.478/7603.184/7618.231/11.256 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.041 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.041/0.041/0.041/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.045 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-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 1383501894 11068.015 100.00% Conn: 1 Mbps: 11068.015 Peak Mbps: 11068.015 Avg Mbps: 11068.015 2000 1406820716 11265.832 100.00% Conn: 1 Mbps: 11265.832 Peak Mbps: 11265.832 Avg Mbps: 11265.832 3000 1397889248 11183.114 100.00% Conn: 1 Mbps: 11183.114 Peak Mbps: 11265.832 Avg Mbps: 11183.114 4000 1397921964 11183.376 100.00% Conn: 1 Mbps: 11183.376 Peak Mbps: 11265.832 Avg Mbps: 11183.376 5000 1402927512 11223.420 100.00% Conn: 1 Mbps: 11223.420 Peak Mbps: 11265.832 Avg Mbps: 11223.420 --- 169.254.0.13 tcpbench statistics --- 8377528374 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11068.015/11184.751/11265.832/65.880 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 1326561628 10612.493 100.00% Conn: 1 Mbps: 10612.493 Peak Mbps: 10612.493 Avg Mbps: 10612.493 2000 1317125664 10547.553 100.00% Conn: 1 Mbps: 10547.553 Peak Mbps: 10612.493 Avg Mbps: 10547.553 3000 1359793944 10878.352 100.00% Conn: 1 Mbps: 10878.352 Peak Mbps: 10878.352 Avg Mbps: 10878.352 4000 1317092968 10536.744 100.00% Conn: 1 Mbps: 10536.744 Peak Mbps: 10878.352 Avg Mbps: 10536.744 5000 1350966024 10807.728 100.00% Conn: 1 Mbps: 10807.728 Peak Mbps: 10878.352 Avg Mbps: 10807.728 --- fc00::13 tcpbench statistics --- 8003084828 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10536.744/10676.574/10878.352/140.158 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.046 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.046/0.046/0.046/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.051 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.051/0.051/0.051/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 281757608 2254.061 100.00% Conn: 1 Mbps: 2254.061 Peak Mbps: 2254.061 Avg Mbps: 2254.061 2000 281863456 2254.908 100.00% Conn: 1 Mbps: 2254.908 Peak Mbps: 2254.908 Avg Mbps: 2254.908 3000 281686408 2255.747 100.00% Conn: 1 Mbps: 2255.747 Peak Mbps: 2255.747 Avg Mbps: 2255.747 4001 281925776 2255.406 100.00% Conn: 1 Mbps: 2255.406 Peak Mbps: 2255.747 Avg Mbps: 2255.406 5000 281438576 2253.762 100.00% Conn: 1 Mbps: 2253.762 Peak Mbps: 2255.747 Avg Mbps: 2253.762 --- 169.254.1.11 tcpbench statistics --- 1689996680 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2253.762/2254.777/2255.747/0.761 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 433013536 3464.108 100.00% Conn: 1 Mbps: 3464.108 Peak Mbps: 3464.108 Avg Mbps: 3464.108 2001 431071296 3448.570 100.00% Conn: 1 Mbps: 3448.570 Peak Mbps: 3464.108 Avg Mbps: 3448.570 3000 430849800 3450.249 100.00% Conn: 1 Mbps: 3450.249 Peak Mbps: 3464.108 Avg Mbps: 3450.249 4001 430830176 3446.641 100.00% Conn: 1 Mbps: 3446.641 Peak Mbps: 3464.108 Avg Mbps: 3446.641 5001 431650304 3453.202 100.00% Conn: 1 Mbps: 3453.202 Peak Mbps: 3464.108 Avg Mbps: 3453.202 --- fc00:0:0:1::11 tcpbench statistics --- 2588014280 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3446.641/3452.554/3464.108/6.165 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.043 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.043/0.043/0.043/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.044 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.044/0.044/0.044/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 1374240602 10993.925 100.00% Conn: 1 Mbps: 10993.925 Peak Mbps: 10993.925 Avg Mbps: 10993.925 2000 1402207760 11228.891 100.00% Conn: 1 Mbps: 11228.891 Peak Mbps: 11228.891 Avg Mbps: 11228.891 3000 1399361468 11194.892 100.00% Conn: 1 Mbps: 11194.892 Peak Mbps: 11228.891 Avg Mbps: 11194.892 4000 1387976300 11103.810 100.00% Conn: 1 Mbps: 11103.810 Peak Mbps: 11228.891 Avg Mbps: 11103.810 5000 1397594804 11180.758 100.00% Conn: 1 Mbps: 11180.758 Peak Mbps: 11228.891 Avg Mbps: 11180.758 --- 169.254.1.12 tcpbench statistics --- 8346183782 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10993.925/11140.455/11228.891/83.932 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 1344123916 10752.991 100.00% Conn: 1 Mbps: 10752.991 Peak Mbps: 10752.991 Avg Mbps: 10752.991 2000 1362049968 10907.307 100.00% Conn: 1 Mbps: 10907.307 Peak Mbps: 10907.307 Avg Mbps: 10907.307 3000 1319643256 10557.146 100.00% Conn: 1 Mbps: 10557.146 Peak Mbps: 10907.307 Avg Mbps: 10557.146 4000 1301496976 10411.976 100.00% Conn: 1 Mbps: 10411.976 Peak Mbps: 10907.307 Avg Mbps: 10411.976 5000 1353385528 10827.084 100.00% Conn: 1 Mbps: 10827.084 Peak Mbps: 10907.307 Avg Mbps: 10827.084 --- fc00:0:0:1::12 tcpbench statistics --- 8036537372 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10411.976/10691.301/10907.307/181.616 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.038 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.038/0.038/0.038/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.042 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/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 1406326130 11250.609 100.00% Conn: 1 Mbps: 11250.609 Peak Mbps: 11250.609 Avg Mbps: 11250.609 2000 1414836136 11330.019 100.00% Conn: 1 Mbps: 11330.019 Peak Mbps: 11330.019 Avg Mbps: 11330.019 3000 1410419476 11283.356 100.00% Conn: 1 Mbps: 11283.356 Peak Mbps: 11330.019 Avg Mbps: 11283.356 4000 1413821940 11310.576 100.00% Conn: 1 Mbps: 11310.576 Peak Mbps: 11330.019 Avg Mbps: 11310.576 5000 1417158972 11337.272 100.00% Conn: 1 Mbps: 11337.272 Peak Mbps: 11337.272 Avg Mbps: 11337.272 --- 169.254.0.13 tcpbench statistics --- 8479492614 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11250.609/11302.366/11337.272/31.908 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 1427411500 11419.292 100.00% Conn: 1 Mbps: 11419.292 Peak Mbps: 11419.292 Avg Mbps: 11419.292 2000 1436041016 11499.828 100.00% Conn: 1 Mbps: 11499.828 Peak Mbps: 11499.828 Avg Mbps: 11499.828 3000 1428913288 11431.306 100.00% Conn: 1 Mbps: 11431.306 Peak Mbps: 11499.828 Avg Mbps: 11431.306 4000 1433915776 11471.326 100.00% Conn: 1 Mbps: 11471.326 Peak Mbps: 11499.828 Avg Mbps: 11471.326 5000 1434929352 11479.435 100.00% Conn: 1 Mbps: 11479.435 Peak Mbps: 11499.828 Avg Mbps: 11479.435 --- fc00::13 tcpbench statistics --- 8599606060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11419.292/11460.237/11499.828/30.241 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 1m51.87s