START sys/net/pair 2025-01-08T19:26:16Z ==== 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.039 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.039/0.039/0.039/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.043 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.043/0.043/0.043/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 1376442588 11011.541 100.00% Conn: 1 Mbps: 11011.541 Peak Mbps: 11011.541 Avg Mbps: 11011.541 2000 1363097896 10915.699 100.00% Conn: 1 Mbps: 10915.699 Peak Mbps: 11011.541 Avg Mbps: 10915.699 3000 1365903540 10927.228 100.00% Conn: 1 Mbps: 10927.228 Peak Mbps: 11011.541 Avg Mbps: 10927.228 4000 1359871008 10878.968 100.00% Conn: 1 Mbps: 10878.968 Peak Mbps: 11011.541 Avg Mbps: 10878.968 5000 1364806716 10918.454 100.00% Conn: 1 Mbps: 10918.454 Peak Mbps: 11011.541 Avg Mbps: 10918.454 --- 169.254.1.11 tcpbench statistics --- 8188808504 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10878.968/10930.378/11011.541/43.813 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 1372709416 10981.675 100.00% Conn: 1 Mbps: 10981.675 Peak Mbps: 10981.675 Avg Mbps: 10981.675 2000 1373962040 11002.699 100.00% Conn: 1 Mbps: 11002.699 Peak Mbps: 11002.699 Avg Mbps: 11002.699 3000 1385219800 11081.758 100.00% Conn: 1 Mbps: 11081.758 Peak Mbps: 11081.758 Avg Mbps: 11081.758 4000 1377109456 11016.876 100.00% Conn: 1 Mbps: 11016.876 Peak Mbps: 11081.758 Avg Mbps: 11016.876 5000 1383515280 11068.122 100.00% Conn: 1 Mbps: 11068.122 Peak Mbps: 11081.758 Avg Mbps: 11068.122 --- fc00:0:0:1::11 tcpbench statistics --- 8276847856 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10981.675/11030.226/11081.758/38.431 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.064 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.064/0.064/0.064/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.117 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.117/0.117/0.117/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 194286848 1554.295 100.00% Conn: 1 Mbps: 1554.295 Peak Mbps: 1554.295 Avg Mbps: 1554.295 2001 167274408 1336.858 100.00% Conn: 1 Mbps: 1336.858 Peak Mbps: 1554.295 Avg Mbps: 1336.858 3001 167343912 1338.751 100.00% Conn: 1 Mbps: 1338.751 Peak Mbps: 1554.295 Avg Mbps: 1338.751 4003 163632688 1307.754 100.00% Conn: 1 Mbps: 1307.754 Peak Mbps: 1554.295 Avg Mbps: 1307.754 5008 166153768 1323.934 100.00% Conn: 1 Mbps: 1323.934 Peak Mbps: 1554.295 Avg Mbps: 1323.934 --- 169.254.1.12 tcpbench statistics --- 1023498900 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1307.754/1372.319/1554.295/91.662 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 183235248 1465.882 100.00% Conn: 1 Mbps: 1465.882 Peak Mbps: 1465.882 Avg Mbps: 1465.882 2000 159337912 1275.979 100.00% Conn: 1 Mbps: 1275.979 Peak Mbps: 1465.882 Avg Mbps: 1275.979 3000 149368800 1194.950 100.00% Conn: 1 Mbps: 1194.950 Peak Mbps: 1465.882 Avg Mbps: 1194.950 4000 141986040 1135.888 100.00% Conn: 1 Mbps: 1135.888 Peak Mbps: 1465.882 Avg Mbps: 1135.888 5000 149374512 1194.996 100.00% Conn: 1 Mbps: 1194.996 Peak Mbps: 1465.882 Avg Mbps: 1194.996 --- fc00:0:0:1::12 tcpbench statistics --- 931060528 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1135.888/1253.539/1465.882/115.147 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.053 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.053/0.053/0.053/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.056 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/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 615596444 4924.772 100.00% Conn: 1 Mbps: 4924.772 Peak Mbps: 4924.772 Avg Mbps: 4924.772 2000 604652048 4837.216 100.00% Conn: 1 Mbps: 4837.216 Peak Mbps: 4924.772 Avg Mbps: 4837.216 3000 605907832 4847.263 100.00% Conn: 1 Mbps: 4847.263 Peak Mbps: 4924.772 Avg Mbps: 4847.263 4000 608856400 4870.851 100.00% Conn: 1 Mbps: 4870.851 Peak Mbps: 4924.772 Avg Mbps: 4870.851 5001 609420988 4875.368 100.00% Conn: 1 Mbps: 4875.368 Peak Mbps: 4924.772 Avg Mbps: 4875.368 --- 169.254.0.13 tcpbench statistics --- 3650595740 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4837.216/4871.094/4924.772/30.382 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 552613832 4420.911 100.00% Conn: 1 Mbps: 4420.911 Peak Mbps: 4420.911 Avg Mbps: 4420.911 2001 547570584 4380.565 100.00% Conn: 1 Mbps: 4380.565 Peak Mbps: 4420.911 Avg Mbps: 4380.565 3001 552653992 4421.232 100.00% Conn: 1 Mbps: 4421.232 Peak Mbps: 4421.232 Avg Mbps: 4421.232 4002 553033496 4424.268 100.00% Conn: 1 Mbps: 4424.268 Peak Mbps: 4424.268 Avg Mbps: 4424.268 5002 546492896 4371.943 100.00% Conn: 1 Mbps: 4371.943 Peak Mbps: 4424.268 Avg Mbps: 4371.943 --- fc00::13 tcpbench statistics --- 3298128320 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4371.943/4403.784/4424.268/22.673 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.040 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.040/0.040/0.040/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.044 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.044/0.044/0.044/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 194835640 1558.685 100.00% Conn: 1 Mbps: 1558.685 Peak Mbps: 1558.685 Avg Mbps: 1558.685 2000 169747852 1359.342 100.00% Conn: 1 Mbps: 1359.342 Peak Mbps: 1558.685 Avg Mbps: 1359.342 3000 170234176 1361.873 100.00% Conn: 1 Mbps: 1361.873 Peak Mbps: 1558.685 Avg Mbps: 1361.873 4000 167008292 1336.066 100.00% Conn: 1 Mbps: 1336.066 Peak Mbps: 1558.685 Avg Mbps: 1336.066 5003 165772832 1322.216 100.00% Conn: 1 Mbps: 1322.216 Peak Mbps: 1558.685 Avg Mbps: 1322.216 --- 169.254.1.11 tcpbench statistics --- 1035750688 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 1322.216/1387.637/1558.685/86.789 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 1003 189482748 1511.328 100.00% Conn: 1 Mbps: 1511.328 Peak Mbps: 1511.328 Avg Mbps: 1511.328 2003 152388412 1220.328 100.00% Conn: 1 Mbps: 1220.328 Peak Mbps: 1511.328 Avg Mbps: 1220.328 3003 156136912 1250.346 100.00% Conn: 1 Mbps: 1250.346 Peak Mbps: 1511.328 Avg Mbps: 1250.346 4003 148797600 1190.381 100.00% Conn: 1 Mbps: 1190.381 Peak Mbps: 1511.328 Avg Mbps: 1190.381 5006 153972064 1229.318 100.00% Conn: 1 Mbps: 1229.318 Peak Mbps: 1511.328 Avg Mbps: 1229.318 --- fc00:0:0:1::11 tcpbench statistics --- 957457288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1190.381/1280.340/1511.328/117.092 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.037 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.037/0.037/0.037/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.040 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.040/0.040/0.040/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 1388837616 11110.701 100.00% Conn: 1 Mbps: 11110.701 Peak Mbps: 11110.701 Avg Mbps: 11110.701 2000 1387460568 11110.795 100.00% Conn: 1 Mbps: 11110.795 Peak Mbps: 11110.795 Avg Mbps: 11110.795 3000 1385779440 11086.236 100.00% Conn: 1 Mbps: 11086.236 Peak Mbps: 11110.795 Avg Mbps: 11086.236 4000 1383038376 11064.307 100.00% Conn: 1 Mbps: 11064.307 Peak Mbps: 11110.795 Avg Mbps: 11064.307 5000 1390313128 11122.505 100.00% Conn: 1 Mbps: 11122.505 Peak Mbps: 11122.505 Avg Mbps: 11122.505 --- 169.254.1.12 tcpbench statistics --- 8330545272 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11064.307/11098.909/11122.505/20.952 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 1406925576 11255.405 100.00% Conn: 1 Mbps: 11255.405 Peak Mbps: 11255.405 Avg Mbps: 11255.405 2000 1419393444 11366.514 100.00% Conn: 1 Mbps: 11366.514 Peak Mbps: 11366.514 Avg Mbps: 11366.514 3000 1407748104 11273.258 100.00% Conn: 1 Mbps: 11273.258 Peak Mbps: 11366.514 Avg Mbps: 11273.258 4000 1413250188 11306.002 100.00% Conn: 1 Mbps: 11306.002 Peak Mbps: 11366.514 Avg Mbps: 11306.002 5000 1369964652 10959.717 100.00% Conn: 1 Mbps: 10959.717 Peak Mbps: 11366.514 Avg Mbps: 10959.717 --- fc00:0:0:1::12 tcpbench statistics --- 8382004428 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10959.717/11232.179/11366.514/141.392 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.041 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.041/0.041/0.041/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.044 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-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 1548443102 12387.545 100.00% Conn: 1 Mbps: 12387.545 Peak Mbps: 12387.545 Avg Mbps: 12387.545 2000 1563268628 12518.668 100.00% Conn: 1 Mbps: 12518.668 Peak Mbps: 12518.668 Avg Mbps: 12518.668 3000 1592549448 12740.396 100.00% Conn: 1 Mbps: 12740.396 Peak Mbps: 12740.396 Avg Mbps: 12740.396 4000 1593694508 12749.556 100.00% Conn: 1 Mbps: 12749.556 Peak Mbps: 12749.556 Avg Mbps: 12749.556 5000 1591993276 12735.946 100.00% Conn: 1 Mbps: 12735.946 Peak Mbps: 12749.556 Avg Mbps: 12735.946 --- 169.254.0.13 tcpbench statistics --- 9453315738 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12387.545/12626.422/12749.556/147.527 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 1586282588 12690.261 100.00% Conn: 1 Mbps: 12690.261 Peak Mbps: 12690.261 Avg Mbps: 12690.261 2000 1591118144 12741.687 100.00% Conn: 1 Mbps: 12741.687 Peak Mbps: 12741.687 Avg Mbps: 12741.687 3000 1589156384 12713.251 100.00% Conn: 1 Mbps: 12713.251 Peak Mbps: 12741.687 Avg Mbps: 12713.251 4000 1591673976 12733.392 100.00% Conn: 1 Mbps: 12733.392 Peak Mbps: 12741.687 Avg Mbps: 12733.392 5000 1589875696 12719.006 100.00% Conn: 1 Mbps: 12719.006 Peak Mbps: 12741.687 Avg Mbps: 12719.006 --- fc00::13 tcpbench statistics --- 9538734492 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12690.261/12719.519/12741.687/17.773 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.043 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-ping6-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.049 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.049/0.049/0.049/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 207679400 1661.435 100.00% Conn: 1 Mbps: 1661.435 Peak Mbps: 1661.435 Avg Mbps: 1661.435 2000 175771272 1407.578 100.00% Conn: 1 Mbps: 1407.578 Peak Mbps: 1661.435 Avg Mbps: 1407.578 3000 175390448 1403.124 100.00% Conn: 1 Mbps: 1403.124 Peak Mbps: 1661.435 Avg Mbps: 1403.124 4000 174234016 1393.872 100.00% Conn: 1 Mbps: 1393.872 Peak Mbps: 1661.435 Avg Mbps: 1393.872 5002 177039720 1414.903 100.00% Conn: 1 Mbps: 1414.903 Peak Mbps: 1661.435 Avg Mbps: 1414.903 --- 169.254.1.11 tcpbench statistics --- 1085520824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1393.872/1456.182/1661.435/102.852 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 489390408 3915.123 100.00% Conn: 1 Mbps: 3915.123 Peak Mbps: 3915.123 Avg Mbps: 3915.123 2000 503785480 4030.284 100.00% Conn: 1 Mbps: 4030.284 Peak Mbps: 4030.284 Avg Mbps: 4030.284 3001 507857536 4058.801 100.00% Conn: 1 Mbps: 4058.801 Peak Mbps: 4058.801 Avg Mbps: 4058.801 4001 508761304 4070.090 100.00% Conn: 1 Mbps: 4070.090 Peak Mbps: 4070.090 Avg Mbps: 4070.090 5002 503251912 4026.015 100.00% Conn: 1 Mbps: 4026.015 Peak Mbps: 4070.090 Avg Mbps: 4026.015 --- fc00:0:0:1::11 tcpbench statistics --- 3020435488 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3915.123/4020.063/4070.090/55.056 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.039 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.039/0.039/0.039/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.043 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.043/0.043/0.043/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 1566332380 12530.659 100.00% Conn: 1 Mbps: 12530.659 Peak Mbps: 12530.659 Avg Mbps: 12530.659 2000 1580902552 12659.880 100.00% Conn: 1 Mbps: 12659.880 Peak Mbps: 12659.880 Avg Mbps: 12659.880 3000 1596998824 12775.991 100.00% Conn: 1 Mbps: 12775.991 Peak Mbps: 12775.991 Avg Mbps: 12775.991 4000 1596164566 12769.317 100.00% Conn: 1 Mbps: 12769.317 Peak Mbps: 12775.991 Avg Mbps: 12769.317 5000 1596458998 12771.672 100.00% Conn: 1 Mbps: 12771.672 Peak Mbps: 12775.991 Avg Mbps: 12771.672 --- 169.254.1.12 tcpbench statistics --- 9519608326 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12530.659/12701.504/12775.991/95.907 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 1565021152 12520.169 100.00% Conn: 1 Mbps: 12520.169 Peak Mbps: 12520.169 Avg Mbps: 12520.169 2000 1567119280 12549.504 100.00% Conn: 1 Mbps: 12549.504 Peak Mbps: 12549.504 Avg Mbps: 12549.504 3000 1561495568 12491.965 100.00% Conn: 1 Mbps: 12491.965 Peak Mbps: 12549.504 Avg Mbps: 12491.965 4000 1538216016 12305.728 100.00% Conn: 1 Mbps: 12305.728 Peak Mbps: 12549.504 Avg Mbps: 12305.728 5000 1537071656 12296.573 100.00% Conn: 1 Mbps: 12296.573 Peak Mbps: 12549.504 Avg Mbps: 12296.573 --- fc00:0:0:1::12 tcpbench statistics --- 9307401256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12296.573/12432.788/12549.504/109.049 Mbps ==== run-ping-3-3 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.038 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/0.000 ms ==== run-ping6-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.040 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-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 1601863862 12814.911 100.00% Conn: 1 Mbps: 12814.911 Peak Mbps: 12814.911 Avg Mbps: 12814.911 2000 1614452810 12928.551 100.00% Conn: 1 Mbps: 12928.551 Peak Mbps: 12928.551 Avg Mbps: 12928.551 3000 1606895414 12855.163 100.00% Conn: 1 Mbps: 12855.163 Peak Mbps: 12928.551 Avg Mbps: 12855.163 4000 1607746030 12861.968 100.00% Conn: 1 Mbps: 12861.968 Peak Mbps: 12928.551 Avg Mbps: 12861.968 5000 1619703728 12957.630 100.00% Conn: 1 Mbps: 12957.630 Peak Mbps: 12957.630 Avg Mbps: 12957.630 --- 169.254.0.13 tcpbench statistics --- 9651046774 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12814.911/12883.645/12957.630/51.953 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 1564763436 12518.107 100.00% Conn: 1 Mbps: 12518.107 Peak Mbps: 12518.107 Avg Mbps: 12518.107 2000 1603477232 12840.659 100.00% Conn: 1 Mbps: 12840.659 Peak Mbps: 12840.659 Avg Mbps: 12840.659 3000 1605242816 12841.943 100.00% Conn: 1 Mbps: 12841.943 Peak Mbps: 12841.943 Avg Mbps: 12841.943 4000 1604294632 12834.357 100.00% Conn: 1 Mbps: 12834.357 Peak Mbps: 12841.943 Avg Mbps: 12834.357 5000 1602169392 12817.355 100.00% Conn: 1 Mbps: 12817.355 Peak Mbps: 12841.943 Avg Mbps: 12817.355 --- fc00::13 tcpbench statistics --- 9567992228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12518.107/12770.484/12841.943/126.492 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m51.83s