START sys/net/pair 2023-12-06T03:18:52Z ==== ifconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 fc00::13 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair11 destroy ifconfig: pair11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pair12 destroy ifconfig: pair12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 inet6 ::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48: not in table *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/route -n -T 11 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 11 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo12 rdomain 12 /sbin/ifconfig lo12 inet 127.0.0.1/8 /sbin/ifconfig lo12 inet6 ::1/128 /sbin/route -n -T 12 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 12 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 127.0.0.1/8 /sbin/ifconfig lo13 inet6 ::1/128 /sbin/route -n -T 13 add -inet 169.254.0.0/16 127.0.0.1 add net 169.254.0.0/16: gateway 127.0.0.1 /sbin/route -n -T 13 add -inet6 fc00::/48 ::1 add net fc00::/48: gateway ::1 /sbin/ifconfig pair11 rdomain 11 /sbin/ifconfig pair11 inet 169.254.1.11/24 /sbin/ifconfig pair11 inet6 fc00:0:0:1::11/64 /sbin/ifconfig pair12 rdomain 12 /sbin/ifconfig pair12 inet 169.254.1.12/24 /sbin/ifconfig pair12 inet6 fc00:0:0:1::12/64 /sbin/ifconfig pair11 patch pair12 /sbin/ifconfig lo13 inet 169.254.0.13/24 alias /sbin/ifconfig lo13 inet6 fc00::13/64 /sbin/ifconfig pair11 mtu 8000 /sbin/route -n -T 11 add -inet 169.254.0.13 169.254.1.12 add host 169.254.0.13: gateway 169.254.1.12 /sbin/route -n -T 11 add -inet6 fc00::13 fc00:0:0:1::12 add host fc00::13: gateway fc00:0:0:1::12 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'LO_N1="lo11"' >>addr.py.tmp echo 'PAIR_N1="pair11"' >>addr.py.tmp echo 'IP_N1="169.254.1.11"' >>addr.py.tmp echo 'IP6_N1="fc00:0:0:1::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'LO_N2="lo12"' >>addr.py.tmp echo 'PAIR_N2="pair12"' >>addr.py.tmp echo 'IP_N2="169.254.1.12"' >>addr.py.tmp echo 'IP6_N2="fc00:0:0:1::12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'LO_N3="lo13"' >>addr.py.tmp echo 'PAIR_N3="pair13"' >>addr.py.tmp echo 'IP_N3="169.254.0.13"' >>addr.py.tmp echo 'IP6_N3="fc00::13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pair/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1-1 ==== /sbin/ping -c 1 -w 1 -n -V 11 -I 169.254.1.11 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.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.061 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.061/0.061/0.061/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 336534216 2692.274 100.00% Conn: 1 Mbps: 2692.274 Peak Mbps: 2692.274 Avg Mbps: 2692.274 2000 339149108 2715.909 100.00% Conn: 1 Mbps: 2715.909 Peak Mbps: 2715.909 Avg Mbps: 2715.909 3000 338282776 2706.262 100.00% Conn: 1 Mbps: 2706.262 Peak Mbps: 2715.909 Avg Mbps: 2706.262 4000 345126004 2761.008 100.00% Conn: 1 Mbps: 2761.008 Peak Mbps: 2761.008 Avg Mbps: 2761.008 5000 344164296 2753.314 100.00% Conn: 1 Mbps: 2753.314 Peak Mbps: 2761.008 Avg Mbps: 2753.314 --- 169.254.1.11 tcpbench statistics --- 2041276892 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2692.274/2725.753/2761.008/26.834 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 339183624 2713.469 100.00% Conn: 1 Mbps: 2713.469 Peak Mbps: 2713.469 Avg Mbps: 2713.469 2000 339722728 2717.782 100.00% Conn: 1 Mbps: 2717.782 Peak Mbps: 2717.782 Avg Mbps: 2717.782 3000 340872288 2729.708 100.00% Conn: 1 Mbps: 2729.708 Peak Mbps: 2729.708 Avg Mbps: 2729.708 4000 340586880 2724.695 100.00% Conn: 1 Mbps: 2724.695 Peak Mbps: 2729.708 Avg Mbps: 2724.695 5000 341522384 2732.179 100.00% Conn: 1 Mbps: 2732.179 Peak Mbps: 2732.179 Avg Mbps: 2732.179 --- fc00:0:0:1::11 tcpbench statistics --- 2040928824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2713.469/2723.567/2732.179/7.051 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.109 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.109/0.109/0.109/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.187 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.187/0.187/0.187/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 1001 166410224 1329.952 100.00% Conn: 1 Mbps: 1329.952 Peak Mbps: 1329.952 Avg Mbps: 1329.952 2000 168889224 1352.466 100.00% Conn: 1 Mbps: 1352.466 Peak Mbps: 1352.466 Avg Mbps: 1352.466 3000 167077208 1336.618 100.00% Conn: 1 Mbps: 1336.618 Peak Mbps: 1352.466 Avg Mbps: 1336.618 4001 166585016 1332.680 100.00% Conn: 1 Mbps: 1332.680 Peak Mbps: 1352.466 Avg Mbps: 1332.680 5001 166284672 1330.277 100.00% Conn: 1 Mbps: 1330.277 Peak Mbps: 1352.466 Avg Mbps: 1330.277 --- 169.254.1.12 tcpbench statistics --- 1000893456 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1329.952/1336.399/1352.466/8.379 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1001 160357712 1281.580 100.00% Conn: 1 Mbps: 1281.580 Peak Mbps: 1281.580 Avg Mbps: 1281.580 2000 159596848 1278.053 100.00% Conn: 1 Mbps: 1278.053 Peak Mbps: 1281.580 Avg Mbps: 1278.053 3001 158610912 1268.887 100.00% Conn: 1 Mbps: 1268.887 Peak Mbps: 1281.580 Avg Mbps: 1268.887 4002 158154516 1265.236 100.00% Conn: 1 Mbps: 1265.236 Peak Mbps: 1281.580 Avg Mbps: 1265.236 5001 157205504 1258.903 100.00% Conn: 1 Mbps: 1258.903 Peak Mbps: 1281.580 Avg Mbps: 1258.903 --- fc00:0:0:1::12 tcpbench statistics --- 952653060 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1258.903/1270.532/1281.580/8.302 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.108 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.108/0.108/0.108/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.093 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.093/0.093/0.093/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 176906584 1415.253 100.00% Conn: 1 Mbps: 1415.253 Peak Mbps: 1415.253 Avg Mbps: 1415.253 2000 177033752 1416.270 100.00% Conn: 1 Mbps: 1416.270 Peak Mbps: 1416.270 Avg Mbps: 1416.270 3000 176676092 1413.409 100.00% Conn: 1 Mbps: 1413.409 Peak Mbps: 1416.270 Avg Mbps: 1413.409 4000 176397912 1411.183 100.00% Conn: 1 Mbps: 1411.183 Peak Mbps: 1416.270 Avg Mbps: 1411.183 5000 176358172 1410.865 100.00% Conn: 1 Mbps: 1410.865 Peak Mbps: 1416.270 Avg Mbps: 1410.865 --- 169.254.0.13 tcpbench statistics --- 1060589068 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1410.865/1413.396/1416.270/2.145 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 163031392 1304.251 100.00% Conn: 1 Mbps: 1304.251 Peak Mbps: 1304.251 Avg Mbps: 1304.251 2000 162286160 1299.589 100.00% Conn: 1 Mbps: 1299.589 Peak Mbps: 1304.251 Avg Mbps: 1299.589 3000 161992824 1295.943 100.00% Conn: 1 Mbps: 1295.943 Peak Mbps: 1304.251 Avg Mbps: 1295.943 4000 161889760 1295.118 100.00% Conn: 1 Mbps: 1295.118 Peak Mbps: 1304.251 Avg Mbps: 1295.118 5000 162119672 1296.957 100.00% Conn: 1 Mbps: 1296.957 Peak Mbps: 1304.251 Avg Mbps: 1296.957 --- fc00::13 tcpbench statistics --- 973590112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1295.118/1298.372/1304.251/3.303 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.080 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.080/0.080/0.080/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.088 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.088/0.088/0.088/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 165657816 1325.263 100.00% Conn: 1 Mbps: 1325.263 Peak Mbps: 1325.263 Avg Mbps: 1325.263 2000 168078784 1345.976 100.00% Conn: 1 Mbps: 1345.976 Peak Mbps: 1345.976 Avg Mbps: 1345.976 3000 169115552 1354.279 100.00% Conn: 1 Mbps: 1354.279 Peak Mbps: 1354.279 Avg Mbps: 1354.279 4000 167672512 1341.380 100.00% Conn: 1 Mbps: 1341.380 Peak Mbps: 1354.279 Avg Mbps: 1341.380 5001 169051728 1352.414 100.00% Conn: 1 Mbps: 1352.414 Peak Mbps: 1354.279 Avg Mbps: 1352.414 --- 169.254.1.11 tcpbench statistics --- 1007351264 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1325.263/1343.862/1354.279/10.375 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 159327884 1274.623 100.00% Conn: 1 Mbps: 1274.623 Peak Mbps: 1274.623 Avg Mbps: 1274.623 2000 162402000 1299.216 100.00% Conn: 1 Mbps: 1299.216 Peak Mbps: 1299.216 Avg Mbps: 1299.216 3001 161478776 1290.540 100.00% Conn: 1 Mbps: 1290.540 Peak Mbps: 1299.216 Avg Mbps: 1290.540 4001 159137116 1274.371 100.00% Conn: 1 Mbps: 1274.371 Peak Mbps: 1299.216 Avg Mbps: 1274.371 5001 158270216 1266.162 100.00% Conn: 1 Mbps: 1266.162 Peak Mbps: 1299.216 Avg Mbps: 1266.162 --- fc00:0:0:1::11 tcpbench statistics --- 957445748 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1266.162/1280.982/1299.216/12.063 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.054 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.054/0.054/0.054/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.079 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.079/0.079/0.079/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 335407480 2683.260 100.00% Conn: 1 Mbps: 2683.260 Peak Mbps: 2683.260 Avg Mbps: 2683.260 2000 332958912 2663.671 100.00% Conn: 1 Mbps: 2663.671 Peak Mbps: 2683.260 Avg Mbps: 2663.671 3000 333268784 2666.150 100.00% Conn: 1 Mbps: 2666.150 Peak Mbps: 2683.260 Avg Mbps: 2666.150 4000 334084008 2672.672 100.00% Conn: 1 Mbps: 2672.672 Peak Mbps: 2683.260 Avg Mbps: 2672.672 5000 334563296 2676.506 100.00% Conn: 1 Mbps: 2676.506 Peak Mbps: 2683.260 Avg Mbps: 2676.506 --- 169.254.1.12 tcpbench statistics --- 2006610888 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2663.671/2672.452/2683.260/7.073 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 338414580 2707.317 100.00% Conn: 1 Mbps: 2707.317 Peak Mbps: 2707.317 Avg Mbps: 2707.317 2000 338313192 2709.215 100.00% Conn: 1 Mbps: 2709.215 Peak Mbps: 2709.215 Avg Mbps: 2709.215 3000 337560636 2700.485 100.00% Conn: 1 Mbps: 2700.485 Peak Mbps: 2709.215 Avg Mbps: 2700.485 4000 340262412 2724.824 100.00% Conn: 1 Mbps: 2724.824 Peak Mbps: 2724.824 Avg Mbps: 2724.824 5000 340263840 2722.111 100.00% Conn: 1 Mbps: 2722.111 Peak Mbps: 2724.824 Avg Mbps: 2722.111 --- fc00:0:0:1::12 tcpbench statistics --- 2033472000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2700.485/2712.790/2724.824/9.229 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.071 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.071/0.071/0.071/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.075 ms --- fc00::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-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 643360614 5146.885 100.00% Conn: 1 Mbps: 5146.885 Peak Mbps: 5146.885 Avg Mbps: 5146.885 2000 643196188 5150.720 100.00% Conn: 1 Mbps: 5150.720 Peak Mbps: 5150.720 Avg Mbps: 5150.720 3000 643261620 5146.093 100.00% Conn: 1 Mbps: 5146.093 Peak Mbps: 5150.720 Avg Mbps: 5146.093 4000 643228904 5145.831 100.00% Conn: 1 Mbps: 5145.831 Peak Mbps: 5150.720 Avg Mbps: 5145.831 5000 643228904 5145.831 100.00% Conn: 1 Mbps: 5145.831 Peak Mbps: 5150.720 Avg Mbps: 5145.831 --- 169.254.0.13 tcpbench statistics --- 3859505134 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5145.831/5147.072/5150.720/1.865 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 632214676 5057.717 100.00% Conn: 1 Mbps: 5057.717 Peak Mbps: 5057.717 Avg Mbps: 5057.717 2000 637866264 5108.038 100.00% Conn: 1 Mbps: 5108.038 Peak Mbps: 5108.038 Avg Mbps: 5108.038 3000 638487488 5107.900 100.00% Conn: 1 Mbps: 5107.900 Peak Mbps: 5108.038 Avg Mbps: 5107.900 4000 637114256 5096.914 100.00% Conn: 1 Mbps: 5096.914 Peak Mbps: 5108.038 Avg Mbps: 5096.914 5000 636885384 5095.083 100.00% Conn: 1 Mbps: 5095.083 Peak Mbps: 5108.038 Avg Mbps: 5095.083 --- fc00::13 tcpbench statistics --- 3819453452 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5057.717/5093.131/5108.038/18.507 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.097 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.097/0.097/0.097/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.080 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.080/0.080/0.080/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 164554872 1316.439 100.00% Conn: 1 Mbps: 1316.439 Peak Mbps: 1316.439 Avg Mbps: 1316.439 2001 165622744 1323.658 100.00% Conn: 1 Mbps: 1323.658 Peak Mbps: 1323.658 Avg Mbps: 1323.658 3001 166153368 1330.558 100.00% Conn: 1 Mbps: 1330.558 Peak Mbps: 1330.558 Avg Mbps: 1330.558 4001 165330520 1322.644 100.00% Conn: 1 Mbps: 1322.644 Peak Mbps: 1330.558 Avg Mbps: 1322.644 5002 165756120 1326.049 100.00% Conn: 1 Mbps: 1326.049 Peak Mbps: 1330.558 Avg Mbps: 1326.049 --- 169.254.1.11 tcpbench statistics --- 992319976 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1316.439/1323.870/1330.558/4.610 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 225439232 1803.514 100.00% Conn: 1 Mbps: 1803.514 Peak Mbps: 1803.514 Avg Mbps: 1803.514 2000 223886560 1791.092 100.00% Conn: 1 Mbps: 1791.092 Peak Mbps: 1803.514 Avg Mbps: 1791.092 3001 224863464 1798.908 100.00% Conn: 1 Mbps: 1798.908 Peak Mbps: 1803.514 Avg Mbps: 1798.908 4001 227194576 1817.557 100.00% Conn: 1 Mbps: 1817.557 Peak Mbps: 1817.557 Avg Mbps: 1817.557 5002 227168560 1817.348 100.00% Conn: 1 Mbps: 1817.348 Peak Mbps: 1817.557 Avg Mbps: 1817.348 --- fc00:0:0:1::11 tcpbench statistics --- 1352461352 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1791.092/1805.684/1817.557/10.398 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.077 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.077/0.077/0.077/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 633793498 5070.348 100.00% Conn: 1 Mbps: 5070.348 Peak Mbps: 5070.348 Avg Mbps: 5070.348 2000 635115348 5086.009 100.00% Conn: 1 Mbps: 5086.009 Peak Mbps: 5086.009 Avg Mbps: 5086.009 3000 636358544 5090.868 100.00% Conn: 1 Mbps: 5090.868 Peak Mbps: 5090.868 Avg Mbps: 5090.868 4000 635606076 5084.849 100.00% Conn: 1 Mbps: 5084.849 Peak Mbps: 5090.868 Avg Mbps: 5084.849 5000 636391260 5091.130 100.00% Conn: 1 Mbps: 5091.130 Peak Mbps: 5091.130 Avg Mbps: 5091.130 --- 169.254.1.12 tcpbench statistics --- 3812380062 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5070.348/5084.641/5091.130/7.577 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 643115124 5144.921 100.00% Conn: 1 Mbps: 5144.921 Peak Mbps: 5144.921 Avg Mbps: 5144.921 2000 643457280 5152.811 100.00% Conn: 1 Mbps: 5152.811 Peak Mbps: 5152.811 Avg Mbps: 5152.811 3000 643130320 5145.043 100.00% Conn: 1 Mbps: 5145.043 Peak Mbps: 5152.811 Avg Mbps: 5145.043 4000 642901448 5143.212 100.00% Conn: 1 Mbps: 5143.212 Peak Mbps: 5152.811 Avg Mbps: 5143.212 5000 642182136 5137.457 100.00% Conn: 1 Mbps: 5137.457 Peak Mbps: 5152.811 Avg Mbps: 5137.457 --- fc00:0:0:1::12 tcpbench statistics --- 3857328100 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5137.457/5144.689/5152.811/4.912 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.076 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.076/0.076/0.076/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.066 ms --- fc00::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-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 639453990 5115.632 100.00% Conn: 1 Mbps: 5115.632 Peak Mbps: 5115.632 Avg Mbps: 5115.632 2000 641854820 5139.979 100.00% Conn: 1 Mbps: 5139.979 Peak Mbps: 5139.979 Avg Mbps: 5139.979 3000 640578908 5124.631 100.00% Conn: 1 Mbps: 5124.631 Peak Mbps: 5139.979 Avg Mbps: 5124.631 4000 641691252 5133.530 100.00% Conn: 1 Mbps: 5133.530 Peak Mbps: 5139.979 Avg Mbps: 5133.530 5000 642018400 5136.147 100.00% Conn: 1 Mbps: 5136.147 Peak Mbps: 5139.979 Avg Mbps: 5136.147 --- 169.254.0.13 tcpbench statistics --- 3846110846 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5115.632/5129.984/5139.979/8.776 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 647855844 5182.847 100.00% Conn: 1 Mbps: 5182.847 Peak Mbps: 5182.847 Avg Mbps: 5182.847 2000 647544280 5185.540 100.00% Conn: 1 Mbps: 5185.540 Peak Mbps: 5185.540 Avg Mbps: 5185.540 3000 647544280 5180.354 100.00% Conn: 1 Mbps: 5180.354 Peak Mbps: 5185.540 Avg Mbps: 5180.354 4000 647740456 5181.924 100.00% Conn: 1 Mbps: 5181.924 Peak Mbps: 5185.540 Avg Mbps: 5181.924 5000 647609672 5180.877 100.00% Conn: 1 Mbps: 5180.877 Peak Mbps: 5185.540 Avg Mbps: 5180.877 --- fc00::13 tcpbench statistics --- 3885969596 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5180.354/5182.308/5185.540/1.830 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.83s