START sys/net/pair 2025-02-03T04:46:16Z ==== 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.039 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.039/0.039/0.039/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.048 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.048/0.048/0.048/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 516373612 4130.989 100.00% Conn: 1 Mbps: 4130.989 Peak Mbps: 4130.989 Avg Mbps: 4130.989 2000 515229100 4125.959 100.00% Conn: 1 Mbps: 4125.959 Peak Mbps: 4130.989 Avg Mbps: 4125.959 3000 515062192 4120.498 100.00% Conn: 1 Mbps: 4120.498 Peak Mbps: 4130.989 Avg Mbps: 4120.498 4000 515324476 4122.596 100.00% Conn: 1 Mbps: 4122.596 Peak Mbps: 4130.989 Avg Mbps: 4122.596 5000 513726928 4109.815 100.00% Conn: 1 Mbps: 4109.815 Peak Mbps: 4130.989 Avg Mbps: 4109.815 --- 169.254.1.11 tcpbench statistics --- 3089403496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4109.815/4121.971/4130.989/7.036 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 512085376 4096.683 100.00% Conn: 1 Mbps: 4096.683 Peak Mbps: 4096.683 Avg Mbps: 4096.683 2000 511601768 4096.911 100.00% Conn: 1 Mbps: 4096.911 Peak Mbps: 4096.911 Avg Mbps: 4096.911 3000 511625552 4093.004 100.00% Conn: 1 Mbps: 4093.004 Peak Mbps: 4096.911 Avg Mbps: 4093.004 4000 511443208 4091.546 100.00% Conn: 1 Mbps: 4091.546 Peak Mbps: 4096.911 Avg Mbps: 4091.546 5000 511982312 4095.858 100.00% Conn: 1 Mbps: 4095.858 Peak Mbps: 4096.911 Avg Mbps: 4095.858 --- fc00:0:0:1::11 tcpbench statistics --- 3070593680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4091.546/4094.801/4096.911/2.142 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.098 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.098/0.098/0.098/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.133 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.133/0.133/0.133/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 263732200 2107.750 100.00% Conn: 1 Mbps: 2107.750 Peak Mbps: 2107.750 Avg Mbps: 2107.750 2001 276193256 2211.758 100.00% Conn: 1 Mbps: 2211.758 Peak Mbps: 2211.758 Avg Mbps: 2211.758 3002 284459256 2273.401 100.00% Conn: 1 Mbps: 2273.401 Peak Mbps: 2273.401 Avg Mbps: 2273.401 4002 280246984 2241.976 100.00% Conn: 1 Mbps: 2241.976 Peak Mbps: 2273.401 Avg Mbps: 2241.976 5002 282440688 2259.526 100.00% Conn: 1 Mbps: 2259.526 Peak Mbps: 2273.401 Avg Mbps: 2259.526 --- 169.254.1.12 tcpbench statistics --- 1669429440 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2107.750/2218.882/2273.401/59.260 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 247626404 1981.011 100.00% Conn: 1 Mbps: 1981.011 Peak Mbps: 1981.011 Avg Mbps: 1981.011 2002 267007264 2133.924 100.00% Conn: 1 Mbps: 2133.924 Peak Mbps: 2133.924 Avg Mbps: 2133.924 3002 267351864 2138.815 100.00% Conn: 1 Mbps: 2138.815 Peak Mbps: 2138.815 Avg Mbps: 2138.815 4003 268866816 2150.935 100.00% Conn: 1 Mbps: 2150.935 Peak Mbps: 2150.935 Avg Mbps: 2150.935 5004 269799104 2156.237 100.00% Conn: 1 Mbps: 2156.237 Peak Mbps: 2156.237 Avg Mbps: 2156.237 --- fc00:0:0:1::12 tcpbench statistics --- 1590820280 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1981.011/2112.184/2156.237/66.076 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.065 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.065/0.065/0.065/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.069 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.069/0.069/0.069/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 592156920 4737.255 100.00% Conn: 1 Mbps: 4737.255 Peak Mbps: 4737.255 Avg Mbps: 4737.255 2000 604349992 4834.800 100.00% Conn: 1 Mbps: 4834.800 Peak Mbps: 4834.800 Avg Mbps: 4834.800 3000 610191632 4881.533 100.00% Conn: 1 Mbps: 4881.533 Peak Mbps: 4881.533 Avg Mbps: 4881.533 4000 605921176 4847.369 100.00% Conn: 1 Mbps: 4847.369 Peak Mbps: 4881.533 Avg Mbps: 4847.369 5000 590786116 4726.289 100.00% Conn: 1 Mbps: 4726.289 Peak Mbps: 4881.533 Avg Mbps: 4726.289 --- 169.254.0.13 tcpbench statistics --- 3558509212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4726.289/4805.449/4881.533/62.168 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 545127728 4361.022 100.00% Conn: 1 Mbps: 4361.022 Peak Mbps: 4361.022 Avg Mbps: 4361.022 2000 576028088 4612.838 100.00% Conn: 1 Mbps: 4612.838 Peak Mbps: 4612.838 Avg Mbps: 4612.838 3000 574771696 4598.174 100.00% Conn: 1 Mbps: 4598.174 Peak Mbps: 4612.838 Avg Mbps: 4598.174 4001 577050800 4616.406 100.00% Conn: 1 Mbps: 4616.406 Peak Mbps: 4616.406 Avg Mbps: 4616.406 5001 577462280 4619.698 100.00% Conn: 1 Mbps: 4619.698 Peak Mbps: 4619.698 Avg Mbps: 4619.698 --- fc00::13 tcpbench statistics --- 3426664544 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4361.022/4561.628/4619.698/100.572 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.052 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.052/0.052/0.052/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 268736048 2147.741 100.00% Conn: 1 Mbps: 2147.741 Peak Mbps: 2147.741 Avg Mbps: 2147.741 2002 277462688 2219.702 100.00% Conn: 1 Mbps: 2219.702 Peak Mbps: 2219.702 Avg Mbps: 2219.702 3001 278983264 2234.100 100.00% Conn: 1 Mbps: 2234.100 Peak Mbps: 2234.100 Avg Mbps: 2234.100 4003 281525232 2249.952 100.00% Conn: 1 Mbps: 2249.952 Peak Mbps: 2249.952 Avg Mbps: 2249.952 5004 281576736 2250.364 100.00% Conn: 1 Mbps: 2250.364 Peak Mbps: 2250.364 Avg Mbps: 2250.364 --- 169.254.1.11 tcpbench statistics --- 1668240104 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2147.741/2220.372/2250.364/38.049 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 250604972 2002.837 100.00% Conn: 1 Mbps: 2002.837 Peak Mbps: 2002.837 Avg Mbps: 2002.837 2001 262410956 2099.288 100.00% Conn: 1 Mbps: 2099.288 Peak Mbps: 2099.288 Avg Mbps: 2099.288 3002 269053460 2152.428 100.00% Conn: 1 Mbps: 2152.428 Peak Mbps: 2152.428 Avg Mbps: 2152.428 4001 264925212 2121.523 100.00% Conn: 1 Mbps: 2121.523 Peak Mbps: 2152.428 Avg Mbps: 2121.523 5001 264390688 2115.126 100.00% Conn: 1 Mbps: 2115.126 Peak Mbps: 2152.428 Avg Mbps: 2115.126 --- fc00:0:0:1::11 tcpbench statistics --- 1572936940 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2002.837/2098.240/2152.428/50.727 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.046 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.046/0.046/0.046/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 519403392 4155.227 100.00% Conn: 1 Mbps: 4155.227 Peak Mbps: 4155.227 Avg Mbps: 4155.227 2000 519391808 4159.294 100.00% Conn: 1 Mbps: 4159.294 Peak Mbps: 4159.294 Avg Mbps: 4159.294 3000 519404840 4155.239 100.00% Conn: 1 Mbps: 4155.239 Peak Mbps: 4159.294 Avg Mbps: 4155.239 4000 518932792 4151.462 100.00% Conn: 1 Mbps: 4151.462 Peak Mbps: 4159.294 Avg Mbps: 4151.462 5000 518715592 4149.725 100.00% Conn: 1 Mbps: 4149.725 Peak Mbps: 4159.294 Avg Mbps: 4149.725 --- 169.254.1.12 tcpbench statistics --- 3114598768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4149.725/4154.189/4159.294/3.335 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 521495604 4171.965 100.00% Conn: 1 Mbps: 4171.965 Peak Mbps: 4171.965 Avg Mbps: 4171.965 2000 521192868 4173.717 100.00% Conn: 1 Mbps: 4173.717 Peak Mbps: 4173.717 Avg Mbps: 4173.717 3000 521224284 4169.794 100.00% Conn: 1 Mbps: 4169.794 Peak Mbps: 4173.717 Avg Mbps: 4169.794 4000 521008656 4168.069 100.00% Conn: 1 Mbps: 4168.069 Peak Mbps: 4173.717 Avg Mbps: 4168.069 5000 521011512 4168.092 100.00% Conn: 1 Mbps: 4168.092 Peak Mbps: 4173.717 Avg Mbps: 4168.092 --- fc00:0:0:1::12 tcpbench statistics --- 3126681684 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4168.069/4170.327/4173.717/2.216 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.057 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.057/0.057/0.057/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.074 ms --- fc00::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-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 790585558 6324.684 100.00% Conn: 1 Mbps: 6324.684 Peak Mbps: 6324.684 Avg Mbps: 6324.684 2000 794377196 6361.379 100.00% Conn: 1 Mbps: 6361.379 Peak Mbps: 6361.379 Avg Mbps: 6361.379 3000 795195096 6361.561 100.00% Conn: 1 Mbps: 6361.561 Peak Mbps: 6361.561 Avg Mbps: 6361.561 4000 789633376 6317.067 100.00% Conn: 1 Mbps: 6317.067 Peak Mbps: 6361.561 Avg Mbps: 6317.067 5000 793657444 6349.260 100.00% Conn: 1 Mbps: 6349.260 Peak Mbps: 6361.561 Avg Mbps: 6349.260 --- 169.254.0.13 tcpbench statistics --- 4756811670 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6317.067/6342.790/6361.561/18.597 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 779495036 6235.960 100.00% Conn: 1 Mbps: 6235.960 Peak Mbps: 6235.960 Avg Mbps: 6235.960 2000 779309160 6240.714 100.00% Conn: 1 Mbps: 6240.714 Peak Mbps: 6240.714 Avg Mbps: 6240.714 3000 779668816 6237.351 100.00% Conn: 1 Mbps: 6237.351 Peak Mbps: 6240.714 Avg Mbps: 6237.351 4000 779963080 6239.705 100.00% Conn: 1 Mbps: 6239.705 Peak Mbps: 6240.714 Avg Mbps: 6239.705 5000 780486216 6243.890 100.00% Conn: 1 Mbps: 6243.890 Peak Mbps: 6243.890 Avg Mbps: 6243.890 --- fc00::13 tcpbench statistics --- 4680422100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6235.960/6239.524/6243.890/2.754 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.057 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.057/0.057/0.057/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 267670208 2139.222 100.00% Conn: 1 Mbps: 2139.222 Peak Mbps: 2139.222 Avg Mbps: 2139.222 2001 276758464 2216.284 100.00% Conn: 1 Mbps: 2216.284 Peak Mbps: 2216.284 Avg Mbps: 2216.284 3001 277696720 2221.574 100.00% Conn: 1 Mbps: 2221.574 Peak Mbps: 2221.574 Avg Mbps: 2221.574 4002 275073304 2200.586 100.00% Conn: 1 Mbps: 2200.586 Peak Mbps: 2221.574 Avg Mbps: 2200.586 5002 277235128 2217.881 100.00% Conn: 1 Mbps: 2217.881 Peak Mbps: 2221.574 Avg Mbps: 2217.881 --- 169.254.1.11 tcpbench statistics --- 1650096696 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2139.222/2199.110/2221.574/30.792 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 502139648 4017.117 100.00% Conn: 1 Mbps: 4017.117 Peak Mbps: 4017.117 Avg Mbps: 4017.117 2000 554795944 4442.810 100.00% Conn: 1 Mbps: 4442.810 Peak Mbps: 4442.810 Avg Mbps: 4442.810 3000 552692736 4421.542 100.00% Conn: 1 Mbps: 4421.542 Peak Mbps: 4442.810 Avg Mbps: 4421.542 4000 557187600 4457.501 100.00% Conn: 1 Mbps: 4457.501 Peak Mbps: 4457.501 Avg Mbps: 4457.501 5001 560230264 4481.842 100.00% Conn: 1 Mbps: 4481.842 Peak Mbps: 4481.842 Avg Mbps: 4481.842 --- fc00:0:0:1::11 tcpbench statistics --- 3281589440 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4017.117/4364.162/4481.842/174.630 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.047 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.047/0.047/0.047/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 790963094 6327.705 100.00% Conn: 1 Mbps: 6327.705 Peak Mbps: 6327.705 Avg Mbps: 6327.705 2000 791072880 6334.918 100.00% Conn: 1 Mbps: 6334.918 Peak Mbps: 6334.918 Avg Mbps: 6334.918 3000 791138312 6329.106 100.00% Conn: 1 Mbps: 6329.106 Peak Mbps: 6334.918 Avg Mbps: 6329.106 4000 791334608 6330.677 100.00% Conn: 1 Mbps: 6330.677 Peak Mbps: 6334.918 Avg Mbps: 6330.677 5000 790680288 6325.442 100.00% Conn: 1 Mbps: 6325.442 Peak Mbps: 6334.918 Avg Mbps: 6325.442 --- 169.254.1.12 tcpbench statistics --- 4747701566 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6325.442/6329.570/6334.918/3.180 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 770978268 6167.826 100.00% Conn: 1 Mbps: 6167.826 Peak Mbps: 6167.826 Avg Mbps: 6167.826 2000 772214128 6183.897 100.00% Conn: 1 Mbps: 6183.897 Peak Mbps: 6183.897 Avg Mbps: 6183.897 3000 772573784 6180.590 100.00% Conn: 1 Mbps: 6180.590 Peak Mbps: 6183.897 Avg Mbps: 6180.590 4000 771690992 6173.528 100.00% Conn: 1 Mbps: 6173.528 Peak Mbps: 6183.897 Avg Mbps: 6173.528 5000 771298640 6170.389 100.00% Conn: 1 Mbps: 6170.389 Peak Mbps: 6183.897 Avg Mbps: 6170.389 --- fc00:0:0:1::12 tcpbench statistics --- 4629564012 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6167.826/6175.246/6183.897/6.083 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.046 ms --- fc00::13 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-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 789209850 6313.679 100.00% Conn: 1 Mbps: 6313.679 Peak Mbps: 6313.679 Avg Mbps: 6313.679 2000 789927820 6325.748 100.00% Conn: 1 Mbps: 6325.748 Peak Mbps: 6325.748 Avg Mbps: 6325.748 3000 790156832 6321.255 100.00% Conn: 1 Mbps: 6321.255 Peak Mbps: 6325.748 Avg Mbps: 6321.255 4000 789306216 6314.450 100.00% Conn: 1 Mbps: 6314.450 Peak Mbps: 6325.748 Avg Mbps: 6314.450 5000 789142636 6313.141 100.00% Conn: 1 Mbps: 6313.141 Peak Mbps: 6325.748 Avg Mbps: 6313.141 --- 169.254.0.13 tcpbench statistics --- 4737932902 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6313.141/6317.655/6325.748/4.998 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 772021300 6176.170 100.00% Conn: 1 Mbps: 6176.170 Peak Mbps: 6176.170 Avg Mbps: 6176.170 2000 770612024 6171.067 100.00% Conn: 1 Mbps: 6171.067 Peak Mbps: 6176.170 Avg Mbps: 6171.067 3000 769533056 6156.264 100.00% Conn: 1 Mbps: 6156.264 Peak Mbps: 6176.170 Avg Mbps: 6156.264 4000 769500360 6156.003 100.00% Conn: 1 Mbps: 6156.003 Peak Mbps: 6176.170 Avg Mbps: 6156.003 5000 769434968 6155.480 100.00% Conn: 1 Mbps: 6155.480 Peak Mbps: 6176.170 Avg Mbps: 6155.480 --- fc00::13 tcpbench statistics --- 4620896332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6155.480/6162.997/6176.170/8.825 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.85s