START sys/net/pair 2025-01-02T04:51:22Z ==== 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.046 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.046/0.046/0.046/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 698970404 5591.763 100.00% Conn: 1 Mbps: 5591.763 Peak Mbps: 5591.763 Avg Mbps: 5591.763 2000 696940444 5575.524 100.00% Conn: 1 Mbps: 5575.524 Peak Mbps: 5591.763 Avg Mbps: 5575.524 3000 697858244 5582.866 100.00% Conn: 1 Mbps: 5582.866 Peak Mbps: 5591.763 Avg Mbps: 5582.866 4000 697238300 5577.906 100.00% Conn: 1 Mbps: 5577.906 Peak Mbps: 5591.763 Avg Mbps: 5577.906 5000 696306984 5570.456 100.00% Conn: 1 Mbps: 5570.456 Peak Mbps: 5591.763 Avg Mbps: 5570.456 --- 169.254.1.11 tcpbench statistics --- 4191359212 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5570.456/5579.703/5591.763/7.234 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 716072816 5728.583 100.00% Conn: 1 Mbps: 5728.583 Peak Mbps: 5728.583 Avg Mbps: 5728.583 2000 713805408 5716.159 100.00% Conn: 1 Mbps: 5716.159 Peak Mbps: 5728.583 Avg Mbps: 5716.159 3000 716033176 5728.265 100.00% Conn: 1 Mbps: 5728.265 Peak Mbps: 5728.583 Avg Mbps: 5728.265 4000 717753552 5742.028 100.00% Conn: 1 Mbps: 5742.028 Peak Mbps: 5742.028 Avg Mbps: 5742.028 5000 713432792 5707.462 100.00% Conn: 1 Mbps: 5707.462 Peak Mbps: 5742.028 Avg Mbps: 5707.462 --- fc00:0:0:1::11 tcpbench statistics --- 4296743880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5707.462/5724.500/5742.028/11.815 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.078 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.078/0.078/0.078/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.143 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.143/0.143/0.143/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 261167128 2089.337 100.00% Conn: 1 Mbps: 2089.337 Peak Mbps: 2089.337 Avg Mbps: 2089.337 2000 277835088 2224.906 100.00% Conn: 1 Mbps: 2224.906 Peak Mbps: 2224.906 Avg Mbps: 2224.906 3000 275974688 2207.798 100.00% Conn: 1 Mbps: 2207.798 Peak Mbps: 2224.906 Avg Mbps: 2207.798 4001 274783264 2198.266 100.00% Conn: 1 Mbps: 2198.266 Peak Mbps: 2224.906 Avg Mbps: 2198.266 5001 273435840 2187.487 100.00% Conn: 1 Mbps: 2187.487 Peak Mbps: 2224.906 Avg Mbps: 2187.487 --- 169.254.1.12 tcpbench statistics --- 1640620032 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2089.337/2181.559/2224.906/47.721 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 237451140 1897.711 100.00% Conn: 1 Mbps: 1897.711 Peak Mbps: 1897.711 Avg Mbps: 1897.711 2000 249612852 1998.902 100.00% Conn: 1 Mbps: 1998.902 Peak Mbps: 1998.902 Avg Mbps: 1998.902 3000 254805032 2038.440 100.00% Conn: 1 Mbps: 2038.440 Peak Mbps: 2038.440 Avg Mbps: 2038.440 4001 254904412 2039.235 100.00% Conn: 1 Mbps: 2039.235 Peak Mbps: 2039.235 Avg Mbps: 2039.235 5001 255162004 2041.296 100.00% Conn: 1 Mbps: 2041.296 Peak Mbps: 2041.296 Avg Mbps: 2041.296 --- fc00:0:0:1::12 tcpbench statistics --- 1511795536 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1897.711/2003.117/2041.296/55.024 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.063 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.063/0.063/0.063/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 568583604 4548.669 100.00% Conn: 1 Mbps: 4548.669 Peak Mbps: 4548.669 Avg Mbps: 4548.669 2000 593365888 4746.927 100.00% Conn: 1 Mbps: 4746.927 Peak Mbps: 4746.927 Avg Mbps: 4746.927 3000 584662548 4677.300 100.00% Conn: 1 Mbps: 4677.300 Peak Mbps: 4746.927 Avg Mbps: 4677.300 4000 591951424 4735.611 100.00% Conn: 1 Mbps: 4735.611 Peak Mbps: 4746.927 Avg Mbps: 4735.611 5000 590933660 4732.201 100.00% Conn: 1 Mbps: 4732.201 Peak Mbps: 4746.927 Avg Mbps: 4732.201 --- 169.254.0.13 tcpbench statistics --- 3483067096 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4548.669/4688.142/4746.927/73.784 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 539873536 4318.988 100.00% Conn: 1 Mbps: 4318.988 Peak Mbps: 4318.988 Avg Mbps: 4318.988 2000 571077624 4573.194 100.00% Conn: 1 Mbps: 4573.194 Peak Mbps: 4573.194 Avg Mbps: 4573.194 3001 571078664 4568.629 100.00% Conn: 1 Mbps: 4568.629 Peak Mbps: 4573.194 Avg Mbps: 4568.629 4001 570643664 4565.149 100.00% Conn: 1 Mbps: 4565.149 Peak Mbps: 4573.194 Avg Mbps: 4565.149 5002 574707088 4597.657 100.00% Conn: 1 Mbps: 4597.657 Peak Mbps: 4597.657 Avg Mbps: 4597.657 --- fc00::13 tcpbench statistics --- 3400157392 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4318.988/4524.724/4597.657/103.496 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.057 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.057/0.057/0.057/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.051 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-tcpbench-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 256486576 2051.893 100.00% Conn: 1 Mbps: 2051.893 Peak Mbps: 2051.893 Avg Mbps: 2051.893 2001 270844872 2166.759 100.00% Conn: 1 Mbps: 2166.759 Peak Mbps: 2166.759 Avg Mbps: 2166.759 3001 270901456 2167.212 100.00% Conn: 1 Mbps: 2167.212 Peak Mbps: 2167.212 Avg Mbps: 2167.212 4003 274298960 2192.199 100.00% Conn: 1 Mbps: 2192.199 Peak Mbps: 2192.199 Avg Mbps: 2192.199 5002 272664448 2183.499 100.00% Conn: 1 Mbps: 2183.499 Peak Mbps: 2192.199 Avg Mbps: 2183.499 --- 169.254.1.11 tcpbench statistics --- 1620405280 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2051.893/2152.312/2192.199/51.144 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 236726988 1893.816 100.00% Conn: 1 Mbps: 1893.816 Peak Mbps: 1893.816 Avg Mbps: 1893.816 2000 246075836 1968.607 100.00% Conn: 1 Mbps: 1968.607 Peak Mbps: 1968.607 Avg Mbps: 1968.607 3001 248529352 1988.235 100.00% Conn: 1 Mbps: 1988.235 Peak Mbps: 1988.235 Avg Mbps: 1988.235 4000 250122308 2002.981 100.00% Conn: 1 Mbps: 2002.981 Peak Mbps: 2002.981 Avg Mbps: 2002.981 5002 251237604 2007.893 100.00% Conn: 1 Mbps: 2007.893 Peak Mbps: 2007.893 Avg Mbps: 2007.893 --- fc00:0:0:1::11 tcpbench statistics --- 1485774188 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1893.816/1972.306/2007.893/41.558 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.050 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.050/0.050/0.050/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.055 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.055/0.055/0.055/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 681688552 5453.508 100.00% Conn: 1 Mbps: 5453.508 Peak Mbps: 5453.508 Avg Mbps: 5453.508 2000 687901360 5508.720 100.00% Conn: 1 Mbps: 5508.720 Peak Mbps: 5508.720 Avg Mbps: 5508.720 3000 686704320 5493.635 100.00% Conn: 1 Mbps: 5493.635 Peak Mbps: 5508.720 Avg Mbps: 5493.635 4000 684916376 5479.331 100.00% Conn: 1 Mbps: 5479.331 Peak Mbps: 5508.720 Avg Mbps: 5479.331 5000 685371376 5482.971 100.00% Conn: 1 Mbps: 5482.971 Peak Mbps: 5508.720 Avg Mbps: 5482.971 --- 169.254.1.12 tcpbench statistics --- 4112117480 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5453.508/5483.633/5508.720/18.198 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 682484860 5459.879 100.00% Conn: 1 Mbps: 5459.879 Peak Mbps: 5459.879 Avg Mbps: 5459.879 2000 685418000 5488.833 100.00% Conn: 1 Mbps: 5488.833 Peak Mbps: 5488.833 Avg Mbps: 5488.833 3000 682121200 5456.970 100.00% Conn: 1 Mbps: 5456.970 Peak Mbps: 5488.833 Avg Mbps: 5456.970 4000 681425892 5451.407 100.00% Conn: 1 Mbps: 5451.407 Peak Mbps: 5488.833 Avg Mbps: 5451.407 5000 678771240 5435.606 100.00% Conn: 1 Mbps: 5435.606 Peak Mbps: 5488.833 Avg Mbps: 5435.606 --- fc00:0:0:1::12 tcpbench statistics --- 4091020432 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5435.606/5458.539/5488.833/17.313 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.060 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.060/0.060/0.060/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.055 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.055/0.055/0.055/0.000 ms ==== run-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 1170026042 9360.208 100.00% Conn: 1 Mbps: 9360.208 Peak Mbps: 9360.208 Avg Mbps: 9360.208 2000 1172754094 9391.424 100.00% Conn: 1 Mbps: 9391.424 Peak Mbps: 9391.424 Avg Mbps: 9391.424 3000 1173931870 9391.455 100.00% Conn: 1 Mbps: 9391.455 Peak Mbps: 9391.455 Avg Mbps: 9391.455 4000 1163560898 9308.487 100.00% Conn: 1 Mbps: 9308.487 Peak Mbps: 9391.455 Avg Mbps: 9308.487 5000 1159896694 9279.174 100.00% Conn: 1 Mbps: 9279.174 Peak Mbps: 9391.455 Avg Mbps: 9279.174 --- 169.254.0.13 tcpbench statistics --- 7008637896 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9279.174/9346.150/9391.455/45.176 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 1151064588 9208.517 100.00% Conn: 1 Mbps: 9208.517 Peak Mbps: 9208.517 Avg Mbps: 9208.517 2000 1151716600 9222.956 100.00% Conn: 1 Mbps: 9222.956 Peak Mbps: 9222.956 Avg Mbps: 9222.956 3000 1157307616 9258.461 100.00% Conn: 1 Mbps: 9258.461 Peak Mbps: 9258.461 Avg Mbps: 9258.461 4000 1156032472 9248.260 100.00% Conn: 1 Mbps: 9248.260 Peak Mbps: 9258.461 Avg Mbps: 9248.260 5000 1155018896 9240.151 100.00% Conn: 1 Mbps: 9240.151 Peak Mbps: 9258.461 Avg Mbps: 9240.151 --- fc00::13 tcpbench statistics --- 6927761172 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9208.517/9235.669/9258.461/17.872 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.073 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.073/0.073/0.073/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 262965984 2103.728 100.00% Conn: 1 Mbps: 2103.728 Peak Mbps: 2103.728 Avg Mbps: 2103.728 2001 270234704 2159.718 100.00% Conn: 1 Mbps: 2159.718 Peak Mbps: 2159.718 Avg Mbps: 2159.718 3001 268025288 2144.202 100.00% Conn: 1 Mbps: 2144.202 Peak Mbps: 2159.718 Avg Mbps: 2144.202 4003 267293368 2136.211 100.00% Conn: 1 Mbps: 2136.211 Peak Mbps: 2159.718 Avg Mbps: 2136.211 5003 275145928 2203.371 100.00% Conn: 1 Mbps: 2203.371 Peak Mbps: 2203.371 Avg Mbps: 2203.371 --- 169.254.1.11 tcpbench statistics --- 1614204720 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2103.728/2149.446/2203.371/32.577 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 503756408 4030.051 100.00% Conn: 1 Mbps: 4030.051 Peak Mbps: 4030.051 Avg Mbps: 4030.051 2000 553355584 4431.276 100.00% Conn: 1 Mbps: 4431.276 Peak Mbps: 4431.276 Avg Mbps: 4431.276 3001 550508544 4404.068 100.00% Conn: 1 Mbps: 4404.068 Peak Mbps: 4431.276 Avg Mbps: 4404.068 4001 548414336 4387.315 100.00% Conn: 1 Mbps: 4387.315 Peak Mbps: 4431.276 Avg Mbps: 4387.315 5001 550387032 4403.096 100.00% Conn: 1 Mbps: 4403.096 Peak Mbps: 4431.276 Avg Mbps: 4403.096 --- fc00:0:0:1::11 tcpbench statistics --- 3259993832 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4030.051/4331.161/4431.276/151.217 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.061 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.061/0.061/0.061/0.000 ms ==== run-ping6-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.050 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.050/0.050/0.050/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 1182634682 9461.077 100.00% Conn: 1 Mbps: 9461.077 Peak Mbps: 9461.077 Avg Mbps: 9461.077 2000 1181014884 9457.577 100.00% Conn: 1 Mbps: 9457.577 Peak Mbps: 9461.077 Avg Mbps: 9457.577 3000 1182421672 9459.373 100.00% Conn: 1 Mbps: 9459.373 Peak Mbps: 9461.077 Avg Mbps: 9459.373 4000 1182372598 9458.981 100.00% Conn: 1 Mbps: 9458.981 Peak Mbps: 9461.077 Avg Mbps: 9458.981 5000 1182896054 9463.168 100.00% Conn: 1 Mbps: 9463.168 Peak Mbps: 9463.168 Avg Mbps: 9463.168 --- 169.254.1.12 tcpbench statistics --- 7095986250 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9457.577/9460.035/9463.168/1.923 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 1136318188 9090.546 100.00% Conn: 1 Mbps: 9090.546 Peak Mbps: 9090.546 Avg Mbps: 9090.546 2000 1139651776 9126.341 100.00% Conn: 1 Mbps: 9126.341 Peak Mbps: 9126.341 Avg Mbps: 9126.341 3000 1137526536 9100.212 100.00% Conn: 1 Mbps: 9100.212 Peak Mbps: 9126.341 Avg Mbps: 9100.212 4000 1139422904 9115.383 100.00% Conn: 1 Mbps: 9115.383 Peak Mbps: 9126.341 Avg Mbps: 9115.383 5000 1143117552 9144.940 100.00% Conn: 1 Mbps: 9144.940 Peak Mbps: 9144.940 Avg Mbps: 9144.940 --- fc00:0:0:1::12 tcpbench statistics --- 6839448772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9090.546/9115.484/9144.940/19.187 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.047 ms --- fc00::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-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 1182379854 9459.039 100.00% Conn: 1 Mbps: 9459.039 Peak Mbps: 9459.039 Avg Mbps: 9459.039 2000 1188801292 9519.930 100.00% Conn: 1 Mbps: 9519.930 Peak Mbps: 9519.930 Avg Mbps: 9519.930 3000 1182192660 9457.541 100.00% Conn: 1 Mbps: 9457.541 Peak Mbps: 9519.930 Avg Mbps: 9457.541 4000 1192988940 9543.912 100.00% Conn: 1 Mbps: 9543.912 Peak Mbps: 9543.912 Avg Mbps: 9543.912 5000 1192187398 9537.499 100.00% Conn: 1 Mbps: 9537.499 Peak Mbps: 9543.912 Avg Mbps: 9537.499 --- 169.254.0.13 tcpbench statistics --- 7130835690 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9457.541/9503.584/9543.912/37.810 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 1199510228 9596.082 100.00% Conn: 1 Mbps: 9596.082 Peak Mbps: 9596.082 Avg Mbps: 9596.082 2000 1205730392 9655.499 100.00% Conn: 1 Mbps: 9655.499 Peak Mbps: 9655.499 Avg Mbps: 9655.499 3000 1202231920 9617.855 100.00% Conn: 1 Mbps: 9617.855 Peak Mbps: 9655.499 Avg Mbps: 9617.855 4000 1206220832 9649.767 100.00% Conn: 1 Mbps: 9649.767 Peak Mbps: 9655.499 Avg Mbps: 9649.767 5000 1202166528 9626.959 100.00% Conn: 1 Mbps: 9626.959 Peak Mbps: 9655.499 Avg Mbps: 9626.959 --- fc00::13 tcpbench statistics --- 7221622988 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9596.082/9629.232/9655.499/21.657 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.89s