START sys/net/pair 2025-01-05T20:11:13Z ==== 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.038 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.038/0.038/0.038/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.044 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.044/0.044/0.044/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 513599760 4108.798 100.00% Conn: 1 Mbps: 4108.798 Peak Mbps: 4108.798 Avg Mbps: 4108.798 2000 512439352 4103.618 100.00% Conn: 1 Mbps: 4103.618 Peak Mbps: 4108.798 Avg Mbps: 4103.618 3000 512757272 4102.058 100.00% Conn: 1 Mbps: 4102.058 Peak Mbps: 4108.798 Avg Mbps: 4102.058 4000 512312184 4098.497 100.00% Conn: 1 Mbps: 4098.497 Peak Mbps: 4108.798 Avg Mbps: 4098.497 5000 512359872 4098.879 100.00% Conn: 1 Mbps: 4098.879 Peak Mbps: 4108.798 Avg Mbps: 4098.879 --- 169.254.1.11 tcpbench statistics --- 3076090596 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4098.497/4102.370/4108.798/3.746 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 516580552 4132.644 100.00% Conn: 1 Mbps: 4132.644 Peak Mbps: 4132.644 Avg Mbps: 4132.644 2000 514638192 4121.227 100.00% Conn: 1 Mbps: 4121.227 Peak Mbps: 4132.644 Avg Mbps: 4121.227 3000 515113872 4120.911 100.00% Conn: 1 Mbps: 4120.911 Peak Mbps: 4132.644 Avg Mbps: 4120.911 4000 515177296 4121.418 100.00% Conn: 1 Mbps: 4121.418 Peak Mbps: 4132.644 Avg Mbps: 4121.418 5000 514931528 4119.452 100.00% Conn: 1 Mbps: 4119.452 Peak Mbps: 4132.644 Avg Mbps: 4119.452 --- fc00:0:0:1::11 tcpbench statistics --- 3091325400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4119.452/4123.131/4132.644/4.807 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.074 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.074/0.074/0.074/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.135 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.135/0.135/0.135/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 268900672 2151.205 100.00% Conn: 1 Mbps: 2151.205 Peak Mbps: 2151.205 Avg Mbps: 2151.205 2001 277965416 2223.723 100.00% Conn: 1 Mbps: 2223.723 Peak Mbps: 2223.723 Avg Mbps: 2223.723 3001 285564576 2286.803 100.00% Conn: 1 Mbps: 2286.803 Peak Mbps: 2286.803 Avg Mbps: 2286.803 4002 287921592 2301.072 100.00% Conn: 1 Mbps: 2301.072 Peak Mbps: 2301.072 Avg Mbps: 2301.072 5002 286888056 2297.402 100.00% Conn: 1 Mbps: 2297.402 Peak Mbps: 2301.072 Avg Mbps: 2297.402 --- 169.254.1.12 tcpbench statistics --- 1691756664 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2151.205/2252.041/2301.072/57.688 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 257142936 2055.088 100.00% Conn: 1 Mbps: 2055.088 Peak Mbps: 2055.088 Avg Mbps: 2055.088 2001 271571732 2172.574 100.00% Conn: 1 Mbps: 2172.574 Peak Mbps: 2172.574 Avg Mbps: 2172.574 3002 275346712 2202.774 100.00% Conn: 1 Mbps: 2202.774 Peak Mbps: 2202.774 Avg Mbps: 2202.774 4003 277329484 2216.419 100.00% Conn: 1 Mbps: 2216.419 Peak Mbps: 2216.419 Avg Mbps: 2216.419 5004 276429576 2211.437 100.00% Conn: 1 Mbps: 2211.437 Peak Mbps: 2216.419 Avg Mbps: 2211.437 --- fc00:0:0:1::12 tcpbench statistics --- 1628044960 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2055.088/2171.658/2216.419/60.239 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.077 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.077/0.077/0.077/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.090 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.090/0.090/0.090/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 615351144 4922.809 100.00% Conn: 1 Mbps: 4922.809 Peak Mbps: 4922.809 Avg Mbps: 4922.809 2000 629305732 5034.446 100.00% Conn: 1 Mbps: 5034.446 Peak Mbps: 5034.446 Avg Mbps: 5034.446 3000 631479424 5051.835 100.00% Conn: 1 Mbps: 5051.835 Peak Mbps: 5051.835 Avg Mbps: 5051.835 4000 610374296 4882.994 100.00% Conn: 1 Mbps: 4882.994 Peak Mbps: 5051.835 Avg Mbps: 4882.994 5000 599353640 4799.629 100.00% Conn: 1 Mbps: 4799.629 Peak Mbps: 5051.835 Avg Mbps: 4799.629 --- 169.254.0.13 tcpbench statistics --- 3687015664 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4799.629/4938.343/5051.835/94.512 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 1001 547916176 4378.950 100.00% Conn: 1 Mbps: 4378.950 Peak Mbps: 4378.950 Avg Mbps: 4378.950 2001 577426928 4619.415 100.00% Conn: 1 Mbps: 4619.415 Peak Mbps: 4619.415 Avg Mbps: 4619.415 3001 578595984 4628.768 100.00% Conn: 1 Mbps: 4628.768 Peak Mbps: 4628.768 Avg Mbps: 4628.768 4001 577806040 4622.448 100.00% Conn: 1 Mbps: 4622.448 Peak Mbps: 4628.768 Avg Mbps: 4622.448 5001 582618080 4660.945 100.00% Conn: 1 Mbps: 4660.945 Peak Mbps: 4660.945 Avg Mbps: 4660.945 --- fc00::13 tcpbench statistics --- 3443942264 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 4378.950/4582.105/4660.945/102.649 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.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-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 271592784 2170.572 100.00% Conn: 1 Mbps: 2170.572 Peak Mbps: 2170.572 Avg Mbps: 2170.572 2001 278693720 2229.550 100.00% Conn: 1 Mbps: 2229.550 Peak Mbps: 2229.550 Avg Mbps: 2229.550 3001 283622272 2271.249 100.00% Conn: 1 Mbps: 2271.249 Peak Mbps: 2271.249 Avg Mbps: 2271.249 4002 286288640 2288.021 100.00% Conn: 1 Mbps: 2288.021 Peak Mbps: 2288.021 Avg Mbps: 2288.021 5003 289650056 2317.200 100.00% Conn: 1 Mbps: 2317.200 Peak Mbps: 2317.200 Avg Mbps: 2317.200 --- 169.254.1.11 tcpbench statistics --- 1693925128 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2170.572/2255.318/2317.200/50.988 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 255907192 2047.258 100.00% Conn: 1 Mbps: 2047.258 Peak Mbps: 2047.258 Avg Mbps: 2047.258 2001 270995864 2167.967 100.00% Conn: 1 Mbps: 2167.967 Peak Mbps: 2167.967 Avg Mbps: 2167.967 3001 270851312 2168.979 100.00% Conn: 1 Mbps: 2168.979 Peak Mbps: 2168.979 Avg Mbps: 2168.979 4001 271338416 2170.707 100.00% Conn: 1 Mbps: 2170.707 Peak Mbps: 2170.707 Avg Mbps: 2170.707 5001 270294152 2164.518 100.00% Conn: 1 Mbps: 2164.518 Peak Mbps: 2170.707 Avg Mbps: 2164.518 --- fc00:0:0:1::11 tcpbench statistics --- 1613890112 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2047.258/2143.886/2170.707/48.356 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.040 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.040/0.040/0.040/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.066 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.066/0.066/0.066/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 521730328 4173.843 100.00% Conn: 1 Mbps: 4173.843 Peak Mbps: 4173.843 Avg Mbps: 4173.843 2000 522700488 4185.790 100.00% Conn: 1 Mbps: 4185.790 Peak Mbps: 4185.790 Avg Mbps: 4185.790 3000 522141560 4177.132 100.00% Conn: 1 Mbps: 4177.132 Peak Mbps: 4185.790 Avg Mbps: 4177.132 4000 523043664 4184.349 100.00% Conn: 1 Mbps: 4184.349 Peak Mbps: 4185.790 Avg Mbps: 4184.349 5000 522533968 4180.272 100.00% Conn: 1 Mbps: 4180.272 Peak Mbps: 4185.790 Avg Mbps: 4180.272 --- 169.254.1.12 tcpbench statistics --- 3135258832 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4173.843/4180.277/4185.790/4.433 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 524782860 4198.263 100.00% Conn: 1 Mbps: 4198.263 Peak Mbps: 4198.263 Avg Mbps: 4198.263 2000 524957076 4203.860 100.00% Conn: 1 Mbps: 4203.860 Peak Mbps: 4203.860 Avg Mbps: 4203.860 3000 524861400 4198.891 100.00% Conn: 1 Mbps: 4198.891 Peak Mbps: 4203.860 Avg Mbps: 4198.891 4000 525484008 4203.872 100.00% Conn: 1 Mbps: 4203.872 Peak Mbps: 4203.872 Avg Mbps: 4203.872 5000 526173732 4209.390 100.00% Conn: 1 Mbps: 4209.390 Peak Mbps: 4209.390 Avg Mbps: 4209.390 --- fc00:0:0:1::12 tcpbench statistics --- 3152497068 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4198.263/4202.855/4209.390/4.039 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.047 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.047/0.047/0.047/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 787759190 6302.074 100.00% Conn: 1 Mbps: 6302.074 Peak Mbps: 6302.074 Avg Mbps: 6302.074 2000 788880908 6317.365 100.00% Conn: 1 Mbps: 6317.365 Peak Mbps: 6317.365 Avg Mbps: 6317.365 3000 788815476 6310.524 100.00% Conn: 1 Mbps: 6310.524 Peak Mbps: 6317.365 Avg Mbps: 6310.524 4000 788226588 6305.813 100.00% Conn: 1 Mbps: 6305.813 Peak Mbps: 6317.365 Avg Mbps: 6305.813 5000 788684612 6309.477 100.00% Conn: 1 Mbps: 6309.477 Peak Mbps: 6317.365 Avg Mbps: 6309.477 --- 169.254.0.13 tcpbench statistics --- 4730691510 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6302.074/6309.050/6317.365/5.112 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 768595708 6148.766 100.00% Conn: 1 Mbps: 6148.766 Peak Mbps: 6148.766 Avg Mbps: 6148.766 2000 770612024 6171.067 100.00% Conn: 1 Mbps: 6171.067 Peak Mbps: 6171.067 Avg Mbps: 6171.067 3000 769958104 6159.665 100.00% Conn: 1 Mbps: 6159.665 Peak Mbps: 6171.067 Avg Mbps: 6159.665 4000 770808200 6166.466 100.00% Conn: 1 Mbps: 6166.466 Peak Mbps: 6171.067 Avg Mbps: 6166.466 5000 769500360 6162.165 100.00% Conn: 1 Mbps: 6162.165 Peak Mbps: 6171.067 Avg Mbps: 6162.165 --- fc00::13 tcpbench statistics --- 4618876668 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6148.766/6161.626/6171.067/7.511 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.050 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.050/0.050/0.050/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.078 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.078/0.078/0.078/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 268956808 2151.654 100.00% Conn: 1 Mbps: 2151.654 Peak Mbps: 2151.654 Avg Mbps: 2151.654 2000 278188576 2225.509 100.00% Conn: 1 Mbps: 2225.509 Peak Mbps: 2225.509 Avg Mbps: 2225.509 3000 283039448 2266.582 100.00% Conn: 1 Mbps: 2266.582 Peak Mbps: 2266.582 Avg Mbps: 2266.582 4001 282470656 2259.765 100.00% Conn: 1 Mbps: 2259.765 Peak Mbps: 2266.582 Avg Mbps: 2259.765 5001 277786664 2222.293 100.00% Conn: 1 Mbps: 2222.293 Peak Mbps: 2266.582 Avg Mbps: 2222.293 --- 169.254.1.11 tcpbench statistics --- 1670146840 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2151.654/2225.161/2266.582/40.804 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 521882512 4175.060 100.00% Conn: 1 Mbps: 4175.060 Peak Mbps: 4175.060 Avg Mbps: 4175.060 2000 579900320 4639.203 100.00% Conn: 1 Mbps: 4639.203 Peak Mbps: 4639.203 Avg Mbps: 4639.203 3001 577371728 4618.974 100.00% Conn: 1 Mbps: 4618.974 Peak Mbps: 4639.203 Avg Mbps: 4618.974 4001 576009136 4608.073 100.00% Conn: 1 Mbps: 4608.073 Peak Mbps: 4639.203 Avg Mbps: 4608.073 5001 576101704 4608.814 100.00% Conn: 1 Mbps: 4608.814 Peak Mbps: 4639.203 Avg Mbps: 4608.814 --- fc00:0:0:1::11 tcpbench statistics --- 3417335192 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4175.060/4530.025/4639.203/177.837 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.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-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.049 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.049/0.049/0.049/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 777894562 6223.156 100.00% Conn: 1 Mbps: 6223.156 Peak Mbps: 6223.156 Avg Mbps: 6223.156 2000 778984318 6238.113 100.00% Conn: 1 Mbps: 6238.113 Peak Mbps: 6238.113 Avg Mbps: 6238.113 3000 779262404 6234.099 100.00% Conn: 1 Mbps: 6234.099 Peak Mbps: 6238.113 Avg Mbps: 6234.099 4000 780211168 6241.689 100.00% Conn: 1 Mbps: 6241.689 Peak Mbps: 6241.689 Avg Mbps: 6241.689 5000 779753144 6238.025 100.00% Conn: 1 Mbps: 6238.025 Peak Mbps: 6241.689 Avg Mbps: 6238.025 --- 169.254.1.12 tcpbench statistics --- 4675826024 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6223.156/6235.017/6241.689/6.398 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 763149052 6105.192 100.00% Conn: 1 Mbps: 6105.192 Peak Mbps: 6105.192 Avg Mbps: 6105.192 2000 764269000 6120.272 100.00% Conn: 1 Mbps: 6120.272 Peak Mbps: 6120.272 Avg Mbps: 6120.272 3000 761947584 6095.581 100.00% Conn: 1 Mbps: 6095.581 Peak Mbps: 6120.272 Avg Mbps: 6095.581 4000 763876648 6111.013 100.00% Conn: 1 Mbps: 6111.013 Peak Mbps: 6120.272 Avg Mbps: 6111.013 5000 769402272 6155.218 100.00% Conn: 1 Mbps: 6155.218 Peak Mbps: 6155.218 Avg Mbps: 6155.218 --- fc00:0:0:1::12 tcpbench statistics --- 4590869772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6095.581/6117.455/6155.218/20.515 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.053 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.053/0.053/0.053/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.058 ms --- fc00::13 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-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 789250922 6314.007 100.00% Conn: 1 Mbps: 6314.007 Peak Mbps: 6314.007 Avg Mbps: 6314.007 2000 788455600 6313.959 100.00% Conn: 1 Mbps: 6313.959 Peak Mbps: 6314.007 Avg Mbps: 6313.959 3000 789796956 6318.376 100.00% Conn: 1 Mbps: 6318.376 Peak Mbps: 6318.376 Avg Mbps: 6318.376 4000 788782760 6310.262 100.00% Conn: 1 Mbps: 6310.262 Peak Mbps: 6318.376 Avg Mbps: 6310.262 5000 789338932 6314.711 100.00% Conn: 1 Mbps: 6314.711 Peak Mbps: 6318.376 Avg Mbps: 6314.711 --- 169.254.0.13 tcpbench statistics --- 4734506078 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6310.262/6314.263/6318.376/2.580 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 769098644 6152.789 100.00% Conn: 1 Mbps: 6152.789 Peak Mbps: 6152.789 Avg Mbps: 6152.789 2000 775483728 6210.080 100.00% Conn: 1 Mbps: 6210.080 Peak Mbps: 6210.080 Avg Mbps: 6210.080 3000 777085832 6216.687 100.00% Conn: 1 Mbps: 6216.687 Peak Mbps: 6216.687 Avg Mbps: 6216.687 4000 777053136 6216.425 100.00% Conn: 1 Mbps: 6216.425 Peak Mbps: 6216.687 Avg Mbps: 6216.425 5000 777151224 6217.210 100.00% Conn: 1 Mbps: 6217.210 Peak Mbps: 6217.210 Avg Mbps: 6217.210 --- fc00::13 tcpbench statistics --- 4652991092 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6152.789/6202.638/6217.210/25.060 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.86s