START sys/net/pair 2025-01-23T04:50:38Z ==== 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.048 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.048/0.048/0.048/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 515213204 4121.706 100.00% Conn: 1 Mbps: 4121.706 Peak Mbps: 4121.706 Avg Mbps: 4121.706 2000 514315080 4118.639 100.00% Conn: 1 Mbps: 4118.639 Peak Mbps: 4121.706 Avg Mbps: 4118.639 3000 514799908 4118.399 100.00% Conn: 1 Mbps: 4118.399 Peak Mbps: 4121.706 Avg Mbps: 4118.399 4000 515014504 4120.116 100.00% Conn: 1 Mbps: 4120.116 Peak Mbps: 4121.706 Avg Mbps: 4120.116 5000 515141672 4121.133 100.00% Conn: 1 Mbps: 4121.133 Peak Mbps: 4121.706 Avg Mbps: 4121.133 --- 169.254.1.11 tcpbench statistics --- 3089244536 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4118.399/4119.999/4121.706/1.313 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 513512416 4108.099 100.00% Conn: 1 Mbps: 4108.099 Peak Mbps: 4108.099 Avg Mbps: 4108.099 2000 511094376 4092.848 100.00% Conn: 1 Mbps: 4092.848 Peak Mbps: 4108.099 Avg Mbps: 4092.848 3000 510935816 4087.487 100.00% Conn: 1 Mbps: 4087.487 Peak Mbps: 4108.099 Avg Mbps: 4087.487 4000 510412568 4083.301 100.00% Conn: 1 Mbps: 4083.301 Peak Mbps: 4108.099 Avg Mbps: 4083.301 5000 511506632 4092.053 100.00% Conn: 1 Mbps: 4092.053 Peak Mbps: 4108.099 Avg Mbps: 4092.053 --- fc00:0:0:1::11 tcpbench statistics --- 3069428264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4083.301/4092.757/4108.099/8.403 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.135 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.135/0.135/0.135/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 269580560 2156.644 100.00% Conn: 1 Mbps: 2156.644 Peak Mbps: 2156.644 Avg Mbps: 2156.644 2000 284595936 2276.767 100.00% Conn: 1 Mbps: 2276.767 Peak Mbps: 2276.767 Avg Mbps: 2276.767 3000 283480800 2267.846 100.00% Conn: 1 Mbps: 2267.846 Peak Mbps: 2276.767 Avg Mbps: 2267.846 4002 286147632 2286.894 100.00% Conn: 1 Mbps: 2286.894 Peak Mbps: 2286.894 Avg Mbps: 2286.894 5002 282583272 2262.929 100.00% Conn: 1 Mbps: 2262.929 Peak Mbps: 2286.894 Avg Mbps: 2262.929 --- 169.254.1.12 tcpbench statistics --- 1689373128 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2156.644/2250.216/2286.894/47.494 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 1002 255921712 2043.287 100.00% Conn: 1 Mbps: 2043.287 Peak Mbps: 2043.287 Avg Mbps: 2043.287 2000 270150800 2165.537 100.00% Conn: 1 Mbps: 2165.537 Peak Mbps: 2165.537 Avg Mbps: 2165.537 3000 272069836 2176.559 100.00% Conn: 1 Mbps: 2176.559 Peak Mbps: 2176.559 Avg Mbps: 2176.559 4000 276983160 2218.083 100.00% Conn: 1 Mbps: 2218.083 Peak Mbps: 2218.083 Avg Mbps: 2218.083 5001 277850676 2222.805 100.00% Conn: 1 Mbps: 2222.805 Peak Mbps: 2222.805 Avg Mbps: 2222.805 --- fc00:0:0:1::12 tcpbench statistics --- 1629692704 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2043.287/2165.254/2222.805/64.972 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.076 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.076/0.076/0.076/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.072 ms --- fc00::13 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-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 606425540 4851.404 100.00% Conn: 1 Mbps: 4851.404 Peak Mbps: 4851.404 Avg Mbps: 4851.404 2000 617615344 4940.923 100.00% Conn: 1 Mbps: 4940.923 Peak Mbps: 4940.923 Avg Mbps: 4940.923 3000 618278356 4946.227 100.00% Conn: 1 Mbps: 4946.227 Peak Mbps: 4946.227 Avg Mbps: 4946.227 4000 598672460 4794.174 100.00% Conn: 1 Mbps: 4794.174 Peak Mbps: 4946.227 Avg Mbps: 4794.174 5001 594477316 4755.819 100.00% Conn: 1 Mbps: 4755.819 Peak Mbps: 4946.227 Avg Mbps: 4755.819 --- 169.254.0.13 tcpbench statistics --- 3646870004 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4755.819/4857.709/4946.227/76.444 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 545073792 4360.590 100.00% Conn: 1 Mbps: 4360.590 Peak Mbps: 4360.590 Avg Mbps: 4360.590 2000 571044368 4568.355 100.00% Conn: 1 Mbps: 4568.355 Peak Mbps: 4568.355 Avg Mbps: 4568.355 3002 577053528 4611.816 100.00% Conn: 1 Mbps: 4611.816 Peak Mbps: 4611.816 Avg Mbps: 4611.816 4003 576354176 4606.227 100.00% Conn: 1 Mbps: 4606.227 Peak Mbps: 4611.816 Avg Mbps: 4606.227 5003 576527424 4612.219 100.00% Conn: 1 Mbps: 4612.219 Peak Mbps: 4612.219 Avg Mbps: 4612.219 --- fc00::13 tcpbench statistics --- 3420554392 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4360.590/4551.842/4612.219/97.005 Mbps ==== run-ping-2-1 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.056 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.053 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.053/0.053/0.053/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 266754512 2134.036 100.00% Conn: 1 Mbps: 2134.036 Peak Mbps: 2134.036 Avg Mbps: 2134.036 2001 277882384 2223.059 100.00% Conn: 1 Mbps: 2223.059 Peak Mbps: 2223.059 Avg Mbps: 2223.059 3001 280700360 2245.603 100.00% Conn: 1 Mbps: 2245.603 Peak Mbps: 2245.603 Avg Mbps: 2245.603 4002 280519416 2244.155 100.00% Conn: 1 Mbps: 2244.155 Peak Mbps: 2245.603 Avg Mbps: 2244.155 5001 280270984 2244.412 100.00% Conn: 1 Mbps: 2244.412 Peak Mbps: 2245.603 Avg Mbps: 2244.412 --- 169.254.1.11 tcpbench statistics --- 1669250312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2134.036/2218.253/2245.603/42.939 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 253247140 2025.977 100.00% Conn: 1 Mbps: 2025.977 Peak Mbps: 2025.977 Avg Mbps: 2025.977 2001 268926652 2151.413 100.00% Conn: 1 Mbps: 2151.413 Peak Mbps: 2151.413 Avg Mbps: 2151.413 3001 272669708 2181.358 100.00% Conn: 1 Mbps: 2181.358 Peak Mbps: 2181.358 Avg Mbps: 2181.358 4003 267861716 2140.753 100.00% Conn: 1 Mbps: 2140.753 Peak Mbps: 2181.358 Avg Mbps: 2140.753 5003 270937276 2169.668 100.00% Conn: 1 Mbps: 2169.668 Peak Mbps: 2181.358 Avg Mbps: 2169.668 --- fc00:0:0:1::11 tcpbench statistics --- 1606149536 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2025.977/2133.834/2181.358/55.736 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.052 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.052/0.052/0.052/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.046 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.046/0.046/0.046/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 518029240 4144.234 100.00% Conn: 1 Mbps: 4144.234 Peak Mbps: 4144.234 Avg Mbps: 4144.234 2000 517539816 4144.463 100.00% Conn: 1 Mbps: 4144.463 Peak Mbps: 4144.463 Avg Mbps: 4144.463 3000 517570224 4140.562 100.00% Conn: 1 Mbps: 4140.562 Peak Mbps: 4144.463 Avg Mbps: 4140.562 4000 517193744 4137.550 100.00% Conn: 1 Mbps: 4137.550 Peak Mbps: 4144.463 Avg Mbps: 4137.550 5000 517144512 4137.156 100.00% Conn: 1 Mbps: 4137.156 Peak Mbps: 4144.463 Avg Mbps: 4137.156 --- 169.254.1.12 tcpbench statistics --- 3104901512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4137.156/4140.793/4144.463/3.134 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 517058808 4136.470 100.00% Conn: 1 Mbps: 4136.470 Peak Mbps: 4136.470 Avg Mbps: 4136.470 2000 516357660 4134.996 100.00% Conn: 1 Mbps: 4134.996 Peak Mbps: 4136.470 Avg Mbps: 4134.996 3000 516261984 4130.096 100.00% Conn: 1 Mbps: 4130.096 Peak Mbps: 4136.470 Avg Mbps: 4130.096 4000 515733624 4125.869 100.00% Conn: 1 Mbps: 4125.869 Peak Mbps: 4136.470 Avg Mbps: 4125.869 5000 516243420 4129.947 100.00% Conn: 1 Mbps: 4129.947 Peak Mbps: 4136.470 Avg Mbps: 4129.947 --- fc00:0:0:1::12 tcpbench statistics --- 3097997448 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4125.869/4131.476/4136.470/3.821 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.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-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.061 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.061/0.061/0.061/0.000 ms ==== run-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 780662974 6245.304 100.00% Conn: 1 Mbps: 6245.304 Peak Mbps: 6245.304 Avg Mbps: 6245.304 2000 786459924 6297.977 100.00% Conn: 1 Mbps: 6297.977 Peak Mbps: 6297.977 Avg Mbps: 6297.977 3000 785151284 6281.210 100.00% Conn: 1 Mbps: 6281.210 Peak Mbps: 6297.977 Avg Mbps: 6281.210 4000 785085852 6280.687 100.00% Conn: 1 Mbps: 6280.687 Peak Mbps: 6297.977 Avg Mbps: 6280.687 5000 785216716 6281.734 100.00% Conn: 1 Mbps: 6281.734 Peak Mbps: 6297.977 Avg Mbps: 6281.734 --- 169.254.0.13 tcpbench statistics --- 4707793466 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6245.304/6277.382/6297.977/17.307 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 761810820 6094.487 100.00% Conn: 1 Mbps: 6094.487 Peak Mbps: 6094.487 Avg Mbps: 6094.487 2000 764269000 6120.272 100.00% Conn: 1 Mbps: 6120.272 Peak Mbps: 6120.272 Avg Mbps: 6120.272 3000 764890224 6119.122 100.00% Conn: 1 Mbps: 6119.122 Peak Mbps: 6120.272 Avg Mbps: 6119.122 4000 763909344 6111.275 100.00% Conn: 1 Mbps: 6111.275 Peak Mbps: 6120.272 Avg Mbps: 6111.275 5000 764922920 6119.383 100.00% Conn: 1 Mbps: 6119.383 Peak Mbps: 6120.272 Avg Mbps: 6119.383 --- fc00::13 tcpbench statistics --- 4584430964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6094.487/6112.908/6120.272/9.765 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.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-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.057 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.057/0.057/0.057/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 269632128 2154.902 100.00% Conn: 1 Mbps: 2154.902 Peak Mbps: 2154.902 Avg Mbps: 2154.902 2000 280603512 2247.075 100.00% Conn: 1 Mbps: 2247.075 Peak Mbps: 2247.075 Avg Mbps: 2247.075 3002 278164176 2223.090 100.00% Conn: 1 Mbps: 2223.090 Peak Mbps: 2247.075 Avg Mbps: 2223.090 4002 281328288 2250.626 100.00% Conn: 1 Mbps: 2250.626 Peak Mbps: 2250.626 Avg Mbps: 2250.626 5002 278837848 2230.703 100.00% Conn: 1 Mbps: 2230.703 Peak Mbps: 2250.626 Avg Mbps: 2230.703 --- 169.254.1.11 tcpbench statistics --- 1666827648 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2154.902/2221.279/2250.626/34.712 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 536556128 4292.449 100.00% Conn: 1 Mbps: 4292.449 Peak Mbps: 4292.449 Avg Mbps: 4292.449 2000 593644928 4749.159 100.00% Conn: 1 Mbps: 4749.159 Peak Mbps: 4749.159 Avg Mbps: 4749.159 3001 588226528 4705.812 100.00% Conn: 1 Mbps: 4705.812 Peak Mbps: 4749.159 Avg Mbps: 4705.812 4001 586162144 4689.297 100.00% Conn: 1 Mbps: 4689.297 Peak Mbps: 4749.159 Avg Mbps: 4689.297 5001 581279392 4650.235 100.00% Conn: 1 Mbps: 4650.235 Peak Mbps: 4749.159 Avg Mbps: 4650.235 --- fc00:0:0:1::11 tcpbench statistics --- 3468601752 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4292.449/4617.391/4749.159/165.540 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.049 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.049/0.049/0.049/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 785284086 6282.273 100.00% Conn: 1 Mbps: 6282.273 Peak Mbps: 6282.273 Avg Mbps: 6282.273 2000 785838320 6293.000 100.00% Conn: 1 Mbps: 6293.000 Peak Mbps: 6293.000 Avg Mbps: 6293.000 3000 785511160 6284.089 100.00% Conn: 1 Mbps: 6284.089 Peak Mbps: 6293.000 Avg Mbps: 6284.089 4000 784954988 6279.640 100.00% Conn: 1 Mbps: 6279.640 Peak Mbps: 6293.000 Avg Mbps: 6279.640 5000 785085852 6280.687 100.00% Conn: 1 Mbps: 6280.687 Peak Mbps: 6293.000 Avg Mbps: 6280.687 --- 169.254.1.12 tcpbench statistics --- 4712414578 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6279.640/6283.938/6293.000/4.774 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 758254700 6066.038 100.00% Conn: 1 Mbps: 6066.038 Peak Mbps: 6066.038 Avg Mbps: 6066.038 2000 759037640 6078.379 100.00% Conn: 1 Mbps: 6078.379 Peak Mbps: 6078.379 Avg Mbps: 6078.379 3000 758416416 6067.331 100.00% Conn: 1 Mbps: 6067.331 Peak Mbps: 6078.379 Avg Mbps: 6067.331 4000 758874160 6070.993 100.00% Conn: 1 Mbps: 6070.993 Peak Mbps: 6078.379 Avg Mbps: 6070.993 5000 760672440 6085.380 100.00% Conn: 1 Mbps: 6085.380 Peak Mbps: 6085.380 Avg Mbps: 6085.380 --- fc00:0:0:1::12 tcpbench statistics --- 4555371964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6066.038/6073.624/6085.380/7.278 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.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-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.053 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.053/0.053/0.053/0.000 ms ==== run-tcpbench-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 785926106 6287.409 100.00% Conn: 1 Mbps: 6287.409 Peak Mbps: 6287.409 Avg Mbps: 6287.409 2000 786361776 6297.191 100.00% Conn: 1 Mbps: 6297.191 Peak Mbps: 6297.191 Avg Mbps: 6297.191 3000 786165480 6289.324 100.00% Conn: 1 Mbps: 6289.324 Peak Mbps: 6297.191 Avg Mbps: 6289.324 4000 786492640 6291.941 100.00% Conn: 1 Mbps: 6291.941 Peak Mbps: 6297.191 Avg Mbps: 6291.941 5000 786459924 6291.679 100.00% Conn: 1 Mbps: 6291.679 Peak Mbps: 6297.191 Avg Mbps: 6291.679 --- 169.254.0.13 tcpbench statistics --- 4712827586 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6287.409/6291.509/6297.191/3.289 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 784923580 6279.389 100.00% Conn: 1 Mbps: 6279.389 Peak Mbps: 6279.389 Avg Mbps: 6279.389 2000 785390616 6289.414 100.00% Conn: 1 Mbps: 6289.414 Peak Mbps: 6289.414 Avg Mbps: 6289.414 3000 786436888 6291.495 100.00% Conn: 1 Mbps: 6291.495 Peak Mbps: 6291.495 Avg Mbps: 6291.495 4000 785913752 6287.310 100.00% Conn: 1 Mbps: 6287.310 Peak Mbps: 6291.495 Avg Mbps: 6287.310 5000 785848360 6286.787 100.00% Conn: 1 Mbps: 6286.787 Peak Mbps: 6291.495 Avg Mbps: 6286.787 --- fc00::13 tcpbench statistics --- 4713380676 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6279.389/6286.879/6291.495/4.100 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.03s