START sys/net/pair 2024-03-15T02:56:44Z ==== 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.038 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.038/0.038/0.038/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 938015012 7504.120 100.00% Conn: 1 Mbps: 7504.120 Peak Mbps: 7504.120 Avg Mbps: 7504.120 2000 936250556 7497.502 100.00% Conn: 1 Mbps: 7497.502 Peak Mbps: 7504.120 Avg Mbps: 7497.502 3000 937720936 7501.767 100.00% Conn: 1 Mbps: 7501.767 Peak Mbps: 7504.120 Avg Mbps: 7501.767 4000 937554028 7500.432 100.00% Conn: 1 Mbps: 7500.432 Peak Mbps: 7504.120 Avg Mbps: 7500.432 5000 937442756 7499.542 100.00% Conn: 1 Mbps: 7499.542 Peak Mbps: 7504.120 Avg Mbps: 7499.542 --- 169.254.1.11 tcpbench statistics --- 5624203500 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7497.502/7500.673/7504.120/2.212 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 957638976 7661.112 100.00% Conn: 1 Mbps: 7661.112 Peak Mbps: 7661.112 Avg Mbps: 7661.112 2000 958043304 7672.018 100.00% Conn: 1 Mbps: 7672.018 Peak Mbps: 7672.018 Avg Mbps: 7672.018 3000 957638976 7661.112 100.00% Conn: 1 Mbps: 7661.112 Peak Mbps: 7672.018 Avg Mbps: 7661.112 4000 956925456 7655.404 100.00% Conn: 1 Mbps: 7655.404 Peak Mbps: 7672.018 Avg Mbps: 7655.404 5000 956386352 7651.091 100.00% Conn: 1 Mbps: 7651.091 Peak Mbps: 7672.018 Avg Mbps: 7651.091 --- fc00:0:0:1::11 tcpbench statistics --- 5743732936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7651.091/7660.147/7672.018/7.033 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.061 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.061/0.061/0.061/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.119 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.119/0.119/0.119/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 282800472 2262.404 100.00% Conn: 1 Mbps: 2262.404 Peak Mbps: 2262.404 Avg Mbps: 2262.404 2000 283139360 2267.382 100.00% Conn: 1 Mbps: 2267.382 Peak Mbps: 2267.382 Avg Mbps: 2267.382 3000 283194272 2265.554 100.00% Conn: 1 Mbps: 2265.554 Peak Mbps: 2267.382 Avg Mbps: 2265.554 4001 283578104 2268.625 100.00% Conn: 1 Mbps: 2268.625 Peak Mbps: 2268.625 Avg Mbps: 2268.625 5001 283145376 2267.430 100.00% Conn: 1 Mbps: 2267.430 Peak Mbps: 2268.625 Avg Mbps: 2267.430 --- 169.254.1.12 tcpbench statistics --- 1700924680 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2262.404/2266.279/2268.625/2.172 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 275885704 2204.881 100.00% Conn: 1 Mbps: 2204.881 Peak Mbps: 2204.881 Avg Mbps: 2204.881 2000 276345388 2212.976 100.00% Conn: 1 Mbps: 2212.976 Peak Mbps: 2212.976 Avg Mbps: 2212.976 3001 276361972 2210.896 100.00% Conn: 1 Mbps: 2210.896 Peak Mbps: 2212.976 Avg Mbps: 2210.896 4001 276505932 2212.047 100.00% Conn: 1 Mbps: 2212.047 Peak Mbps: 2212.976 Avg Mbps: 2212.047 5001 276245712 2212.178 100.00% Conn: 1 Mbps: 2212.178 Peak Mbps: 2212.976 Avg Mbps: 2212.178 --- fc00:0:0:1::12 tcpbench statistics --- 1657353980 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2204.881/2210.596/2212.976/2.934 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.063 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.063/0.063/0.063/0.000 ms ==== run-tcpbench-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 444237564 3553.901 100.00% Conn: 1 Mbps: 3553.901 Peak Mbps: 3553.901 Avg Mbps: 3553.901 2000 444460108 3555.681 100.00% Conn: 1 Mbps: 3555.681 Peak Mbps: 3555.681 Avg Mbps: 3555.681 3000 444110396 3556.440 100.00% Conn: 1 Mbps: 3556.440 Peak Mbps: 3556.440 Avg Mbps: 3556.440 4000 444642912 3557.143 100.00% Conn: 1 Mbps: 3557.143 Peak Mbps: 3557.143 Avg Mbps: 3557.143 5000 448147980 3585.184 100.00% Conn: 1 Mbps: 3585.184 Peak Mbps: 3585.184 Avg Mbps: 3585.184 --- 169.254.0.13 tcpbench statistics --- 2673866160 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3553.901/3561.670/3585.184/11.807 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 409814176 3278.513 100.00% Conn: 1 Mbps: 3278.513 Peak Mbps: 3278.513 Avg Mbps: 3278.513 2000 409393992 3278.430 100.00% Conn: 1 Mbps: 3278.430 Peak Mbps: 3278.513 Avg Mbps: 3278.430 3000 410448416 3283.587 100.00% Conn: 1 Mbps: 3283.587 Peak Mbps: 3283.587 Avg Mbps: 3283.587 4000 410424632 3283.397 100.00% Conn: 1 Mbps: 3283.397 Peak Mbps: 3283.587 Avg Mbps: 3283.397 5000 411701040 3293.608 100.00% Conn: 1 Mbps: 3293.608 Peak Mbps: 3293.608 Avg Mbps: 3293.608 --- fc00::13 tcpbench statistics --- 2462960048 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3278.430/3283.507/3293.608/5.527 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.043 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.043/0.043/0.043/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.047 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.047/0.047/0.047/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 283916672 2271.333 100.00% Conn: 1 Mbps: 2271.333 Peak Mbps: 2271.333 Avg Mbps: 2271.333 2000 286148584 2289.189 100.00% Conn: 1 Mbps: 2289.189 Peak Mbps: 2289.189 Avg Mbps: 2289.189 3001 285739688 2285.918 100.00% Conn: 1 Mbps: 2285.918 Peak Mbps: 2289.189 Avg Mbps: 2285.918 4001 285799336 2286.395 100.00% Conn: 1 Mbps: 2286.395 Peak Mbps: 2289.189 Avg Mbps: 2286.395 5001 286117896 2288.943 100.00% Conn: 1 Mbps: 2288.943 Peak Mbps: 2289.189 Avg Mbps: 2288.943 --- 169.254.1.11 tcpbench statistics --- 1713474952 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2271.333/2284.355/2289.189/6.642 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 275120748 2200.966 100.00% Conn: 1 Mbps: 2200.966 Peak Mbps: 2200.966 Avg Mbps: 2200.966 2000 276105780 2208.846 100.00% Conn: 1 Mbps: 2208.846 Peak Mbps: 2208.846 Avg Mbps: 2208.846 3001 276028060 2208.224 100.00% Conn: 1 Mbps: 2208.224 Peak Mbps: 2208.846 Avg Mbps: 2208.224 4001 275859980 2206.880 100.00% Conn: 1 Mbps: 2206.880 Peak Mbps: 2208.846 Avg Mbps: 2206.880 5001 275799608 2206.397 100.00% Conn: 1 Mbps: 2206.397 Peak Mbps: 2208.846 Avg Mbps: 2206.397 --- fc00:0:0:1::11 tcpbench statistics --- 1654420704 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2200.966/2206.263/2208.846/2.792 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.042 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.042/0.042/0.042/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 945855320 7566.843 100.00% Conn: 1 Mbps: 7566.843 Peak Mbps: 7566.843 Avg Mbps: 7566.843 2000 946799416 7581.977 100.00% Conn: 1 Mbps: 7581.977 Peak Mbps: 7581.977 Avg Mbps: 7581.977 3000 947093360 7576.747 100.00% Conn: 1 Mbps: 7576.747 Peak Mbps: 7581.977 Avg Mbps: 7576.747 4000 946273792 7570.190 100.00% Conn: 1 Mbps: 7570.190 Peak Mbps: 7581.977 Avg Mbps: 7570.190 5000 949223368 7593.787 100.00% Conn: 1 Mbps: 7593.787 Peak Mbps: 7593.787 Avg Mbps: 7593.787 --- 169.254.1.12 tcpbench statistics --- 5681078856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7566.843/7577.909/7593.787/9.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 967727040 7741.816 100.00% Conn: 1 Mbps: 7741.816 Peak Mbps: 7741.816 Avg Mbps: 7741.816 2000 967968372 7751.498 100.00% Conn: 1 Mbps: 7751.498 Peak Mbps: 7751.498 Avg Mbps: 7751.498 3000 966688884 7733.511 100.00% Conn: 1 Mbps: 7733.511 Peak Mbps: 7751.498 Avg Mbps: 7733.511 4000 967769880 7742.159 100.00% Conn: 1 Mbps: 7742.159 Peak Mbps: 7751.498 Avg Mbps: 7742.159 5000 967047312 7736.378 100.00% Conn: 1 Mbps: 7736.378 Peak Mbps: 7751.498 Avg Mbps: 7736.378 --- fc00:0:0:1::12 tcpbench statistics --- 5804103144 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7733.511/7741.073/7751.498/6.159 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.040 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.040/0.040/0.040/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.042 ms --- fc00::13 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-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 1391324710 11130.598 100.00% Conn: 1 Mbps: 11130.598 Peak Mbps: 11130.598 Avg Mbps: 11130.598 2000 1401291712 11221.555 100.00% Conn: 1 Mbps: 11221.555 Peak Mbps: 11221.555 Avg Mbps: 11221.555 3000 1403221956 11225.776 100.00% Conn: 1 Mbps: 11225.776 Peak Mbps: 11225.776 Avg Mbps: 11225.776 4000 1400670108 11205.361 100.00% Conn: 1 Mbps: 11205.361 Peak Mbps: 11225.776 Avg Mbps: 11205.361 5000 1368477564 10947.821 100.00% Conn: 1 Mbps: 10947.821 Peak Mbps: 11225.776 Avg Mbps: 10947.821 --- 169.254.0.13 tcpbench statistics --- 8350279638 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10947.821/11146.222/11225.776/104.984 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 1327719740 10621.758 100.00% Conn: 1 Mbps: 10621.758 Peak Mbps: 10621.758 Avg Mbps: 10621.758 2000 1314509984 10526.606 100.00% Conn: 1 Mbps: 10526.606 Peak Mbps: 10621.758 Avg Mbps: 10526.606 3000 1331315728 10650.526 100.00% Conn: 1 Mbps: 10650.526 Peak Mbps: 10650.526 Avg Mbps: 10650.526 4000 1307709216 10461.674 100.00% Conn: 1 Mbps: 10461.674 Peak Mbps: 10650.526 Avg Mbps: 10461.674 5000 1304047264 10432.378 100.00% Conn: 1 Mbps: 10432.378 Peak Mbps: 10650.526 Avg Mbps: 10432.378 --- fc00::13 tcpbench statistics --- 7922502940 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10432.378/10538.588/10650.526/85.776 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.047 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.047/0.047/0.047/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.052 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.052/0.052/0.052/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 278394624 2227.157 100.00% Conn: 1 Mbps: 2227.157 Peak Mbps: 2227.157 Avg Mbps: 2227.157 2000 278782776 2230.262 100.00% Conn: 1 Mbps: 2230.262 Peak Mbps: 2230.262 Avg Mbps: 2230.262 3001 278861688 2230.894 100.00% Conn: 1 Mbps: 2230.894 Peak Mbps: 2230.894 Avg Mbps: 2230.894 4001 278760272 2232.314 100.00% Conn: 1 Mbps: 2232.314 Peak Mbps: 2232.314 Avg Mbps: 2232.314 5001 278767120 2230.137 100.00% Conn: 1 Mbps: 2230.137 Peak Mbps: 2232.314 Avg Mbps: 2230.137 --- 169.254.1.11 tcpbench statistics --- 1672062656 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2227.157/2230.153/2232.314/1.686 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 440282328 3522.259 100.00% Conn: 1 Mbps: 3522.259 Peak Mbps: 3522.259 Avg Mbps: 3522.259 2000 438767720 3513.655 100.00% Conn: 1 Mbps: 3513.655 Peak Mbps: 3522.259 Avg Mbps: 3513.655 3000 439018672 3515.665 100.00% Conn: 1 Mbps: 3515.665 Peak Mbps: 3522.259 Avg Mbps: 3515.665 4000 438395872 3507.167 100.00% Conn: 1 Mbps: 3507.167 Peak Mbps: 3522.259 Avg Mbps: 3507.167 5001 438082720 3504.662 100.00% Conn: 1 Mbps: 3504.662 Peak Mbps: 3522.259 Avg Mbps: 3504.662 --- fc00:0:0:1::11 tcpbench statistics --- 2632365576 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3504.662/3512.682/3522.259/6.266 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.040 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.040/0.040/0.040/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.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-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 1360844606 10886.757 100.00% Conn: 1 Mbps: 10886.757 Peak Mbps: 10886.757 Avg Mbps: 10886.757 2000 1376361844 11021.917 100.00% Conn: 1 Mbps: 11021.917 Peak Mbps: 11021.917 Avg Mbps: 11021.917 3000 1391378764 11131.030 100.00% Conn: 1 Mbps: 11131.030 Peak Mbps: 11131.030 Avg Mbps: 11131.030 4000 1417060824 11336.487 100.00% Conn: 1 Mbps: 11336.487 Peak Mbps: 11336.487 Avg Mbps: 11336.487 5000 1374693604 10997.549 100.00% Conn: 1 Mbps: 10997.549 Peak Mbps: 11336.487 Avg Mbps: 10997.549 --- 169.254.1.12 tcpbench statistics --- 8301183854 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10886.757/11074.748/11336.487/152.162 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 1311429932 10491.439 100.00% Conn: 1 Mbps: 10491.439 Peak Mbps: 10491.439 Avg Mbps: 10491.439 2000 1369373872 10965.957 100.00% Conn: 1 Mbps: 10965.957 Peak Mbps: 10965.957 Avg Mbps: 10965.957 3000 1318106544 10544.852 100.00% Conn: 1 Mbps: 10544.852 Peak Mbps: 10965.957 Avg Mbps: 10544.852 4000 1349952448 10799.620 100.00% Conn: 1 Mbps: 10799.620 Peak Mbps: 10965.957 Avg Mbps: 10799.620 5000 1311076904 10488.615 100.00% Conn: 1 Mbps: 10488.615 Peak Mbps: 10965.957 Avg Mbps: 10488.615 --- fc00:0:0:1::12 tcpbench statistics --- 7974416988 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10488.615/10658.097/10965.957/191.901 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.038 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.038/0.038/0.038/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.042 ms --- fc00::13 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-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 1416659874 11333.279 100.00% Conn: 1 Mbps: 11333.279 Peak Mbps: 11333.279 Avg Mbps: 11333.279 2000 1422458964 11391.063 100.00% Conn: 1 Mbps: 11391.063 Peak Mbps: 11391.063 Avg Mbps: 11391.063 3000 1419907116 11359.257 100.00% Conn: 1 Mbps: 11359.257 Peak Mbps: 11391.063 Avg Mbps: 11359.257 4000 1409470712 11275.766 100.00% Conn: 1 Mbps: 11275.766 Peak Mbps: 11391.063 Avg Mbps: 11275.766 5000 1411826264 11294.610 100.00% Conn: 1 Mbps: 11294.610 Peak Mbps: 11391.063 Avg Mbps: 11294.610 --- 169.254.0.13 tcpbench statistics --- 8492509070 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11275.766/11330.795/11391.063/41.919 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 1437197292 11497.578 100.00% Conn: 1 Mbps: 11497.578 Peak Mbps: 11497.578 Avg Mbps: 11497.578 2000 1440880024 11538.579 100.00% Conn: 1 Mbps: 11538.579 Peak Mbps: 11538.579 Avg Mbps: 11538.579 3000 1445719032 11565.752 100.00% Conn: 1 Mbps: 11565.752 Peak Mbps: 11565.752 Avg Mbps: 11565.752 4000 1429011376 11432.091 100.00% Conn: 1 Mbps: 11432.091 Peak Mbps: 11565.752 Avg Mbps: 11432.091 5000 1430450000 11443.600 100.00% Conn: 1 Mbps: 11443.600 Peak Mbps: 11565.752 Avg Mbps: 11443.600 --- fc00::13 tcpbench statistics --- 8623385740 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11432.091/11495.520/11565.752/51.980 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.86s