START sys/net/pair 2024-04-05T14:12:57Z ==== 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.059 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.059/0.059/0.059/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 378650668 3029.205 100.00% Conn: 1 Mbps: 3029.205 Peak Mbps: 3029.205 Avg Mbps: 3029.205 2000 376226528 3009.812 100.00% Conn: 1 Mbps: 3009.812 Peak Mbps: 3029.205 Avg Mbps: 3009.812 3000 377212080 3017.697 100.00% Conn: 1 Mbps: 3017.697 Peak Mbps: 3029.205 Avg Mbps: 3017.697 4000 375511208 3004.090 100.00% Conn: 1 Mbps: 3004.090 Peak Mbps: 3029.205 Avg Mbps: 3004.090 5000 375988088 3007.905 100.00% Conn: 1 Mbps: 3007.905 Peak Mbps: 3029.205 Avg Mbps: 3007.905 --- 169.254.1.11 tcpbench statistics --- 2261126520 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3004.090/3013.742/3029.205/8.916 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 381439864 3051.519 100.00% Conn: 1 Mbps: 3051.519 Peak Mbps: 3051.519 Avg Mbps: 3051.519 2000 379822552 3038.580 100.00% Conn: 1 Mbps: 3038.580 Peak Mbps: 3051.519 Avg Mbps: 3038.580 3000 379870120 3038.961 100.00% Conn: 1 Mbps: 3038.961 Peak Mbps: 3051.519 Avg Mbps: 3038.961 4000 379124888 3032.999 100.00% Conn: 1 Mbps: 3032.999 Peak Mbps: 3051.519 Avg Mbps: 3032.999 5000 381384368 3051.075 100.00% Conn: 1 Mbps: 3051.075 Peak Mbps: 3051.519 Avg Mbps: 3051.075 --- fc00:0:0:1::11 tcpbench statistics --- 2280489200 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3032.999/3042.627/3051.519/7.388 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.106 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.106/0.106/0.106/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.175 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.175/0.175/0.175/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 155232976 1241.864 100.00% Conn: 1 Mbps: 1241.864 Peak Mbps: 1241.864 Avg Mbps: 1241.864 2001 157256192 1258.050 100.00% Conn: 1 Mbps: 1258.050 Peak Mbps: 1258.050 Avg Mbps: 1258.050 3001 156815840 1255.783 100.00% Conn: 1 Mbps: 1255.783 Peak Mbps: 1258.050 Avg Mbps: 1255.783 4001 156366240 1250.930 100.00% Conn: 1 Mbps: 1250.930 Peak Mbps: 1258.050 Avg Mbps: 1250.930 5002 155653152 1245.225 100.00% Conn: 1 Mbps: 1245.225 Peak Mbps: 1258.050 Avg Mbps: 1245.225 --- 169.254.1.12 tcpbench statistics --- 938087224 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1241.864/1250.370/1258.050/6.122 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 146961580 1175.693 100.00% Conn: 1 Mbps: 1175.693 Peak Mbps: 1175.693 Avg Mbps: 1175.693 2001 144604964 1155.684 100.00% Conn: 1 Mbps: 1155.684 Peak Mbps: 1175.693 Avg Mbps: 1155.684 3001 146016944 1168.136 100.00% Conn: 1 Mbps: 1168.136 Peak Mbps: 1175.693 Avg Mbps: 1168.136 4002 145664752 1165.318 100.00% Conn: 1 Mbps: 1165.318 Peak Mbps: 1175.693 Avg Mbps: 1165.318 5003 145212952 1161.704 100.00% Conn: 1 Mbps: 1161.704 Peak Mbps: 1175.693 Avg Mbps: 1161.704 --- fc00:0:0:1::12 tcpbench statistics --- 872443972 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1155.684/1165.307/1175.693/6.655 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.106 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.106/0.106/0.106/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.100 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.100/0.100/0.100/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 189623384 1516.987 100.00% Conn: 1 Mbps: 1516.987 Peak Mbps: 1516.987 Avg Mbps: 1516.987 2000 188621936 1510.486 100.00% Conn: 1 Mbps: 1510.486 Peak Mbps: 1516.987 Avg Mbps: 1510.486 3000 188939856 1511.519 100.00% Conn: 1 Mbps: 1511.519 Peak Mbps: 1516.987 Avg Mbps: 1511.519 4000 188836532 1510.692 100.00% Conn: 1 Mbps: 1510.692 Peak Mbps: 1516.987 Avg Mbps: 1510.692 5000 190004888 1520.039 100.00% Conn: 1 Mbps: 1520.039 Peak Mbps: 1520.039 Avg Mbps: 1520.039 --- 169.254.0.13 tcpbench statistics --- 1134918764 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1510.486/1513.945/1520.039/3.868 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 182185440 1457.484 100.00% Conn: 1 Mbps: 1457.484 Peak Mbps: 1457.484 Avg Mbps: 1457.484 2000 181305432 1450.443 100.00% Conn: 1 Mbps: 1450.443 Peak Mbps: 1457.484 Avg Mbps: 1450.443 3000 181020024 1448.160 100.00% Conn: 1 Mbps: 1448.160 Peak Mbps: 1457.484 Avg Mbps: 1448.160 4000 181598768 1452.790 100.00% Conn: 1 Mbps: 1452.790 Peak Mbps: 1457.484 Avg Mbps: 1452.790 5000 181265792 1450.126 100.00% Conn: 1 Mbps: 1450.126 Peak Mbps: 1457.484 Avg Mbps: 1450.126 --- fc00::13 tcpbench statistics --- 1089729984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1448.160/1451.801/1457.484/3.199 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.064 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.064/0.064/0.064/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.079 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.079/0.079/0.079/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 156938440 1255.508 100.00% Conn: 1 Mbps: 1255.508 Peak Mbps: 1255.508 Avg Mbps: 1255.508 2000 157741920 1261.935 100.00% Conn: 1 Mbps: 1261.935 Peak Mbps: 1261.935 Avg Mbps: 1261.935 3001 157119024 1256.952 100.00% Conn: 1 Mbps: 1256.952 Peak Mbps: 1261.935 Avg Mbps: 1256.952 4000 155291696 1243.577 100.00% Conn: 1 Mbps: 1243.577 Peak Mbps: 1261.935 Avg Mbps: 1243.577 5001 155708000 1245.664 100.00% Conn: 1 Mbps: 1245.664 Peak Mbps: 1261.935 Avg Mbps: 1245.664 --- 169.254.1.11 tcpbench statistics --- 937497208 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1243.577/1252.727/1261.935/6.985 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 144518852 1156.151 100.00% Conn: 1 Mbps: 1156.151 Peak Mbps: 1156.151 Avg Mbps: 1156.151 2000 147210276 1178.861 100.00% Conn: 1 Mbps: 1178.861 Peak Mbps: 1178.861 Avg Mbps: 1178.861 3000 144434664 1155.477 100.00% Conn: 1 Mbps: 1155.477 Peak Mbps: 1178.861 Avg Mbps: 1155.477 4001 145418132 1163.345 100.00% Conn: 1 Mbps: 1163.345 Peak Mbps: 1178.861 Avg Mbps: 1163.345 5002 146524436 1172.195 100.00% Conn: 1 Mbps: 1172.195 Peak Mbps: 1178.861 Avg Mbps: 1172.195 --- fc00:0:0:1::11 tcpbench statistics --- 873798272 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1155.477/1165.206/1178.861/9.115 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.075 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.075/0.075/0.075/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.068 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.068/0.068/0.068/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 370857416 2966.859 100.00% Conn: 1 Mbps: 2966.859 Peak Mbps: 2966.859 Avg Mbps: 2966.859 2000 368919992 2951.360 100.00% Conn: 1 Mbps: 2951.360 Peak Mbps: 2966.859 Avg Mbps: 2951.360 3000 369428240 2955.426 100.00% Conn: 1 Mbps: 2955.426 Peak Mbps: 2966.859 Avg Mbps: 2955.426 4000 368982256 2954.813 100.00% Conn: 1 Mbps: 2954.813 Peak Mbps: 2966.859 Avg Mbps: 2954.813 5000 368573920 2951.543 100.00% Conn: 1 Mbps: 2951.543 Peak Mbps: 2966.859 Avg Mbps: 2951.543 --- 169.254.1.12 tcpbench statistics --- 2216010512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2951.360/2956.000/2966.859/5.676 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 375498312 3003.986 100.00% Conn: 1 Mbps: 3003.986 Peak Mbps: 3003.986 Avg Mbps: 3003.986 2000 377880216 3023.042 100.00% Conn: 1 Mbps: 3023.042 Peak Mbps: 3023.042 Avg Mbps: 3023.042 3000 378108696 3027.897 100.00% Conn: 1 Mbps: 3027.897 Peak Mbps: 3027.897 Avg Mbps: 3027.897 4000 378815556 3030.524 100.00% Conn: 1 Mbps: 3030.524 Peak Mbps: 3030.524 Avg Mbps: 3030.524 5000 378979776 3031.838 100.00% Conn: 1 Mbps: 3031.838 Peak Mbps: 3031.838 Avg Mbps: 3031.838 --- fc00:0:0:1::12 tcpbench statistics --- 2266704384 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3003.986/3023.458/3031.838/10.190 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.068 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.068/0.068/0.068/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.067 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.067/0.067/0.067/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 667110706 5336.886 100.00% Conn: 1 Mbps: 5336.886 Peak Mbps: 5336.886 Avg Mbps: 5336.886 2000 665410724 5328.614 100.00% Conn: 1 Mbps: 5328.614 Peak Mbps: 5336.886 Avg Mbps: 5328.614 3000 657853328 5262.827 100.00% Conn: 1 Mbps: 5262.827 Peak Mbps: 5336.886 Avg Mbps: 5262.827 4000 665639736 5325.118 100.00% Conn: 1 Mbps: 5325.118 Peak Mbps: 5336.886 Avg Mbps: 5325.118 5000 665116280 5320.930 100.00% Conn: 1 Mbps: 5320.930 Peak Mbps: 5336.886 Avg Mbps: 5320.930 --- 169.254.0.13 tcpbench statistics --- 3986279770 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5262.827/5314.875/5336.886/26.548 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 660887992 5287.104 100.00% Conn: 1 Mbps: 5287.104 Peak Mbps: 5287.104 Avg Mbps: 5287.104 2000 659936064 5284.773 100.00% Conn: 1 Mbps: 5284.773 Peak Mbps: 5287.104 Avg Mbps: 5284.773 3000 659903368 5279.227 100.00% Conn: 1 Mbps: 5279.227 Peak Mbps: 5287.104 Avg Mbps: 5279.227 4000 659674496 5277.396 100.00% Conn: 1 Mbps: 5277.396 Peak Mbps: 5287.104 Avg Mbps: 5277.396 5000 659282144 5274.257 100.00% Conn: 1 Mbps: 5274.257 Peak Mbps: 5287.104 Avg Mbps: 5274.257 --- fc00::13 tcpbench statistics --- 3960143264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5274.257/5280.551/5287.104/4.735 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.078 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.078/0.078/0.078/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.092 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.092/0.092/0.092/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 155439848 1243.519 100.00% Conn: 1 Mbps: 1243.519 Peak Mbps: 1243.519 Avg Mbps: 1243.519 2000 152915152 1224.546 100.00% Conn: 1 Mbps: 1224.546 Peak Mbps: 1243.519 Avg Mbps: 1224.546 3001 154461944 1235.696 100.00% Conn: 1 Mbps: 1235.696 Peak Mbps: 1243.519 Avg Mbps: 1235.696 4001 154324440 1234.596 100.00% Conn: 1 Mbps: 1234.596 Peak Mbps: 1243.519 Avg Mbps: 1234.596 5002 154377128 1235.017 100.00% Conn: 1 Mbps: 1235.017 Peak Mbps: 1243.519 Avg Mbps: 1235.017 --- 169.254.1.11 tcpbench statistics --- 924662280 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1224.546/1234.675/1243.519/6.033 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 226338696 1810.710 100.00% Conn: 1 Mbps: 1810.710 Peak Mbps: 1810.710 Avg Mbps: 1810.710 2000 227122704 1816.982 100.00% Conn: 1 Mbps: 1816.982 Peak Mbps: 1816.982 Avg Mbps: 1816.982 3000 224983008 1801.666 100.00% Conn: 1 Mbps: 1801.666 Peak Mbps: 1816.982 Avg Mbps: 1801.666 4001 225622760 1804.982 100.00% Conn: 1 Mbps: 1804.982 Peak Mbps: 1816.982 Avg Mbps: 1804.982 5001 226787000 1816.112 100.00% Conn: 1 Mbps: 1816.112 Peak Mbps: 1816.982 Avg Mbps: 1816.112 --- fc00:0:0:1::11 tcpbench statistics --- 1357385024 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1801.666/1810.090/1816.982/6.020 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.079 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.079/0.079/0.079/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.077 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.077/0.077/0.077/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 678532670 5428.261 100.00% Conn: 1 Mbps: 5428.261 Peak Mbps: 5428.261 Avg Mbps: 5428.261 2000 675127376 5406.425 100.00% Conn: 1 Mbps: 5406.425 Peak Mbps: 5428.261 Avg Mbps: 5406.425 3000 674702068 5397.617 100.00% Conn: 1 Mbps: 5397.617 Peak Mbps: 5428.261 Avg Mbps: 5397.617 4000 673720588 5389.765 100.00% Conn: 1 Mbps: 5389.765 Peak Mbps: 5428.261 Avg Mbps: 5389.765 5000 674374908 5394.999 100.00% Conn: 1 Mbps: 5394.999 Peak Mbps: 5428.261 Avg Mbps: 5394.999 --- 169.254.1.12 tcpbench statistics --- 4052141158 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5389.765/5403.413/5428.261/13.544 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 657925828 5263.407 100.00% Conn: 1 Mbps: 5263.407 Peak Mbps: 5263.407 Avg Mbps: 5263.407 2000 655816368 5251.783 100.00% Conn: 1 Mbps: 5251.783 Peak Mbps: 5263.407 Avg Mbps: 5251.783 3000 657254992 5258.040 100.00% Conn: 1 Mbps: 5258.040 Peak Mbps: 5263.407 Avg Mbps: 5258.040 4000 657614648 5260.917 100.00% Conn: 1 Mbps: 5260.917 Peak Mbps: 5263.407 Avg Mbps: 5260.917 5000 657385776 5259.086 100.00% Conn: 1 Mbps: 5259.086 Peak Mbps: 5263.407 Avg Mbps: 5259.086 --- fc00:0:0:1::12 tcpbench statistics --- 3943481476 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5251.783/5258.647/5263.407/3.886 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.066 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.066/0.066/0.066/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.072 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.072/0.072/0.072/0.000 ms ==== run-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 672987990 5383.904 100.00% Conn: 1 Mbps: 5383.904 Peak Mbps: 5383.904 Avg Mbps: 5383.904 2000 671348678 5376.166 100.00% Conn: 1 Mbps: 5376.166 Peak Mbps: 5383.904 Avg Mbps: 5376.166 3000 670972444 5367.780 100.00% Conn: 1 Mbps: 5367.780 Peak Mbps: 5383.904 Avg Mbps: 5367.780 4000 670776148 5366.209 100.00% Conn: 1 Mbps: 5366.209 Peak Mbps: 5383.904 Avg Mbps: 5366.209 5000 672706392 5381.651 100.00% Conn: 1 Mbps: 5381.651 Peak Mbps: 5383.904 Avg Mbps: 5381.651 --- 169.254.0.13 tcpbench statistics --- 4028619036 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5366.209/5375.142/5383.904/7.130 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 672624344 5380.995 100.00% Conn: 1 Mbps: 5380.995 Peak Mbps: 5380.995 Avg Mbps: 5380.995 2000 670594960 5370.130 100.00% Conn: 1 Mbps: 5370.130 Peak Mbps: 5380.995 Avg Mbps: 5370.130 3000 671935496 5375.484 100.00% Conn: 1 Mbps: 5375.484 Peak Mbps: 5380.995 Avg Mbps: 5375.484 4000 671804712 5374.438 100.00% Conn: 1 Mbps: 5374.438 Peak Mbps: 5380.995 Avg Mbps: 5374.438 5000 671379664 5371.037 100.00% Conn: 1 Mbps: 5371.037 Peak Mbps: 5380.995 Avg Mbps: 5371.037 --- fc00::13 tcpbench statistics --- 4030340064 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5370.130/5374.417/5380.995/3.852 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.69s