START sys/net/pair 2025-01-10T05:02:04Z ==== 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.059 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.059/0.059/0.059/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.045 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.045/0.045/0.045/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 522366404 4178.931 100.00% Conn: 1 Mbps: 4178.931 Peak Mbps: 4178.931 Avg Mbps: 4178.931 2000 521786200 4178.468 100.00% Conn: 1 Mbps: 4178.468 Peak Mbps: 4178.931 Avg Mbps: 4178.468 3000 521825940 4174.608 100.00% Conn: 1 Mbps: 4174.608 Peak Mbps: 4178.931 Avg Mbps: 4174.608 4000 521770304 4174.162 100.00% Conn: 1 Mbps: 4174.162 Peak Mbps: 4178.931 Avg Mbps: 4174.162 5000 521992848 4175.943 100.00% Conn: 1 Mbps: 4175.943 Peak Mbps: 4178.931 Avg Mbps: 4175.943 --- 169.254.1.11 tcpbench statistics --- 3131058964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4174.162/4176.422/4178.931/1.955 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 511134016 4089.072 100.00% Conn: 1 Mbps: 4089.072 Peak Mbps: 4089.072 Avg Mbps: 4089.072 2000 509477064 4079.896 100.00% Conn: 1 Mbps: 4079.896 Peak Mbps: 4089.072 Avg Mbps: 4079.896 3000 509144088 4073.153 100.00% Conn: 1 Mbps: 4073.153 Peak Mbps: 4089.072 Avg Mbps: 4073.153 4000 509231296 4073.850 100.00% Conn: 1 Mbps: 4073.850 Peak Mbps: 4089.072 Avg Mbps: 4073.850 5000 509413640 4075.309 100.00% Conn: 1 Mbps: 4075.309 Peak Mbps: 4089.072 Avg Mbps: 4075.309 --- fc00:0:0:1::11 tcpbench statistics --- 3057433200 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4073.153/4078.256/4089.072/5.896 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.073 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.073/0.073/0.073/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.140 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.140/0.140/0.140/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 272626704 2181.014 100.00% Conn: 1 Mbps: 2181.014 Peak Mbps: 2181.014 Avg Mbps: 2181.014 2001 287228392 2297.827 100.00% Conn: 1 Mbps: 2297.827 Peak Mbps: 2297.827 Avg Mbps: 2297.827 3002 283498456 2267.988 100.00% Conn: 1 Mbps: 2267.988 Peak Mbps: 2297.827 Avg Mbps: 2267.988 4002 284291736 2274.334 100.00% Conn: 1 Mbps: 2274.334 Peak Mbps: 2297.827 Avg Mbps: 2274.334 5002 284825832 2280.888 100.00% Conn: 1 Mbps: 2280.888 Peak Mbps: 2297.827 Avg Mbps: 2280.888 --- 169.254.1.12 tcpbench statistics --- 1701252000 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2181.014/2260.410/2297.827/40.925 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 256809448 2054.476 100.00% Conn: 1 Mbps: 2054.476 Peak Mbps: 2054.476 Avg Mbps: 2054.476 2001 272496920 2179.975 100.00% Conn: 1 Mbps: 2179.975 Peak Mbps: 2179.975 Avg Mbps: 2179.975 3001 274507020 2196.056 100.00% Conn: 1 Mbps: 2196.056 Peak Mbps: 2196.056 Avg Mbps: 2196.056 4002 276966192 2213.516 100.00% Conn: 1 Mbps: 2213.516 Peak Mbps: 2213.516 Avg Mbps: 2213.516 5002 278648844 2231.422 100.00% Conn: 1 Mbps: 2231.422 Peak Mbps: 2231.422 Avg Mbps: 2231.422 --- fc00:0:0:1::12 tcpbench statistics --- 1636368160 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2054.476/2175.089/2231.422/62.708 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.071 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.071/0.071/0.071/0.000 ms ==== run-ping6-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.070 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.070/0.070/0.070/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 613164604 4905.317 100.00% Conn: 1 Mbps: 4905.317 Peak Mbps: 4905.317 Avg Mbps: 4905.317 2000 635194080 5081.553 100.00% Conn: 1 Mbps: 5081.553 Peak Mbps: 5081.553 Avg Mbps: 5081.553 3000 638684932 5109.479 100.00% Conn: 1 Mbps: 5109.479 Peak Mbps: 5109.479 Avg Mbps: 5109.479 4000 639571888 5116.575 100.00% Conn: 1 Mbps: 5116.575 Peak Mbps: 5116.575 Avg Mbps: 5116.575 5001 617296584 4938.373 100.00% Conn: 1 Mbps: 4938.373 Peak Mbps: 5116.575 Avg Mbps: 4938.373 --- 169.254.0.13 tcpbench statistics --- 3725358184 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4905.317/5030.259/5116.575/89.901 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 550961568 4407.693 100.00% Conn: 1 Mbps: 4407.693 Peak Mbps: 4407.693 Avg Mbps: 4407.693 2000 580609304 4649.524 100.00% Conn: 1 Mbps: 4649.524 Peak Mbps: 4649.524 Avg Mbps: 4649.524 3000 580957616 4647.661 100.00% Conn: 1 Mbps: 4647.661 Peak Mbps: 4649.524 Avg Mbps: 4647.661 4000 581906376 4655.251 100.00% Conn: 1 Mbps: 4655.251 Peak Mbps: 4655.251 Avg Mbps: 4655.251 5001 583308592 4666.469 100.00% Conn: 1 Mbps: 4666.469 Peak Mbps: 4666.469 Avg Mbps: 4666.469 --- fc00::13 tcpbench statistics --- 3462308440 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4407.693/4605.319/4666.469/99.031 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.047 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.047/0.047/0.047/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.062 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.062/0.062/0.062/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 271548672 2172.389 100.00% Conn: 1 Mbps: 2172.389 Peak Mbps: 2172.389 Avg Mbps: 2172.389 2001 282267496 2258.140 100.00% Conn: 1 Mbps: 2258.140 Peak Mbps: 2258.140 Avg Mbps: 2258.140 3001 280388032 2243.104 100.00% Conn: 1 Mbps: 2243.104 Peak Mbps: 2258.140 Avg Mbps: 2243.104 4001 282323232 2260.847 100.00% Conn: 1 Mbps: 2260.847 Peak Mbps: 2260.847 Avg Mbps: 2260.847 5002 282144296 2257.154 100.00% Conn: 1 Mbps: 2257.154 Peak Mbps: 2260.847 Avg Mbps: 2257.154 --- 169.254.1.11 tcpbench statistics --- 1683639416 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2172.389/2238.327/2260.847/33.540 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 255691140 2045.529 100.00% Conn: 1 Mbps: 2045.529 Peak Mbps: 2045.529 Avg Mbps: 2045.529 2000 268492268 2150.088 100.00% Conn: 1 Mbps: 2150.088 Peak Mbps: 2150.088 Avg Mbps: 2150.088 3001 269411760 2153.141 100.00% Conn: 1 Mbps: 2153.141 Peak Mbps: 2153.141 Avg Mbps: 2153.141 4002 274887080 2199.097 100.00% Conn: 1 Mbps: 2199.097 Peak Mbps: 2199.097 Avg Mbps: 2199.097 5001 274835064 2200.881 100.00% Conn: 1 Mbps: 2200.881 Peak Mbps: 2200.881 Avg Mbps: 2200.881 --- fc00:0:0:1::11 tcpbench statistics --- 1615755684 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2045.529/2149.747/2200.881/56.432 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.051 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.051/0.051/0.051/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.052 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.052/0.052/0.052/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 528344792 4226.758 100.00% Conn: 1 Mbps: 4226.758 Peak Mbps: 4226.758 Avg Mbps: 4226.758 2000 528895032 4235.396 100.00% Conn: 1 Mbps: 4235.396 Peak Mbps: 4235.396 Avg Mbps: 4235.396 3000 528942816 4231.543 100.00% Conn: 1 Mbps: 4231.543 Peak Mbps: 4235.396 Avg Mbps: 4231.543 4000 529381560 4235.052 100.00% Conn: 1 Mbps: 4235.052 Peak Mbps: 4235.396 Avg Mbps: 4235.052 5000 529090512 4232.724 100.00% Conn: 1 Mbps: 4232.724 Peak Mbps: 4235.396 Avg Mbps: 4232.724 --- 169.254.1.12 tcpbench statistics --- 3173561328 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4226.758/4232.295/4235.396/3.118 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 524925660 4199.405 100.00% Conn: 1 Mbps: 4199.405 Peak Mbps: 4199.405 Avg Mbps: 4199.405 2000 524254500 4198.234 100.00% Conn: 1 Mbps: 4198.234 Peak Mbps: 4199.405 Avg Mbps: 4198.234 3000 525498288 4208.194 100.00% Conn: 1 Mbps: 4208.194 Peak Mbps: 4208.194 Avg Mbps: 4208.194 4000 524568660 4196.549 100.00% Conn: 1 Mbps: 4196.549 Peak Mbps: 4208.194 Avg Mbps: 4196.549 5000 524976460 4199.812 100.00% Conn: 1 Mbps: 4199.812 Peak Mbps: 4208.194 Avg Mbps: 4199.812 --- fc00:0:0:1::12 tcpbench statistics --- 3148806508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4196.549/4200.439/4208.194/4.040 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.070 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.070/0.070/0.070/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 795607846 6364.863 100.00% Conn: 1 Mbps: 6364.863 Peak Mbps: 6364.863 Avg Mbps: 6364.863 2000 796765464 6380.504 100.00% Conn: 1 Mbps: 6380.504 Peak Mbps: 6380.504 Avg Mbps: 6380.504 3000 796830896 6374.647 100.00% Conn: 1 Mbps: 6374.647 Peak Mbps: 6380.504 Avg Mbps: 6374.647 4000 797354352 6378.835 100.00% Conn: 1 Mbps: 6378.835 Peak Mbps: 6380.504 Avg Mbps: 6378.835 5000 797288920 6378.311 100.00% Conn: 1 Mbps: 6378.311 Peak Mbps: 6380.504 Avg Mbps: 6378.311 --- 169.254.0.13 tcpbench statistics --- 4780809238 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6364.863/6375.432/6380.504/5.620 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 780588444 6244.708 100.00% Conn: 1 Mbps: 6244.708 Peak Mbps: 6244.708 Avg Mbps: 6244.708 2000 780682392 6251.711 100.00% Conn: 1 Mbps: 6251.711 Peak Mbps: 6251.711 Avg Mbps: 6251.711 3000 779766904 6238.135 100.00% Conn: 1 Mbps: 6238.135 Peak Mbps: 6251.711 Avg Mbps: 6238.135 4000 780061168 6240.489 100.00% Conn: 1 Mbps: 6240.489 Peak Mbps: 6251.711 Avg Mbps: 6240.489 5000 779766904 6238.135 100.00% Conn: 1 Mbps: 6238.135 Peak Mbps: 6251.711 Avg Mbps: 6238.135 --- fc00::13 tcpbench statistics --- 4680174972 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6238.135/6242.636/6251.711/5.134 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.061 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.061/0.061/0.061/0.000 ms ==== run-ping6-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.059 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.059/0.059/0.059/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 1001 269321864 2152.422 100.00% Conn: 1 Mbps: 2152.422 Peak Mbps: 2152.422 Avg Mbps: 2152.422 2001 278596800 2231.005 100.00% Conn: 1 Mbps: 2231.005 Peak Mbps: 2231.005 Avg Mbps: 2231.005 3002 282242264 2255.682 100.00% Conn: 1 Mbps: 2255.682 Peak Mbps: 2255.682 Avg Mbps: 2255.682 4002 277923312 2223.386 100.00% Conn: 1 Mbps: 2223.386 Peak Mbps: 2255.682 Avg Mbps: 2223.386 5001 281668416 2255.603 100.00% Conn: 1 Mbps: 2255.603 Peak Mbps: 2255.682 Avg Mbps: 2255.603 --- 169.254.1.11 tcpbench statistics --- 1669663416 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2152.422/2223.620/2255.682/37.880 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 526833488 4214.668 100.00% Conn: 1 Mbps: 4214.668 Peak Mbps: 4214.668 Avg Mbps: 4214.668 2000 582793184 4662.345 100.00% Conn: 1 Mbps: 4662.345 Peak Mbps: 4662.345 Avg Mbps: 4662.345 3001 578945056 4631.560 100.00% Conn: 1 Mbps: 4631.560 Peak Mbps: 4662.345 Avg Mbps: 4631.560 4001 573762984 4594.699 100.00% Conn: 1 Mbps: 4594.699 Peak Mbps: 4662.345 Avg Mbps: 4594.699 5001 584218376 4673.747 100.00% Conn: 1 Mbps: 4673.747 Peak Mbps: 4673.747 Avg Mbps: 4673.747 --- fc00:0:0:1::11 tcpbench statistics --- 3418957936 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4214.668/4555.404/4673.747/172.561 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.049 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.049/0.049/0.049/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.048 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.048/0.048/0.048/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 793497778 6347.982 100.00% Conn: 1 Mbps: 6347.982 Peak Mbps: 6347.982 Avg Mbps: 6347.982 2000 794017320 6358.497 100.00% Conn: 1 Mbps: 6358.497 Peak Mbps: 6358.497 Avg Mbps: 6358.497 3000 794344480 6354.756 100.00% Conn: 1 Mbps: 6354.756 Peak Mbps: 6358.497 Avg Mbps: 6354.756 4000 794115468 6352.924 100.00% Conn: 1 Mbps: 6352.924 Peak Mbps: 6358.497 Avg Mbps: 6352.924 5000 793821024 6350.568 100.00% Conn: 1 Mbps: 6350.568 Peak Mbps: 6358.497 Avg Mbps: 6350.568 --- 169.254.1.12 tcpbench statistics --- 4763453514 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6347.982/6352.945/6358.497/3.588 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 780640548 6245.124 100.00% Conn: 1 Mbps: 6245.124 Peak Mbps: 6245.124 Avg Mbps: 6245.124 2000 781042048 6254.591 100.00% Conn: 1 Mbps: 6254.591 Peak Mbps: 6254.591 Avg Mbps: 6254.591 3000 780878568 6247.029 100.00% Conn: 1 Mbps: 6247.029 Peak Mbps: 6254.591 Avg Mbps: 6247.029 4000 781205528 6249.644 100.00% Conn: 1 Mbps: 6249.644 Peak Mbps: 6254.591 Avg Mbps: 6249.644 5000 781401704 6251.214 100.00% Conn: 1 Mbps: 6251.214 Peak Mbps: 6254.591 Avg Mbps: 6251.214 --- fc00:0:0:1::12 tcpbench statistics --- 4686014268 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6245.124/6249.520/6254.591/3.290 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.042 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.042/0.042/0.042/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 784060226 6272.482 100.00% Conn: 1 Mbps: 6272.482 Peak Mbps: 6272.482 Avg Mbps: 6272.482 2000 789338932 6321.032 100.00% Conn: 1 Mbps: 6321.032 Peak Mbps: 6321.032 Avg Mbps: 6321.032 3000 784300668 6274.405 100.00% Conn: 1 Mbps: 6274.405 Peak Mbps: 6321.032 Avg Mbps: 6274.405 4000 788848192 6310.786 100.00% Conn: 1 Mbps: 6310.786 Peak Mbps: 6321.032 Avg Mbps: 6310.786 5000 790974732 6327.798 100.00% Conn: 1 Mbps: 6327.798 Peak Mbps: 6327.798 Avg Mbps: 6327.798 --- 169.254.0.13 tcpbench statistics --- 4726763534 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6272.482/6301.301/6327.798/23.389 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 785430260 6283.442 100.00% Conn: 1 Mbps: 6283.442 Peak Mbps: 6283.442 Avg Mbps: 6283.442 2000 785554096 6290.723 100.00% Conn: 1 Mbps: 6290.723 Peak Mbps: 6290.723 Avg Mbps: 6290.723 3000 786534976 6292.280 100.00% Conn: 1 Mbps: 6292.280 Peak Mbps: 6292.280 Avg Mbps: 6292.280 4000 785881056 6287.048 100.00% Conn: 1 Mbps: 6287.048 Peak Mbps: 6292.280 Avg Mbps: 6287.048 5000 786011840 6288.095 100.00% Conn: 1 Mbps: 6288.095 Peak Mbps: 6292.280 Avg Mbps: 6288.095 --- fc00::13 tcpbench statistics --- 4714279708 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6283.442/6288.318/6292.280/3.063 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.85s