START sys/net/pair 2024-12-17T15:48:52Z ==== 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.034 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.034/0.034/0.034/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.038 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.038/0.038/0.038/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 1418241120 11345.929 100.00% Conn: 1 Mbps: 11345.929 Peak Mbps: 11345.929 Avg Mbps: 11345.929 2000 1414521456 11327.499 100.00% Conn: 1 Mbps: 11327.499 Peak Mbps: 11345.929 Avg Mbps: 11327.499 3000 1412844428 11302.755 100.00% Conn: 1 Mbps: 11302.755 Peak Mbps: 11345.929 Avg Mbps: 11302.755 4000 1410364652 11294.211 100.00% Conn: 1 Mbps: 11294.211 Peak Mbps: 11345.929 Avg Mbps: 11294.211 5000 1412995440 11303.964 100.00% Conn: 1 Mbps: 11303.964 Peak Mbps: 11345.929 Avg Mbps: 11303.964 --- 169.254.1.11 tcpbench statistics --- 8487327436 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11294.211/11314.872/11345.929/19.061 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 1340212544 10721.700 100.00% Conn: 1 Mbps: 10721.700 Peak Mbps: 10721.700 Avg Mbps: 10721.700 2000 1337572520 10711.291 100.00% Conn: 1 Mbps: 10711.291 Peak Mbps: 10721.700 Avg Mbps: 10711.291 3000 1342273824 10738.191 100.00% Conn: 1 Mbps: 10738.191 Peak Mbps: 10738.191 Avg Mbps: 10738.191 4000 1343375816 10747.007 100.00% Conn: 1 Mbps: 10747.007 Peak Mbps: 10747.007 Avg Mbps: 10747.007 5000 1342646440 10741.172 100.00% Conn: 1 Mbps: 10741.172 Peak Mbps: 10747.007 Avg Mbps: 10741.172 --- fc00:0:0:1::11 tcpbench statistics --- 8047276760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10711.291/10731.872/10747.007/13.285 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.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-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.095 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.095/0.095/0.095/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 389255928 3114.047 100.00% Conn: 1 Mbps: 3114.047 Peak Mbps: 3114.047 Avg Mbps: 3114.047 2000 389690032 3117.520 100.00% Conn: 1 Mbps: 3117.520 Peak Mbps: 3117.520 Avg Mbps: 3117.520 3000 388879816 3114.153 100.00% Conn: 1 Mbps: 3114.153 Peak Mbps: 3117.520 Avg Mbps: 3114.153 4000 389951888 3119.615 100.00% Conn: 1 Mbps: 3119.615 Peak Mbps: 3119.615 Avg Mbps: 3119.615 5001 389275552 3114.204 100.00% Conn: 1 Mbps: 3114.204 Peak Mbps: 3119.615 Avg Mbps: 3114.204 --- 169.254.1.12 tcpbench statistics --- 2335872536 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3114.047/3115.908/3119.615/2.271 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 372312528 2978.500 100.00% Conn: 1 Mbps: 2978.500 Peak Mbps: 2978.500 Avg Mbps: 2978.500 2001 372317952 2978.544 100.00% Conn: 1 Mbps: 2978.544 Peak Mbps: 2978.544 Avg Mbps: 2978.544 3001 372293040 2978.344 100.00% Conn: 1 Mbps: 2978.344 Peak Mbps: 2978.544 Avg Mbps: 2978.344 4001 372273868 2978.191 100.00% Conn: 1 Mbps: 2978.191 Peak Mbps: 2978.544 Avg Mbps: 2978.191 5001 372115940 2976.928 100.00% Conn: 1 Mbps: 2976.928 Peak Mbps: 2978.544 Avg Mbps: 2976.928 --- fc00:0:0:1::12 tcpbench statistics --- 2232817264 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2976.928/2978.101/2978.544/0.600 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.047 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.047/0.047/0.047/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.054 ms --- fc00::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-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 581141864 4649.135 100.00% Conn: 1 Mbps: 4649.135 Peak Mbps: 4649.135 Avg Mbps: 4649.135 2000 579671484 4642.014 100.00% Conn: 1 Mbps: 4642.014 Peak Mbps: 4649.135 Avg Mbps: 4642.014 3000 578836944 4630.696 100.00% Conn: 1 Mbps: 4630.696 Peak Mbps: 4649.135 Avg Mbps: 4630.696 4000 579377408 4635.019 100.00% Conn: 1 Mbps: 4635.019 Peak Mbps: 4649.135 Avg Mbps: 4635.019 5000 579536368 4636.291 100.00% Conn: 1 Mbps: 4636.291 Peak Mbps: 4649.135 Avg Mbps: 4636.291 --- 169.254.0.13 tcpbench statistics --- 3478092488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4630.696/4638.631/4649.135/6.376 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 530399056 4243.192 100.00% Conn: 1 Mbps: 4243.192 Peak Mbps: 4243.192 Avg Mbps: 4243.192 2000 529828240 4242.869 100.00% Conn: 1 Mbps: 4242.869 Peak Mbps: 4243.192 Avg Mbps: 4242.869 3000 529415984 4235.328 100.00% Conn: 1 Mbps: 4235.328 Peak Mbps: 4243.192 Avg Mbps: 4235.328 4000 528916520 4231.332 100.00% Conn: 1 Mbps: 4231.332 Peak Mbps: 4243.192 Avg Mbps: 4231.332 5000 528654896 4229.239 100.00% Conn: 1 Mbps: 4229.239 Peak Mbps: 4243.192 Avg Mbps: 4229.239 --- fc00::13 tcpbench statistics --- 3175671392 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4229.239/4236.392/4243.192/5.764 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.036 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.036/0.036/0.036/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.039 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.039/0.039/0.039/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 396439856 3171.519 100.00% Conn: 1 Mbps: 3171.519 Peak Mbps: 3171.519 Avg Mbps: 3171.519 2000 397704440 3181.636 100.00% Conn: 1 Mbps: 3181.636 Peak Mbps: 3181.636 Avg Mbps: 3181.636 3000 396967336 3178.918 100.00% Conn: 1 Mbps: 3178.918 Peak Mbps: 3181.636 Avg Mbps: 3178.918 4001 397438048 3179.504 100.00% Conn: 1 Mbps: 3179.504 Peak Mbps: 3181.636 Avg Mbps: 3179.504 5001 397219896 3177.759 100.00% Conn: 1 Mbps: 3177.759 Peak Mbps: 3181.636 Avg Mbps: 3177.759 --- 169.254.1.11 tcpbench statistics --- 2382025504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3171.519/3177.867/3181.636/3.415 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 376696672 3013.573 100.00% Conn: 1 Mbps: 3013.573 Peak Mbps: 3013.573 Avg Mbps: 3013.573 2000 376705560 3016.661 100.00% Conn: 1 Mbps: 3016.661 Peak Mbps: 3016.661 Avg Mbps: 3016.661 3000 376700696 3013.606 100.00% Conn: 1 Mbps: 3013.606 Peak Mbps: 3016.661 Avg Mbps: 3013.606 4000 378039496 3027.343 100.00% Conn: 1 Mbps: 3027.343 Peak Mbps: 3027.343 Avg Mbps: 3027.343 5000 378355536 3026.844 100.00% Conn: 1 Mbps: 3026.844 Peak Mbps: 3027.343 Avg Mbps: 3026.844 --- fc00:0:0:1::11 tcpbench statistics --- 2264732172 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3013.573/3019.606/3027.343/6.218 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.032 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.032/0.032/0.032/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.034 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.034/0.034/0.034/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 1472652200 11781.218 100.00% Conn: 1 Mbps: 11781.218 Peak Mbps: 11781.218 Avg Mbps: 11781.218 2000 1461848672 11706.496 100.00% Conn: 1 Mbps: 11706.496 Peak Mbps: 11781.218 Avg Mbps: 11706.496 3000 1464436248 11715.490 100.00% Conn: 1 Mbps: 11715.490 Peak Mbps: 11781.218 Avg Mbps: 11715.490 4000 1461336080 11690.689 100.00% Conn: 1 Mbps: 11690.689 Peak Mbps: 11781.218 Avg Mbps: 11690.689 5000 1462584256 11700.674 100.00% Conn: 1 Mbps: 11700.674 Peak Mbps: 11781.218 Avg Mbps: 11700.674 --- 169.254.1.12 tcpbench statistics --- 8786701472 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11690.689/11718.913/11781.218/32.178 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 1386679392 11093.435 100.00% Conn: 1 Mbps: 11093.435 Peak Mbps: 11093.435 Avg Mbps: 11093.435 2000 1381924152 11066.460 100.00% Conn: 1 Mbps: 11066.460 Peak Mbps: 11093.435 Avg Mbps: 11066.460 3000 1377681564 11021.453 100.00% Conn: 1 Mbps: 11021.453 Peak Mbps: 11093.435 Avg Mbps: 11021.453 4000 1380336216 11042.690 100.00% Conn: 1 Mbps: 11042.690 Peak Mbps: 11093.435 Avg Mbps: 11042.690 5000 1378269900 11026.159 100.00% Conn: 1 Mbps: 11026.159 Peak Mbps: 11093.435 Avg Mbps: 11026.159 --- fc00:0:0:1::12 tcpbench statistics --- 8280902028 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11021.453/11050.039/11093.435/26.812 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.035 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.035/0.035/0.035/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.037 ms --- fc00::13 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-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 1931175612 15449.405 100.00% Conn: 1 Mbps: 15449.405 Peak Mbps: 15449.405 Avg Mbps: 15449.405 2000 1933744612 15485.442 100.00% Conn: 1 Mbps: 15485.442 Peak Mbps: 15485.442 Avg Mbps: 15485.442 3000 1935151400 15481.211 100.00% Conn: 1 Mbps: 15481.211 Peak Mbps: 15485.442 Avg Mbps: 15481.211 4000 1937932260 15503.458 100.00% Conn: 1 Mbps: 15503.458 Peak Mbps: 15503.458 Avg Mbps: 15503.458 5000 1936983496 15495.868 100.00% Conn: 1 Mbps: 15495.868 Peak Mbps: 15503.458 Avg Mbps: 15495.868 --- 169.254.0.13 tcpbench statistics --- 11609517176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 15449.405/15483.077/15503.458/18.557 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 1746536452 13972.292 100.00% Conn: 1 Mbps: 13972.292 Peak Mbps: 13972.292 Avg Mbps: 13972.292 2000 1755415544 14057.382 100.00% Conn: 1 Mbps: 14057.382 Peak Mbps: 14057.382 Avg Mbps: 14057.382 3000 1754107704 14032.862 100.00% Conn: 1 Mbps: 14032.862 Peak Mbps: 14057.382 Avg Mbps: 14032.862 4000 1754892408 14039.139 100.00% Conn: 1 Mbps: 14039.139 Peak Mbps: 14057.382 Avg Mbps: 14039.139 5000 1750968888 14007.751 100.00% Conn: 1 Mbps: 14007.751 Peak Mbps: 14057.382 Avg Mbps: 14007.751 --- fc00::13 tcpbench statistics --- 10512791796 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 13972.292/14021.885/14057.382/29.453 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.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-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.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-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 384445072 3075.561 100.00% Conn: 1 Mbps: 3075.561 Peak Mbps: 3075.561 Avg Mbps: 3075.561 2000 384861616 3081.975 100.00% Conn: 1 Mbps: 3081.975 Peak Mbps: 3081.975 Avg Mbps: 3081.975 3000 385059544 3080.476 100.00% Conn: 1 Mbps: 3080.476 Peak Mbps: 3081.975 Avg Mbps: 3080.476 4000 384720664 3080.846 100.00% Conn: 1 Mbps: 3080.846 Peak Mbps: 3081.975 Avg Mbps: 3080.846 5000 385666424 3085.331 100.00% Conn: 1 Mbps: 3085.331 Peak Mbps: 3085.331 Avg Mbps: 3085.331 --- 169.254.1.11 tcpbench statistics --- 2309267920 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3075.561/3080.838/3085.331/3.145 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 559599648 4476.797 100.00% Conn: 1 Mbps: 4476.797 Peak Mbps: 4476.797 Avg Mbps: 4476.797 2000 557018232 4456.146 100.00% Conn: 1 Mbps: 4456.146 Peak Mbps: 4476.797 Avg Mbps: 4456.146 3000 556384448 4451.076 100.00% Conn: 1 Mbps: 4451.076 Peak Mbps: 4476.797 Avg Mbps: 4451.076 4000 556954520 4460.096 100.00% Conn: 1 Mbps: 4460.096 Peak Mbps: 4476.797 Avg Mbps: 4460.096 5000 556519960 4452.160 100.00% Conn: 1 Mbps: 4452.160 Peak Mbps: 4476.797 Avg Mbps: 4452.160 --- fc00:0:0:1::11 tcpbench statistics --- 3342542136 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4451.076/4459.255/4476.797/9.331 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.036 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.036/0.036/0.036/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.039 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.039/0.039/0.039/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 1950293296 15602.346 100.00% Conn: 1 Mbps: 15602.346 Peak Mbps: 15602.346 Avg Mbps: 15602.346 2000 1953325138 15642.243 100.00% Conn: 1 Mbps: 15642.243 Peak Mbps: 15642.243 Avg Mbps: 15642.243 3000 1960260930 15682.087 100.00% Conn: 1 Mbps: 15682.087 Peak Mbps: 15682.087 Avg Mbps: 15682.087 4000 1961487780 15691.902 100.00% Conn: 1 Mbps: 15691.902 Peak Mbps: 15691.902 Avg Mbps: 15691.902 5000 1960048276 15680.386 100.00% Conn: 1 Mbps: 15680.386 Peak Mbps: 15691.902 Avg Mbps: 15680.386 --- 169.254.1.12 tcpbench statistics --- 11738298892 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 15602.346/15659.793/15691.902/33.347 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 1753067332 14024.539 100.00% Conn: 1 Mbps: 14024.539 Peak Mbps: 14024.539 Avg Mbps: 14024.539 2000 1760189160 14095.609 100.00% Conn: 1 Mbps: 14095.609 Peak Mbps: 14095.609 Avg Mbps: 14095.609 3000 1763851112 14110.809 100.00% Conn: 1 Mbps: 14110.809 Peak Mbps: 14110.809 Avg Mbps: 14110.809 4000 1763164496 14105.316 100.00% Conn: 1 Mbps: 14105.316 Peak Mbps: 14110.809 Avg Mbps: 14105.316 5000 1766041744 14128.334 100.00% Conn: 1 Mbps: 14128.334 Peak Mbps: 14128.334 Avg Mbps: 14128.334 --- fc00:0:0:1::12 tcpbench statistics --- 10575527100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 14024.539/14092.921/14128.334/35.808 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.030 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.030/0.030/0.030/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.037 ms --- fc00::13 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-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 2147616958 17180.936 100.00% Conn: 1 Mbps: 17180.936 Peak Mbps: 17180.936 Avg Mbps: 17180.936 2000 2154968908 17257.008 100.00% Conn: 1 Mbps: 17257.008 Peak Mbps: 17257.008 Avg Mbps: 17257.008 3000 2151436696 17211.494 100.00% Conn: 1 Mbps: 17211.494 Peak Mbps: 17257.008 Avg Mbps: 17211.494 4000 2151011568 17208.093 100.00% Conn: 1 Mbps: 17208.093 Peak Mbps: 17257.008 Avg Mbps: 17208.093 5000 2149506632 17213.266 100.00% Conn: 1 Mbps: 17213.266 Peak Mbps: 17257.008 Avg Mbps: 17213.266 --- 169.254.0.13 tcpbench statistics --- 12903916530 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 17180.936/17214.159/17257.008/24.432 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 2127777248 17022.218 100.00% Conn: 1 Mbps: 17022.218 Peak Mbps: 17022.218 Avg Mbps: 17022.218 2000 2134558360 17093.560 100.00% Conn: 1 Mbps: 17093.560 Peak Mbps: 17093.560 Avg Mbps: 17093.560 3000 2132727384 17061.819 100.00% Conn: 1 Mbps: 17061.819 Peak Mbps: 17093.560 Avg Mbps: 17061.819 4000 2133904440 17071.236 100.00% Conn: 1 Mbps: 17071.236 Peak Mbps: 17093.560 Avg Mbps: 17071.236 5000 2135996984 17087.976 100.00% Conn: 1 Mbps: 17087.976 Peak Mbps: 17093.560 Avg Mbps: 17087.976 --- fc00::13 tcpbench statistics --- 12798149544 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 17022.218/17067.362/17093.560/25.278 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m51.37s