START sys/net/pair 2024-03-26T02:31:11Z ==== 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.061 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.061/0.061/0.061/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.063 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.063/0.063/0.063/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 364010452 2912.084 100.00% Conn: 1 Mbps: 2912.084 Peak Mbps: 2912.084 Avg Mbps: 2912.084 2000 363509728 2910.989 100.00% Conn: 1 Mbps: 2910.989 Peak Mbps: 2912.084 Avg Mbps: 2910.989 3000 365345716 2922.766 100.00% Conn: 1 Mbps: 2922.766 Peak Mbps: 2922.766 Avg Mbps: 2922.766 4000 364479384 2915.835 100.00% Conn: 1 Mbps: 2915.835 Peak Mbps: 2922.766 Avg Mbps: 2915.835 5000 366235892 2929.887 100.00% Conn: 1 Mbps: 2929.887 Peak Mbps: 2929.887 Avg Mbps: 2929.887 --- 169.254.1.11 tcpbench statistics --- 2188354632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2910.989/2918.312/2929.887/7.105 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 369999760 2959.998 100.00% Conn: 1 Mbps: 2959.998 Peak Mbps: 2959.998 Avg Mbps: 2959.998 2000 370308952 2962.472 100.00% Conn: 1 Mbps: 2962.472 Peak Mbps: 2962.472 Avg Mbps: 2962.472 3000 370134536 2964.040 100.00% Conn: 1 Mbps: 2964.040 Peak Mbps: 2964.040 Avg Mbps: 2964.040 4000 369952192 2959.618 100.00% Conn: 1 Mbps: 2959.618 Peak Mbps: 2964.040 Avg Mbps: 2959.618 5000 368184248 2945.474 100.00% Conn: 1 Mbps: 2945.474 Peak Mbps: 2964.040 Avg Mbps: 2945.474 --- fc00:0:0:1::11 tcpbench statistics --- 2219086840 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2945.474/2958.320/2964.040/6.625 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.101 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.101/0.101/0.101/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.173 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.173/0.173/0.173/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 153059744 1224.478 100.00% Conn: 1 Mbps: 1224.478 Peak Mbps: 1224.478 Avg Mbps: 1224.478 2001 155488904 1243.911 100.00% Conn: 1 Mbps: 1243.911 Peak Mbps: 1243.911 Avg Mbps: 1243.911 3001 155105688 1242.088 100.00% Conn: 1 Mbps: 1242.088 Peak Mbps: 1243.911 Avg Mbps: 1242.088 4001 155527776 1244.222 100.00% Conn: 1 Mbps: 1244.222 Peak Mbps: 1244.222 Avg Mbps: 1244.222 5001 155166280 1241.330 100.00% Conn: 1 Mbps: 1241.330 Peak Mbps: 1244.222 Avg Mbps: 1241.330 --- 169.254.1.12 tcpbench statistics --- 927816672 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1224.478/1239.206/1244.222/7.444 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 145986328 1167.891 100.00% Conn: 1 Mbps: 1167.891 Peak Mbps: 1167.891 Avg Mbps: 1167.891 2000 143966960 1152.889 100.00% Conn: 1 Mbps: 1152.889 Peak Mbps: 1167.891 Avg Mbps: 1152.889 3001 144362260 1153.744 100.00% Conn: 1 Mbps: 1153.744 Peak Mbps: 1167.891 Avg Mbps: 1153.744 4002 144630272 1157.042 100.00% Conn: 1 Mbps: 1157.042 Peak Mbps: 1167.891 Avg Mbps: 1157.042 5002 144794916 1158.359 100.00% Conn: 1 Mbps: 1158.359 Peak Mbps: 1167.891 Avg Mbps: 1158.359 --- fc00:0:0:1::12 tcpbench statistics --- 867434028 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1152.889/1157.985/1167.891/5.350 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.088 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.088/0.088/0.088/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.122 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.122/0.122/0.122/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 186960804 1495.686 100.00% Conn: 1 Mbps: 1495.686 Peak Mbps: 1495.686 Avg Mbps: 1495.686 2000 185641436 1485.131 100.00% Conn: 1 Mbps: 1485.131 Peak Mbps: 1495.686 Avg Mbps: 1485.131 3000 185879876 1487.039 100.00% Conn: 1 Mbps: 1487.039 Peak Mbps: 1495.686 Avg Mbps: 1487.039 4000 185863980 1486.912 100.00% Conn: 1 Mbps: 1486.912 Peak Mbps: 1495.686 Avg Mbps: 1486.912 5000 186324964 1490.600 100.00% Conn: 1 Mbps: 1490.600 Peak Mbps: 1495.686 Avg Mbps: 1490.600 --- 169.254.0.13 tcpbench statistics --- 1116876804 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1485.131/1489.074/1495.686/3.753 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 174923392 1399.387 100.00% Conn: 1 Mbps: 1399.387 Peak Mbps: 1399.387 Avg Mbps: 1399.387 2000 174289152 1394.313 100.00% Conn: 1 Mbps: 1394.313 Peak Mbps: 1399.387 Avg Mbps: 1394.313 3000 174352576 1396.217 100.00% Conn: 1 Mbps: 1396.217 Peak Mbps: 1399.387 Avg Mbps: 1396.217 4000 174090952 1392.728 100.00% Conn: 1 Mbps: 1392.728 Peak Mbps: 1399.387 Avg Mbps: 1392.728 5000 174606792 1398.253 100.00% Conn: 1 Mbps: 1398.253 Peak Mbps: 1399.387 Avg Mbps: 1398.253 --- fc00::13 tcpbench statistics --- 1045896592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1392.728/1396.179/1399.387/2.449 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.111 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.111/0.111/0.111/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.074 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.074/0.074/0.074/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 154800480 1238.404 100.00% Conn: 1 Mbps: 1238.404 Peak Mbps: 1238.404 Avg Mbps: 1238.404 2001 156256256 1250.050 100.00% Conn: 1 Mbps: 1250.050 Peak Mbps: 1250.050 Avg Mbps: 1250.050 3001 155025376 1241.444 100.00% Conn: 1 Mbps: 1241.444 Peak Mbps: 1250.050 Avg Mbps: 1241.444 4001 155498872 1243.991 100.00% Conn: 1 Mbps: 1243.991 Peak Mbps: 1250.050 Avg Mbps: 1243.991 5001 156026120 1248.209 100.00% Conn: 1 Mbps: 1248.209 Peak Mbps: 1250.050 Avg Mbps: 1248.209 --- 169.254.1.11 tcpbench statistics --- 932741640 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1238.404/1244.420/1250.050/4.273 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 145048768 1160.390 100.00% Conn: 1 Mbps: 1160.390 Peak Mbps: 1160.390 Avg Mbps: 1160.390 2000 146190204 1169.522 100.00% Conn: 1 Mbps: 1169.522 Peak Mbps: 1169.522 Avg Mbps: 1169.522 3001 143703008 1149.624 100.00% Conn: 1 Mbps: 1149.624 Peak Mbps: 1169.522 Avg Mbps: 1149.624 4001 143049052 1144.392 100.00% Conn: 1 Mbps: 1144.392 Peak Mbps: 1169.522 Avg Mbps: 1144.392 5001 143288376 1146.307 100.00% Conn: 1 Mbps: 1146.307 Peak Mbps: 1169.522 Avg Mbps: 1146.307 --- fc00:0:0:1::11 tcpbench statistics --- 863160016 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1144.392/1154.047/1169.522/9.512 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.065 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.065/0.065/0.065/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.064 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.064/0.064/0.064/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 360120496 2880.964 100.00% Conn: 1 Mbps: 2880.964 Peak Mbps: 2880.964 Avg Mbps: 2880.964 2000 355361480 2842.892 100.00% Conn: 1 Mbps: 2842.892 Peak Mbps: 2880.964 Avg Mbps: 2842.892 3000 353333720 2826.670 100.00% Conn: 1 Mbps: 2826.670 Peak Mbps: 2880.964 Avg Mbps: 2826.670 4000 354287952 2834.304 100.00% Conn: 1 Mbps: 2834.304 Peak Mbps: 2880.964 Avg Mbps: 2834.304 5000 353484312 2827.874 100.00% Conn: 1 Mbps: 2827.874 Peak Mbps: 2880.964 Avg Mbps: 2827.874 --- 169.254.1.12 tcpbench statistics --- 2132629440 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2826.670/2842.541/2880.964/20.056 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 364669788 2917.358 100.00% Conn: 1 Mbps: 2917.358 Peak Mbps: 2917.358 Avg Mbps: 2917.358 2000 366606156 2932.849 100.00% Conn: 1 Mbps: 2932.849 Peak Mbps: 2932.849 Avg Mbps: 2932.849 3000 367198776 2940.531 100.00% Conn: 1 Mbps: 2940.531 Peak Mbps: 2940.531 Avg Mbps: 2940.531 4000 367378704 2939.030 100.00% Conn: 1 Mbps: 2939.030 Peak Mbps: 2940.531 Avg Mbps: 2939.030 5000 368900952 2951.208 100.00% Conn: 1 Mbps: 2951.208 Peak Mbps: 2951.208 Avg Mbps: 2951.208 --- fc00:0:0:1::12 tcpbench statistics --- 2201100636 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2917.358/2936.195/2951.208/11.120 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.059 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.059/0.059/0.059/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.076 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.076/0.076/0.076/0.000 ms ==== run-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 666851572 5334.813 100.00% Conn: 1 Mbps: 5334.813 Peak Mbps: 5334.813 Avg Mbps: 5334.813 2000 664003936 5317.349 100.00% Conn: 1 Mbps: 5317.349 Peak Mbps: 5334.813 Avg Mbps: 5317.349 3000 664592824 5316.743 100.00% Conn: 1 Mbps: 5316.743 Peak Mbps: 5334.813 Avg Mbps: 5316.743 4000 667111956 5336.896 100.00% Conn: 1 Mbps: 5336.896 Peak Mbps: 5336.896 Avg Mbps: 5336.896 5000 664919984 5319.360 100.00% Conn: 1 Mbps: 5319.360 Peak Mbps: 5336.896 Avg Mbps: 5319.360 --- 169.254.0.13 tcpbench statistics --- 3993447168 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5316.743/5325.032/5336.896/8.903 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 660872004 5286.976 100.00% Conn: 1 Mbps: 5286.976 Peak Mbps: 5286.976 Avg Mbps: 5286.976 2000 661668952 5298.650 100.00% Conn: 1 Mbps: 5298.650 Peak Mbps: 5298.650 Avg Mbps: 5298.650 3000 660164936 5281.319 100.00% Conn: 1 Mbps: 5281.319 Peak Mbps: 5298.650 Avg Mbps: 5281.319 4000 661472776 5291.782 100.00% Conn: 1 Mbps: 5291.782 Peak Mbps: 5298.650 Avg Mbps: 5291.782 5000 660610940 5284.888 100.00% Conn: 1 Mbps: 5284.888 Peak Mbps: 5298.650 Avg Mbps: 5284.888 --- fc00::13 tcpbench statistics --- 3966556648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5281.319/5288.723/5298.650/6.008 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.065 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.065/0.065/0.065/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.082 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.082/0.082/0.082/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 153426520 1227.412 100.00% Conn: 1 Mbps: 1227.412 Peak Mbps: 1227.412 Avg Mbps: 1227.412 2001 153367152 1226.937 100.00% Conn: 1 Mbps: 1226.937 Peak Mbps: 1227.412 Avg Mbps: 1226.937 3001 154343320 1234.747 100.00% Conn: 1 Mbps: 1234.747 Peak Mbps: 1234.747 Avg Mbps: 1234.747 4001 153578168 1229.855 100.00% Conn: 1 Mbps: 1229.855 Peak Mbps: 1234.747 Avg Mbps: 1229.855 5002 154201312 1233.610 100.00% Conn: 1 Mbps: 1233.610 Peak Mbps: 1234.747 Avg Mbps: 1233.610 --- 169.254.1.11 tcpbench statistics --- 922621008 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1226.937/1230.512/1234.747/3.173 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 224587088 1796.697 100.00% Conn: 1 Mbps: 1796.697 Peak Mbps: 1796.697 Avg Mbps: 1796.697 2001 223676760 1789.414 100.00% Conn: 1 Mbps: 1789.414 Peak Mbps: 1796.697 Avg Mbps: 1789.414 3002 226004728 1806.232 100.00% Conn: 1 Mbps: 1806.232 Peak Mbps: 1806.232 Avg Mbps: 1806.232 4002 226061840 1808.495 100.00% Conn: 1 Mbps: 1808.495 Peak Mbps: 1808.495 Avg Mbps: 1808.495 5002 225150896 1801.207 100.00% Conn: 1 Mbps: 1801.207 Peak Mbps: 1808.495 Avg Mbps: 1801.207 --- fc00:0:0:1::11 tcpbench statistics --- 1348818664 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1789.414/1800.409/1808.495/6.850 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.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-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.065 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.065/0.065/0.065/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 676929660 5415.437 100.00% Conn: 1 Mbps: 5415.437 Peak Mbps: 5415.437 Avg Mbps: 5415.437 2000 672346516 5384.156 100.00% Conn: 1 Mbps: 5384.156 Peak Mbps: 5415.437 Avg Mbps: 5384.156 3000 671430468 5371.444 100.00% Conn: 1 Mbps: 5371.444 Peak Mbps: 5415.437 Avg Mbps: 5371.444 4000 671463184 5371.705 100.00% Conn: 1 Mbps: 5371.705 Peak Mbps: 5415.437 Avg Mbps: 5371.705 5000 673426144 5387.409 100.00% Conn: 1 Mbps: 5387.409 Peak Mbps: 5415.437 Avg Mbps: 5387.409 --- 169.254.1.12 tcpbench statistics --- 4037680760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5371.444/5386.030/5415.437/16.051 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 657158020 5257.264 100.00% Conn: 1 Mbps: 5257.264 Peak Mbps: 5257.264 Avg Mbps: 5257.264 2000 656895336 5255.163 100.00% Conn: 1 Mbps: 5255.163 Peak Mbps: 5257.264 Avg Mbps: 5255.163 3000 656535680 5252.285 100.00% Conn: 1 Mbps: 5252.285 Peak Mbps: 5257.264 Avg Mbps: 5252.285 4000 655685584 5245.485 100.00% Conn: 1 Mbps: 5245.485 Peak Mbps: 5257.264 Avg Mbps: 5245.485 5000 656731856 5253.855 100.00% Conn: 1 Mbps: 5253.855 Peak Mbps: 5257.264 Avg Mbps: 5253.855 --- fc00:0:0:1::12 tcpbench statistics --- 3938953628 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5245.485/5252.810/5257.264/4.010 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.057 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.057/0.057/0.057/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.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-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 666864646 5334.917 100.00% Conn: 1 Mbps: 5334.917 Peak Mbps: 5334.917 Avg Mbps: 5334.917 2000 665934180 5332.806 100.00% Conn: 1 Mbps: 5332.806 Peak Mbps: 5334.917 Avg Mbps: 5332.806 3000 664625540 5317.004 100.00% Conn: 1 Mbps: 5317.004 Peak Mbps: 5334.917 Avg Mbps: 5317.004 4000 666424920 5331.399 100.00% Conn: 1 Mbps: 5331.399 Peak Mbps: 5334.917 Avg Mbps: 5331.399 5000 665214428 5321.715 100.00% Conn: 1 Mbps: 5321.715 Peak Mbps: 5334.917 Avg Mbps: 5321.715 --- 169.254.0.13 tcpbench statistics --- 3993460242 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5317.004/5327.569/5334.917/6.957 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 679131064 5433.049 100.00% Conn: 1 Mbps: 5433.049 Peak Mbps: 5433.049 Avg Mbps: 5433.049 2000 676807200 5419.877 100.00% Conn: 1 Mbps: 5419.877 Peak Mbps: 5433.049 Avg Mbps: 5419.877 3000 676643720 5413.150 100.00% Conn: 1 Mbps: 5413.150 Peak Mbps: 5433.049 Avg Mbps: 5413.150 4000 670889224 5372.486 100.00% Conn: 1 Mbps: 5372.486 Peak Mbps: 5433.049 Avg Mbps: 5372.486 5000 673504904 5388.039 100.00% Conn: 1 Mbps: 5388.039 Peak Mbps: 5433.049 Avg Mbps: 5388.039 --- fc00::13 tcpbench statistics --- 4050513712 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5372.486/5405.320/5433.049/21.994 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m53.87s