START sys/net/pair 2024-12-25T04:58: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.049 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.049/0.049/0.049/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.044 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 622097908 4976.783 100.00% Conn: 1 Mbps: 4976.783 Peak Mbps: 4976.783 Avg Mbps: 4976.783 2000 619022032 4952.176 100.00% Conn: 1 Mbps: 4952.176 Peak Mbps: 4976.783 Avg Mbps: 4952.176 3000 619411484 4960.252 100.00% Conn: 1 Mbps: 4960.252 Peak Mbps: 4976.783 Avg Mbps: 4960.252 4000 617710612 4946.632 100.00% Conn: 1 Mbps: 4946.632 Peak Mbps: 4976.783 Avg Mbps: 4946.632 5000 620476516 4963.812 100.00% Conn: 1 Mbps: 4963.812 Peak Mbps: 4976.783 Avg Mbps: 4963.812 --- 169.254.1.11 tcpbench statistics --- 3716937836 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4946.632/4959.931/4976.783/10.355 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 629538696 5036.310 100.00% Conn: 1 Mbps: 5036.310 Peak Mbps: 5036.310 Avg Mbps: 5036.310 2000 625931456 5012.464 100.00% Conn: 1 Mbps: 5012.464 Peak Mbps: 5036.310 Avg Mbps: 5012.464 3000 628111656 5029.923 100.00% Conn: 1 Mbps: 5029.923 Peak Mbps: 5036.310 Avg Mbps: 5029.923 4000 624773968 4998.192 100.00% Conn: 1 Mbps: 4998.192 Peak Mbps: 5036.310 Avg Mbps: 4998.192 5000 623812472 4995.495 100.00% Conn: 1 Mbps: 4995.495 Peak Mbps: 5036.310 Avg Mbps: 4995.495 --- fc00:0:0:1::11 tcpbench statistics --- 3756252480 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4995.495/5014.477/5036.310/16.400 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.090 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.090/0.090/0.090/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.147 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.147/0.147/0.147/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 211585176 1692.681 100.00% Conn: 1 Mbps: 1692.681 Peak Mbps: 1692.681 Avg Mbps: 1692.681 2000 211755616 1694.045 100.00% Conn: 1 Mbps: 1694.045 Peak Mbps: 1694.045 Avg Mbps: 1694.045 3000 211151240 1689.210 100.00% Conn: 1 Mbps: 1689.210 Peak Mbps: 1694.045 Avg Mbps: 1689.210 4001 209963320 1679.707 100.00% Conn: 1 Mbps: 1679.707 Peak Mbps: 1694.045 Avg Mbps: 1679.707 5002 211524936 1690.509 100.00% Conn: 1 Mbps: 1690.509 Peak Mbps: 1694.045 Avg Mbps: 1690.509 --- 169.254.1.12 tcpbench statistics --- 1266670056 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1679.707/1689.230/1694.045/5.048 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 205919664 1647.357 100.00% Conn: 1 Mbps: 1647.357 Peak Mbps: 1647.357 Avg Mbps: 1647.357 2000 205601940 1646.462 100.00% Conn: 1 Mbps: 1646.462 Peak Mbps: 1647.357 Avg Mbps: 1646.462 3001 206392656 1651.141 100.00% Conn: 1 Mbps: 1651.141 Peak Mbps: 1651.141 Avg Mbps: 1651.141 4001 206615368 1652.923 100.00% Conn: 1 Mbps: 1652.923 Peak Mbps: 1652.923 Avg Mbps: 1652.923 5002 206035500 1648.284 100.00% Conn: 1 Mbps: 1648.284 Peak Mbps: 1652.923 Avg Mbps: 1648.284 --- fc00:0:0:1::12 tcpbench statistics --- 1235181904 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1646.462/1649.233/1652.923/2.423 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.068 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.068/0.068/0.068/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.088 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.088/0.088/0.088/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 333624968 2669.000 100.00% Conn: 1 Mbps: 2669.000 Peak Mbps: 2669.000 Avg Mbps: 2669.000 2000 333298960 2669.061 100.00% Conn: 1 Mbps: 2669.061 Peak Mbps: 2669.061 Avg Mbps: 2669.061 3000 334094040 2672.752 100.00% Conn: 1 Mbps: 2672.752 Peak Mbps: 2672.752 Avg Mbps: 2672.752 4000 334817168 2678.537 100.00% Conn: 1 Mbps: 2678.537 Peak Mbps: 2678.537 Avg Mbps: 2678.537 5000 335713752 2685.710 100.00% Conn: 1 Mbps: 2685.710 Peak Mbps: 2685.710 Avg Mbps: 2685.710 --- 169.254.0.13 tcpbench statistics --- 2009417948 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2669.000/2675.012/2685.710/6.380 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 306324144 2450.593 100.00% Conn: 1 Mbps: 2450.593 Peak Mbps: 2450.593 Avg Mbps: 2450.593 2000 304688896 2439.951 100.00% Conn: 1 Mbps: 2439.951 Peak Mbps: 2450.593 Avg Mbps: 2439.951 3000 307028176 2456.225 100.00% Conn: 1 Mbps: 2456.225 Peak Mbps: 2456.225 Avg Mbps: 2456.225 4000 307488000 2459.904 100.00% Conn: 1 Mbps: 2459.904 Peak Mbps: 2459.904 Avg Mbps: 2459.904 5000 306648672 2453.189 100.00% Conn: 1 Mbps: 2453.189 Peak Mbps: 2459.904 Avg Mbps: 2453.189 --- fc00::13 tcpbench statistics --- 1839048024 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2439.951/2451.973/2459.904/6.766 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.056 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.056/0.056/0.056/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.050 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 216321760 1730.574 100.00% Conn: 1 Mbps: 1730.574 Peak Mbps: 1730.574 Avg Mbps: 1730.574 2000 218060104 1744.481 100.00% Conn: 1 Mbps: 1744.481 Peak Mbps: 1744.481 Avg Mbps: 1744.481 3001 217212520 1737.700 100.00% Conn: 1 Mbps: 1737.700 Peak Mbps: 1744.481 Avg Mbps: 1737.700 4001 214847152 1720.498 100.00% Conn: 1 Mbps: 1720.498 Peak Mbps: 1744.481 Avg Mbps: 1720.498 5001 217421752 1739.374 100.00% Conn: 1 Mbps: 1739.374 Peak Mbps: 1744.481 Avg Mbps: 1739.374 --- 169.254.1.11 tcpbench statistics --- 1301810216 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1720.498/1734.525/1744.481/8.308 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 206273384 1650.187 100.00% Conn: 1 Mbps: 1650.187 Peak Mbps: 1650.187 Avg Mbps: 1650.187 2001 208632580 1669.061 100.00% Conn: 1 Mbps: 1669.061 Peak Mbps: 1669.061 Avg Mbps: 1669.061 3002 207867780 1661.281 100.00% Conn: 1 Mbps: 1661.281 Peak Mbps: 1669.061 Avg Mbps: 1661.281 4003 209102196 1672.818 100.00% Conn: 1 Mbps: 1672.818 Peak Mbps: 1672.818 Avg Mbps: 1672.818 5003 208577964 1668.624 100.00% Conn: 1 Mbps: 1668.624 Peak Mbps: 1672.818 Avg Mbps: 1668.624 --- fc00:0:0:1::11 tcpbench statistics --- 1248285872 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1650.187/1664.394/1672.818/8.027 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.049 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.049/0.049/0.049/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.044 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.044/0.044/0.044/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 594532872 4756.263 100.00% Conn: 1 Mbps: 4756.263 Peak Mbps: 4756.263 Avg Mbps: 4756.263 2000 585879624 4691.729 100.00% Conn: 1 Mbps: 4691.729 Peak Mbps: 4756.263 Avg Mbps: 4691.729 3000 584071632 4672.573 100.00% Conn: 1 Mbps: 4672.573 Peak Mbps: 4756.263 Avg Mbps: 4672.573 4000 586891832 4695.135 100.00% Conn: 1 Mbps: 4695.135 Peak Mbps: 4756.263 Avg Mbps: 4695.135 5000 585711712 4685.694 100.00% Conn: 1 Mbps: 4685.694 Peak Mbps: 4756.263 Avg Mbps: 4685.694 --- 169.254.1.12 tcpbench statistics --- 3520229128 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4672.573/4700.279/4756.263/29.031 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 585780700 4686.246 100.00% Conn: 1 Mbps: 4686.246 Peak Mbps: 4686.246 Avg Mbps: 4686.246 2000 587430648 4704.149 100.00% Conn: 1 Mbps: 4704.149 Peak Mbps: 4704.149 Avg Mbps: 4704.149 3000 589849680 4718.797 100.00% Conn: 1 Mbps: 4718.797 Peak Mbps: 4718.797 Avg Mbps: 4718.797 4000 589208508 4713.668 100.00% Conn: 1 Mbps: 4713.668 Peak Mbps: 4718.797 Avg Mbps: 4713.668 5000 589029400 4712.235 100.00% Conn: 1 Mbps: 4712.235 Peak Mbps: 4718.797 Avg Mbps: 4712.235 --- fc00:0:0:1::12 tcpbench statistics --- 3528723264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4686.246/4707.019/4718.797/11.401 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.058 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.058/0.058/0.058/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.053 ms --- fc00::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-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 1075853218 8606.826 100.00% Conn: 1 Mbps: 8606.826 Peak Mbps: 8606.826 Avg Mbps: 8606.826 2000 1081721824 8662.437 100.00% Conn: 1 Mbps: 8662.437 Peak Mbps: 8662.437 Avg Mbps: 8662.437 3000 1059213216 8473.706 100.00% Conn: 1 Mbps: 8473.706 Peak Mbps: 8662.437 Avg Mbps: 8473.706 4000 1065494688 8523.958 100.00% Conn: 1 Mbps: 8523.958 Peak Mbps: 8662.437 Avg Mbps: 8523.958 5000 1066934192 8535.474 100.00% Conn: 1 Mbps: 8535.474 Peak Mbps: 8662.437 Avg Mbps: 8535.474 --- 169.254.0.13 tcpbench statistics --- 6421974778 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8473.706/8560.480/8662.437/66.381 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 1056137044 8449.096 100.00% Conn: 1 Mbps: 8449.096 Peak Mbps: 8449.096 Avg Mbps: 8449.096 2000 1051437968 8419.924 100.00% Conn: 1 Mbps: 8419.924 Peak Mbps: 8449.096 Avg Mbps: 8419.924 3000 1052778504 8422.228 100.00% Conn: 1 Mbps: 8422.228 Peak Mbps: 8449.096 Avg Mbps: 8422.228 4000 1041400296 8331.202 100.00% Conn: 1 Mbps: 8331.202 Peak Mbps: 8449.096 Avg Mbps: 8331.202 5000 1048397240 8387.178 100.00% Conn: 1 Mbps: 8387.178 Peak Mbps: 8449.096 Avg Mbps: 8387.178 --- fc00::13 tcpbench statistics --- 6299921524 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8331.202/8401.926/8449.096/40.449 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.061 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.061/0.061/0.061/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 211493352 1690.257 100.00% Conn: 1 Mbps: 1690.257 Peak Mbps: 1690.257 Avg Mbps: 1690.257 2000 209837680 1680.382 100.00% Conn: 1 Mbps: 1680.382 Peak Mbps: 1690.257 Avg Mbps: 1680.382 3001 212011296 1694.396 100.00% Conn: 1 Mbps: 1694.396 Peak Mbps: 1694.396 Avg Mbps: 1694.396 4003 212384880 1697.382 100.00% Conn: 1 Mbps: 1697.382 Peak Mbps: 1697.382 Avg Mbps: 1697.382 5002 212225936 1699.507 100.00% Conn: 1 Mbps: 1699.507 Peak Mbps: 1699.507 Avg Mbps: 1699.507 --- 169.254.1.11 tcpbench statistics --- 1269760488 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1680.382/1692.385/1699.507/6.758 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 315459896 2523.679 100.00% Conn: 1 Mbps: 2523.679 Peak Mbps: 2523.679 Avg Mbps: 2523.679 2000 312851848 2505.320 100.00% Conn: 1 Mbps: 2505.320 Peak Mbps: 2523.679 Avg Mbps: 2505.320 3000 310987128 2487.897 100.00% Conn: 1 Mbps: 2487.897 Peak Mbps: 2523.679 Avg Mbps: 2487.897 4000 312482064 2499.857 100.00% Conn: 1 Mbps: 2499.857 Peak Mbps: 2523.679 Avg Mbps: 2499.857 5001 314511064 2516.089 100.00% Conn: 1 Mbps: 2516.089 Peak Mbps: 2523.679 Avg Mbps: 2516.089 --- fc00:0:0:1::11 tcpbench statistics --- 1878328096 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2487.897/2506.568/2523.679/12.479 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.046 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.046/0.046/0.046/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 1077992486 8623.940 100.00% Conn: 1 Mbps: 8623.940 Peak Mbps: 8623.940 Avg Mbps: 8623.940 2000 1080265950 8650.778 100.00% Conn: 1 Mbps: 8650.778 Peak Mbps: 8650.778 Avg Mbps: 8650.778 3000 1086514718 8700.819 100.00% Conn: 1 Mbps: 8700.819 Peak Mbps: 8700.819 Avg Mbps: 8700.819 4000 1083128612 8665.029 100.00% Conn: 1 Mbps: 8665.029 Peak Mbps: 8700.819 Avg Mbps: 8665.029 5000 1090526172 8724.209 100.00% Conn: 1 Mbps: 8724.209 Peak Mbps: 8724.209 Avg Mbps: 8724.209 --- 169.254.1.12 tcpbench statistics --- 6496240200 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8623.940/8672.955/8724.209/35.666 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 1046242868 8369.943 100.00% Conn: 1 Mbps: 8369.943 Peak Mbps: 8369.943 Avg Mbps: 8369.943 2000 1040059760 8328.807 100.00% Conn: 1 Mbps: 8328.807 Peak Mbps: 8369.943 Avg Mbps: 8328.807 3000 1029368168 8234.945 100.00% Conn: 1 Mbps: 8234.945 Peak Mbps: 8369.943 Avg Mbps: 8234.945 4000 1041111792 8328.894 100.00% Conn: 1 Mbps: 8328.894 Peak Mbps: 8369.943 Avg Mbps: 8328.894 5000 1032768552 8262.148 100.00% Conn: 1 Mbps: 8262.148 Peak Mbps: 8369.943 Avg Mbps: 8262.148 --- fc00:0:0:1::12 tcpbench statistics --- 6225164244 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8234.945/8304.948/8369.943/49.192 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.051 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.051/0.051/0.051/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 1116150186 8929.201 100.00% Conn: 1 Mbps: 8929.201 Peak Mbps: 8929.201 Avg Mbps: 8929.201 2000 1114683194 8926.392 100.00% Conn: 1 Mbps: 8926.392 Peak Mbps: 8929.201 Avg Mbps: 8926.392 3000 1111117150 8888.937 100.00% Conn: 1 Mbps: 8888.937 Peak Mbps: 8929.201 Avg Mbps: 8888.937 4000 1109988448 8879.908 100.00% Conn: 1 Mbps: 8879.908 Peak Mbps: 8929.201 Avg Mbps: 8879.908 5000 1102909594 8823.277 100.00% Conn: 1 Mbps: 8823.277 Peak Mbps: 8929.201 Avg Mbps: 8823.277 --- 169.254.0.13 tcpbench statistics --- 6663479306 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8823.277/8889.543/8929.201/38.510 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 1106392848 8851.143 100.00% Conn: 1 Mbps: 8851.143 Peak Mbps: 8851.143 Avg Mbps: 8851.143 2000 1101299368 8819.214 100.00% Conn: 1 Mbps: 8819.214 Peak Mbps: 8851.143 Avg Mbps: 8819.214 3000 1099860744 8798.886 100.00% Conn: 1 Mbps: 8798.886 Peak Mbps: 8851.143 Avg Mbps: 8798.886 4000 1097637416 8781.099 100.00% Conn: 1 Mbps: 8781.099 Peak Mbps: 8851.143 Avg Mbps: 8781.099 5000 1108394400 8867.155 100.00% Conn: 1 Mbps: 8867.155 Peak Mbps: 8867.155 Avg Mbps: 8867.155 --- fc00::13 tcpbench statistics --- 6622796576 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8781.099/8823.499/8867.155/31.912 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m52.86s