START sys/net/pair 2024-04-15T16:29:56Z ==== 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.062 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.062/0.062/0.062/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.068 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.068/0.068/0.068/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 365846440 2926.772 100.00% Conn: 1 Mbps: 2926.772 Peak Mbps: 2926.772 Avg Mbps: 2926.772 2000 364455540 2915.644 100.00% Conn: 1 Mbps: 2915.644 Peak Mbps: 2926.772 Avg Mbps: 2915.644 3000 365139068 2924.037 100.00% Conn: 1 Mbps: 2924.037 Peak Mbps: 2926.772 Avg Mbps: 2924.037 4000 365298028 2922.384 100.00% Conn: 1 Mbps: 2922.384 Peak Mbps: 2926.772 Avg Mbps: 2922.384 5000 363318976 2906.552 100.00% Conn: 1 Mbps: 2906.552 Peak Mbps: 2926.772 Avg Mbps: 2906.552 --- 169.254.1.11 tcpbench statistics --- 2188434112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2906.552/2919.078/2926.772/7.258 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 370079040 2960.632 100.00% Conn: 1 Mbps: 2960.632 Peak Mbps: 2960.632 Avg Mbps: 2960.632 2000 371537792 2975.278 100.00% Conn: 1 Mbps: 2975.278 Peak Mbps: 2975.278 Avg Mbps: 2975.278 3000 370974904 2967.799 100.00% Conn: 1 Mbps: 2967.799 Peak Mbps: 2975.278 Avg Mbps: 2967.799 4000 370102824 2960.823 100.00% Conn: 1 Mbps: 2960.823 Peak Mbps: 2975.278 Avg Mbps: 2960.823 5000 370459584 2963.677 100.00% Conn: 1 Mbps: 2963.677 Peak Mbps: 2975.278 Avg Mbps: 2963.677 --- fc00:0:0:1::11 tcpbench statistics --- 2223629584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2960.632/2965.642/2975.278/5.471 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.112 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.112/0.112/0.112/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.198 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.198/0.198/0.198/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 156742240 1253.938 100.00% Conn: 1 Mbps: 1253.938 Peak Mbps: 1253.938 Avg Mbps: 1253.938 2000 157368456 1258.948 100.00% Conn: 1 Mbps: 1258.948 Peak Mbps: 1258.948 Avg Mbps: 1258.948 3000 158543448 1269.617 100.00% Conn: 1 Mbps: 1269.617 Peak Mbps: 1269.617 Avg Mbps: 1269.617 4001 157993320 1263.947 100.00% Conn: 1 Mbps: 1263.947 Peak Mbps: 1269.617 Avg Mbps: 1263.947 5002 158241152 1264.665 100.00% Conn: 1 Mbps: 1264.665 Peak Mbps: 1269.617 Avg Mbps: 1264.665 --- 169.254.1.12 tcpbench statistics --- 945528840 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1253.938/1262.223/1269.617/5.347 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 144167848 1153.343 100.00% Conn: 1 Mbps: 1153.343 Peak Mbps: 1153.343 Avg Mbps: 1153.343 2001 146641292 1173.130 100.00% Conn: 1 Mbps: 1173.130 Peak Mbps: 1173.130 Avg Mbps: 1173.130 3001 146044600 1168.357 100.00% Conn: 1 Mbps: 1168.357 Peak Mbps: 1173.130 Avg Mbps: 1168.357 4001 145804116 1166.433 100.00% Conn: 1 Mbps: 1166.433 Peak Mbps: 1173.130 Avg Mbps: 1166.433 5002 146493656 1171.949 100.00% Conn: 1 Mbps: 1171.949 Peak Mbps: 1173.130 Avg Mbps: 1171.949 --- fc00:0:0:1::12 tcpbench statistics --- 875083144 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1153.343/1166.642/1173.130/7.073 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.075 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.075/0.075/0.075/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.092 ms --- fc00::13 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-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 185593748 1484.750 100.00% Conn: 1 Mbps: 1484.750 Peak Mbps: 1484.750 Avg Mbps: 1484.750 2000 185164556 1482.799 100.00% Conn: 1 Mbps: 1482.799 Peak Mbps: 1484.750 Avg Mbps: 1482.799 3000 184934064 1479.473 100.00% Conn: 1 Mbps: 1479.473 Peak Mbps: 1484.750 Avg Mbps: 1479.473 4000 184671780 1477.374 100.00% Conn: 1 Mbps: 1477.374 Peak Mbps: 1484.750 Avg Mbps: 1477.374 5000 184886376 1479.091 100.00% Conn: 1 Mbps: 1479.091 Peak Mbps: 1484.750 Avg Mbps: 1479.091 --- 169.254.0.13 tcpbench statistics --- 1109612332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1477.374/1480.697/1484.750/2.682 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 179093520 1432.748 100.00% Conn: 1 Mbps: 1432.748 Peak Mbps: 1432.748 Avg Mbps: 1432.748 2000 178502560 1429.450 100.00% Conn: 1 Mbps: 1429.450 Peak Mbps: 1432.748 Avg Mbps: 1429.450 3000 178356216 1426.850 100.00% Conn: 1 Mbps: 1426.850 Peak Mbps: 1432.748 Avg Mbps: 1426.850 4000 177936032 1424.913 100.00% Conn: 1 Mbps: 1424.913 Peak Mbps: 1432.748 Avg Mbps: 1424.913 5000 177983600 1423.869 100.00% Conn: 1 Mbps: 1423.869 Peak Mbps: 1432.748 Avg Mbps: 1423.869 --- fc00::13 tcpbench statistics --- 1070220216 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1423.869/1427.566/1432.748/3.213 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.071 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.071/0.071/0.071/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.096 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.096/0.096/0.096/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 155274920 1242.199 100.00% Conn: 1 Mbps: 1242.199 Peak Mbps: 1242.199 Avg Mbps: 1242.199 2000 157331920 1258.655 100.00% Conn: 1 Mbps: 1258.655 Peak Mbps: 1258.655 Avg Mbps: 1258.655 3000 156494416 1251.955 100.00% Conn: 1 Mbps: 1251.955 Peak Mbps: 1258.655 Avg Mbps: 1251.955 4001 157842672 1262.741 100.00% Conn: 1 Mbps: 1262.741 Peak Mbps: 1262.741 Avg Mbps: 1262.741 5001 156778840 1254.231 100.00% Conn: 1 Mbps: 1254.231 Peak Mbps: 1262.741 Avg Mbps: 1254.231 --- 169.254.1.11 tcpbench statistics --- 940295464 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1242.199/1253.956/1262.741/6.951 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 1001 145178616 1160.269 100.00% Conn: 1 Mbps: 1160.269 Peak Mbps: 1160.269 Avg Mbps: 1160.269 2001 145757660 1167.229 100.00% Conn: 1 Mbps: 1167.229 Peak Mbps: 1167.229 Avg Mbps: 1167.229 3001 146992268 1175.938 100.00% Conn: 1 Mbps: 1175.938 Peak Mbps: 1175.938 Avg Mbps: 1175.938 4002 145869960 1166.960 100.00% Conn: 1 Mbps: 1166.960 Peak Mbps: 1175.938 Avg Mbps: 1166.960 5003 148700072 1189.601 100.00% Conn: 1 Mbps: 1189.601 Peak Mbps: 1189.601 Avg Mbps: 1189.601 --- fc00:0:0:1::11 tcpbench statistics --- 879586168 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1160.269/1171.999/1189.601/10.110 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.052 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/0.000 ms ==== run-ping6-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.057 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.057/0.057/0.057/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 362023168 2896.185 100.00% Conn: 1 Mbps: 2896.185 Peak Mbps: 2896.185 Avg Mbps: 2896.185 2000 356092160 2851.589 100.00% Conn: 1 Mbps: 2851.589 Peak Mbps: 2896.185 Avg Mbps: 2851.589 3000 358563896 2868.511 100.00% Conn: 1 Mbps: 2868.511 Peak Mbps: 2896.185 Avg Mbps: 2868.511 4000 354744072 2837.953 100.00% Conn: 1 Mbps: 2837.953 Peak Mbps: 2896.185 Avg Mbps: 2837.953 5000 358449504 2867.596 100.00% Conn: 1 Mbps: 2867.596 Peak Mbps: 2896.185 Avg Mbps: 2867.596 --- 169.254.1.12 tcpbench statistics --- 2146390672 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2837.953/2864.367/2896.185/19.499 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 363761580 2910.093 100.00% Conn: 1 Mbps: 2910.093 Peak Mbps: 2910.093 Avg Mbps: 2910.093 2000 366833208 2937.603 100.00% Conn: 1 Mbps: 2937.603 Peak Mbps: 2937.603 Avg Mbps: 2937.603 3000 368115552 2944.924 100.00% Conn: 1 Mbps: 2944.924 Peak Mbps: 2944.924 Avg Mbps: 2944.924 4000 366526188 2932.210 100.00% Conn: 1 Mbps: 2932.210 Peak Mbps: 2944.924 Avg Mbps: 2932.210 5000 367378704 2941.972 100.00% Conn: 1 Mbps: 2941.972 Peak Mbps: 2944.924 Avg Mbps: 2941.972 --- fc00:0:0:1::12 tcpbench statistics --- 2200075332 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2910.093/2933.360/2944.924/12.398 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.070 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.070/0.070/0.070/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.064 ms --- fc00::13 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-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 672559582 5380.477 100.00% Conn: 1 Mbps: 5380.477 Peak Mbps: 5380.477 Avg Mbps: 5380.477 2000 667013808 5341.452 100.00% Conn: 1 Mbps: 5341.452 Peak Mbps: 5380.477 Avg Mbps: 5341.452 3000 656708268 5253.666 100.00% Conn: 1 Mbps: 5253.666 Peak Mbps: 5380.477 Avg Mbps: 5253.666 4000 667242820 5337.943 100.00% Conn: 1 Mbps: 5337.943 Peak Mbps: 5380.477 Avg Mbps: 5337.943 5000 668387880 5347.103 100.00% Conn: 1 Mbps: 5347.103 Peak Mbps: 5380.477 Avg Mbps: 5347.103 --- 169.254.0.13 tcpbench statistics --- 3999744066 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5253.666/5332.128/5380.477/42.045 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 662734492 5301.876 100.00% Conn: 1 Mbps: 5301.876 Peak Mbps: 5301.876 Avg Mbps: 5301.876 2000 662584440 5305.982 100.00% Conn: 1 Mbps: 5305.982 Peak Mbps: 5305.982 Avg Mbps: 5305.982 3000 660949640 5287.597 100.00% Conn: 1 Mbps: 5287.597 Peak Mbps: 5305.982 Avg Mbps: 5287.597 4000 662420960 5299.368 100.00% Conn: 1 Mbps: 5299.368 Peak Mbps: 5305.982 Avg Mbps: 5299.368 5000 661047728 5288.382 100.00% Conn: 1 Mbps: 5288.382 Peak Mbps: 5305.982 Avg Mbps: 5288.382 --- fc00::13 tcpbench statistics --- 3970621508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5287.597/5296.641/5305.982/7.377 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.063 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.063/0.063/0.063/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.072 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.072/0.072/0.072/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 1001 152665856 1220.107 100.00% Conn: 1 Mbps: 1220.107 Peak Mbps: 1220.107 Avg Mbps: 1220.107 2001 154620440 1238.202 100.00% Conn: 1 Mbps: 1238.202 Peak Mbps: 1238.202 Avg Mbps: 1238.202 3001 153186976 1225.496 100.00% Conn: 1 Mbps: 1225.496 Peak Mbps: 1238.202 Avg Mbps: 1225.496 4001 151781480 1214.252 100.00% Conn: 1 Mbps: 1214.252 Peak Mbps: 1238.202 Avg Mbps: 1214.252 5001 152482424 1219.859 100.00% Conn: 1 Mbps: 1219.859 Peak Mbps: 1238.202 Avg Mbps: 1219.859 --- 169.254.1.11 tcpbench statistics --- 917092176 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1214.252/1223.583/1238.202/8.129 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 226405416 1811.243 100.00% Conn: 1 Mbps: 1811.243 Peak Mbps: 1811.243 Avg Mbps: 1811.243 2000 224379512 1796.833 100.00% Conn: 1 Mbps: 1796.833 Peak Mbps: 1811.243 Avg Mbps: 1796.833 3001 226897160 1815.177 100.00% Conn: 1 Mbps: 1815.177 Peak Mbps: 1815.177 Avg Mbps: 1815.177 4002 225120224 1800.962 100.00% Conn: 1 Mbps: 1800.962 Peak Mbps: 1815.177 Avg Mbps: 1800.962 5003 227336672 1818.693 100.00% Conn: 1 Mbps: 1818.693 Peak Mbps: 1818.693 Avg Mbps: 1818.693 --- fc00:0:0:1::11 tcpbench statistics --- 1355536712 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1796.833/1808.582/1818.693/8.354 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 8 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.063 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.063/0.063/0.063/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.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-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 668030032 5344.240 100.00% Conn: 1 Mbps: 5344.240 Peak Mbps: 5344.240 Avg Mbps: 5344.240 2000 665410724 5328.614 100.00% Conn: 1 Mbps: 5328.614 Peak Mbps: 5344.240 Avg Mbps: 5328.614 3000 665394366 5323.155 100.00% Conn: 1 Mbps: 5323.155 Peak Mbps: 5344.240 Avg Mbps: 5323.155 4000 664658256 5317.266 100.00% Conn: 1 Mbps: 5317.266 Peak Mbps: 5344.240 Avg Mbps: 5317.266 5000 665018132 5320.145 100.00% Conn: 1 Mbps: 5320.145 Peak Mbps: 5344.240 Avg Mbps: 5320.145 --- 169.254.1.12 tcpbench statistics --- 3993300630 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5317.266/5326.684/5344.240/9.548 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 659548032 5276.384 100.00% Conn: 1 Mbps: 5276.384 Peak Mbps: 5276.384 Avg Mbps: 5276.384 2000 658333960 5271.944 100.00% Conn: 1 Mbps: 5271.944 Peak Mbps: 5276.384 Avg Mbps: 5271.944 3000 660524592 5284.197 100.00% Conn: 1 Mbps: 5284.197 Peak Mbps: 5284.197 Avg Mbps: 5284.197 4000 660001456 5280.012 100.00% Conn: 1 Mbps: 5280.012 Peak Mbps: 5284.197 Avg Mbps: 5280.012 5000 660230328 5281.843 100.00% Conn: 1 Mbps: 5281.843 Peak Mbps: 5284.197 Avg Mbps: 5281.843 --- fc00:0:0:1::12 tcpbench statistics --- 3958541736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5271.944/5278.876/5284.197/4.305 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.058 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.058/0.058/0.058/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.086 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.086/0.086/0.086/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 673508926 5388.071 100.00% Conn: 1 Mbps: 5388.071 Peak Mbps: 5388.071 Avg Mbps: 5388.071 2000 672607992 5386.250 100.00% Conn: 1 Mbps: 5386.250 Peak Mbps: 5388.071 Avg Mbps: 5386.250 3000 670956086 5367.649 100.00% Conn: 1 Mbps: 5367.649 Peak Mbps: 5388.071 Avg Mbps: 5367.649 4000 671430468 5371.444 100.00% Conn: 1 Mbps: 5371.444 Peak Mbps: 5388.071 Avg Mbps: 5371.444 5000 669958248 5359.666 100.00% Conn: 1 Mbps: 5359.666 Peak Mbps: 5388.071 Avg Mbps: 5359.666 --- 169.254.0.13 tcpbench statistics --- 4027994660 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5359.666/5374.616/5388.071/10.941 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 670994296 5367.954 100.00% Conn: 1 Mbps: 5367.954 Peak Mbps: 5367.954 Avg Mbps: 5367.954 2000 672131672 5382.436 100.00% Conn: 1 Mbps: 5382.436 Peak Mbps: 5382.436 Avg Mbps: 5382.436 3000 673406816 5387.255 100.00% Conn: 1 Mbps: 5387.255 Peak Mbps: 5387.255 Avg Mbps: 5387.255 4000 672720200 5387.149 100.00% Conn: 1 Mbps: 5387.149 Peak Mbps: 5387.255 Avg Mbps: 5387.149 5000 672458632 5379.669 100.00% Conn: 1 Mbps: 5379.669 Peak Mbps: 5387.255 Avg Mbps: 5379.669 --- fc00::13 tcpbench statistics --- 4034627992 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5367.954/5380.893/5387.255/7.084 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.90s