START sys/net/pair 2025-01-07T01:37:57Z ==== 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.052 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.052/0.052/0.052/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.053 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.053/0.053/0.053/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 511596864 4092.775 100.00% Conn: 1 Mbps: 4092.775 Peak Mbps: 4092.775 Avg Mbps: 4092.775 2000 510953076 4091.716 100.00% Conn: 1 Mbps: 4091.716 Peak Mbps: 4092.775 Avg Mbps: 4091.716 3000 511151776 4089.214 100.00% Conn: 1 Mbps: 4089.214 Peak Mbps: 4092.775 Avg Mbps: 4089.214 4000 511143828 4089.151 100.00% Conn: 1 Mbps: 4089.151 Peak Mbps: 4092.775 Avg Mbps: 4089.151 5000 511231256 4089.850 100.00% Conn: 1 Mbps: 4089.850 Peak Mbps: 4092.775 Avg Mbps: 4089.850 --- 169.254.1.11 tcpbench statistics --- 3067323952 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4089.151/4090.541/4092.775/1.452 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 506543704 4052.350 100.00% Conn: 1 Mbps: 4052.350 Peak Mbps: 4052.350 Avg Mbps: 4052.350 2000 505742976 4049.994 100.00% Conn: 1 Mbps: 4049.994 Peak Mbps: 4052.350 Avg Mbps: 4049.994 3000 506496136 4051.969 100.00% Conn: 1 Mbps: 4051.969 Peak Mbps: 4052.350 Avg Mbps: 4051.969 4000 506194872 4049.559 100.00% Conn: 1 Mbps: 4049.559 Peak Mbps: 4052.350 Avg Mbps: 4049.559 5000 506234512 4049.876 100.00% Conn: 1 Mbps: 4049.876 Peak Mbps: 4052.350 Avg Mbps: 4049.876 --- fc00:0:0:1::11 tcpbench statistics --- 3037644912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4049.559/4050.750/4052.350/1.166 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.059 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.059/0.059/0.059/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 1001 269560960 2154.333 100.00% Conn: 1 Mbps: 2154.333 Peak Mbps: 2154.333 Avg Mbps: 2154.333 2002 283261768 2266.094 100.00% Conn: 1 Mbps: 2266.094 Peak Mbps: 2266.094 Avg Mbps: 2266.094 3002 284086464 2272.692 100.00% Conn: 1 Mbps: 2272.692 Peak Mbps: 2272.692 Avg Mbps: 2272.692 4002 283077152 2264.617 100.00% Conn: 1 Mbps: 2264.617 Peak Mbps: 2272.692 Avg Mbps: 2264.617 5003 284839960 2278.720 100.00% Conn: 1 Mbps: 2278.720 Peak Mbps: 2278.720 Avg Mbps: 2278.720 --- 169.254.1.12 tcpbench statistics --- 1688546472 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2154.333/2247.291/2278.720/46.750 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 254138820 2031.079 100.00% Conn: 1 Mbps: 2031.079 Peak Mbps: 2031.079 Avg Mbps: 2031.079 2002 273712488 2189.700 100.00% Conn: 1 Mbps: 2189.700 Peak Mbps: 2189.700 Avg Mbps: 2189.700 3003 275932660 2205.256 100.00% Conn: 1 Mbps: 2205.256 Peak Mbps: 2205.256 Avg Mbps: 2205.256 4002 273911824 2193.488 100.00% Conn: 1 Mbps: 2193.488 Peak Mbps: 2205.256 Avg Mbps: 2193.488 5004 279346428 2232.539 100.00% Conn: 1 Mbps: 2232.539 Peak Mbps: 2232.539 Avg Mbps: 2232.539 --- fc00:0:0:1::12 tcpbench statistics --- 1634017192 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2031.079/2170.412/2232.539/71.263 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.074 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.074/0.074/0.074/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.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/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 591078792 4728.630 100.00% Conn: 1 Mbps: 4728.630 Peak Mbps: 4728.630 Avg Mbps: 4728.630 2000 592350752 4743.550 100.00% Conn: 1 Mbps: 4743.550 Peak Mbps: 4743.550 Avg Mbps: 4743.550 3000 585400560 4683.204 100.00% Conn: 1 Mbps: 4683.204 Peak Mbps: 4743.550 Avg Mbps: 4683.204 4000 590675124 4730.131 100.00% Conn: 1 Mbps: 4730.131 Peak Mbps: 4743.550 Avg Mbps: 4730.131 5000 585511584 4684.093 100.00% Conn: 1 Mbps: 4684.093 Peak Mbps: 4743.550 Avg Mbps: 4684.093 --- 169.254.0.13 tcpbench statistics --- 3520026428 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4683.204/4713.922/4743.550/25.260 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 551535112 4412.281 100.00% Conn: 1 Mbps: 4412.281 Peak Mbps: 4412.281 Avg Mbps: 4412.281 2000 583497952 4667.984 100.00% Conn: 1 Mbps: 4667.984 Peak Mbps: 4667.984 Avg Mbps: 4667.984 3000 581923144 4655.385 100.00% Conn: 1 Mbps: 4655.385 Peak Mbps: 4667.984 Avg Mbps: 4655.385 4000 580356648 4642.853 100.00% Conn: 1 Mbps: 4642.853 Peak Mbps: 4667.984 Avg Mbps: 4642.853 5001 584145840 4673.167 100.00% Conn: 1 Mbps: 4673.167 Peak Mbps: 4673.167 Avg Mbps: 4673.167 --- fc00::13 tcpbench statistics --- 3465792728 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4412.281/4610.334/4673.167/99.583 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.058 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.058/0.058/0.058/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.050 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.050/0.050/0.050/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 267024576 2134.063 100.00% Conn: 1 Mbps: 2134.063 Peak Mbps: 2134.063 Avg Mbps: 2134.063 2000 282294336 2260.615 100.00% Conn: 1 Mbps: 2260.615 Peak Mbps: 2260.615 Avg Mbps: 2260.615 3001 284552888 2276.423 100.00% Conn: 1 Mbps: 2276.423 Peak Mbps: 2276.423 Avg Mbps: 2276.423 4002 285020912 2280.167 100.00% Conn: 1 Mbps: 2280.167 Peak Mbps: 2280.167 Avg Mbps: 2280.167 5003 279572272 2236.578 100.00% Conn: 1 Mbps: 2236.578 Peak Mbps: 2280.167 Avg Mbps: 2236.578 --- 169.254.1.11 tcpbench statistics --- 1679180216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2134.063/2237.569/2280.167/53.981 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 252954752 2021.616 100.00% Conn: 1 Mbps: 2021.616 Peak Mbps: 2021.616 Avg Mbps: 2021.616 2001 270423888 2165.557 100.00% Conn: 1 Mbps: 2165.557 Peak Mbps: 2165.557 Avg Mbps: 2165.557 3001 271280236 2170.242 100.00% Conn: 1 Mbps: 2170.242 Peak Mbps: 2170.242 Avg Mbps: 2170.242 4002 274355640 2194.845 100.00% Conn: 1 Mbps: 2194.845 Peak Mbps: 2194.845 Avg Mbps: 2194.845 5002 275242144 2201.937 100.00% Conn: 1 Mbps: 2201.937 Peak Mbps: 2201.937 Avg Mbps: 2201.937 --- fc00:0:0:1::11 tcpbench statistics --- 1616146524 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2021.616/2150.839/2201.937/66.090 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.042 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.042/0.042/0.042/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.045 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.045/0.045/0.045/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 513288488 4106.308 100.00% Conn: 1 Mbps: 4106.308 Peak Mbps: 4106.308 Avg Mbps: 4106.308 2000 512906216 4107.357 100.00% Conn: 1 Mbps: 4107.357 Peak Mbps: 4107.357 Avg Mbps: 4107.357 3000 513556368 4108.451 100.00% Conn: 1 Mbps: 4108.451 Peak Mbps: 4108.451 Avg Mbps: 4108.451 4000 513357992 4106.864 100.00% Conn: 1 Mbps: 4106.864 Peak Mbps: 4108.451 Avg Mbps: 4106.864 5000 513343512 4106.748 100.00% Conn: 1 Mbps: 4106.748 Peak Mbps: 4108.451 Avg Mbps: 4106.748 --- 169.254.1.12 tcpbench statistics --- 3079664320 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4106.308/4107.146/4108.451/0.733 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 516826864 4134.615 100.00% Conn: 1 Mbps: 4134.615 Peak Mbps: 4134.615 Avg Mbps: 4134.615 2000 516523308 4136.323 100.00% Conn: 1 Mbps: 4136.323 Peak Mbps: 4136.323 Avg Mbps: 4136.323 3000 516880308 4135.042 100.00% Conn: 1 Mbps: 4135.042 Peak Mbps: 4136.323 Avg Mbps: 4135.042 4000 517341552 4138.732 100.00% Conn: 1 Mbps: 4138.732 Peak Mbps: 4138.732 Avg Mbps: 4138.732 5000 516866028 4134.928 100.00% Conn: 1 Mbps: 4134.928 Peak Mbps: 4138.732 Avg Mbps: 4134.928 --- fc00:0:0:1::12 tcpbench statistics --- 3101355496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4134.615/4135.928/4138.732/1.518 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.048 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.048/0.048/0.048/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.050 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/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 771318686 6170.549 100.00% Conn: 1 Mbps: 6170.549 Peak Mbps: 6170.549 Avg Mbps: 6170.549 2000 772948216 6189.776 100.00% Conn: 1 Mbps: 6189.776 Peak Mbps: 6189.776 Avg Mbps: 6189.776 3000 772817352 6182.539 100.00% Conn: 1 Mbps: 6182.539 Peak Mbps: 6189.776 Avg Mbps: 6182.539 4000 772359328 6178.875 100.00% Conn: 1 Mbps: 6178.875 Peak Mbps: 6189.776 Avg Mbps: 6178.875 5000 772490192 6179.922 100.00% Conn: 1 Mbps: 6179.922 Peak Mbps: 6189.776 Avg Mbps: 6179.922 --- 169.254.0.13 tcpbench statistics --- 4634194954 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6170.549/6180.332/6189.776/6.197 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 749516476 5996.132 100.00% Conn: 1 Mbps: 5996.132 Peak Mbps: 5996.132 Avg Mbps: 5996.132 2000 753479320 6027.835 100.00% Conn: 1 Mbps: 6027.835 Peak Mbps: 6027.835 Avg Mbps: 6027.835 3000 752269568 6018.157 100.00% Conn: 1 Mbps: 6018.157 Peak Mbps: 6027.835 Avg Mbps: 6018.157 4000 753512016 6028.096 100.00% Conn: 1 Mbps: 6028.096 Peak Mbps: 6028.096 Avg Mbps: 6028.096 5000 753283144 6026.265 100.00% Conn: 1 Mbps: 6026.265 Peak Mbps: 6028.096 Avg Mbps: 6026.265 --- fc00::13 tcpbench statistics --- 4515409060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5996.132/6019.297/6028.096/12.139 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.062 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.062/0.062/0.062/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.056 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.056/0.056/0.056/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 268016944 2141.994 100.00% Conn: 1 Mbps: 2141.994 Peak Mbps: 2141.994 Avg Mbps: 2141.994 2001 280032616 2240.261 100.00% Conn: 1 Mbps: 2240.261 Peak Mbps: 2240.261 Avg Mbps: 2240.261 3001 280250432 2242.003 100.00% Conn: 1 Mbps: 2242.003 Peak Mbps: 2242.003 Avg Mbps: 2242.003 4001 280700472 2245.604 100.00% Conn: 1 Mbps: 2245.604 Peak Mbps: 2245.604 Avg Mbps: 2245.604 5002 278644136 2229.153 100.00% Conn: 1 Mbps: 2229.153 Peak Mbps: 2245.604 Avg Mbps: 2229.153 --- 169.254.1.11 tcpbench statistics --- 1666135416 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2141.994/2219.803/2245.604/39.291 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 516791048 4134.328 100.00% Conn: 1 Mbps: 4134.328 Peak Mbps: 4134.328 Avg Mbps: 4134.328 2000 572850952 4587.395 100.00% Conn: 1 Mbps: 4587.395 Peak Mbps: 4587.395 Avg Mbps: 4587.395 3000 578448208 4627.586 100.00% Conn: 1 Mbps: 4627.586 Peak Mbps: 4627.586 Avg Mbps: 4627.586 4000 574236824 4593.895 100.00% Conn: 1 Mbps: 4593.895 Peak Mbps: 4627.586 Avg Mbps: 4593.895 5001 580068368 4640.547 100.00% Conn: 1 Mbps: 4640.547 Peak Mbps: 4640.547 Avg Mbps: 4640.547 --- fc00:0:0:1::11 tcpbench statistics --- 3402941040 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4134.328/4516.750/4640.547/192.249 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.060 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.060/0.060/0.060/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.058 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.058/0.058/0.058/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 771647246 6173.178 100.00% Conn: 1 Mbps: 6173.178 Peak Mbps: 6173.178 Avg Mbps: 6173.178 2000 773242660 6192.133 100.00% Conn: 1 Mbps: 6192.133 Peak Mbps: 6192.133 Avg Mbps: 6192.133 3000 773308092 6186.465 100.00% Conn: 1 Mbps: 6186.465 Peak Mbps: 6192.133 Avg Mbps: 6186.465 4000 768727852 6149.823 100.00% Conn: 1 Mbps: 6149.823 Peak Mbps: 6192.133 Avg Mbps: 6149.823 5000 770690812 6165.526 100.00% Conn: 1 Mbps: 6165.526 Peak Mbps: 6192.133 Avg Mbps: 6165.526 --- 169.254.1.12 tcpbench statistics --- 4629027226 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6149.823/6173.425/6192.133/15.097 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 760355596 6082.845 100.00% Conn: 1 Mbps: 6082.845 Peak Mbps: 6082.845 Avg Mbps: 6082.845 2000 761064792 6094.613 100.00% Conn: 1 Mbps: 6094.613 Peak Mbps: 6094.613 Avg Mbps: 6094.613 3000 763484296 6107.874 100.00% Conn: 1 Mbps: 6107.874 Peak Mbps: 6107.874 Avg Mbps: 6107.874 4000 763059248 6104.474 100.00% Conn: 1 Mbps: 6104.474 Peak Mbps: 6107.874 Avg Mbps: 6104.474 5000 761751408 6094.011 100.00% Conn: 1 Mbps: 6094.011 Peak Mbps: 6107.874 Avg Mbps: 6094.011 --- fc00:0:0:1::12 tcpbench statistics --- 4571891796 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6082.845/6096.763/6107.874/8.819 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.042 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.042/0.042/0.042/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.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-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 773605338 6188.843 100.00% Conn: 1 Mbps: 6188.843 Peak Mbps: 6188.843 Avg Mbps: 6188.843 2000 773798832 6196.587 100.00% Conn: 1 Mbps: 6196.587 Peak Mbps: 6196.587 Avg Mbps: 6196.587 3000 776874136 6214.993 100.00% Conn: 1 Mbps: 6214.993 Peak Mbps: 6214.993 Avg Mbps: 6214.993 4000 778182776 6225.462 100.00% Conn: 1 Mbps: 6225.462 Peak Mbps: 6225.462 Avg Mbps: 6225.462 5000 776416112 6211.329 100.00% Conn: 1 Mbps: 6211.329 Peak Mbps: 6225.462 Avg Mbps: 6211.329 --- 169.254.0.13 tcpbench statistics --- 4657059970 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6188.843/6207.443/6225.462/13.120 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 765112900 6120.903 100.00% Conn: 1 Mbps: 6120.903 Peak Mbps: 6120.903 Avg Mbps: 6120.903 2000 767440512 6145.670 100.00% Conn: 1 Mbps: 6145.670 Peak Mbps: 6145.670 Avg Mbps: 6145.670 3000 767865560 6142.924 100.00% Conn: 1 Mbps: 6142.924 Peak Mbps: 6145.670 Avg Mbps: 6142.924 4000 767407816 6139.263 100.00% Conn: 1 Mbps: 6139.263 Peak Mbps: 6145.670 Avg Mbps: 6139.263 5000 767898256 6143.186 100.00% Conn: 1 Mbps: 6143.186 Peak Mbps: 6145.670 Avg Mbps: 6143.186 --- fc00::13 tcpbench statistics --- 4603721388 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6120.903/6138.389/6145.670/8.979 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 1m52.84s