START sys/net/pair 2024-11-01T04:59:04Z ==== 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.042 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/0.000 ms ==== run-tcpbench-1-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 558561596 4468.493 100.00% Conn: 1 Mbps: 4468.493 Peak Mbps: 4468.493 Avg Mbps: 4468.493 2000 555493668 4448.398 100.00% Conn: 1 Mbps: 4448.398 Peak Mbps: 4468.493 Avg Mbps: 4448.398 3000 556240780 4449.926 100.00% Conn: 1 Mbps: 4449.926 Peak Mbps: 4468.493 Avg Mbps: 4449.926 4000 555056528 4440.452 100.00% Conn: 1 Mbps: 4440.452 Peak Mbps: 4468.493 Avg Mbps: 4440.452 5000 557480668 4459.845 100.00% Conn: 1 Mbps: 4459.845 Peak Mbps: 4468.493 Avg Mbps: 4459.845 --- 169.254.1.11 tcpbench statistics --- 3340695412 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4440.452/4453.423/4468.493/9.737 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 547991288 4383.930 100.00% Conn: 1 Mbps: 4383.930 Peak Mbps: 4383.930 Avg Mbps: 4383.930 2000 545890368 4371.494 100.00% Conn: 1 Mbps: 4371.494 Peak Mbps: 4383.930 Avg Mbps: 4371.494 3000 545604960 4364.840 100.00% Conn: 1 Mbps: 4364.840 Peak Mbps: 4383.930 Avg Mbps: 4364.840 4000 545533608 4364.269 100.00% Conn: 1 Mbps: 4364.269 Peak Mbps: 4383.930 Avg Mbps: 4364.269 5000 547380832 4383.430 100.00% Conn: 1 Mbps: 4383.430 Peak Mbps: 4383.930 Avg Mbps: 4383.430 --- fc00:0:0:1::11 tcpbench statistics --- 3278838456 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4364.269/4373.593/4383.930/8.621 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.072 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.072/0.072/0.072/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.118 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.118/0.118/0.118/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 217643328 1741.147 100.00% Conn: 1 Mbps: 1741.147 Peak Mbps: 1741.147 Avg Mbps: 1741.147 2000 219692024 1757.536 100.00% Conn: 1 Mbps: 1757.536 Peak Mbps: 1757.536 Avg Mbps: 1757.536 3000 218723944 1749.792 100.00% Conn: 1 Mbps: 1749.792 Peak Mbps: 1757.536 Avg Mbps: 1749.792 4001 217338600 1738.709 100.00% Conn: 1 Mbps: 1738.709 Peak Mbps: 1757.536 Avg Mbps: 1738.709 5001 218656328 1749.251 100.00% Conn: 1 Mbps: 1749.251 Peak Mbps: 1757.536 Avg Mbps: 1749.251 --- 169.254.1.12 tcpbench statistics --- 1308801712 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1738.709/1747.287/1757.536/6.730 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 205542164 1644.337 100.00% Conn: 1 Mbps: 1644.337 Peak Mbps: 1644.337 Avg Mbps: 1644.337 2000 205963544 1647.708 100.00% Conn: 1 Mbps: 1647.708 Peak Mbps: 1647.708 Avg Mbps: 1647.708 3000 205484896 1643.879 100.00% Conn: 1 Mbps: 1643.879 Peak Mbps: 1647.708 Avg Mbps: 1643.879 4000 205325920 1642.607 100.00% Conn: 1 Mbps: 1642.607 Peak Mbps: 1647.708 Avg Mbps: 1642.607 5001 205978800 1646.184 100.00% Conn: 1 Mbps: 1646.184 Peak Mbps: 1647.708 Avg Mbps: 1646.184 --- fc00:0:0:1::12 tcpbench statistics --- 1234300084 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1642.607/1644.943/1647.708/1.797 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.055 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.055/0.055/0.055/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.070 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.070/0.070/0.070/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 294044208 2352.354 100.00% Conn: 1 Mbps: 2352.354 Peak Mbps: 2352.354 Avg Mbps: 2352.354 2000 295792628 2366.341 100.00% Conn: 1 Mbps: 2366.341 Peak Mbps: 2366.341 Avg Mbps: 2366.341 3000 296516036 2372.128 100.00% Conn: 1 Mbps: 2372.128 Peak Mbps: 2372.128 Avg Mbps: 2372.128 4000 299472692 2395.782 100.00% Conn: 1 Mbps: 2395.782 Peak Mbps: 2395.782 Avg Mbps: 2395.782 5000 301395968 2411.168 100.00% Conn: 1 Mbps: 2411.168 Peak Mbps: 2411.168 Avg Mbps: 2411.168 --- 169.254.0.13 tcpbench statistics --- 1784214308 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2352.354/2379.554/2411.168/21.130 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 284274296 2274.194 100.00% Conn: 1 Mbps: 2274.194 Peak Mbps: 2274.194 Avg Mbps: 2274.194 2000 284139520 2275.392 100.00% Conn: 1 Mbps: 2275.392 Peak Mbps: 2275.392 Avg Mbps: 2275.392 3000 283782760 2270.262 100.00% Conn: 1 Mbps: 2270.262 Peak Mbps: 2275.392 Avg Mbps: 2270.262 4000 285622056 2284.976 100.00% Conn: 1 Mbps: 2284.976 Peak Mbps: 2284.976 Avg Mbps: 2284.976 5000 288460280 2307.682 100.00% Conn: 1 Mbps: 2307.682 Peak Mbps: 2307.682 Avg Mbps: 2307.682 --- fc00::13 tcpbench statistics --- 1714390360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2270.262/2282.501/2307.682/13.487 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.053 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.053/0.053/0.053/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.051 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 219946472 1759.572 100.00% Conn: 1 Mbps: 1759.572 Peak Mbps: 1759.572 Avg Mbps: 1759.572 2000 221430176 1771.441 100.00% Conn: 1 Mbps: 1771.441 Peak Mbps: 1771.441 Avg Mbps: 1771.441 3001 219261080 1754.089 100.00% Conn: 1 Mbps: 1754.089 Peak Mbps: 1771.441 Avg Mbps: 1754.089 4002 220403560 1763.228 100.00% Conn: 1 Mbps: 1763.228 Peak Mbps: 1771.441 Avg Mbps: 1763.228 5002 220267952 1762.144 100.00% Conn: 1 Mbps: 1762.144 Peak Mbps: 1771.441 Avg Mbps: 1762.144 --- 169.254.1.11 tcpbench statistics --- 1320961504 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1754.089/1762.095/1771.441/5.641 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 211425180 1691.401 100.00% Conn: 1 Mbps: 1691.401 Peak Mbps: 1691.401 Avg Mbps: 1691.401 2000 209747872 1677.983 100.00% Conn: 1 Mbps: 1677.983 Peak Mbps: 1691.401 Avg Mbps: 1677.983 3002 207833036 1661.003 100.00% Conn: 1 Mbps: 1661.003 Peak Mbps: 1691.401 Avg Mbps: 1661.003 4002 209777236 1678.218 100.00% Conn: 1 Mbps: 1678.218 Peak Mbps: 1691.401 Avg Mbps: 1678.218 5002 209151220 1673.210 100.00% Conn: 1 Mbps: 1673.210 Peak Mbps: 1691.401 Avg Mbps: 1673.210 --- fc00:0:0:1::11 tcpbench statistics --- 1257224224 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1661.003/1676.363/1691.401/9.778 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.038 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.038/0.038/0.038/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.044 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.044/0.044/0.044/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 560231200 4481.850 100.00% Conn: 1 Mbps: 4481.850 Peak Mbps: 4481.850 Avg Mbps: 4481.850 2000 554075752 4437.043 100.00% Conn: 1 Mbps: 4437.043 Peak Mbps: 4481.850 Avg Mbps: 4437.043 3000 551256496 4410.052 100.00% Conn: 1 Mbps: 4410.052 Peak Mbps: 4481.850 Avg Mbps: 4410.052 4000 551796600 4414.373 100.00% Conn: 1 Mbps: 4414.373 Peak Mbps: 4481.850 Avg Mbps: 4414.373 5000 552009456 4416.076 100.00% Conn: 1 Mbps: 4416.076 Peak Mbps: 4481.850 Avg Mbps: 4416.076 --- 169.254.1.12 tcpbench statistics --- 3318708848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4410.052/4431.879/4481.850/26.670 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 542945592 4343.565 100.00% Conn: 1 Mbps: 4343.565 Peak Mbps: 4343.565 Avg Mbps: 4343.565 2000 540362340 4327.226 100.00% Conn: 1 Mbps: 4327.226 Peak Mbps: 4343.565 Avg Mbps: 4327.226 3000 538475952 4307.808 100.00% Conn: 1 Mbps: 4307.808 Peak Mbps: 4343.565 Avg Mbps: 4307.808 4000 536935140 4295.481 100.00% Conn: 1 Mbps: 4295.481 Peak Mbps: 4343.565 Avg Mbps: 4295.481 5000 537446364 4299.571 100.00% Conn: 1 Mbps: 4299.571 Peak Mbps: 4343.565 Avg Mbps: 4299.571 --- fc00:0:0:1::12 tcpbench statistics --- 3235278228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4295.481/4314.730/4343.565/18.088 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.049 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.049/0.049/0.049/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.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/0.000 ms ==== run-tcpbench-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 1056795314 8454.363 100.00% Conn: 1 Mbps: 8454.363 Peak Mbps: 8454.363 Avg Mbps: 8454.363 2000 1055025556 8448.653 100.00% Conn: 1 Mbps: 8448.653 Peak Mbps: 8454.363 Avg Mbps: 8448.653 3000 1054731124 8437.849 100.00% Conn: 1 Mbps: 8437.849 Peak Mbps: 8454.363 Avg Mbps: 8437.849 4000 1053716928 8429.735 100.00% Conn: 1 Mbps: 8429.735 Peak Mbps: 8454.363 Avg Mbps: 8429.735 5000 1054403964 8435.232 100.00% Conn: 1 Mbps: 8435.232 Peak Mbps: 8454.363 Avg Mbps: 8435.232 --- 169.254.0.13 tcpbench statistics --- 6328258950 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8429.735/8441.166/8454.363/9.023 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 1026238100 8209.905 100.00% Conn: 1 Mbps: 8209.905 Peak Mbps: 8209.905 Avg Mbps: 8209.905 2000 1029139296 8241.356 100.00% Conn: 1 Mbps: 8241.356 Peak Mbps: 8241.356 Avg Mbps: 8241.356 3000 1027014056 8216.112 100.00% Conn: 1 Mbps: 8216.112 Peak Mbps: 8241.356 Avg Mbps: 8216.112 4000 1028191112 8225.529 100.00% Conn: 1 Mbps: 8225.529 Peak Mbps: 8241.356 Avg Mbps: 8225.529 5000 1029858608 8238.869 100.00% Conn: 1 Mbps: 8238.869 Peak Mbps: 8241.356 Avg Mbps: 8238.869 --- fc00::13 tcpbench statistics --- 6170790220 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8209.905/8226.354/8241.356/12.311 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 218501768 1748.014 100.00% Conn: 1 Mbps: 1748.014 Peak Mbps: 1748.014 Avg Mbps: 1748.014 2000 216262192 1730.098 100.00% Conn: 1 Mbps: 1730.098 Peak Mbps: 1748.014 Avg Mbps: 1730.098 3000 217004128 1736.033 100.00% Conn: 1 Mbps: 1736.033 Peak Mbps: 1748.014 Avg Mbps: 1736.033 4001 216567952 1732.544 100.00% Conn: 1 Mbps: 1732.544 Peak Mbps: 1748.014 Avg Mbps: 1732.544 5001 216143416 1729.147 100.00% Conn: 1 Mbps: 1729.147 Peak Mbps: 1748.014 Avg Mbps: 1729.147 --- 169.254.1.11 tcpbench statistics --- 1301412440 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1729.147/1735.167/1748.014/6.850 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 308298640 2466.389 100.00% Conn: 1 Mbps: 2466.389 Peak Mbps: 2466.389 Avg Mbps: 2466.389 2001 303920448 2431.364 100.00% Conn: 1 Mbps: 2431.364 Peak Mbps: 2466.389 Avg Mbps: 2431.364 3001 305990648 2447.925 100.00% Conn: 1 Mbps: 2447.925 Peak Mbps: 2466.389 Avg Mbps: 2447.925 4001 305345872 2442.767 100.00% Conn: 1 Mbps: 2442.767 Peak Mbps: 2466.389 Avg Mbps: 2442.767 5001 303390728 2429.555 100.00% Conn: 1 Mbps: 2429.555 Peak Mbps: 2466.389 Avg Mbps: 2429.555 --- fc00:0:0:1::11 tcpbench statistics --- 1830828808 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2429.555/2443.600/2466.389/13.310 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.048 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.048/0.048/0.048/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.050 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.050/0.050/0.050/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 1075886310 8607.090 100.00% Conn: 1 Mbps: 8607.090 Peak Mbps: 8607.090 Avg Mbps: 8607.090 2000 1076389116 8619.733 100.00% Conn: 1 Mbps: 8619.733 Peak Mbps: 8619.733 Avg Mbps: 8619.733 3000 1074164428 8593.315 100.00% Conn: 1 Mbps: 8593.315 Peak Mbps: 8619.733 Avg Mbps: 8593.315 4000 1070990976 8567.928 100.00% Conn: 1 Mbps: 8567.928 Peak Mbps: 8619.733 Avg Mbps: 8567.928 5000 1074328008 8594.624 100.00% Conn: 1 Mbps: 8594.624 Peak Mbps: 8619.733 Avg Mbps: 8594.624 --- 169.254.1.12 tcpbench statistics --- 6444320182 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8567.928/8596.538/8619.733/17.216 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 1034607268 8276.858 100.00% Conn: 1 Mbps: 8276.858 Peak Mbps: 8276.858 Avg Mbps: 8276.858 2000 1038196088 8313.883 100.00% Conn: 1 Mbps: 8313.883 Peak Mbps: 8313.883 Avg Mbps: 8313.883 3000 1037476776 8299.814 100.00% Conn: 1 Mbps: 8299.814 Peak Mbps: 8313.883 Avg Mbps: 8299.814 4000 1036168936 8289.351 100.00% Conn: 1 Mbps: 8289.351 Peak Mbps: 8313.883 Avg Mbps: 8289.351 5000 1033912912 8271.303 100.00% Conn: 1 Mbps: 8271.303 Peak Mbps: 8313.883 Avg Mbps: 8271.303 --- fc00:0:0:1::12 tcpbench statistics --- 6214209500 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8271.303/8290.242/8313.883/15.421 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 1145948300 9167.586 100.00% Conn: 1 Mbps: 9167.586 Peak Mbps: 9167.586 Avg Mbps: 9167.586 2000 1148331600 9195.849 100.00% Conn: 1 Mbps: 9195.849 Peak Mbps: 9195.849 Avg Mbps: 9195.849 3000 1149542092 9196.337 100.00% Conn: 1 Mbps: 9196.337 Peak Mbps: 9196.337 Avg Mbps: 9196.337 4000 1149411228 9195.290 100.00% Conn: 1 Mbps: 9195.290 Peak Mbps: 9196.337 Avg Mbps: 9195.290 5000 1151603200 9212.826 100.00% Conn: 1 Mbps: 9212.826 Peak Mbps: 9212.826 Avg Mbps: 9212.826 --- 169.254.0.13 tcpbench statistics --- 6896537768 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9167.586/9193.577/9212.826/14.572 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 1075347096 8602.777 100.00% Conn: 1 Mbps: 8602.777 Peak Mbps: 8602.777 Avg Mbps: 8602.777 2000 1080831672 8655.309 100.00% Conn: 1 Mbps: 8655.309 Peak Mbps: 8655.309 Avg Mbps: 8655.309 3000 1083545440 8668.364 100.00% Conn: 1 Mbps: 8668.364 Peak Mbps: 8668.364 Avg Mbps: 8668.364 4000 1080112360 8640.899 100.00% Conn: 1 Mbps: 8640.899 Peak Mbps: 8668.364 Avg Mbps: 8640.899 5000 1079556528 8636.452 100.00% Conn: 1 Mbps: 8636.452 Peak Mbps: 8668.364 Avg Mbps: 8636.452 --- fc00::13 tcpbench statistics --- 6480192072 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8602.777/8640.760/8668.364/22.068 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.81s