START sys/net/pair 2024-07-15T04:09:05Z ==== 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.060 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.060/0.060/0.060/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.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-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 583542160 4668.337 100.00% Conn: 1 Mbps: 4668.337 Peak Mbps: 4668.337 Avg Mbps: 4668.337 2000 581022644 4652.834 100.00% Conn: 1 Mbps: 4652.834 Peak Mbps: 4668.337 Avg Mbps: 4652.834 3000 582318168 4658.545 100.00% Conn: 1 Mbps: 4658.545 Peak Mbps: 4668.337 Avg Mbps: 4658.545 4000 583041436 4664.331 100.00% Conn: 1 Mbps: 4664.331 Peak Mbps: 4668.337 Avg Mbps: 4664.331 5000 582548660 4665.054 100.00% Conn: 1 Mbps: 4665.054 Peak Mbps: 4668.337 Avg Mbps: 4665.054 --- 169.254.1.11 tcpbench statistics --- 3494123604 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4652.834/4661.820/4668.337/5.490 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 570919064 4567.353 100.00% Conn: 1 Mbps: 4567.353 Peak Mbps: 4567.353 Avg Mbps: 4567.353 2000 569476168 4560.370 100.00% Conn: 1 Mbps: 4560.370 Peak Mbps: 4567.353 Avg Mbps: 4560.370 3000 569706080 4557.649 100.00% Conn: 1 Mbps: 4557.649 Peak Mbps: 4567.353 Avg Mbps: 4557.649 4000 568865712 4550.926 100.00% Conn: 1 Mbps: 4550.926 Peak Mbps: 4567.353 Avg Mbps: 4550.926 5000 568493096 4547.945 100.00% Conn: 1 Mbps: 4547.945 Peak Mbps: 4567.353 Avg Mbps: 4547.945 --- fc00:0:0:1::11 tcpbench statistics --- 3416032496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4547.945/4556.848/4567.353/6.895 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.065 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.065/0.065/0.065/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.126 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.126/0.126/0.126/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 219056744 1752.454 100.00% Conn: 1 Mbps: 1752.454 Peak Mbps: 1752.454 Avg Mbps: 1752.454 2000 221118328 1768.947 100.00% Conn: 1 Mbps: 1768.947 Peak Mbps: 1768.947 Avg Mbps: 1768.947 3000 220014808 1760.118 100.00% Conn: 1 Mbps: 1760.118 Peak Mbps: 1768.947 Avg Mbps: 1760.118 4000 219995816 1759.967 100.00% Conn: 1 Mbps: 1759.967 Peak Mbps: 1768.947 Avg Mbps: 1759.967 5000 218995168 1753.715 100.00% Conn: 1 Mbps: 1753.715 Peak Mbps: 1768.947 Avg Mbps: 1753.715 --- 169.254.1.12 tcpbench statistics --- 1315803760 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1752.454/1759.040/1768.947/5.863 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 211013900 1688.111 100.00% Conn: 1 Mbps: 1688.111 Peak Mbps: 1688.111 Avg Mbps: 1688.111 2000 210944524 1687.556 100.00% Conn: 1 Mbps: 1687.556 Peak Mbps: 1688.111 Avg Mbps: 1687.556 3001 209522756 1676.182 100.00% Conn: 1 Mbps: 1676.182 Peak Mbps: 1688.111 Avg Mbps: 1676.182 4001 207036256 1657.948 100.00% Conn: 1 Mbps: 1657.948 Peak Mbps: 1688.111 Avg Mbps: 1657.948 5002 208767416 1670.139 100.00% Conn: 1 Mbps: 1670.139 Peak Mbps: 1688.111 Avg Mbps: 1670.139 --- fc00:0:0:1::12 tcpbench statistics --- 1256139292 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1657.948/1675.987/1688.111/11.318 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.067 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.067/0.067/0.067/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.073 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.073/0.073/0.073/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 311768248 2494.146 100.00% Conn: 1 Mbps: 2494.146 Peak Mbps: 2494.146 Avg Mbps: 2494.146 2000 309296420 2476.848 100.00% Conn: 1 Mbps: 2476.848 Peak Mbps: 2494.146 Avg Mbps: 2476.848 3000 309144708 2473.158 100.00% Conn: 1 Mbps: 2473.158 Peak Mbps: 2494.146 Avg Mbps: 2473.158 4000 309121424 2472.971 100.00% Conn: 1 Mbps: 2472.971 Peak Mbps: 2494.146 Avg Mbps: 2472.971 5000 305982104 2447.857 100.00% Conn: 1 Mbps: 2447.857 Peak Mbps: 2494.146 Avg Mbps: 2447.857 --- 169.254.0.13 tcpbench statistics --- 1852733316 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2447.857/2472.996/2494.146/14.793 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 294247720 2353.982 100.00% Conn: 1 Mbps: 2353.982 Peak Mbps: 2353.982 Avg Mbps: 2353.982 2000 294255648 2356.402 100.00% Conn: 1 Mbps: 2356.402 Peak Mbps: 2356.402 Avg Mbps: 2356.402 3000 292963384 2343.707 100.00% Conn: 1 Mbps: 2343.707 Peak Mbps: 2356.402 Avg Mbps: 2343.707 4000 293732400 2352.211 100.00% Conn: 1 Mbps: 2352.211 Peak Mbps: 2356.402 Avg Mbps: 2352.211 5000 294366640 2354.933 100.00% Conn: 1 Mbps: 2354.933 Peak Mbps: 2356.402 Avg Mbps: 2354.933 --- fc00::13 tcpbench statistics --- 1761712592 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2343.707/2352.247/2356.402/4.481 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.058 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.058/0.058/0.058/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.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-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 222640432 1781.123 100.00% Conn: 1 Mbps: 1781.123 Peak Mbps: 1781.123 Avg Mbps: 1781.123 2001 221506976 1772.056 100.00% Conn: 1 Mbps: 1772.056 Peak Mbps: 1781.123 Avg Mbps: 1772.056 3001 220415984 1763.328 100.00% Conn: 1 Mbps: 1763.328 Peak Mbps: 1781.123 Avg Mbps: 1763.328 4001 220746192 1767.737 100.00% Conn: 1 Mbps: 1767.737 Peak Mbps: 1781.123 Avg Mbps: 1767.737 5001 219663192 1757.306 100.00% Conn: 1 Mbps: 1757.306 Peak Mbps: 1781.123 Avg Mbps: 1757.306 --- 169.254.1.11 tcpbench statistics --- 1324952240 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1757.306/1768.310/1781.123/8.056 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 209824388 1678.595 100.00% Conn: 1 Mbps: 1678.595 Peak Mbps: 1678.595 Avg Mbps: 1678.595 2000 209159168 1673.273 100.00% Conn: 1 Mbps: 1673.273 Peak Mbps: 1678.595 Avg Mbps: 1673.273 3000 209258748 1674.070 100.00% Conn: 1 Mbps: 1674.070 Peak Mbps: 1678.595 Avg Mbps: 1674.070 4001 209138824 1673.111 100.00% Conn: 1 Mbps: 1673.111 Peak Mbps: 1678.595 Avg Mbps: 1673.111 5002 210163844 1681.311 100.00% Conn: 1 Mbps: 1681.311 Peak Mbps: 1681.311 Avg Mbps: 1681.311 --- fc00:0:0:1::11 tcpbench statistics --- 1256287292 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1673.111/1676.072/1681.311/3.299 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.044 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.044/0.044/0.044/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.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-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 590481368 4723.851 100.00% Conn: 1 Mbps: 4723.851 Peak Mbps: 4723.851 Avg Mbps: 4723.851 2000 586794760 4699.057 100.00% Conn: 1 Mbps: 4699.057 Peak Mbps: 4723.851 Avg Mbps: 4699.057 3000 586251760 4690.014 100.00% Conn: 1 Mbps: 4690.014 Peak Mbps: 4723.851 Avg Mbps: 4690.014 4000 587579576 4700.637 100.00% Conn: 1 Mbps: 4700.637 Peak Mbps: 4723.851 Avg Mbps: 4700.637 5000 585320696 4687.253 100.00% Conn: 1 Mbps: 4687.253 Peak Mbps: 4723.851 Avg Mbps: 4687.253 --- 169.254.1.12 tcpbench statistics --- 3521515728 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4687.253/4700.162/4723.851/12.901 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 575172696 4601.382 100.00% Conn: 1 Mbps: 4601.382 Peak Mbps: 4601.382 Avg Mbps: 4601.382 2000 574470120 4600.361 100.00% Conn: 1 Mbps: 4600.361 Peak Mbps: 4601.382 Avg Mbps: 4600.361 3000 576015216 4608.122 100.00% Conn: 1 Mbps: 4608.122 Peak Mbps: 4608.122 Avg Mbps: 4608.122 4000 573600468 4588.804 100.00% Conn: 1 Mbps: 4588.804 Peak Mbps: 4608.122 Avg Mbps: 4588.804 5000 573410544 4587.284 100.00% Conn: 1 Mbps: 4587.284 Peak Mbps: 4608.122 Avg Mbps: 4587.284 --- fc00:0:0:1::12 tcpbench statistics --- 3446680776 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4587.284/4597.191/4608.122/7.945 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.060 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.060/0.060/0.060/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.055 ms --- fc00::13 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-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 1061590548 8492.724 100.00% Conn: 1 Mbps: 8492.724 Peak Mbps: 8492.724 Avg Mbps: 8492.724 2000 1063858888 8519.390 100.00% Conn: 1 Mbps: 8519.390 Peak Mbps: 8519.390 Avg Mbps: 8519.390 3000 1064676788 8517.414 100.00% Conn: 1 Mbps: 8517.414 Peak Mbps: 8519.390 Avg Mbps: 8517.414 4000 1066737896 8533.903 100.00% Conn: 1 Mbps: 8533.903 Peak Mbps: 8533.903 Avg Mbps: 8533.903 5000 1064578640 8516.629 100.00% Conn: 1 Mbps: 8516.629 Peak Mbps: 8533.903 Avg Mbps: 8516.629 --- 169.254.0.13 tcpbench statistics --- 6386548172 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8492.724/8516.012/8533.903/13.238 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 1032827784 8262.622 100.00% Conn: 1 Mbps: 8262.622 Peak Mbps: 8262.622 Avg Mbps: 8262.622 2000 1038555744 8316.763 100.00% Conn: 1 Mbps: 8316.763 Peak Mbps: 8316.763 Avg Mbps: 8316.763 3000 1038621136 8308.969 100.00% Conn: 1 Mbps: 8308.969 Peak Mbps: 8316.763 Avg Mbps: 8308.969 4000 1036855552 8294.844 100.00% Conn: 1 Mbps: 8294.844 Peak Mbps: 8316.763 Avg Mbps: 8294.844 5000 1037999912 8303.999 100.00% Conn: 1 Mbps: 8303.999 Peak Mbps: 8316.763 Avg Mbps: 8303.999 --- fc00::13 tcpbench statistics --- 6222892736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8262.622/8297.440/8316.763/18.806 Mbps ==== run-ping-3-1 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.11 PING 169.254.1.11 (169.254.1.11): 56 data bytes 64 bytes from 169.254.1.11: icmp_seq=0 ttl=255 time=0.063 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.063/0.063/0.063/0.000 ms ==== run-ping6-3-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.072 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.072/0.072/0.072/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 219220360 1753.763 100.00% Conn: 1 Mbps: 1753.763 Peak Mbps: 1753.763 Avg Mbps: 1753.763 2000 217892336 1744.884 100.00% Conn: 1 Mbps: 1744.884 Peak Mbps: 1753.763 Avg Mbps: 1744.884 3000 218352960 1746.824 100.00% Conn: 1 Mbps: 1746.824 Peak Mbps: 1753.763 Avg Mbps: 1746.824 4001 218608024 1748.864 100.00% Conn: 1 Mbps: 1748.864 Peak Mbps: 1753.763 Avg Mbps: 1748.864 5001 217599384 1740.795 100.00% Conn: 1 Mbps: 1740.795 Peak Mbps: 1753.763 Avg Mbps: 1740.795 --- 169.254.1.11 tcpbench statistics --- 1308934560 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1740.795/1747.026/1753.763/4.295 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 307901456 2463.212 100.00% Conn: 1 Mbps: 2463.212 Peak Mbps: 2463.212 Avg Mbps: 2463.212 2001 308512000 2468.096 100.00% Conn: 1 Mbps: 2468.096 Peak Mbps: 2468.096 Avg Mbps: 2468.096 3001 307780136 2462.241 100.00% Conn: 1 Mbps: 2462.241 Peak Mbps: 2468.096 Avg Mbps: 2462.241 4002 306039248 2448.314 100.00% Conn: 1 Mbps: 2448.314 Peak Mbps: 2468.096 Avg Mbps: 2448.314 5003 306685704 2453.486 100.00% Conn: 1 Mbps: 2453.486 Peak Mbps: 2468.096 Avg Mbps: 2453.486 --- fc00:0:0:1::11 tcpbench statistics --- 1845001032 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2448.314/2459.070/2468.096/7.149 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.050 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.050/0.050/0.050/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.069 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.069/0.069/0.069/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 1058108386 8464.867 100.00% Conn: 1 Mbps: 8464.867 Peak Mbps: 8464.867 Avg Mbps: 8464.867 2000 1068340980 8555.283 100.00% Conn: 1 Mbps: 8555.283 Peak Mbps: 8555.283 Avg Mbps: 8555.283 3000 1066018144 8528.145 100.00% Conn: 1 Mbps: 8528.145 Peak Mbps: 8555.283 Avg Mbps: 8528.145 4000 1069616904 8556.935 100.00% Conn: 1 Mbps: 8556.935 Peak Mbps: 8556.935 Avg Mbps: 8556.935 5000 1065350794 8522.806 100.00% Conn: 1 Mbps: 8522.806 Peak Mbps: 8556.935 Avg Mbps: 8522.806 --- 169.254.1.12 tcpbench statistics --- 6396283702 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8464.867/8525.607/8556.935/33.364 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 1056685748 8453.486 100.00% Conn: 1 Mbps: 8453.486 Peak Mbps: 8453.486 Avg Mbps: 8453.486 2000 1053040072 8432.753 100.00% Conn: 1 Mbps: 8432.753 Peak Mbps: 8453.486 Avg Mbps: 8432.753 3000 1052255368 8418.043 100.00% Conn: 1 Mbps: 8418.043 Peak Mbps: 8453.486 Avg Mbps: 8418.043 4000 1050260912 8402.087 100.00% Conn: 1 Mbps: 8402.087 Peak Mbps: 8453.486 Avg Mbps: 8402.087 5000 1052778504 8422.228 100.00% Conn: 1 Mbps: 8422.228 Peak Mbps: 8453.486 Avg Mbps: 8422.228 --- fc00:0:0:1::12 tcpbench statistics --- 6315085340 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8402.087/8425.720/8453.486/17.030 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.046 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.046/0.046/0.046/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.049 ms --- fc00::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-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 1161344256 9290.754 100.00% Conn: 1 Mbps: 9290.754 Peak Mbps: 9290.754 Avg Mbps: 9290.754 2000 1167797620 9351.733 100.00% Conn: 1 Mbps: 9351.733 Peak Mbps: 9351.733 Avg Mbps: 9351.733 3000 1167895768 9343.166 100.00% Conn: 1 Mbps: 9343.166 Peak Mbps: 9351.733 Avg Mbps: 9343.166 4000 1167405028 9339.240 100.00% Conn: 1 Mbps: 9339.240 Peak Mbps: 9351.733 Avg Mbps: 9339.240 5000 1167732188 9341.858 100.00% Conn: 1 Mbps: 9341.858 Peak Mbps: 9351.733 Avg Mbps: 9341.858 --- 169.254.0.13 tcpbench statistics --- 6999256888 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9290.754/9333.350/9351.733/21.706 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 1107495476 8859.964 100.00% Conn: 1 Mbps: 8859.964 Peak Mbps: 8859.964 Avg Mbps: 8859.964 2000 1094792864 8767.110 100.00% Conn: 1 Mbps: 8767.110 Peak Mbps: 8859.964 Avg Mbps: 8767.110 3000 1094890952 8759.128 100.00% Conn: 1 Mbps: 8759.128 Peak Mbps: 8859.964 Avg Mbps: 8759.128 4000 1096721928 8773.775 100.00% Conn: 1 Mbps: 8773.775 Peak Mbps: 8859.964 Avg Mbps: 8773.775 5000 1094956344 8759.651 100.00% Conn: 1 Mbps: 8759.651 Peak Mbps: 8859.964 Avg Mbps: 8759.651 --- fc00::13 tcpbench statistics --- 6580446220 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8759.128/8783.926/8859.964/38.397 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