START sys/net/pair 2024-11-18T04:59:26Z ==== 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.055 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.055/0.055/0.055/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 569013216 4552.106 100.00% Conn: 1 Mbps: 4552.106 Peak Mbps: 4552.106 Avg Mbps: 4552.106 2000 569609316 4561.436 100.00% Conn: 1 Mbps: 4561.436 Peak Mbps: 4561.436 Avg Mbps: 4561.436 3000 568345584 4546.765 100.00% Conn: 1 Mbps: 4546.765 Peak Mbps: 4561.436 Avg Mbps: 4546.765 4000 569617264 4556.938 100.00% Conn: 1 Mbps: 4556.938 Peak Mbps: 4561.436 Avg Mbps: 4556.938 5000 566485752 4531.886 100.00% Conn: 1 Mbps: 4531.886 Peak Mbps: 4561.436 Avg Mbps: 4531.886 --- 169.254.1.11 tcpbench statistics --- 3410621916 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4531.886/4549.826/4561.436/10.216 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 556410824 4451.287 100.00% Conn: 1 Mbps: 4451.287 Peak Mbps: 4451.287 Avg Mbps: 4451.287 2000 554777656 4438.221 100.00% Conn: 1 Mbps: 4438.221 Peak Mbps: 4451.287 Avg Mbps: 4438.221 3000 552026640 4420.634 100.00% Conn: 1 Mbps: 4420.634 Peak Mbps: 4451.287 Avg Mbps: 4420.634 4000 554301976 4434.416 100.00% Conn: 1 Mbps: 4434.416 Peak Mbps: 4451.287 Avg Mbps: 4434.416 5000 556283976 4450.272 100.00% Conn: 1 Mbps: 4450.272 Peak Mbps: 4451.287 Avg Mbps: 4450.272 --- fc00:0:0:1::11 tcpbench statistics --- 3327912776 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4420.634/4438.966/4451.287/11.287 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.076 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.076/0.076/0.076/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.150 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.150/0.150/0.150/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 215725344 1725.803 100.00% Conn: 1 Mbps: 1725.803 Peak Mbps: 1725.803 Avg Mbps: 1725.803 2000 217054784 1736.438 100.00% Conn: 1 Mbps: 1736.438 Peak Mbps: 1736.438 Avg Mbps: 1736.438 3001 217848216 1741.045 100.00% Conn: 1 Mbps: 1741.045 Peak Mbps: 1741.045 Avg Mbps: 1741.045 4001 217738760 1743.654 100.00% Conn: 1 Mbps: 1743.654 Peak Mbps: 1743.654 Avg Mbps: 1743.654 5001 216971488 1735.772 100.00% Conn: 1 Mbps: 1735.772 Peak Mbps: 1743.654 Avg Mbps: 1735.772 --- 169.254.1.12 tcpbench statistics --- 1300404288 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1725.803/1736.542/1743.654/6.112 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 205580088 1642.998 100.00% Conn: 1 Mbps: 1642.998 Peak Mbps: 1642.998 Avg Mbps: 1642.998 2001 205359048 1642.872 100.00% Conn: 1 Mbps: 1642.872 Peak Mbps: 1642.998 Avg Mbps: 1642.872 3001 203891968 1631.136 100.00% Conn: 1 Mbps: 1631.136 Peak Mbps: 1642.998 Avg Mbps: 1631.136 4001 203522752 1628.182 100.00% Conn: 1 Mbps: 1628.182 Peak Mbps: 1642.998 Avg Mbps: 1628.182 5002 203599652 1628.797 100.00% Conn: 1 Mbps: 1628.797 Peak Mbps: 1642.998 Avg Mbps: 1628.797 --- fc00:0:0:1::12 tcpbench statistics --- 1226626832 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1628.182/1634.797/1642.998/6.717 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.061 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.061/0.061/0.061/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.090 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.090/0.090/0.090/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 306013756 2448.110 100.00% Conn: 1 Mbps: 2448.110 Peak Mbps: 2448.110 Avg Mbps: 2448.110 2000 305393672 2443.149 100.00% Conn: 1 Mbps: 2443.149 Peak Mbps: 2448.110 Avg Mbps: 2443.149 3000 305369968 2442.960 100.00% Conn: 1 Mbps: 2442.960 Peak Mbps: 2448.110 Avg Mbps: 2442.960 4000 303438464 2427.508 100.00% Conn: 1 Mbps: 2427.508 Peak Mbps: 2448.110 Avg Mbps: 2427.508 5000 304304936 2436.876 100.00% Conn: 1 Mbps: 2436.876 Peak Mbps: 2448.110 Avg Mbps: 2436.876 --- 169.254.0.13 tcpbench statistics --- 1831035276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2427.508/2439.721/2448.110/7.069 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 294382496 2355.060 100.00% Conn: 1 Mbps: 2355.060 Peak Mbps: 2355.060 Avg Mbps: 2355.060 2000 292368784 2341.292 100.00% Conn: 1 Mbps: 2341.292 Peak Mbps: 2355.060 Avg Mbps: 2341.292 3000 293542128 2350.688 100.00% Conn: 1 Mbps: 2350.688 Peak Mbps: 2355.060 Avg Mbps: 2350.688 4000 291488776 2331.910 100.00% Conn: 1 Mbps: 2331.910 Peak Mbps: 2355.060 Avg Mbps: 2331.910 5000 289213440 2313.708 100.00% Conn: 1 Mbps: 2313.708 Peak Mbps: 2355.060 Avg Mbps: 2313.708 --- fc00::13 tcpbench statistics --- 1753039360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2313.708/2338.531/2355.060/14.756 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.052 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.052/0.052/0.052/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.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-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 217966320 1743.731 100.00% Conn: 1 Mbps: 1743.731 Peak Mbps: 1743.731 Avg Mbps: 1743.731 2000 217450608 1739.605 100.00% Conn: 1 Mbps: 1739.605 Peak Mbps: 1743.731 Avg Mbps: 1739.605 3000 218940432 1751.523 100.00% Conn: 1 Mbps: 1751.523 Peak Mbps: 1751.523 Avg Mbps: 1751.523 4001 218398544 1747.188 100.00% Conn: 1 Mbps: 1747.188 Peak Mbps: 1751.523 Avg Mbps: 1747.188 5001 218913440 1751.308 100.00% Conn: 1 Mbps: 1751.308 Peak Mbps: 1751.523 Avg Mbps: 1751.308 --- 169.254.1.11 tcpbench statistics --- 1308015272 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1739.605/1746.671/1751.523/4.558 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 209877352 1679.019 100.00% Conn: 1 Mbps: 1679.019 Peak Mbps: 1679.019 Avg Mbps: 1679.019 2000 208645016 1669.160 100.00% Conn: 1 Mbps: 1669.160 Peak Mbps: 1679.019 Avg Mbps: 1669.160 3001 208099336 1664.795 100.00% Conn: 1 Mbps: 1664.795 Peak Mbps: 1679.019 Avg Mbps: 1664.795 4001 208898792 1671.190 100.00% Conn: 1 Mbps: 1671.190 Peak Mbps: 1679.019 Avg Mbps: 1671.190 5002 207059232 1656.474 100.00% Conn: 1 Mbps: 1656.474 Peak Mbps: 1679.019 Avg Mbps: 1656.474 --- fc00:0:0:1::11 tcpbench statistics --- 1250882068 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1656.474/1668.128/1679.019/7.429 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.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-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.046 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.046/0.046/0.046/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 558761480 4470.092 100.00% Conn: 1 Mbps: 4470.092 Peak Mbps: 4470.092 Avg Mbps: 4470.092 2000 556632920 4457.521 100.00% Conn: 1 Mbps: 4457.521 Peak Mbps: 4470.092 Avg Mbps: 4457.521 3000 554844640 4438.757 100.00% Conn: 1 Mbps: 4438.757 Peak Mbps: 4470.092 Avg Mbps: 4438.757 4000 555400672 4443.205 100.00% Conn: 1 Mbps: 4443.205 Peak Mbps: 4470.092 Avg Mbps: 4443.205 5000 555565744 4444.526 100.00% Conn: 1 Mbps: 4444.526 Peak Mbps: 4470.092 Avg Mbps: 4444.526 --- 169.254.1.12 tcpbench statistics --- 3335541848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4438.757/4450.820/4470.092/11.484 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 554490972 4435.928 100.00% Conn: 1 Mbps: 4435.928 Peak Mbps: 4435.928 Avg Mbps: 4435.928 2000 552451788 4424.038 100.00% Conn: 1 Mbps: 4424.038 Peak Mbps: 4435.928 Avg Mbps: 4424.038 3000 554318184 4434.545 100.00% Conn: 1 Mbps: 4434.545 Peak Mbps: 4435.928 Avg Mbps: 4434.545 4000 553418544 4427.348 100.00% Conn: 1 Mbps: 4427.348 Peak Mbps: 4435.928 Avg Mbps: 4427.348 5000 554649480 4437.196 100.00% Conn: 1 Mbps: 4437.196 Peak Mbps: 4437.196 Avg Mbps: 4437.196 --- fc00:0:0:1::12 tcpbench statistics --- 3323360124 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4424.038/4431.811/4437.196/5.172 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.047 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.047/0.047/0.047/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.051 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/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 1046721124 8373.769 100.00% Conn: 1 Mbps: 8373.769 Peak Mbps: 8373.769 Avg Mbps: 8373.769 2000 1057250256 8466.469 100.00% Conn: 1 Mbps: 8466.469 Peak Mbps: 8466.469 Avg Mbps: 8466.469 3000 1058689760 8469.518 100.00% Conn: 1 Mbps: 8469.518 Peak Mbps: 8469.518 Avg Mbps: 8469.518 4000 1061961360 8495.691 100.00% Conn: 1 Mbps: 8495.691 Peak Mbps: 8495.691 Avg Mbps: 8495.691 5000 1055974332 8447.795 100.00% Conn: 1 Mbps: 8447.795 Peak Mbps: 8495.691 Avg Mbps: 8447.795 --- 169.254.0.13 tcpbench statistics --- 6334575488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8373.769/8450.648/8495.691/41.361 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 1036947300 8295.578 100.00% Conn: 1 Mbps: 8295.578 Peak Mbps: 8295.578 Avg Mbps: 8295.578 2000 1032245416 8266.230 100.00% Conn: 1 Mbps: 8266.230 Peak Mbps: 8295.578 Avg Mbps: 8266.230 3000 1034632224 8277.058 100.00% Conn: 1 Mbps: 8277.058 Peak Mbps: 8295.578 Avg Mbps: 8277.058 4000 1037607560 8300.860 100.00% Conn: 1 Mbps: 8300.860 Peak Mbps: 8300.860 Avg Mbps: 8300.860 5000 1031918456 8255.348 100.00% Conn: 1 Mbps: 8255.348 Peak Mbps: 8300.860 Avg Mbps: 8255.348 --- fc00::13 tcpbench statistics --- 6207492740 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8255.348/8279.015/8300.860/17.199 Mbps ==== run-ping-3-1 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.063 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.063/0.063/0.063/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.060 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.060/0.060/0.060/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 215256792 1722.054 100.00% Conn: 1 Mbps: 1722.054 Peak Mbps: 1722.054 Avg Mbps: 1722.054 2000 213445232 1707.562 100.00% Conn: 1 Mbps: 1707.562 Peak Mbps: 1722.054 Avg Mbps: 1707.562 3000 213797040 1710.376 100.00% Conn: 1 Mbps: 1710.376 Peak Mbps: 1722.054 Avg Mbps: 1710.376 4000 214507240 1717.776 100.00% Conn: 1 Mbps: 1717.776 Peak Mbps: 1722.054 Avg Mbps: 1717.776 5000 214591072 1716.729 100.00% Conn: 1 Mbps: 1716.729 Peak Mbps: 1722.054 Avg Mbps: 1716.729 --- 169.254.1.11 tcpbench statistics --- 1287221432 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1707.562/1714.899/1722.054/5.237 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 304036424 2432.291 100.00% Conn: 1 Mbps: 2432.291 Peak Mbps: 2432.291 Avg Mbps: 2432.291 2001 306867328 2454.939 100.00% Conn: 1 Mbps: 2454.939 Peak Mbps: 2454.939 Avg Mbps: 2454.939 3002 302959960 2423.680 100.00% Conn: 1 Mbps: 2423.680 Peak Mbps: 2454.939 Avg Mbps: 2423.680 4002 304040768 2434.761 100.00% Conn: 1 Mbps: 2434.761 Peak Mbps: 2454.939 Avg Mbps: 2434.761 5003 303336680 2426.693 100.00% Conn: 1 Mbps: 2426.693 Peak Mbps: 2454.939 Avg Mbps: 2426.693 --- fc00:0:0:1::11 tcpbench statistics --- 1828222728 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2423.680/2434.473/2454.939/10.961 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.048 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.048/0.048/0.048/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.051 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.051/0.051/0.051/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 1058380586 8467.045 100.00% Conn: 1 Mbps: 8467.045 Peak Mbps: 8467.045 Avg Mbps: 8467.045 2000 1060521856 8492.668 100.00% Conn: 1 Mbps: 8492.668 Peak Mbps: 8492.668 Avg Mbps: 8492.668 3000 1058362600 8466.901 100.00% Conn: 1 Mbps: 8466.901 Peak Mbps: 8492.668 Avg Mbps: 8466.901 4000 1059376796 8475.014 100.00% Conn: 1 Mbps: 8475.014 Peak Mbps: 8492.668 Avg Mbps: 8475.014 5000 1058166304 8465.330 100.00% Conn: 1 Mbps: 8465.330 Peak Mbps: 8492.668 Avg Mbps: 8465.330 --- 169.254.1.12 tcpbench statistics --- 6352189262 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8465.330/8473.392/8492.668/10.214 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 1022733364 8181.867 100.00% Conn: 1 Mbps: 8181.867 Peak Mbps: 8181.867 Avg Mbps: 8181.867 2000 1021096080 8176.946 100.00% Conn: 1 Mbps: 8176.946 Peak Mbps: 8181.867 Avg Mbps: 8176.946 3000 1012431640 8099.453 100.00% Conn: 1 Mbps: 8099.453 Peak Mbps: 8181.867 Avg Mbps: 8099.453 4000 1021161472 8169.292 100.00% Conn: 1 Mbps: 8169.292 Peak Mbps: 8181.867 Avg Mbps: 8169.292 5000 1021553824 8172.431 100.00% Conn: 1 Mbps: 8172.431 Peak Mbps: 8181.867 Avg Mbps: 8172.431 --- fc00:0:0:1::12 tcpbench statistics --- 6120889860 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8099.453/8159.998/8181.867/30.568 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.051 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.051/0.051/0.051/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.048 ms --- fc00::13 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-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 1129751688 9038.014 100.00% Conn: 1 Mbps: 9038.014 Peak Mbps: 9038.014 Avg Mbps: 9038.014 2000 1127229780 9026.865 100.00% Conn: 1 Mbps: 9026.865 Peak Mbps: 9038.014 Avg Mbps: 9026.865 3000 1131450144 9051.601 100.00% Conn: 1 Mbps: 9051.601 Peak Mbps: 9051.601 Avg Mbps: 9051.601 4000 1129748912 9037.991 100.00% Conn: 1 Mbps: 9037.991 Peak Mbps: 9051.601 Avg Mbps: 9037.991 5000 1136357544 9090.860 100.00% Conn: 1 Mbps: 9090.860 Peak Mbps: 9090.860 Avg Mbps: 9090.860 --- 169.254.0.13 tcpbench statistics --- 6793840052 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9026.865/9049.066/9090.860/22.320 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 1080751228 8646.010 100.00% Conn: 1 Mbps: 8646.010 Peak Mbps: 8646.010 Avg Mbps: 8646.010 2000 1078412168 8635.933 100.00% Conn: 1 Mbps: 8635.933 Peak Mbps: 8646.010 Avg Mbps: 8635.933 3000 1075992664 8607.941 100.00% Conn: 1 Mbps: 8607.941 Peak Mbps: 8646.010 Avg Mbps: 8607.941 4000 1076875456 8615.004 100.00% Conn: 1 Mbps: 8615.004 Peak Mbps: 8646.010 Avg Mbps: 8615.004 5000 1077300504 8618.404 100.00% Conn: 1 Mbps: 8618.404 Peak Mbps: 8646.010 Avg Mbps: 8618.404 --- fc00::13 tcpbench statistics --- 6469052028 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8607.941/8624.658/8646.010/14.105 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.84s