START sys/net/pair 2024-08-15T04:02:31Z ==== 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.053 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.053/0.053/0.053/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.071 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.071/0.071/0.071/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 567534888 4540.279 100.00% Conn: 1 Mbps: 4540.279 Peak Mbps: 4540.279 Avg Mbps: 4540.279 2000 569148332 4553.187 100.00% Conn: 1 Mbps: 4553.187 Peak Mbps: 4553.187 Avg Mbps: 4553.187 3000 569688796 4557.510 100.00% Conn: 1 Mbps: 4557.510 Peak Mbps: 4557.510 Avg Mbps: 4557.510 4000 568909892 4555.835 100.00% Conn: 1 Mbps: 4555.835 Peak Mbps: 4557.510 Avg Mbps: 4555.835 5000 569267552 4554.140 100.00% Conn: 1 Mbps: 4554.140 Peak Mbps: 4557.510 Avg Mbps: 4554.140 --- 169.254.1.11 tcpbench statistics --- 3412243308 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4540.279/4552.190/4557.510/6.136 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 544217560 4353.740 100.00% Conn: 1 Mbps: 4353.740 Peak Mbps: 4353.740 Avg Mbps: 4353.740 2000 541751952 4338.354 100.00% Conn: 1 Mbps: 4338.354 Peak Mbps: 4353.740 Avg Mbps: 4338.354 3000 542330696 4338.646 100.00% Conn: 1 Mbps: 4338.646 Peak Mbps: 4353.740 Avg Mbps: 4338.646 4000 540737168 4325.897 100.00% Conn: 1 Mbps: 4325.897 Peak Mbps: 4353.740 Avg Mbps: 4325.897 5000 542124568 4336.997 100.00% Conn: 1 Mbps: 4336.997 Peak Mbps: 4353.740 Avg Mbps: 4336.997 --- fc00:0:0:1::11 tcpbench statistics --- 3252176592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4325.897/4338.727/4353.740/8.867 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.091 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.091/0.091/0.091/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.156 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.156/0.156/0.156/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 218517360 1746.392 100.00% Conn: 1 Mbps: 1746.392 Peak Mbps: 1746.392 Avg Mbps: 1746.392 2000 217498640 1741.731 100.00% Conn: 1 Mbps: 1741.731 Peak Mbps: 1746.392 Avg Mbps: 1741.731 3000 218257192 1746.058 100.00% Conn: 1 Mbps: 1746.058 Peak Mbps: 1746.392 Avg Mbps: 1746.058 4001 218422368 1747.379 100.00% Conn: 1 Mbps: 1747.379 Peak Mbps: 1747.379 Avg Mbps: 1747.379 5001 218991992 1753.690 100.00% Conn: 1 Mbps: 1753.690 Peak Mbps: 1753.690 Avg Mbps: 1753.690 --- 169.254.1.12 tcpbench statistics --- 1309332120 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1741.731/1747.050/1753.690/3.845 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 207293764 1658.350 100.00% Conn: 1 Mbps: 1658.350 Peak Mbps: 1658.350 Avg Mbps: 1658.350 2000 207852476 1662.820 100.00% Conn: 1 Mbps: 1662.820 Peak Mbps: 1662.820 Avg Mbps: 1662.820 3001 208027640 1664.221 100.00% Conn: 1 Mbps: 1664.221 Peak Mbps: 1664.221 Avg Mbps: 1664.221 4001 203607376 1628.859 100.00% Conn: 1 Mbps: 1628.859 Peak Mbps: 1664.221 Avg Mbps: 1628.859 5002 201889884 1615.119 100.00% Conn: 1 Mbps: 1615.119 Peak Mbps: 1664.221 Avg Mbps: 1615.119 --- fc00:0:0:1::12 tcpbench statistics --- 1230724948 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1615.119/1645.874/1664.221/20.074 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.078 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.078/0.078/0.078/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.088 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.088/0.088/0.088/0.000 ms ==== run-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 302691072 2421.529 100.00% Conn: 1 Mbps: 2421.529 Peak Mbps: 2421.529 Avg Mbps: 2421.529 2000 302468108 2422.167 100.00% Conn: 1 Mbps: 2422.167 Peak Mbps: 2422.167 Avg Mbps: 2422.167 3000 301880096 2415.041 100.00% Conn: 1 Mbps: 2415.041 Peak Mbps: 2422.167 Avg Mbps: 2415.041 4000 299758400 2398.067 100.00% Conn: 1 Mbps: 2398.067 Peak Mbps: 2422.167 Avg Mbps: 2398.067 5000 299336176 2394.689 100.00% Conn: 1 Mbps: 2394.689 Peak Mbps: 2422.167 Avg Mbps: 2394.689 --- 169.254.0.13 tcpbench statistics --- 1809579424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2394.689/2410.299/2422.167/11.685 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 286327648 2290.621 100.00% Conn: 1 Mbps: 2290.621 Peak Mbps: 2290.621 Avg Mbps: 2290.621 2000 287643696 2303.453 100.00% Conn: 1 Mbps: 2303.453 Peak Mbps: 2303.453 Avg Mbps: 2303.453 3000 286668552 2293.348 100.00% Conn: 1 Mbps: 2293.348 Peak Mbps: 2303.453 Avg Mbps: 2293.348 4000 288388928 2307.111 100.00% Conn: 1 Mbps: 2307.111 Peak Mbps: 2307.111 Avg Mbps: 2307.111 5000 288872536 2310.980 100.00% Conn: 1 Mbps: 2310.980 Peak Mbps: 2310.980 Avg Mbps: 2310.980 --- fc00::13 tcpbench statistics --- 1727305072 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2290.621/2301.103/2310.980/7.864 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.048 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.048/0.048/0.048/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.082 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.082/0.082/0.082/0.000 ms ==== run-tcpbench-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 217920160 1743.361 100.00% Conn: 1 Mbps: 1743.361 Peak Mbps: 1743.361 Avg Mbps: 1743.361 2000 219281192 1754.250 100.00% Conn: 1 Mbps: 1754.250 Peak Mbps: 1754.250 Avg Mbps: 1754.250 3001 218526056 1748.208 100.00% Conn: 1 Mbps: 1748.208 Peak Mbps: 1754.250 Avg Mbps: 1748.208 4001 218777960 1750.224 100.00% Conn: 1 Mbps: 1750.224 Peak Mbps: 1754.250 Avg Mbps: 1750.224 5001 219648320 1757.187 100.00% Conn: 1 Mbps: 1757.187 Peak Mbps: 1757.187 Avg Mbps: 1757.187 --- 169.254.1.11 tcpbench statistics --- 1311541120 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1743.361/1750.646/1757.187/4.795 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 208024732 1664.198 100.00% Conn: 1 Mbps: 1664.198 Peak Mbps: 1664.198 Avg Mbps: 1664.198 2001 209688516 1677.508 100.00% Conn: 1 Mbps: 1677.508 Peak Mbps: 1677.508 Avg Mbps: 1677.508 3001 206653328 1653.227 100.00% Conn: 1 Mbps: 1653.227 Peak Mbps: 1677.508 Avg Mbps: 1653.227 4001 204482468 1637.497 100.00% Conn: 1 Mbps: 1637.497 Peak Mbps: 1677.508 Avg Mbps: 1637.497 5001 205781792 1646.254 100.00% Conn: 1 Mbps: 1646.254 Peak Mbps: 1677.508 Avg Mbps: 1646.254 --- fc00:0:0:1::11 tcpbench statistics --- 1240777364 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1637.497/1655.737/1677.508/13.961 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.043 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.043/0.043/0.043/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.061 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.061/0.061/0.061/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 571311296 4570.490 100.00% Conn: 1 Mbps: 4570.490 Peak Mbps: 4570.490 Avg Mbps: 4570.490 2000 567216352 4537.731 100.00% Conn: 1 Mbps: 4537.731 Peak Mbps: 4570.490 Avg Mbps: 4537.731 3000 564763440 4518.108 100.00% Conn: 1 Mbps: 4518.108 Peak Mbps: 4570.490 Avg Mbps: 4518.108 4000 565404904 4523.239 100.00% Conn: 1 Mbps: 4523.239 Peak Mbps: 4570.490 Avg Mbps: 4523.239 5000 563936632 4511.493 100.00% Conn: 1 Mbps: 4511.493 Peak Mbps: 4570.490 Avg Mbps: 4511.493 --- 169.254.1.12 tcpbench statistics --- 3397356968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4511.493/4532.212/4570.490/20.997 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 537075084 4296.601 100.00% Conn: 1 Mbps: 4296.601 Peak Mbps: 4296.601 Avg Mbps: 4296.601 2000 534330468 4274.644 100.00% Conn: 1 Mbps: 4274.644 Peak Mbps: 4296.601 Avg Mbps: 4274.644 3000 536955132 4299.941 100.00% Conn: 1 Mbps: 4299.941 Peak Mbps: 4299.941 Avg Mbps: 4299.941 4000 536772348 4294.179 100.00% Conn: 1 Mbps: 4294.179 Peak Mbps: 4299.941 Avg Mbps: 4294.179 5000 538624464 4308.996 100.00% Conn: 1 Mbps: 4308.996 Peak Mbps: 4308.996 Avg Mbps: 4308.996 --- fc00:0:0:1::12 tcpbench statistics --- 3221610840 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4274.644/4294.872/4308.996/11.294 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.049 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.049/0.049/0.049/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.062 ms --- fc00::13 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-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 1047926990 8383.416 100.00% Conn: 1 Mbps: 8383.416 Peak Mbps: 8383.416 Avg Mbps: 8383.416 2000 1047288234 8386.693 100.00% Conn: 1 Mbps: 8386.693 Peak Mbps: 8386.693 Avg Mbps: 8386.693 3000 1048482368 8387.859 100.00% Conn: 1 Mbps: 8387.859 Peak Mbps: 8387.859 Avg Mbps: 8387.859 4000 1046028668 8368.229 100.00% Conn: 1 Mbps: 8368.229 Peak Mbps: 8387.859 Avg Mbps: 8368.229 5000 1050707056 8414.071 100.00% Conn: 1 Mbps: 8414.071 Peak Mbps: 8414.071 Avg Mbps: 8414.071 --- 169.254.0.13 tcpbench statistics --- 6287999636 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8368.229/8388.053/8414.071/14.787 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 996577880 7972.623 100.00% Conn: 1 Mbps: 7972.623 Peak Mbps: 7972.623 Avg Mbps: 7972.623 2000 995985552 7975.860 100.00% Conn: 1 Mbps: 7975.860 Peak Mbps: 7975.860 Avg Mbps: 7975.860 3000 994775800 7958.206 100.00% Conn: 1 Mbps: 7958.206 Peak Mbps: 7975.860 Avg Mbps: 7958.206 4000 989217480 7913.740 100.00% Conn: 1 Mbps: 7913.740 Peak Mbps: 7975.860 Avg Mbps: 7913.740 5000 988530864 7908.247 100.00% Conn: 1 Mbps: 7908.247 Peak Mbps: 7975.860 Avg Mbps: 7908.247 --- fc00::13 tcpbench statistics --- 5953226088 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7908.247/7945.735/7975.860/29.035 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.055 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.055/0.055/0.055/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.074 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.074/0.074/0.074/0.000 ms ==== run-tcpbench-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 215068792 1720.550 100.00% Conn: 1 Mbps: 1720.550 Peak Mbps: 1720.550 Avg Mbps: 1720.550 2001 213471880 1707.775 100.00% Conn: 1 Mbps: 1707.775 Peak Mbps: 1720.550 Avg Mbps: 1707.775 3000 212087320 1698.397 100.00% Conn: 1 Mbps: 1698.397 Peak Mbps: 1720.550 Avg Mbps: 1698.397 4000 214895656 1720.886 100.00% Conn: 1 Mbps: 1720.886 Peak Mbps: 1720.886 Avg Mbps: 1720.886 5001 214881688 1719.054 100.00% Conn: 1 Mbps: 1719.054 Peak Mbps: 1720.886 Avg Mbps: 1719.054 --- 169.254.1.11 tcpbench statistics --- 1285030944 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1698.397/1713.332/1720.886/8.898 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 305765880 2446.127 100.00% Conn: 1 Mbps: 2446.127 Peak Mbps: 2446.127 Avg Mbps: 2446.127 2000 303969704 2431.758 100.00% Conn: 1 Mbps: 2431.758 Peak Mbps: 2446.127 Avg Mbps: 2431.758 3001 303465560 2427.724 100.00% Conn: 1 Mbps: 2427.724 Peak Mbps: 2446.127 Avg Mbps: 2427.724 4001 307791704 2462.334 100.00% Conn: 1 Mbps: 2462.334 Peak Mbps: 2462.334 Avg Mbps: 2462.334 5001 304870768 2441.408 100.00% Conn: 1 Mbps: 2441.408 Peak Mbps: 2462.334 Avg Mbps: 2441.408 --- fc00:0:0:1::11 tcpbench statistics --- 1828723944 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2427.724/2441.870/2462.334/12.161 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.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-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.058 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.058/0.058/0.058/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 1058674638 8469.397 100.00% Conn: 1 Mbps: 8469.397 Peak Mbps: 8469.397 Avg Mbps: 8469.397 2000 1057479268 8468.302 100.00% Conn: 1 Mbps: 8468.302 Peak Mbps: 8469.397 Avg Mbps: 8468.302 3000 1054927420 8439.419 100.00% Conn: 1 Mbps: 8439.419 Peak Mbps: 8469.397 Avg Mbps: 8439.419 4000 1053258904 8426.071 100.00% Conn: 1 Mbps: 8426.071 Peak Mbps: 8469.397 Avg Mbps: 8426.071 5000 1055941616 8447.533 100.00% Conn: 1 Mbps: 8447.533 Peak Mbps: 8469.397 Avg Mbps: 8447.533 --- 169.254.1.12 tcpbench statistics --- 6338513582 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8426.071/8450.145/8469.397/16.744 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 992539796 7940.318 100.00% Conn: 1 Mbps: 7940.318 Peak Mbps: 7940.318 Avg Mbps: 7940.318 2000 990590712 7932.658 100.00% Conn: 1 Mbps: 7932.658 Peak Mbps: 7940.318 Avg Mbps: 7932.658 3000 992127424 7937.019 100.00% Conn: 1 Mbps: 7937.019 Peak Mbps: 7940.318 Avg Mbps: 7937.019 4000 991440808 7931.526 100.00% Conn: 1 Mbps: 7931.526 Peak Mbps: 7940.318 Avg Mbps: 7931.526 5000 992225512 7945.750 100.00% Conn: 1 Mbps: 7945.750 Peak Mbps: 7945.750 Avg Mbps: 7945.750 --- fc00:0:0:1::12 tcpbench statistics --- 5949089916 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7931.526/7937.454/7945.750/5.203 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.044 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.044/0.044/0.044/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.052 ms --- fc00::13 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-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 1086942052 8695.536 100.00% Conn: 1 Mbps: 8695.536 Peak Mbps: 8695.536 Avg Mbps: 8695.536 2000 1082736020 8670.559 100.00% Conn: 1 Mbps: 8670.559 Peak Mbps: 8695.536 Avg Mbps: 8670.559 3000 1082343428 8658.747 100.00% Conn: 1 Mbps: 8658.747 Peak Mbps: 8695.536 Avg Mbps: 8658.747 4000 1083324908 8666.599 100.00% Conn: 1 Mbps: 8666.599 Peak Mbps: 8695.536 Avg Mbps: 8666.599 5000 1082277996 8658.224 100.00% Conn: 1 Mbps: 8658.224 Peak Mbps: 8695.536 Avg Mbps: 8658.224 --- 169.254.0.13 tcpbench statistics --- 6500883880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8658.224/8669.933/8695.536/13.633 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 1043892788 8351.142 100.00% Conn: 1 Mbps: 8351.142 Peak Mbps: 8351.142 Avg Mbps: 8351.142 2000 1044637200 8365.463 100.00% Conn: 1 Mbps: 8365.463 Peak Mbps: 8365.463 Avg Mbps: 8365.463 3000 1044669896 8357.359 100.00% Conn: 1 Mbps: 8357.359 Peak Mbps: 8365.463 Avg Mbps: 8357.359 4000 1044833376 8358.667 100.00% Conn: 1 Mbps: 8358.667 Peak Mbps: 8365.463 Avg Mbps: 8358.667 5000 1043819800 8350.558 100.00% Conn: 1 Mbps: 8350.558 Peak Mbps: 8365.463 Avg Mbps: 8350.558 --- fc00::13 tcpbench statistics --- 6265345900 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8350.558/8356.638/8365.463/5.471 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 1m52.83s