START sys/net/pair 2025-02-13T04:48:54Z ==== 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.043 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.043/0.043/0.043/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 517009452 4136.076 100.00% Conn: 1 Mbps: 4136.076 Peak Mbps: 4136.076 Avg Mbps: 4136.076 2000 515944420 4131.687 100.00% Conn: 1 Mbps: 4131.687 Peak Mbps: 4136.076 Avg Mbps: 4131.687 3000 516095432 4128.763 100.00% Conn: 1 Mbps: 4128.763 Peak Mbps: 4136.076 Avg Mbps: 4128.763 4000 515920576 4127.365 100.00% Conn: 1 Mbps: 4127.365 Peak Mbps: 4136.076 Avg Mbps: 4127.365 5000 515483436 4123.867 100.00% Conn: 1 Mbps: 4123.867 Peak Mbps: 4136.076 Avg Mbps: 4123.867 --- 169.254.1.11 tcpbench statistics --- 3095714208 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4123.867/4129.552/4136.076/4.119 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 511657264 4093.258 100.00% Conn: 1 Mbps: 4093.258 Peak Mbps: 4093.258 Avg Mbps: 4093.258 2000 511007168 4092.149 100.00% Conn: 1 Mbps: 4092.149 Peak Mbps: 4093.258 Avg Mbps: 4092.149 3000 510737616 4085.901 100.00% Conn: 1 Mbps: 4085.901 Peak Mbps: 4093.258 Avg Mbps: 4085.901 4000 510214368 4081.715 100.00% Conn: 1 Mbps: 4081.715 Peak Mbps: 4093.258 Avg Mbps: 4081.715 5000 510634552 4085.076 100.00% Conn: 1 Mbps: 4085.076 Peak Mbps: 4093.258 Avg Mbps: 4085.076 --- fc00:0:0:1::11 tcpbench statistics --- 3064497048 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4081.715/4087.620/4093.258/4.395 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.073 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.073/0.073/0.073/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.153 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.153/0.153/0.153/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 273770616 2190.165 100.00% Conn: 1 Mbps: 2190.165 Peak Mbps: 2190.165 Avg Mbps: 2190.165 2001 284100384 2272.803 100.00% Conn: 1 Mbps: 2272.803 Peak Mbps: 2272.803 Avg Mbps: 2272.803 3000 288456456 2309.962 100.00% Conn: 1 Mbps: 2309.962 Peak Mbps: 2309.962 Avg Mbps: 2309.962 4001 289357608 2314.861 100.00% Conn: 1 Mbps: 2314.861 Peak Mbps: 2314.861 Avg Mbps: 2314.861 5001 285090520 2280.724 100.00% Conn: 1 Mbps: 2280.724 Peak Mbps: 2314.861 Avg Mbps: 2280.724 --- 169.254.1.12 tcpbench statistics --- 1708599592 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2190.165/2273.703/2314.861/44.805 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 257788804 2060.250 100.00% Conn: 1 Mbps: 2060.250 Peak Mbps: 2060.250 Avg Mbps: 2060.250 2001 271298476 2170.388 100.00% Conn: 1 Mbps: 2170.388 Peak Mbps: 2170.388 Avg Mbps: 2170.388 3001 273244584 2188.145 100.00% Conn: 1 Mbps: 2188.145 Peak Mbps: 2188.145 Avg Mbps: 2188.145 4002 275939336 2207.515 100.00% Conn: 1 Mbps: 2207.515 Peak Mbps: 2207.515 Avg Mbps: 2207.515 5003 274369736 2192.765 100.00% Conn: 1 Mbps: 2192.765 Peak Mbps: 2207.515 Avg Mbps: 2192.765 --- fc00:0:0:1::12 tcpbench statistics --- 1628622264 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2060.250/2163.813/2207.515/53.120 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.073 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.073/0.073/0.073/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.073 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.073/0.073/0.073/0.000 ms ==== run-tcpbench-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 604979704 4839.838 100.00% Conn: 1 Mbps: 4839.838 Peak Mbps: 4839.838 Avg Mbps: 4839.838 2000 607895360 4868.031 100.00% Conn: 1 Mbps: 4868.031 Peak Mbps: 4868.031 Avg Mbps: 4868.031 3000 592901124 4743.209 100.00% Conn: 1 Mbps: 4743.209 Peak Mbps: 4868.031 Avg Mbps: 4743.209 4000 587384932 4703.783 100.00% Conn: 1 Mbps: 4703.783 Peak Mbps: 4868.031 Avg Mbps: 4703.783 5000 581041868 4648.335 100.00% Conn: 1 Mbps: 4648.335 Peak Mbps: 4868.031 Avg Mbps: 4648.335 --- 169.254.0.13 tcpbench statistics --- 3553275992 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4648.335/4760.639/4868.031/82.406 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 547725384 4381.803 100.00% Conn: 1 Mbps: 4381.803 Peak Mbps: 4381.803 Avg Mbps: 4381.803 2001 579306904 4634.455 100.00% Conn: 1 Mbps: 4634.455 Peak Mbps: 4634.455 Avg Mbps: 4634.455 3002 578447688 4622.959 100.00% Conn: 1 Mbps: 4622.959 Peak Mbps: 4634.455 Avg Mbps: 4622.959 4002 581559232 4657.131 100.00% Conn: 1 Mbps: 4657.131 Peak Mbps: 4657.131 Avg Mbps: 4657.131 5002 583192528 4665.540 100.00% Conn: 1 Mbps: 4665.540 Peak Mbps: 4665.540 Avg Mbps: 4665.540 --- fc00::13 tcpbench statistics --- 3450302064 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4381.803/4592.378/4665.540/106.389 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.082 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.082/0.082/0.082/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.063 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.063/0.063/0.063/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 273692536 2187.353 100.00% Conn: 1 Mbps: 2187.353 Peak Mbps: 2187.353 Avg Mbps: 2187.353 2001 282790760 2264.591 100.00% Conn: 1 Mbps: 2264.591 Peak Mbps: 2264.591 Avg Mbps: 2264.591 3000 284268392 2276.424 100.00% Conn: 1 Mbps: 2276.424 Peak Mbps: 2276.424 Avg Mbps: 2276.424 4001 287965240 2303.722 100.00% Conn: 1 Mbps: 2303.722 Peak Mbps: 2303.722 Avg Mbps: 2303.722 5001 286048664 2288.389 100.00% Conn: 1 Mbps: 2288.389 Peak Mbps: 2303.722 Avg Mbps: 2288.389 --- 169.254.1.11 tcpbench statistics --- 1702076008 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2187.353/2264.096/2303.722/40.502 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 254464504 2035.716 100.00% Conn: 1 Mbps: 2035.716 Peak Mbps: 2035.716 Avg Mbps: 2035.716 2001 269092624 2150.590 100.00% Conn: 1 Mbps: 2150.590 Peak Mbps: 2150.590 Avg Mbps: 2150.590 3002 272004444 2176.036 100.00% Conn: 1 Mbps: 2176.036 Peak Mbps: 2176.036 Avg Mbps: 2176.036 4003 272066824 2174.360 100.00% Conn: 1 Mbps: 2174.360 Peak Mbps: 2176.036 Avg Mbps: 2174.360 5003 268943364 2153.701 100.00% Conn: 1 Mbps: 2153.701 Peak Mbps: 2176.036 Avg Mbps: 2153.701 --- fc00:0:0:1::11 tcpbench statistics --- 1607831312 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2035.716/2138.081/2176.036/52.222 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.042 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.042/0.042/0.042/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 524015272 4192.122 100.00% Conn: 1 Mbps: 4192.122 Peak Mbps: 4192.122 Avg Mbps: 4192.122 2000 525913600 4211.520 100.00% Conn: 1 Mbps: 4211.520 Peak Mbps: 4211.520 Avg Mbps: 4211.520 3000 525842648 4206.741 100.00% Conn: 1 Mbps: 4206.741 Peak Mbps: 4211.520 Avg Mbps: 4206.741 4000 526075776 4208.606 100.00% Conn: 1 Mbps: 4208.606 Peak Mbps: 4211.520 Avg Mbps: 4208.606 5000 526120664 4208.965 100.00% Conn: 1 Mbps: 4208.965 Peak Mbps: 4211.520 Avg Mbps: 4208.965 --- 169.254.1.12 tcpbench statistics --- 3154502752 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4192.122/4205.591/4211.520/6.905 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 516597564 4132.781 100.00% Conn: 1 Mbps: 4132.781 Peak Mbps: 4132.781 Avg Mbps: 4132.781 2000 517815648 4146.672 100.00% Conn: 1 Mbps: 4146.672 Peak Mbps: 4146.672 Avg Mbps: 4146.672 3000 518832384 4150.659 100.00% Conn: 1 Mbps: 4150.659 Peak Mbps: 4150.659 Avg Mbps: 4150.659 4000 518785260 4150.282 100.00% Conn: 1 Mbps: 4150.282 Peak Mbps: 4150.659 Avg Mbps: 4150.282 5000 518191212 4145.530 100.00% Conn: 1 Mbps: 4145.530 Peak Mbps: 4150.659 Avg Mbps: 4145.530 --- fc00:0:0:1::12 tcpbench statistics --- 3108381864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4132.781/4145.185/4150.659/6.514 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.046 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.046/0.046/0.046/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 778612802 6228.902 100.00% Conn: 1 Mbps: 6228.902 Peak Mbps: 6228.902 Avg Mbps: 6228.902 2000 780177996 6247.672 100.00% Conn: 1 Mbps: 6247.672 Peak Mbps: 6247.672 Avg Mbps: 6247.672 3000 779850788 6238.806 100.00% Conn: 1 Mbps: 6238.806 Peak Mbps: 6247.672 Avg Mbps: 6238.806 4000 779916256 6239.330 100.00% Conn: 1 Mbps: 6239.330 Peak Mbps: 6247.672 Avg Mbps: 6239.330 5000 780570732 6244.566 100.00% Conn: 1 Mbps: 6244.566 Peak Mbps: 6247.672 Avg Mbps: 6244.566 --- 169.254.0.13 tcpbench statistics --- 4679241594 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6228.902/6239.855/6247.672/6.397 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 754010196 6032.082 100.00% Conn: 1 Mbps: 6032.082 Peak Mbps: 6032.082 Avg Mbps: 6032.082 2000 756193088 6055.600 100.00% Conn: 1 Mbps: 6055.600 Peak Mbps: 6055.600 Avg Mbps: 6055.600 3000 754558288 6036.466 100.00% Conn: 1 Mbps: 6036.466 Peak Mbps: 6055.600 Avg Mbps: 6036.466 4000 755277600 6042.221 100.00% Conn: 1 Mbps: 6042.221 Peak Mbps: 6055.600 Avg Mbps: 6042.221 5000 754525592 6036.205 100.00% Conn: 1 Mbps: 6036.205 Peak Mbps: 6055.600 Avg Mbps: 6036.205 --- fc00::13 tcpbench statistics --- 4529875060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6032.082/6040.515/6055.600/8.205 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.074 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.074/0.074/0.074/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.072 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.072/0.072/0.072/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 271379528 2168.867 100.00% Conn: 1 Mbps: 2168.867 Peak Mbps: 2168.867 Avg Mbps: 2168.867 2000 278319560 2231.019 100.00% Conn: 1 Mbps: 2231.019 Peak Mbps: 2231.019 Avg Mbps: 2231.019 3000 280849104 2246.793 100.00% Conn: 1 Mbps: 2246.793 Peak Mbps: 2246.793 Avg Mbps: 2246.793 4001 281672792 2253.382 100.00% Conn: 1 Mbps: 2253.382 Peak Mbps: 2253.382 Avg Mbps: 2253.382 5001 280257104 2244.301 100.00% Conn: 1 Mbps: 2244.301 Peak Mbps: 2253.382 Avg Mbps: 2244.301 --- 169.254.1.11 tcpbench statistics --- 1675847880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2168.867/2228.872/2253.382/30.871 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 537001296 4296.010 100.00% Conn: 1 Mbps: 4296.010 Peak Mbps: 4296.010 Avg Mbps: 4296.010 2001 597836496 4782.692 100.00% Conn: 1 Mbps: 4782.692 Peak Mbps: 4782.692 Avg Mbps: 4782.692 3000 596428312 4776.203 100.00% Conn: 1 Mbps: 4776.203 Peak Mbps: 4782.692 Avg Mbps: 4776.203 4001 602195984 4817.568 100.00% Conn: 1 Mbps: 4817.568 Peak Mbps: 4817.568 Avg Mbps: 4817.568 5001 598918664 4791.349 100.00% Conn: 1 Mbps: 4791.349 Peak Mbps: 4817.568 Avg Mbps: 4791.349 --- fc00:0:0:1::11 tcpbench statistics --- 3531671416 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4296.010/4692.764/4817.568/198.876 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.059 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.059/0.059/0.059/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.051 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.051/0.051/0.051/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 780855718 6246.846 100.00% Conn: 1 Mbps: 6246.846 Peak Mbps: 6246.846 Avg Mbps: 6246.846 2000 778084628 6230.908 100.00% Conn: 1 Mbps: 6230.908 Peak Mbps: 6246.846 Avg Mbps: 6230.908 3000 779327836 6234.623 100.00% Conn: 1 Mbps: 6234.623 Peak Mbps: 6246.846 Avg Mbps: 6234.623 4000 776416112 6211.329 100.00% Conn: 1 Mbps: 6211.329 Peak Mbps: 6246.846 Avg Mbps: 6211.329 5000 775859940 6206.880 100.00% Conn: 1 Mbps: 6206.880 Peak Mbps: 6246.846 Avg Mbps: 6206.880 --- 169.254.1.12 tcpbench statistics --- 4667581950 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6206.880/6226.117/6246.846/14.925 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 762986796 6103.894 100.00% Conn: 1 Mbps: 6103.894 Peak Mbps: 6103.894 Avg Mbps: 6103.894 2000 765021008 6126.294 100.00% Conn: 1 Mbps: 6126.294 Peak Mbps: 6126.294 Avg Mbps: 6126.294 3000 765576840 6124.615 100.00% Conn: 1 Mbps: 6124.615 Peak Mbps: 6126.294 Avg Mbps: 6124.615 4000 766492328 6131.939 100.00% Conn: 1 Mbps: 6131.939 Peak Mbps: 6131.939 Avg Mbps: 6131.939 5000 764824832 6118.599 100.00% Conn: 1 Mbps: 6118.599 Peak Mbps: 6131.939 Avg Mbps: 6118.599 --- fc00:0:0:1::12 tcpbench statistics --- 4590020900 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6103.894/6121.068/6131.939/9.582 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.057 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.057/0.057/0.057/0.000 ms ==== run-ping6-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.047 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-tcpbench-3-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 772429528 6179.436 100.00% Conn: 1 Mbps: 6179.436 Peak Mbps: 6179.436 Avg Mbps: 6179.436 2000 787637700 6307.409 100.00% Conn: 1 Mbps: 6307.409 Peak Mbps: 6307.409 Avg Mbps: 6307.409 3000 787179676 6297.437 100.00% Conn: 1 Mbps: 6297.437 Peak Mbps: 6307.409 Avg Mbps: 6297.437 4000 786427208 6291.418 100.00% Conn: 1 Mbps: 6291.418 Peak Mbps: 6307.409 Avg Mbps: 6291.418 5000 786917948 6295.344 100.00% Conn: 1 Mbps: 6295.344 Peak Mbps: 6307.409 Avg Mbps: 6295.344 --- 169.254.0.13 tcpbench statistics --- 4706495812 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6179.436/6274.209/6307.409/47.679 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 782522116 6260.177 100.00% Conn: 1 Mbps: 6260.177 Peak Mbps: 6260.177 Avg Mbps: 6260.177 2000 782251800 6264.279 100.00% Conn: 1 Mbps: 6264.279 Peak Mbps: 6264.279 Avg Mbps: 6264.279 3000 784050080 6272.401 100.00% Conn: 1 Mbps: 6272.401 Peak Mbps: 6272.401 Avg Mbps: 6272.401 4000 782840328 6262.723 100.00% Conn: 1 Mbps: 6262.723 Peak Mbps: 6272.401 Avg Mbps: 6262.723 5000 783853904 6270.831 100.00% Conn: 1 Mbps: 6270.831 Peak Mbps: 6272.401 Avg Mbps: 6270.831 --- fc00::13 tcpbench statistics --- 4700222228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6260.177/6266.082/6272.401/4.730 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 1m53.23s