START sys/net/pair 2025-01-01T02:44:59Z ==== 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.040 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.040/0.040/0.040/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 1081627424 8653.019 100.00% Conn: 1 Mbps: 8653.019 Peak Mbps: 8653.019 Avg Mbps: 8653.019 2000 1085180180 8690.132 100.00% Conn: 1 Mbps: 8690.132 Peak Mbps: 8690.132 Avg Mbps: 8690.132 3000 1082414276 8659.314 100.00% Conn: 1 Mbps: 8659.314 Peak Mbps: 8690.132 Avg Mbps: 8659.314 4000 1082390432 8659.123 100.00% Conn: 1 Mbps: 8659.123 Peak Mbps: 8690.132 Avg Mbps: 8659.123 5000 1082771936 8662.175 100.00% Conn: 1 Mbps: 8662.175 Peak Mbps: 8690.132 Avg Mbps: 8662.175 --- 169.254.1.11 tcpbench statistics --- 6498332488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8653.019/8664.753/8690.132/13.036 Mbps ==== run-tcpbench6-1-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 1088419264 8707.354 100.00% Conn: 1 Mbps: 8707.354 Peak Mbps: 8707.354 Avg Mbps: 8707.354 2000 1084098504 8681.470 100.00% Conn: 1 Mbps: 8681.470 Peak Mbps: 8707.354 Avg Mbps: 8681.470 3000 1087253848 8698.031 100.00% Conn: 1 Mbps: 8698.031 Peak Mbps: 8707.354 Avg Mbps: 8698.031 4000 1083900304 8671.202 100.00% Conn: 1 Mbps: 8671.202 Peak Mbps: 8707.354 Avg Mbps: 8671.202 5000 1086540328 8692.323 100.00% Conn: 1 Mbps: 8692.323 Peak Mbps: 8707.354 Avg Mbps: 8692.323 --- fc00:0:0:1::11 tcpbench statistics --- 6517061768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8671.202/8690.076/8707.354/12.626 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.062 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.062/0.062/0.062/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.116 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.116/0.116/0.116/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 375037520 3000.300 100.00% Conn: 1 Mbps: 3000.300 Peak Mbps: 3000.300 Avg Mbps: 3000.300 2001 389311128 3114.489 100.00% Conn: 1 Mbps: 3114.489 Peak Mbps: 3114.489 Avg Mbps: 3114.489 3001 388819048 3113.666 100.00% Conn: 1 Mbps: 3113.666 Peak Mbps: 3114.489 Avg Mbps: 3113.666 4001 389879248 3119.034 100.00% Conn: 1 Mbps: 3119.034 Peak Mbps: 3119.034 Avg Mbps: 3119.034 5002 388892056 3111.136 100.00% Conn: 1 Mbps: 3111.136 Peak Mbps: 3119.034 Avg Mbps: 3111.136 --- 169.254.1.12 tcpbench statistics --- 2320750056 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3000.300/3091.725/3119.034/45.784 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 366421908 2928.447 100.00% Conn: 1 Mbps: 2928.447 Peak Mbps: 2928.447 Avg Mbps: 2928.447 2001 378569752 3028.558 100.00% Conn: 1 Mbps: 3028.558 Peak Mbps: 3028.558 Avg Mbps: 3028.558 3002 378649536 3029.196 100.00% Conn: 1 Mbps: 3029.196 Peak Mbps: 3029.196 Avg Mbps: 3029.196 4002 378218868 3025.751 100.00% Conn: 1 Mbps: 3025.751 Peak Mbps: 3029.196 Avg Mbps: 3025.751 5002 379243908 3033.951 100.00% Conn: 1 Mbps: 3033.951 Peak Mbps: 3033.951 Avg Mbps: 3033.951 --- fc00:0:0:1::12 tcpbench statistics --- 2259220892 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2928.447/3009.181/3033.951/40.453 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.054 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.054/0.054/0.054/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 773601984 6188.816 100.00% Conn: 1 Mbps: 6188.816 Peak Mbps: 6188.816 Avg Mbps: 6188.816 2001 805593340 6444.747 100.00% Conn: 1 Mbps: 6444.747 Peak Mbps: 6444.747 Avg Mbps: 6444.747 3001 801643228 6413.146 100.00% Conn: 1 Mbps: 6413.146 Peak Mbps: 6444.747 Avg Mbps: 6413.146 4001 806729948 6453.840 100.00% Conn: 1 Mbps: 6453.840 Peak Mbps: 6453.840 Avg Mbps: 6453.840 5002 810998024 6487.984 100.00% Conn: 1 Mbps: 6487.984 Peak Mbps: 6487.984 Avg Mbps: 6487.984 --- 169.254.0.13 tcpbench statistics --- 4810160648 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6188.816/6397.706/6487.984/107.133 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 687897224 5503.178 100.00% Conn: 1 Mbps: 5503.178 Peak Mbps: 5503.178 Avg Mbps: 5503.178 2000 713384704 5712.790 100.00% Conn: 1 Mbps: 5712.790 Peak Mbps: 5712.790 Avg Mbps: 5712.790 3000 709723008 5677.784 100.00% Conn: 1 Mbps: 5677.784 Peak Mbps: 5712.790 Avg Mbps: 5677.784 4000 715866688 5726.934 100.00% Conn: 1 Mbps: 5726.934 Peak Mbps: 5726.934 Avg Mbps: 5726.934 5000 711979400 5695.835 100.00% Conn: 1 Mbps: 5695.835 Peak Mbps: 5726.934 Avg Mbps: 5695.835 --- fc00::13 tcpbench statistics --- 4247994768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5503.178/5663.304/5726.934/81.739 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.042 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.042/0.042/0.042/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 1001 374558960 2993.478 100.00% Conn: 1 Mbps: 2993.478 Peak Mbps: 2993.478 Avg Mbps: 2993.478 2001 385691904 3088.624 100.00% Conn: 1 Mbps: 3088.624 Peak Mbps: 3088.624 Avg Mbps: 3088.624 3001 386782752 3094.262 100.00% Conn: 1 Mbps: 3094.262 Peak Mbps: 3094.262 Avg Mbps: 3094.262 4001 381281288 3050.250 100.00% Conn: 1 Mbps: 3050.250 Peak Mbps: 3094.262 Avg Mbps: 3050.250 5001 381322072 3050.577 100.00% Conn: 1 Mbps: 3050.577 Peak Mbps: 3094.262 Avg Mbps: 3050.577 --- 169.254.1.11 tcpbench statistics --- 2288824472 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2993.478/3055.438/3094.262/36.050 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 362337084 2895.801 100.00% Conn: 1 Mbps: 2895.801 Peak Mbps: 2895.801 Avg Mbps: 2895.801 2001 373864288 2993.908 100.00% Conn: 1 Mbps: 2993.908 Peak Mbps: 2993.908 Avg Mbps: 2993.908 3001 373903068 2991.225 100.00% Conn: 1 Mbps: 2991.225 Peak Mbps: 2993.908 Avg Mbps: 2991.225 4001 373590988 2991.720 100.00% Conn: 1 Mbps: 2991.720 Peak Mbps: 2993.908 Avg Mbps: 2991.720 5001 373771756 2990.174 100.00% Conn: 1 Mbps: 2990.174 Peak Mbps: 2993.908 Avg Mbps: 2990.174 --- fc00:0:0:1::11 tcpbench statistics --- 2230526948 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2895.801/2972.565/2993.908/38.402 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.037 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.037/0.037/0.037/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.043 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.043/0.043/0.043/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 1043223184 8345.785 100.00% Conn: 1 Mbps: 8345.785 Peak Mbps: 8345.785 Avg Mbps: 8345.785 2000 1030748664 8254.244 100.00% Conn: 1 Mbps: 8254.244 Peak Mbps: 8345.785 Avg Mbps: 8254.244 3000 1027327040 8226.843 100.00% Conn: 1 Mbps: 8226.843 Peak Mbps: 8345.785 Avg Mbps: 8226.843 4000 1029522208 8236.178 100.00% Conn: 1 Mbps: 8236.178 Peak Mbps: 8345.785 Avg Mbps: 8236.178 5000 1029341208 8234.730 100.00% Conn: 1 Mbps: 8234.730 Peak Mbps: 8345.785 Avg Mbps: 8234.730 --- 169.254.1.12 tcpbench statistics --- 6191468448 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8226.843/8259.556/8345.785/44.038 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 1042974072 8343.793 100.00% Conn: 1 Mbps: 8343.793 Peak Mbps: 8343.793 Avg Mbps: 8343.793 2000 1043168280 8353.700 100.00% Conn: 1 Mbps: 8353.700 Peak Mbps: 8353.700 Avg Mbps: 8353.700 3000 1042497120 8339.977 100.00% Conn: 1 Mbps: 8339.977 Peak Mbps: 8353.700 Avg Mbps: 8339.977 4000 1042465704 8339.726 100.00% Conn: 1 Mbps: 8339.726 Peak Mbps: 8353.700 Avg Mbps: 8339.726 5000 1044462048 8355.696 100.00% Conn: 1 Mbps: 8355.696 Peak Mbps: 8355.696 Avg Mbps: 8355.696 --- fc00:0:0:1::12 tcpbench statistics --- 6260703288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8339.726/8346.578/8355.696/6.814 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.040 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.040/0.040/0.040/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.049 ms --- fc00::13 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-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 1382500866 11060.007 100.00% Conn: 1 Mbps: 11060.007 Peak Mbps: 11060.007 Avg Mbps: 11060.007 2000 1365091458 10931.663 100.00% Conn: 1 Mbps: 10931.663 Peak Mbps: 11060.007 Avg Mbps: 10931.663 3000 1369540834 10956.327 100.00% Conn: 1 Mbps: 10956.327 Peak Mbps: 11060.007 Avg Mbps: 10956.327 4000 1367823244 10942.586 100.00% Conn: 1 Mbps: 10942.586 Peak Mbps: 11060.007 Avg Mbps: 10942.586 5000 1369802562 10958.420 100.00% Conn: 1 Mbps: 10958.420 Peak Mbps: 11060.007 Avg Mbps: 10958.420 --- 169.254.0.13 tcpbench statistics --- 8234523548 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10931.663/10969.801/11060.007/46.137 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 1410033940 11280.272 100.00% Conn: 1 Mbps: 11280.272 Peak Mbps: 11280.272 Avg Mbps: 11280.272 2000 1410407352 11294.553 100.00% Conn: 1 Mbps: 11294.553 Peak Mbps: 11294.553 Avg Mbps: 11294.553 3000 1401546736 11212.374 100.00% Conn: 1 Mbps: 11212.374 Peak Mbps: 11294.553 Avg Mbps: 11212.374 4000 1397361648 11178.893 100.00% Conn: 1 Mbps: 11178.893 Peak Mbps: 11294.553 Avg Mbps: 11178.893 5000 1394353616 11154.829 100.00% Conn: 1 Mbps: 11154.829 Peak Mbps: 11294.553 Avg Mbps: 11154.829 --- fc00::13 tcpbench statistics --- 8439935508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11154.829/11224.184/11294.553/54.952 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.046 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-ping6-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.054 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.054/0.054/0.054/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 376330224 3010.642 100.00% Conn: 1 Mbps: 3010.642 Peak Mbps: 3010.642 Avg Mbps: 3010.642 2001 385736712 3085.894 100.00% Conn: 1 Mbps: 3085.894 Peak Mbps: 3085.894 Avg Mbps: 3085.894 3001 385432720 3083.462 100.00% Conn: 1 Mbps: 3083.462 Peak Mbps: 3085.894 Avg Mbps: 3083.462 4001 385330672 3082.645 100.00% Conn: 1 Mbps: 3082.645 Peak Mbps: 3085.894 Avg Mbps: 3082.645 5001 385600904 3087.895 100.00% Conn: 1 Mbps: 3087.895 Peak Mbps: 3087.895 Avg Mbps: 3087.895 --- 169.254.1.11 tcpbench statistics --- 2301664896 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3010.642/3070.108/3087.895/29.790 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 793240680 6345.925 100.00% Conn: 1 Mbps: 6345.925 Peak Mbps: 6345.925 Avg Mbps: 6345.925 2000 839020672 6712.165 100.00% Conn: 1 Mbps: 6712.165 Peak Mbps: 6712.165 Avg Mbps: 6712.165 3000 838508608 6708.069 100.00% Conn: 1 Mbps: 6708.069 Peak Mbps: 6712.165 Avg Mbps: 6708.069 4000 843796544 6757.129 100.00% Conn: 1 Mbps: 6757.129 Peak Mbps: 6757.129 Avg Mbps: 6757.129 5000 841070888 6728.567 100.00% Conn: 1 Mbps: 6728.567 Peak Mbps: 6757.129 Avg Mbps: 6728.567 --- fc00:0:0:1::11 tcpbench statistics --- 4996020720 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6345.925/6650.371/6757.129/153.197 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.044 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.044/0.044/0.044/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 1419089924 11352.719 100.00% Conn: 1 Mbps: 11352.719 Peak Mbps: 11352.719 Avg Mbps: 11352.719 2000 1399067024 11203.740 100.00% Conn: 1 Mbps: 11203.740 Peak Mbps: 11352.719 Avg Mbps: 11203.740 3000 1407442320 11259.539 100.00% Conn: 1 Mbps: 11259.539 Peak Mbps: 11352.719 Avg Mbps: 11259.539 4000 1400212084 11201.697 100.00% Conn: 1 Mbps: 11201.697 Peak Mbps: 11352.719 Avg Mbps: 11201.697 5000 1403892634 11231.141 100.00% Conn: 1 Mbps: 11231.141 Peak Mbps: 11352.719 Avg Mbps: 11231.141 --- 169.254.1.12 tcpbench statistics --- 8435396000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11201.697/11249.767/11352.719/55.625 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 1392753524 11142.028 100.00% Conn: 1 Mbps: 11142.028 Peak Mbps: 11142.028 Avg Mbps: 11142.028 2000 1396576944 11183.799 100.00% Conn: 1 Mbps: 11183.799 Peak Mbps: 11183.799 Avg Mbps: 11183.799 3000 1396151896 11169.215 100.00% Conn: 1 Mbps: 11169.215 Peak Mbps: 11183.799 Avg Mbps: 11169.215 4000 1396609640 11172.877 100.00% Conn: 1 Mbps: 11172.877 Peak Mbps: 11183.799 Avg Mbps: 11172.877 5000 1395432584 11163.461 100.00% Conn: 1 Mbps: 11163.461 Peak Mbps: 11183.799 Avg Mbps: 11163.461 --- fc00:0:0:1::12 tcpbench statistics --- 8375213196 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11142.028/11166.276/11183.799/13.821 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.040 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.040/0.040/0.040/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 1399850216 11198.802 100.00% Conn: 1 Mbps: 11198.802 Peak Mbps: 11198.802 Avg Mbps: 11198.802 2000 1399819492 11209.766 100.00% Conn: 1 Mbps: 11209.766 Peak Mbps: 11209.766 Avg Mbps: 11209.766 3000 1383755936 11081.129 100.00% Conn: 1 Mbps: 11081.129 Peak Mbps: 11209.766 Avg Mbps: 11081.129 4000 1389546668 11116.373 100.00% Conn: 1 Mbps: 11116.373 Peak Mbps: 11209.766 Avg Mbps: 11116.373 5000 1383183406 11076.544 100.00% Conn: 1 Mbps: 11076.544 Peak Mbps: 11209.766 Avg Mbps: 11076.544 --- 169.254.0.13 tcpbench statistics --- 8344737264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11076.544/11136.523/11209.766/57.123 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 1403229892 11225.839 100.00% Conn: 1 Mbps: 11225.839 Peak Mbps: 11225.839 Avg Mbps: 11225.839 2000 1391705240 11144.787 100.00% Conn: 1 Mbps: 11144.787 Peak Mbps: 11225.839 Avg Mbps: 11144.787 3000 1397754000 11182.032 100.00% Conn: 1 Mbps: 11182.032 Peak Mbps: 11225.839 Avg Mbps: 11182.032 4000 1398571400 11188.571 100.00% Conn: 1 Mbps: 11188.571 Peak Mbps: 11225.839 Avg Mbps: 11188.571 5000 1393307344 11146.459 100.00% Conn: 1 Mbps: 11146.459 Peak Mbps: 11225.839 Avg Mbps: 11146.459 --- fc00::13 tcpbench statistics --- 8372840036 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11144.787/11177.538/11225.839/30.045 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 1m51.96s