START sys/net/pair 2025-01-30T01:04:48Z ==== 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.037 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.037/0.037/0.037/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 526197340 4209.579 100.00% Conn: 1 Mbps: 4209.579 Peak Mbps: 4209.579 Avg Mbps: 4209.579 2000 523550656 4192.598 100.00% Conn: 1 Mbps: 4192.598 Peak Mbps: 4209.579 Avg Mbps: 4192.598 3000 523471176 4187.769 100.00% Conn: 1 Mbps: 4187.769 Peak Mbps: 4209.579 Avg Mbps: 4187.769 4000 522914816 4183.319 100.00% Conn: 1 Mbps: 4183.319 Peak Mbps: 4209.579 Avg Mbps: 4183.319 5000 522779700 4182.238 100.00% Conn: 1 Mbps: 4182.238 Peak Mbps: 4209.579 Avg Mbps: 4182.238 --- 169.254.1.11 tcpbench statistics --- 3141907984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4182.238/4191.100/4209.579/9.939 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 516318928 4130.551 100.00% Conn: 1 Mbps: 4130.551 Peak Mbps: 4130.551 Avg Mbps: 4130.551 2000 514947384 4123.703 100.00% Conn: 1 Mbps: 4123.703 Peak Mbps: 4130.551 Avg Mbps: 4123.703 3000 515557840 4124.463 100.00% Conn: 1 Mbps: 4124.463 Peak Mbps: 4130.551 Avg Mbps: 4124.463 4000 516509200 4132.074 100.00% Conn: 1 Mbps: 4132.074 Peak Mbps: 4132.074 Avg Mbps: 4132.074 5000 516636048 4133.088 100.00% Conn: 1 Mbps: 4133.088 Peak Mbps: 4133.088 Avg Mbps: 4133.088 --- fc00:0:0:1::11 tcpbench statistics --- 3095963280 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4123.703/4128.776/4133.088/3.923 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.076 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.076/0.076/0.076/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.133 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.133/0.133/0.133/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 1001 268421888 2145.230 100.00% Conn: 1 Mbps: 2145.230 Peak Mbps: 2145.230 Avg Mbps: 2145.230 2002 281697040 2253.576 100.00% Conn: 1 Mbps: 2253.576 Peak Mbps: 2253.576 Avg Mbps: 2253.576 3003 278592632 2228.741 100.00% Conn: 1 Mbps: 2228.741 Peak Mbps: 2253.576 Avg Mbps: 2228.741 4002 284214384 2275.991 100.00% Conn: 1 Mbps: 2275.991 Peak Mbps: 2275.991 Avg Mbps: 2275.991 5004 282605096 2258.582 100.00% Conn: 1 Mbps: 2258.582 Peak Mbps: 2275.991 Avg Mbps: 2258.582 --- 169.254.1.12 tcpbench statistics --- 1677901680 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2145.230/2232.424/2275.991/46.144 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 255126812 2041.014 100.00% Conn: 1 Mbps: 2041.014 Peak Mbps: 2041.014 Avg Mbps: 2041.014 2001 269854748 2156.681 100.00% Conn: 1 Mbps: 2156.681 Peak Mbps: 2156.681 Avg Mbps: 2156.681 3002 273594968 2188.760 100.00% Conn: 1 Mbps: 2188.760 Peak Mbps: 2188.760 Avg Mbps: 2188.760 4003 275765440 2203.920 100.00% Conn: 1 Mbps: 2203.920 Peak Mbps: 2203.920 Avg Mbps: 2203.920 5003 276253280 2210.026 100.00% Conn: 1 Mbps: 2210.026 Peak Mbps: 2210.026 Avg Mbps: 2210.026 --- fc00:0:0:1::12 tcpbench statistics --- 1624474372 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2041.014/2160.080/2210.026/62.333 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.071 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.071/0.071/0.071/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 607458640 4859.669 100.00% Conn: 1 Mbps: 4859.669 Peak Mbps: 4859.669 Avg Mbps: 4859.669 2000 614226976 4913.816 100.00% Conn: 1 Mbps: 4913.816 Peak Mbps: 4913.816 Avg Mbps: 4913.816 3000 611057824 4888.463 100.00% Conn: 1 Mbps: 4888.463 Peak Mbps: 4913.816 Avg Mbps: 4888.463 4000 602147276 4817.178 100.00% Conn: 1 Mbps: 4817.178 Peak Mbps: 4913.816 Avg Mbps: 4817.178 5000 602044932 4816.359 100.00% Conn: 1 Mbps: 4816.359 Peak Mbps: 4913.816 Avg Mbps: 4816.359 --- 169.254.0.13 tcpbench statistics --- 3624788672 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4816.359/4859.097/4913.816/38.576 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 543834944 4350.680 100.00% Conn: 1 Mbps: 4350.680 Peak Mbps: 4350.680 Avg Mbps: 4350.680 2000 576945912 4615.567 100.00% Conn: 1 Mbps: 4615.567 Peak Mbps: 4615.567 Avg Mbps: 4615.567 3001 571769584 4574.157 100.00% Conn: 1 Mbps: 4574.157 Peak Mbps: 4615.567 Avg Mbps: 4574.157 4001 574857088 4598.857 100.00% Conn: 1 Mbps: 4598.857 Peak Mbps: 4615.567 Avg Mbps: 4598.857 5001 571585552 4572.684 100.00% Conn: 1 Mbps: 4572.684 Peak Mbps: 4615.567 Avg Mbps: 4572.684 --- fc00::13 tcpbench statistics --- 3412621584 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4350.680/4542.389/4615.567/97.184 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.057 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.057/0.057/0.057/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 267027400 2134.085 100.00% Conn: 1 Mbps: 2134.085 Peak Mbps: 2134.085 Avg Mbps: 2134.085 2000 278464376 2229.945 100.00% Conn: 1 Mbps: 2229.945 Peak Mbps: 2229.945 Avg Mbps: 2229.945 3000 283088576 2266.976 100.00% Conn: 1 Mbps: 2266.976 Peak Mbps: 2266.976 Avg Mbps: 2266.976 4001 280628856 2242.788 100.00% Conn: 1 Mbps: 2242.788 Peak Mbps: 2266.976 Avg Mbps: 2242.788 5001 282888336 2263.107 100.00% Conn: 1 Mbps: 2263.107 Peak Mbps: 2266.976 Avg Mbps: 2263.107 --- 169.254.1.11 tcpbench statistics --- 1676309352 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2134.085/2227.380/2266.976/48.564 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 253769152 2028.125 100.00% Conn: 1 Mbps: 2028.125 Peak Mbps: 2028.125 Avg Mbps: 2028.125 2002 268009464 2144.076 100.00% Conn: 1 Mbps: 2144.076 Peak Mbps: 2144.076 Avg Mbps: 2144.076 3003 270848116 2166.785 100.00% Conn: 1 Mbps: 2166.785 Peak Mbps: 2166.785 Avg Mbps: 2166.785 4002 269309864 2156.636 100.00% Conn: 1 Mbps: 2156.636 Peak Mbps: 2166.785 Avg Mbps: 2156.636 5003 276213368 2209.707 100.00% Conn: 1 Mbps: 2209.707 Peak Mbps: 2209.707 Avg Mbps: 2209.707 --- fc00:0:0:1::11 tcpbench statistics --- 1608458860 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2028.125/2141.066/2209.707/60.630 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.054 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.054/0.054/0.054/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 526547824 4212.383 100.00% Conn: 1 Mbps: 4212.383 Peak Mbps: 4212.383 Avg Mbps: 4212.383 2000 528124696 4229.227 100.00% Conn: 1 Mbps: 4229.227 Peak Mbps: 4229.227 Avg Mbps: 4229.227 3000 528418640 4227.349 100.00% Conn: 1 Mbps: 4227.349 Peak Mbps: 4229.227 Avg Mbps: 4227.349 4000 527087928 4216.703 100.00% Conn: 1 Mbps: 4216.703 Peak Mbps: 4229.227 Avg Mbps: 4216.703 5000 528156552 4225.252 100.00% Conn: 1 Mbps: 4225.252 Peak Mbps: 4229.227 Avg Mbps: 4225.252 --- 169.254.1.12 tcpbench statistics --- 3165982496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4212.383/4222.183/4229.227/6.508 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 533272320 4266.179 100.00% Conn: 1 Mbps: 4266.179 Peak Mbps: 4266.179 Avg Mbps: 4266.179 2000 533446536 4271.844 100.00% Conn: 1 Mbps: 4271.844 Peak Mbps: 4271.844 Avg Mbps: 4271.844 3000 533804964 4270.440 100.00% Conn: 1 Mbps: 4270.440 Peak Mbps: 4271.844 Avg Mbps: 4270.440 4000 533612184 4268.897 100.00% Conn: 1 Mbps: 4268.897 Peak Mbps: 4271.844 Avg Mbps: 4268.897 5000 533086680 4264.693 100.00% Conn: 1 Mbps: 4264.693 Peak Mbps: 4271.844 Avg Mbps: 4264.693 --- fc00:0:0:1::12 tcpbench statistics --- 3199815276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4264.693/4268.411/4271.844/2.644 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.043 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.043/0.043/0.043/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 770169502 6161.356 100.00% Conn: 1 Mbps: 6161.356 Peak Mbps: 6161.356 Avg Mbps: 6161.356 2000 770429084 6169.602 100.00% Conn: 1 Mbps: 6169.602 Peak Mbps: 6169.602 Avg Mbps: 6169.602 3000 772359328 6178.875 100.00% Conn: 1 Mbps: 6178.875 Peak Mbps: 6178.875 Avg Mbps: 6178.875 4000 769185876 6153.487 100.00% Conn: 1 Mbps: 6153.487 Peak Mbps: 6178.875 Avg Mbps: 6153.487 5000 769120444 6152.964 100.00% Conn: 1 Mbps: 6152.964 Peak Mbps: 6178.875 Avg Mbps: 6152.964 --- 169.254.0.13 tcpbench statistics --- 4617800114 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6152.964/6163.257/6178.875/9.891 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 745425084 5963.401 100.00% Conn: 1 Mbps: 5963.401 Peak Mbps: 5963.401 Avg Mbps: 5963.401 2000 744193656 5959.509 100.00% Conn: 1 Mbps: 5959.509 Peak Mbps: 5963.401 Avg Mbps: 5959.509 3000 746024632 5968.197 100.00% Conn: 1 Mbps: 5968.197 Peak Mbps: 5968.197 Avg Mbps: 5968.197 4000 747855608 5982.845 100.00% Conn: 1 Mbps: 5982.845 Peak Mbps: 5982.845 Avg Mbps: 5982.845 5000 745664976 5965.320 100.00% Conn: 1 Mbps: 5965.320 Peak Mbps: 5982.845 Avg Mbps: 5965.320 --- fc00::13 tcpbench statistics --- 4473128740 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5959.509/5967.854/5982.845/8.009 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.060 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.060/0.060/0.060/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.056 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 271808424 2174.467 100.00% Conn: 1 Mbps: 2174.467 Peak Mbps: 2174.467 Avg Mbps: 2174.467 2001 277951280 2223.610 100.00% Conn: 1 Mbps: 2223.610 Peak Mbps: 2223.610 Avg Mbps: 2223.610 3002 279137800 2233.102 100.00% Conn: 1 Mbps: 2233.102 Peak Mbps: 2233.102 Avg Mbps: 2233.102 4002 276576848 2212.615 100.00% Conn: 1 Mbps: 2212.615 Peak Mbps: 2233.102 Avg Mbps: 2212.615 5002 282323360 2260.848 100.00% Conn: 1 Mbps: 2260.848 Peak Mbps: 2260.848 Avg Mbps: 2260.848 --- 169.254.1.11 tcpbench statistics --- 1666632712 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 2174.467/2220.929/2260.848/28.202 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 525132368 4201.059 100.00% Conn: 1 Mbps: 4201.059 Peak Mbps: 4201.059 Avg Mbps: 4201.059 2000 581268064 4650.145 100.00% Conn: 1 Mbps: 4650.145 Peak Mbps: 4650.145 Avg Mbps: 4650.145 3001 569977136 4559.817 100.00% Conn: 1 Mbps: 4559.817 Peak Mbps: 4650.145 Avg Mbps: 4559.817 4001 572688000 4581.504 100.00% Conn: 1 Mbps: 4581.504 Peak Mbps: 4650.145 Avg Mbps: 4581.504 5001 567872328 4542.979 100.00% Conn: 1 Mbps: 4542.979 Peak Mbps: 4650.145 Avg Mbps: 4542.979 --- fc00:0:0:1::11 tcpbench statistics --- 3399332296 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4201.059/4507.101/4650.145/157.306 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.048 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.048/0.048/0.048/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 780414786 6243.318 100.00% Conn: 1 Mbps: 6243.318 Peak Mbps: 6243.318 Avg Mbps: 6243.318 2000 781258080 6256.321 100.00% Conn: 1 Mbps: 6256.321 Peak Mbps: 6256.321 Avg Mbps: 6256.321 3000 782010548 6256.084 100.00% Conn: 1 Mbps: 6256.084 Peak Mbps: 6256.321 Avg Mbps: 6256.084 4000 781716104 6253.729 100.00% Conn: 1 Mbps: 6253.729 Peak Mbps: 6256.321 Avg Mbps: 6253.729 5000 781061784 6248.494 100.00% Conn: 1 Mbps: 6248.494 Peak Mbps: 6256.321 Avg Mbps: 6248.494 --- 169.254.1.12 tcpbench statistics --- 4686149014 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6243.318/6251.589/6256.321/5.003 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 774072036 6192.576 100.00% Conn: 1 Mbps: 6192.576 Peak Mbps: 6192.576 Avg Mbps: 6192.576 2000 769696536 6163.736 100.00% Conn: 1 Mbps: 6163.736 Peak Mbps: 6192.576 Avg Mbps: 6163.736 3000 775581816 6204.655 100.00% Conn: 1 Mbps: 6204.655 Peak Mbps: 6204.655 Avg Mbps: 6204.655 4000 776791568 6214.333 100.00% Conn: 1 Mbps: 6214.333 Peak Mbps: 6214.333 Avg Mbps: 6214.333 5000 776889656 6215.117 100.00% Conn: 1 Mbps: 6215.117 Peak Mbps: 6215.117 Avg Mbps: 6215.117 --- fc00:0:0:1::12 tcpbench statistics --- 4648286468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6163.736/6198.083/6215.117/19.013 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.053 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.053/0.053/0.053/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 802776886 6422.215 100.00% Conn: 1 Mbps: 6422.215 Peak Mbps: 6422.215 Avg Mbps: 6422.215 2000 803374096 6433.426 100.00% Conn: 1 Mbps: 6433.426 Peak Mbps: 6433.426 Avg Mbps: 6433.426 3000 803635824 6435.522 100.00% Conn: 1 Mbps: 6435.522 Peak Mbps: 6435.522 Avg Mbps: 6435.522 4000 803897552 6431.180 100.00% Conn: 1 Mbps: 6431.180 Peak Mbps: 6435.522 Avg Mbps: 6431.180 5000 802850640 6422.805 100.00% Conn: 1 Mbps: 6422.805 Peak Mbps: 6435.522 Avg Mbps: 6422.805 --- 169.254.0.13 tcpbench statistics --- 4819745514 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6422.215/6429.030/6435.522/5.501 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 798699652 6389.597 100.00% Conn: 1 Mbps: 6389.597 Peak Mbps: 6389.597 Avg Mbps: 6389.597 2000 798174752 6391.790 100.00% Conn: 1 Mbps: 6391.790 Peak Mbps: 6391.790 Avg Mbps: 6391.790 3000 799057544 6392.460 100.00% Conn: 1 Mbps: 6392.460 Peak Mbps: 6392.460 Avg Mbps: 6392.460 4000 798501712 6388.014 100.00% Conn: 1 Mbps: 6388.014 Peak Mbps: 6392.460 Avg Mbps: 6388.014 5000 798501712 6388.014 100.00% Conn: 1 Mbps: 6388.014 Peak Mbps: 6392.460 Avg Mbps: 6388.014 --- fc00::13 tcpbench statistics --- 4790815860 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6388.014/6389.975/6392.460/1.860 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m52.82s