START sys/net/pair 2025-01-05T04:51:50Z ==== 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.052 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.052/0.052/0.052/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.042 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.042/0.042/0.042/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 708286020 5666.288 100.00% Conn: 1 Mbps: 5666.288 Peak Mbps: 5666.288 Avg Mbps: 5666.288 2000 704280228 5639.882 100.00% Conn: 1 Mbps: 5639.882 Peak Mbps: 5666.288 Avg Mbps: 5639.882 3000 704502772 5636.022 100.00% Conn: 1 Mbps: 5636.022 Peak Mbps: 5666.288 Avg Mbps: 5636.022 4000 707165352 5657.323 100.00% Conn: 1 Mbps: 5657.323 Peak Mbps: 5666.288 Avg Mbps: 5657.323 5000 707252780 5658.022 100.00% Conn: 1 Mbps: 5658.022 Peak Mbps: 5666.288 Avg Mbps: 5658.022 --- 169.254.1.11 tcpbench statistics --- 4236156832 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5636.022/5651.507/5666.288/11.573 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 722391432 5779.131 100.00% Conn: 1 Mbps: 5779.131 Peak Mbps: 5779.131 Avg Mbps: 5779.131 2000 716532640 5737.999 100.00% Conn: 1 Mbps: 5737.999 Peak Mbps: 5779.131 Avg Mbps: 5737.999 3000 718213376 5745.707 100.00% Conn: 1 Mbps: 5745.707 Peak Mbps: 5779.131 Avg Mbps: 5745.707 4000 721051600 5768.413 100.00% Conn: 1 Mbps: 5768.413 Peak Mbps: 5779.131 Avg Mbps: 5768.413 5000 718276800 5746.214 100.00% Conn: 1 Mbps: 5746.214 Peak Mbps: 5779.131 Avg Mbps: 5746.214 --- fc00:0:0:1::11 tcpbench statistics --- 4313664440 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5737.999/5755.493/5779.131/15.579 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.075 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.075/0.075/0.075/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.146 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.146/0.146/0.146/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 1002 260980056 2083.673 100.00% Conn: 1 Mbps: 2083.673 Peak Mbps: 2083.673 Avg Mbps: 2083.673 2001 272403760 2181.411 100.00% Conn: 1 Mbps: 2181.411 Peak Mbps: 2181.411 Avg Mbps: 2181.411 3002 271737176 2171.726 100.00% Conn: 1 Mbps: 2171.726 Peak Mbps: 2181.411 Avg Mbps: 2171.726 4003 270300928 2162.407 100.00% Conn: 1 Mbps: 2162.407 Peak Mbps: 2181.411 Avg Mbps: 2162.407 5003 271795152 2176.538 100.00% Conn: 1 Mbps: 2176.538 Peak Mbps: 2181.411 Avg Mbps: 2176.538 --- 169.254.1.12 tcpbench statistics --- 1616398648 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2083.673/2155.151/2181.411/36.286 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 233105976 1862.985 100.00% Conn: 1 Mbps: 1862.985 Peak Mbps: 1862.985 Avg Mbps: 1862.985 2001 248891244 1991.130 100.00% Conn: 1 Mbps: 1991.130 Peak Mbps: 1991.130 Avg Mbps: 1991.130 3001 248036184 1986.276 100.00% Conn: 1 Mbps: 1986.276 Peak Mbps: 1991.130 Avg Mbps: 1986.276 4001 248842000 1990.736 100.00% Conn: 1 Mbps: 1990.736 Peak Mbps: 1991.130 Avg Mbps: 1990.736 5002 250380112 2003.041 100.00% Conn: 1 Mbps: 2003.041 Peak Mbps: 2003.041 Avg Mbps: 2003.041 --- fc00:0:0:1::12 tcpbench statistics --- 1484776456 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1862.985/1966.833/2003.041/52.221 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.095 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.095/0.095/0.095/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 550939324 4407.515 100.00% Conn: 1 Mbps: 4407.515 Peak Mbps: 4407.515 Avg Mbps: 4407.515 2000 559689932 4482.001 100.00% Conn: 1 Mbps: 4482.001 Peak Mbps: 4482.001 Avg Mbps: 4482.001 3000 554245692 4433.966 100.00% Conn: 1 Mbps: 4433.966 Peak Mbps: 4482.001 Avg Mbps: 4433.966 4000 560547896 4484.383 100.00% Conn: 1 Mbps: 4484.383 Peak Mbps: 4484.383 Avg Mbps: 4484.383 5000 567686600 4546.039 100.00% Conn: 1 Mbps: 4546.039 Peak Mbps: 4546.039 Avg Mbps: 4546.039 --- 169.254.0.13 tcpbench statistics --- 3335369692 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4407.515/4470.781/4546.039/47.608 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 539128304 4313.026 100.00% Conn: 1 Mbps: 4313.026 Peak Mbps: 4313.026 Avg Mbps: 4313.026 2000 569610816 4556.887 100.00% Conn: 1 Mbps: 4556.887 Peak Mbps: 4556.887 Avg Mbps: 4556.887 3001 567297008 4538.376 100.00% Conn: 1 Mbps: 4538.376 Peak Mbps: 4556.887 Avg Mbps: 4538.376 4001 569913768 4559.310 100.00% Conn: 1 Mbps: 4559.310 Peak Mbps: 4559.310 Avg Mbps: 4559.310 5001 569685936 4557.487 100.00% Conn: 1 Mbps: 4557.487 Peak Mbps: 4559.310 Avg Mbps: 4557.487 --- fc00::13 tcpbench statistics --- 3385121488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4313.026/4505.017/4559.310/96.296 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.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-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 254331176 2034.649 100.00% Conn: 1 Mbps: 2034.649 Peak Mbps: 2034.649 Avg Mbps: 2034.649 2001 266868504 2132.815 100.00% Conn: 1 Mbps: 2132.815 Peak Mbps: 2132.815 Avg Mbps: 2132.815 3002 271162544 2167.133 100.00% Conn: 1 Mbps: 2167.133 Peak Mbps: 2167.133 Avg Mbps: 2167.133 4004 267813152 2140.365 100.00% Conn: 1 Mbps: 2140.365 Peak Mbps: 2167.133 Avg Mbps: 2140.365 5004 269304200 2156.590 100.00% Conn: 1 Mbps: 2156.590 Peak Mbps: 2167.133 Avg Mbps: 2156.590 --- 169.254.1.11 tcpbench statistics --- 1598301104 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2034.649/2126.311/2167.133/47.381 Mbps ==== run-tcpbench6-2-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 12 -b fc00:0:0:1::12 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1001 234624024 1875.117 100.00% Conn: 1 Mbps: 1875.117 Peak Mbps: 1875.117 Avg Mbps: 1875.117 2000 245554800 1966.405 100.00% Conn: 1 Mbps: 1966.405 Peak Mbps: 1966.405 Avg Mbps: 1966.405 3003 245506248 1960.130 100.00% Conn: 1 Mbps: 1960.130 Peak Mbps: 1966.405 Avg Mbps: 1960.130 4002 249338732 1998.707 100.00% Conn: 1 Mbps: 1998.707 Peak Mbps: 1998.707 Avg Mbps: 1998.707 5002 249261960 1994.096 100.00% Conn: 1 Mbps: 1994.096 Peak Mbps: 1998.707 Avg Mbps: 1994.096 --- fc00:0:0:1::11 tcpbench statistics --- 1473877436 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1875.117/1958.891/1998.707/44.499 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.051 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.051/0.051/0.051/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.047 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-tcpbench-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 681855960 5454.848 100.00% Conn: 1 Mbps: 5454.848 Peak Mbps: 5454.848 Avg Mbps: 5454.848 2000 680577376 5450.069 100.00% Conn: 1 Mbps: 5450.069 Peak Mbps: 5454.848 Avg Mbps: 5450.069 3000 681314408 5450.515 100.00% Conn: 1 Mbps: 5450.515 Peak Mbps: 5454.848 Avg Mbps: 5450.515 4000 680392032 5448.585 100.00% Conn: 1 Mbps: 5448.585 Peak Mbps: 5454.848 Avg Mbps: 5448.585 5000 680444160 5443.553 100.00% Conn: 1 Mbps: 5443.553 Peak Mbps: 5454.848 Avg Mbps: 5443.553 --- 169.254.1.12 tcpbench statistics --- 4083177552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5443.553/5449.514/5454.848/3.637 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 692023080 5536.185 100.00% Conn: 1 Mbps: 5536.185 Peak Mbps: 5536.185 Avg Mbps: 5536.185 2000 686425320 5496.899 100.00% Conn: 1 Mbps: 5496.899 Peak Mbps: 5536.185 Avg Mbps: 5496.899 3000 689258472 5519.587 100.00% Conn: 1 Mbps: 5519.587 Peak Mbps: 5536.185 Avg Mbps: 5519.587 4000 691224828 5529.799 100.00% Conn: 1 Mbps: 5529.799 Peak Mbps: 5536.185 Avg Mbps: 5529.799 5000 694829100 5558.633 100.00% Conn: 1 Mbps: 5558.633 Peak Mbps: 5558.633 Avg Mbps: 5558.633 --- fc00:0:0:1::12 tcpbench statistics --- 4143890352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5496.899/5528.221/5558.633/20.230 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.059 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.059/0.059/0.059/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.051 ms --- fc00::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-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 1168993374 9351.947 100.00% Conn: 1 Mbps: 9351.947 Peak Mbps: 9351.947 Avg Mbps: 9351.947 2000 1170758418 9375.443 100.00% Conn: 1 Mbps: 9375.443 Peak Mbps: 9375.443 Avg Mbps: 9375.443 3000 1168779100 9350.233 100.00% Conn: 1 Mbps: 9350.233 Peak Mbps: 9375.443 Avg Mbps: 9350.233 4000 1172868600 9382.949 100.00% Conn: 1 Mbps: 9382.949 Peak Mbps: 9382.949 Avg Mbps: 9382.949 5000 1174259030 9394.072 100.00% Conn: 1 Mbps: 9394.072 Peak Mbps: 9394.072 Avg Mbps: 9394.072 --- 169.254.0.13 tcpbench statistics --- 7029116010 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9350.233/9370.929/9394.072/17.258 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 1159368580 9274.949 100.00% Conn: 1 Mbps: 9274.949 Peak Mbps: 9274.949 Avg Mbps: 9274.949 2000 1157896144 9272.442 100.00% Conn: 1 Mbps: 9272.442 Peak Mbps: 9274.949 Avg Mbps: 9272.442 3000 1163258288 9306.066 100.00% Conn: 1 Mbps: 9306.066 Peak Mbps: 9306.066 Avg Mbps: 9306.066 4000 1160511824 9284.095 100.00% Conn: 1 Mbps: 9284.095 Peak Mbps: 9306.066 Avg Mbps: 9284.095 5000 1157503792 9260.030 100.00% Conn: 1 Mbps: 9260.030 Peak Mbps: 9306.066 Avg Mbps: 9260.030 --- fc00::13 tcpbench statistics --- 6961927700 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9260.030/9279.516/9306.066/15.339 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.065 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.065/0.065/0.065/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.056 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.056/0.056/0.056/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 260535904 2084.287 100.00% Conn: 1 Mbps: 2084.287 Peak Mbps: 2084.287 Avg Mbps: 2084.287 2001 268794112 2148.205 100.00% Conn: 1 Mbps: 2148.205 Peak Mbps: 2148.205 Avg Mbps: 2148.205 3002 270440096 2163.521 100.00% Conn: 1 Mbps: 2163.521 Peak Mbps: 2163.521 Avg Mbps: 2163.521 4002 271682928 2173.463 100.00% Conn: 1 Mbps: 2173.463 Peak Mbps: 2173.463 Avg Mbps: 2173.463 5002 267199360 2137.595 100.00% Conn: 1 Mbps: 2137.595 Peak Mbps: 2173.463 Avg Mbps: 2137.595 --- 169.254.1.11 tcpbench statistics --- 1604882832 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 2084.287/2141.414/2173.463/31.113 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 489644624 3917.157 100.00% Conn: 1 Mbps: 3917.157 Peak Mbps: 3917.157 Avg Mbps: 3917.157 2001 540344696 4322.758 100.00% Conn: 1 Mbps: 4322.758 Peak Mbps: 4322.758 Avg Mbps: 4322.758 3001 539474048 4315.792 100.00% Conn: 1 Mbps: 4315.792 Peak Mbps: 4322.758 Avg Mbps: 4315.792 4002 536685992 4293.488 100.00% Conn: 1 Mbps: 4293.488 Peak Mbps: 4322.758 Avg Mbps: 4293.488 5002 535769776 4286.158 100.00% Conn: 1 Mbps: 4286.158 Peak Mbps: 4322.758 Avg Mbps: 4286.158 --- fc00:0:0:1::11 tcpbench statistics --- 3185946328 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3917.157/4227.071/4322.758/155.548 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.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-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.047 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-tcpbench-3-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 1169357094 9354.857 100.00% Conn: 1 Mbps: 9354.857 Peak Mbps: 9354.857 Avg Mbps: 9354.857 2000 1167437744 9348.851 100.00% Conn: 1 Mbps: 9348.851 Peak Mbps: 9354.857 Avg Mbps: 9348.851 3000 1168582804 9348.662 100.00% Conn: 1 Mbps: 9348.662 Peak Mbps: 9354.857 Avg Mbps: 9348.662 4000 1174030018 9392.240 100.00% Conn: 1 Mbps: 9392.240 Peak Mbps: 9392.240 Avg Mbps: 9392.240 5000 1170447616 9363.581 100.00% Conn: 1 Mbps: 9363.581 Peak Mbps: 9392.240 Avg Mbps: 9363.581 --- 169.254.1.12 tcpbench statistics --- 7017603822 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9348.662/9361.638/9392.240/16.237 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 1140625236 9125.002 100.00% Conn: 1 Mbps: 9125.002 Peak Mbps: 9125.002 Avg Mbps: 9125.002 2000 1150310672 9211.697 100.00% Conn: 1 Mbps: 9211.697 Peak Mbps: 9211.697 Avg Mbps: 9211.697 3000 1150179888 9201.439 100.00% Conn: 1 Mbps: 9201.439 Peak Mbps: 9211.697 Avg Mbps: 9201.439 4000 1149722144 9197.777 100.00% Conn: 1 Mbps: 9197.777 Peak Mbps: 9211.697 Avg Mbps: 9197.777 5000 1143182944 9145.464 100.00% Conn: 1 Mbps: 9145.464 Peak Mbps: 9211.697 Avg Mbps: 9145.464 --- fc00:0:0:1::12 tcpbench statistics --- 6877530788 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9125.002/9176.276/9211.697/34.434 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.044 ms --- fc00::13 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-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 1163925366 9311.403 100.00% Conn: 1 Mbps: 9311.403 Peak Mbps: 9311.403 Avg Mbps: 9311.403 2000 1169073544 9361.950 100.00% Conn: 1 Mbps: 9361.950 Peak Mbps: 9361.950 Avg Mbps: 9361.950 3000 1168631878 9349.055 100.00% Conn: 1 Mbps: 9349.055 Peak Mbps: 9361.950 Avg Mbps: 9349.055 4000 1169122618 9352.981 100.00% Conn: 1 Mbps: 9352.981 Peak Mbps: 9361.950 Avg Mbps: 9352.981 5000 1169646074 9357.169 100.00% Conn: 1 Mbps: 9357.169 Peak Mbps: 9361.950 Avg Mbps: 9357.169 --- 169.254.0.13 tcpbench statistics --- 7006463152 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9311.403/9346.512/9361.950/18.071 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 1210592444 9684.740 100.00% Conn: 1 Mbps: 9684.740 Peak Mbps: 9684.740 Avg Mbps: 9684.740 2000 1210798272 9696.082 100.00% Conn: 1 Mbps: 9696.082 Peak Mbps: 9696.082 Avg Mbps: 9696.082 3000 1212563856 9700.511 100.00% Conn: 1 Mbps: 9700.511 Peak Mbps: 9700.511 Avg Mbps: 9700.511 4000 1210569400 9684.555 100.00% Conn: 1 Mbps: 9684.555 Peak Mbps: 9700.511 Avg Mbps: 9684.555 5000 1212596552 9700.772 100.00% Conn: 1 Mbps: 9700.772 Peak Mbps: 9700.772 Avg Mbps: 9700.772 --- fc00::13 tcpbench statistics --- 7264322236 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9684.555/9693.332/9700.772/7.285 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.88s