START sys/net/pair 2024-02-25T05:02:48Z ==== 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.055 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.055/0.055/0.055/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 525712512 4205.700 100.00% Conn: 1 Mbps: 4205.700 Peak Mbps: 4205.700 Avg Mbps: 4205.700 2000 522143580 4181.330 100.00% Conn: 1 Mbps: 4181.330 Peak Mbps: 4205.700 Avg Mbps: 4181.330 3000 521738512 4173.908 100.00% Conn: 1 Mbps: 4173.908 Peak Mbps: 4205.700 Avg Mbps: 4173.908 4000 522302680 4178.421 100.00% Conn: 1 Mbps: 4178.421 Peak Mbps: 4205.700 Avg Mbps: 4178.421 5000 522302820 4178.423 100.00% Conn: 1 Mbps: 4178.423 Peak Mbps: 4205.700 Avg Mbps: 4178.423 --- 169.254.1.11 tcpbench statistics --- 3136884008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4173.908/4183.556/4205.700/11.324 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 519561480 4156.492 100.00% Conn: 1 Mbps: 4156.492 Peak Mbps: 4156.492 Avg Mbps: 4156.492 2000 515700544 4125.604 100.00% Conn: 1 Mbps: 4125.604 Peak Mbps: 4156.492 Avg Mbps: 4125.604 3000 517175152 4137.401 100.00% Conn: 1 Mbps: 4137.401 Peak Mbps: 4156.492 Avg Mbps: 4137.401 4000 517920384 4147.511 100.00% Conn: 1 Mbps: 4147.511 Peak Mbps: 4156.492 Avg Mbps: 4147.511 5000 515621264 4124.970 100.00% Conn: 1 Mbps: 4124.970 Peak Mbps: 4156.492 Avg Mbps: 4124.970 --- fc00:0:0:1::11 tcpbench statistics --- 3100561520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4124.970/4138.396/4156.492/12.292 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.100 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.100/0.100/0.100/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.152 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.152/0.152/0.152/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 213086704 1704.694 100.00% Conn: 1 Mbps: 1704.694 Peak Mbps: 1704.694 Avg Mbps: 1704.694 2000 214262296 1714.098 100.00% Conn: 1 Mbps: 1714.098 Peak Mbps: 1714.098 Avg Mbps: 1714.098 3000 212933664 1705.174 100.00% Conn: 1 Mbps: 1705.174 Peak Mbps: 1714.098 Avg Mbps: 1705.174 4001 217103896 1736.831 100.00% Conn: 1 Mbps: 1736.831 Peak Mbps: 1736.831 Avg Mbps: 1736.831 5001 214724840 1719.518 100.00% Conn: 1 Mbps: 1719.518 Peak Mbps: 1736.831 Avg Mbps: 1719.518 --- 169.254.1.12 tcpbench statistics --- 1285778920 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1704.694/1716.063/1736.831/11.789 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 207607824 1660.863 100.00% Conn: 1 Mbps: 1660.863 Peak Mbps: 1660.863 Avg Mbps: 1660.863 2000 210042900 1680.343 100.00% Conn: 1 Mbps: 1680.343 Peak Mbps: 1680.343 Avg Mbps: 1680.343 3001 210774092 1686.193 100.00% Conn: 1 Mbps: 1686.193 Peak Mbps: 1686.193 Avg Mbps: 1686.193 4001 210886424 1687.091 100.00% Conn: 1 Mbps: 1687.091 Peak Mbps: 1687.091 Avg Mbps: 1687.091 5002 212081660 1696.653 100.00% Conn: 1 Mbps: 1696.653 Peak Mbps: 1696.653 Avg Mbps: 1696.653 --- fc00:0:0:1::12 tcpbench statistics --- 1260335236 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1660.863/1682.229/1696.653/11.895 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.075 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.075/0.075/0.075/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.080 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.080/0.080/0.080/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 302151168 2417.209 100.00% Conn: 1 Mbps: 2417.209 Peak Mbps: 2417.209 Avg Mbps: 2417.209 2000 300537724 2404.302 100.00% Conn: 1 Mbps: 2404.302 Peak Mbps: 2417.209 Avg Mbps: 2404.302 3000 300068792 2402.953 100.00% Conn: 1 Mbps: 2402.953 Peak Mbps: 2417.209 Avg Mbps: 2402.953 4000 301903660 2415.229 100.00% Conn: 1 Mbps: 2415.229 Peak Mbps: 2417.209 Avg Mbps: 2415.229 5000 303550016 2428.400 100.00% Conn: 1 Mbps: 2428.400 Peak Mbps: 2428.400 Avg Mbps: 2428.400 --- 169.254.0.13 tcpbench statistics --- 1811085796 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2402.953/2413.619/2428.400/9.322 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 269219024 2153.752 100.00% Conn: 1 Mbps: 2153.752 Peak Mbps: 2153.752 Avg Mbps: 2153.752 2000 270463720 2165.876 100.00% Conn: 1 Mbps: 2165.876 Peak Mbps: 2165.876 Avg Mbps: 2165.876 3000 271676704 2173.414 100.00% Conn: 1 Mbps: 2173.414 Peak Mbps: 2173.414 Avg Mbps: 2173.414 4000 269028752 2152.230 100.00% Conn: 1 Mbps: 2152.230 Peak Mbps: 2173.414 Avg Mbps: 2152.230 5000 270614352 2164.915 100.00% Conn: 1 Mbps: 2164.915 Peak Mbps: 2173.414 Avg Mbps: 2164.915 --- fc00::13 tcpbench statistics --- 1620689328 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2152.230/2162.037/2173.414/7.966 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.060 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.060/0.060/0.060/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 212990664 1703.925 100.00% Conn: 1 Mbps: 1703.925 Peak Mbps: 1703.925 Avg Mbps: 1703.925 2001 216596944 1732.776 100.00% Conn: 1 Mbps: 1732.776 Peak Mbps: 1732.776 Avg Mbps: 1732.776 3001 210921776 1687.374 100.00% Conn: 1 Mbps: 1687.374 Peak Mbps: 1732.776 Avg Mbps: 1687.374 4001 210107048 1680.856 100.00% Conn: 1 Mbps: 1680.856 Peak Mbps: 1732.776 Avg Mbps: 1680.856 5001 211733600 1693.869 100.00% Conn: 1 Mbps: 1693.869 Peak Mbps: 1732.776 Avg Mbps: 1693.869 --- 169.254.1.11 tcpbench statistics --- 1273803000 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1680.856/1699.760/1732.776/18.182 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 204339280 1634.714 100.00% Conn: 1 Mbps: 1634.714 Peak Mbps: 1634.714 Avg Mbps: 1634.714 2000 203801608 1632.045 100.00% Conn: 1 Mbps: 1632.045 Peak Mbps: 1634.714 Avg Mbps: 1632.045 3000 205520764 1644.166 100.00% Conn: 1 Mbps: 1644.166 Peak Mbps: 1644.166 Avg Mbps: 1644.166 4001 204113520 1632.908 100.00% Conn: 1 Mbps: 1632.908 Peak Mbps: 1644.166 Avg Mbps: 1632.908 5000 205221252 1643.413 100.00% Conn: 1 Mbps: 1643.413 Peak Mbps: 1644.166 Avg Mbps: 1643.413 --- fc00:0:0:1::11 tcpbench statistics --- 1227054352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1632.045/1637.449/1644.166/5.254 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.047 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.047/0.047/0.047/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.053 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.053/0.053/0.053/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 522668744 4181.350 100.00% Conn: 1 Mbps: 4181.350 Peak Mbps: 4181.350 Avg Mbps: 4181.350 2000 516745088 4138.099 100.00% Conn: 1 Mbps: 4138.099 Peak Mbps: 4181.350 Avg Mbps: 4138.099 3000 517495264 4139.962 100.00% Conn: 1 Mbps: 4139.962 Peak Mbps: 4181.350 Avg Mbps: 4139.962 4000 519257424 4154.059 100.00% Conn: 1 Mbps: 4154.059 Peak Mbps: 4181.350 Avg Mbps: 4154.059 5000 517687904 4141.503 100.00% Conn: 1 Mbps: 4141.503 Peak Mbps: 4181.350 Avg Mbps: 4141.503 --- 169.254.1.12 tcpbench statistics --- 3112309488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4138.099/4150.995/4181.350/16.180 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 510074884 4080.599 100.00% Conn: 1 Mbps: 4080.599 Peak Mbps: 4080.599 Avg Mbps: 4080.599 2000 508689512 4073.590 100.00% Conn: 1 Mbps: 4073.590 Peak Mbps: 4080.599 Avg Mbps: 4073.590 3000 506837184 4054.697 100.00% Conn: 1 Mbps: 4054.697 Peak Mbps: 4080.599 Avg Mbps: 4054.697 4000 509427788 4075.422 100.00% Conn: 1 Mbps: 4075.422 Peak Mbps: 4080.599 Avg Mbps: 4075.422 5000 510099556 4084.881 100.00% Conn: 1 Mbps: 4084.881 Peak Mbps: 4084.881 Avg Mbps: 4084.881 --- fc00:0:0:1::12 tcpbench statistics --- 3055506940 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4054.697/4073.838/4084.881/10.360 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.064 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.064/0.064/0.064/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.054 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.054/0.054/0.054/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 1011177182 8089.417 100.00% Conn: 1 Mbps: 8089.417 Peak Mbps: 8089.417 Avg Mbps: 8089.417 2000 1005755272 8054.096 100.00% Conn: 1 Mbps: 8054.096 Peak Mbps: 8089.417 Avg Mbps: 8054.096 3000 1007031196 8056.250 100.00% Conn: 1 Mbps: 8056.250 Peak Mbps: 8089.417 Avg Mbps: 8056.250 4000 1007521936 8060.175 100.00% Conn: 1 Mbps: 8060.175 Peak Mbps: 8089.417 Avg Mbps: 8060.175 5000 1006100870 8048.807 100.00% Conn: 1 Mbps: 8048.807 Peak Mbps: 8089.417 Avg Mbps: 8048.807 --- 169.254.0.13 tcpbench statistics --- 6043472592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8048.807/8061.749/8089.417/14.313 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 977584976 7820.680 100.00% Conn: 1 Mbps: 7820.680 Peak Mbps: 7820.680 Avg Mbps: 7820.680 2000 980618432 7852.800 100.00% Conn: 1 Mbps: 7852.800 Peak Mbps: 7852.800 Avg Mbps: 7852.800 3000 979441376 7835.531 100.00% Conn: 1 Mbps: 7835.531 Peak Mbps: 7852.800 Avg Mbps: 7835.531 4000 979702944 7837.624 100.00% Conn: 1 Mbps: 7837.624 Peak Mbps: 7852.800 Avg Mbps: 7837.624 5000 976989176 7815.913 100.00% Conn: 1 Mbps: 7815.913 Peak Mbps: 7852.800 Avg Mbps: 7815.913 --- fc00::13 tcpbench statistics --- 5868514224 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7815.913/7832.510/7852.800/13.133 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.068 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.068/0.068/0.068/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.067 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.067/0.067/0.067/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 211123064 1688.985 100.00% Conn: 1 Mbps: 1688.985 Peak Mbps: 1688.985 Avg Mbps: 1688.985 2000 214869048 1718.952 100.00% Conn: 1 Mbps: 1718.952 Peak Mbps: 1718.952 Avg Mbps: 1718.952 3001 212500568 1700.005 100.00% Conn: 1 Mbps: 1700.005 Peak Mbps: 1718.952 Avg Mbps: 1700.005 4001 213053856 1704.431 100.00% Conn: 1 Mbps: 1704.431 Peak Mbps: 1718.952 Avg Mbps: 1704.431 5001 210597016 1686.463 100.00% Conn: 1 Mbps: 1686.463 Peak Mbps: 1718.952 Avg Mbps: 1686.463 --- 169.254.1.11 tcpbench statistics --- 1273316984 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1686.463/1699.767/1718.952/11.689 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 299046664 2392.373 100.00% Conn: 1 Mbps: 2392.373 Peak Mbps: 2392.373 Avg Mbps: 2392.373 2000 300668408 2405.347 100.00% Conn: 1 Mbps: 2405.347 Peak Mbps: 2405.347 Avg Mbps: 2405.347 3001 294899688 2359.198 100.00% Conn: 1 Mbps: 2359.198 Peak Mbps: 2405.347 Avg Mbps: 2359.198 4001 298503600 2388.029 100.00% Conn: 1 Mbps: 2388.029 Peak Mbps: 2405.347 Avg Mbps: 2388.029 5002 300107712 2400.862 100.00% Conn: 1 Mbps: 2400.862 Peak Mbps: 2405.347 Avg Mbps: 2400.862 --- fc00:0:0:1::11 tcpbench statistics --- 1788698808 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2359.198/2389.162/2405.347/16.176 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 8 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.063 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.063/0.063/0.063/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.054 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.054/0.054/0.054/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 1019806984 8158.456 100.00% Conn: 1 Mbps: 8158.456 Peak Mbps: 8158.456 Avg Mbps: 8158.456 2000 1009223168 8081.867 100.00% Conn: 1 Mbps: 8081.867 Peak Mbps: 8158.456 Avg Mbps: 8081.867 3000 1012200324 8097.603 100.00% Conn: 1 Mbps: 8097.603 Peak Mbps: 8158.456 Avg Mbps: 8097.603 4000 1010629956 8085.040 100.00% Conn: 1 Mbps: 8085.040 Peak Mbps: 8158.456 Avg Mbps: 8085.040 5000 1011513288 8092.106 100.00% Conn: 1 Mbps: 8092.106 Peak Mbps: 8158.456 Avg Mbps: 8092.106 --- 169.254.1.12 tcpbench statistics --- 6074690712 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8081.867/8103.014/8158.456/28.257 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 975183620 7801.469 100.00% Conn: 1 Mbps: 7801.469 Peak Mbps: 7801.469 Avg Mbps: 7801.469 2000 980160688 7849.135 100.00% Conn: 1 Mbps: 7849.135 Peak Mbps: 7849.135 Avg Mbps: 7849.135 3000 981730096 7853.841 100.00% Conn: 1 Mbps: 7853.841 Peak Mbps: 7853.841 Avg Mbps: 7853.841 4000 978231624 7825.853 100.00% Conn: 1 Mbps: 7825.853 Peak Mbps: 7853.841 Avg Mbps: 7825.853 5000 979670248 7837.362 100.00% Conn: 1 Mbps: 7837.362 Peak Mbps: 7853.841 Avg Mbps: 7837.362 --- fc00:0:0:1::12 tcpbench statistics --- 5874908092 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7801.469/7833.532/7853.841/18.749 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.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-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.054 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.054/0.054/0.054/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 1030965864 8247.727 100.00% Conn: 1 Mbps: 8247.727 Peak Mbps: 8247.727 Avg Mbps: 8247.727 2000 1033007700 8272.334 100.00% Conn: 1 Mbps: 8272.334 Peak Mbps: 8272.334 Avg Mbps: 8272.334 3000 1031797208 8254.378 100.00% Conn: 1 Mbps: 8254.378 Peak Mbps: 8272.334 Avg Mbps: 8254.378 4000 1032026220 8256.210 100.00% Conn: 1 Mbps: 8256.210 Peak Mbps: 8272.334 Avg Mbps: 8256.210 5000 1034237462 8273.900 100.00% Conn: 1 Mbps: 8273.900 Peak Mbps: 8273.900 Avg Mbps: 8273.900 --- 169.254.0.13 tcpbench statistics --- 6191541542 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8247.727/8260.910/8273.900/10.371 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 1031674820 8253.399 100.00% Conn: 1 Mbps: 8253.399 Peak Mbps: 8253.399 Avg Mbps: 8253.399 2000 1029368168 8243.189 100.00% Conn: 1 Mbps: 8243.189 Peak Mbps: 8253.399 Avg Mbps: 8243.189 3000 1028681552 8229.452 100.00% Conn: 1 Mbps: 8229.452 Peak Mbps: 8253.399 Avg Mbps: 8229.452 4000 1029204688 8233.638 100.00% Conn: 1 Mbps: 8233.638 Peak Mbps: 8253.399 Avg Mbps: 8233.638 5000 1029989392 8239.915 100.00% Conn: 1 Mbps: 8239.915 Peak Mbps: 8253.399 Avg Mbps: 8239.915 --- fc00::13 tcpbench statistics --- 6178482964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8229.452/8239.918/8253.399/8.263 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.91s