START sys/net/pair 2025-02-05T04:48:21Z ==== 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.043 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-ping6-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.056 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.056/0.056/0.056/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 519727668 4157.821 100.00% Conn: 1 Mbps: 4157.821 Peak Mbps: 4157.821 Avg Mbps: 4157.821 2000 521118568 4173.122 100.00% Conn: 1 Mbps: 4173.122 Peak Mbps: 4173.122 Avg Mbps: 4173.122 3000 521190100 4169.521 100.00% Conn: 1 Mbps: 4169.521 Peak Mbps: 4173.122 Avg Mbps: 4169.521 4000 520896024 4167.168 100.00% Conn: 1 Mbps: 4167.168 Peak Mbps: 4173.122 Avg Mbps: 4167.168 5000 520474780 4163.798 100.00% Conn: 1 Mbps: 4163.798 Peak Mbps: 4173.122 Avg Mbps: 4163.798 --- 169.254.1.11 tcpbench statistics --- 3124024984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4157.821/4166.286/4173.122/5.212 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 509714904 4077.719 100.00% Conn: 1 Mbps: 4077.719 Peak Mbps: 4077.719 Avg Mbps: 4077.719 2000 509461208 4079.769 100.00% Conn: 1 Mbps: 4079.769 Peak Mbps: 4079.769 Avg Mbps: 4079.769 3000 509921032 4079.368 100.00% Conn: 1 Mbps: 4079.368 Peak Mbps: 4079.769 Avg Mbps: 4079.368 4000 509366072 4079.008 100.00% Conn: 1 Mbps: 4079.008 Peak Mbps: 4079.769 Avg Mbps: 4079.008 5000 509802112 4078.417 100.00% Conn: 1 Mbps: 4078.417 Peak Mbps: 4079.769 Avg Mbps: 4078.417 --- fc00:0:0:1::11 tcpbench statistics --- 3057821672 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4077.719/4078.856/4079.769/0.722 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.070 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.070/0.070/0.070/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.141 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.141/0.141/0.141/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 274186696 2193.494 100.00% Conn: 1 Mbps: 2193.494 Peak Mbps: 2193.494 Avg Mbps: 2193.494 2000 284822640 2280.862 100.00% Conn: 1 Mbps: 2280.862 Peak Mbps: 2280.862 Avg Mbps: 2280.862 3002 286362752 2286.329 100.00% Conn: 1 Mbps: 2286.329 Peak Mbps: 2286.329 Avg Mbps: 2286.329 4001 284130056 2277.596 100.00% Conn: 1 Mbps: 2277.596 Peak Mbps: 2286.329 Avg Mbps: 2277.596 5001 285601560 2284.812 100.00% Conn: 1 Mbps: 2284.812 Peak Mbps: 2286.329 Avg Mbps: 2284.812 --- 169.254.1.12 tcpbench statistics --- 1705096712 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2193.494/2264.619/2286.329/35.694 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 256658748 2051.219 100.00% Conn: 1 Mbps: 2051.219 Peak Mbps: 2051.219 Avg Mbps: 2051.219 2001 270914952 2169.489 100.00% Conn: 1 Mbps: 2169.489 Peak Mbps: 2169.489 Avg Mbps: 2169.489 3003 272520744 2177.988 100.00% Conn: 1 Mbps: 2177.988 Peak Mbps: 2177.988 Avg Mbps: 2177.988 4002 272438148 2181.687 100.00% Conn: 1 Mbps: 2181.687 Peak Mbps: 2181.687 Avg Mbps: 2181.687 5003 276386992 2211.096 100.00% Conn: 1 Mbps: 2211.096 Peak Mbps: 2211.096 Avg Mbps: 2211.096 --- fc00:0:0:1::12 tcpbench statistics --- 1623475936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2051.219/2158.296/2211.096/55.342 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.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-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.093 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.093/0.093/0.093/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 566307676 4530.461 100.00% Conn: 1 Mbps: 4530.461 Peak Mbps: 4530.461 Avg Mbps: 4530.461 2000 579746624 4642.616 100.00% Conn: 1 Mbps: 4642.616 Peak Mbps: 4642.616 Avg Mbps: 4642.616 3000 562882088 4503.057 100.00% Conn: 1 Mbps: 4503.057 Peak Mbps: 4642.616 Avg Mbps: 4503.057 4000 580921808 4647.374 100.00% Conn: 1 Mbps: 4647.374 Peak Mbps: 4647.374 Avg Mbps: 4647.374 5000 532404308 4263.498 100.00% Conn: 1 Mbps: 4263.498 Peak Mbps: 4647.374 Avg Mbps: 4263.498 --- 169.254.0.13 tcpbench statistics --- 3307281116 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4263.498/4517.401/4647.374/139.581 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 552636456 4421.092 100.00% Conn: 1 Mbps: 4421.092 Peak Mbps: 4421.092 Avg Mbps: 4421.092 2000 580931232 4647.450 100.00% Conn: 1 Mbps: 4647.450 Peak Mbps: 4647.450 Avg Mbps: 4647.450 3000 582751424 4662.011 100.00% Conn: 1 Mbps: 4662.011 Peak Mbps: 4662.011 Avg Mbps: 4662.011 4001 585251472 4682.012 100.00% Conn: 1 Mbps: 4682.012 Peak Mbps: 4682.012 Avg Mbps: 4682.012 5001 583176672 4665.413 100.00% Conn: 1 Mbps: 4665.413 Peak Mbps: 4682.012 Avg Mbps: 4665.413 --- fc00::13 tcpbench statistics --- 3468546864 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4421.092/4615.596/4682.012/97.871 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.045 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.045/0.045/0.045/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.052 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.052/0.052/0.052/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 1001 270679464 2163.272 100.00% Conn: 1 Mbps: 2163.272 Peak Mbps: 2163.272 Avg Mbps: 2163.272 2001 285086560 2280.692 100.00% Conn: 1 Mbps: 2280.692 Peak Mbps: 2280.692 Avg Mbps: 2280.692 3002 284786496 2278.292 100.00% Conn: 1 Mbps: 2278.292 Peak Mbps: 2280.692 Avg Mbps: 2278.292 4002 283399192 2269.463 100.00% Conn: 1 Mbps: 2269.463 Peak Mbps: 2280.692 Avg Mbps: 2269.463 5002 282928768 2263.430 100.00% Conn: 1 Mbps: 2263.430 Peak Mbps: 2280.692 Avg Mbps: 2263.430 --- 169.254.1.11 tcpbench statistics --- 1692673120 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2163.272/2251.030/2280.692/44.313 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 1002 253035048 2020.240 100.00% Conn: 1 Mbps: 2020.240 Peak Mbps: 2020.240 Avg Mbps: 2020.240 2001 267314016 2140.653 100.00% Conn: 1 Mbps: 2140.653 Peak Mbps: 2140.653 Avg Mbps: 2140.653 3003 269996932 2157.818 100.00% Conn: 1 Mbps: 2157.818 Peak Mbps: 2157.818 Avg Mbps: 2157.818 4002 271419884 2173.533 100.00% Conn: 1 Mbps: 2173.533 Peak Mbps: 2173.533 Avg Mbps: 2173.533 5003 267568356 2140.547 100.00% Conn: 1 Mbps: 2140.547 Peak Mbps: 2173.533 Avg Mbps: 2140.547 --- fc00:0:0:1::11 tcpbench statistics --- 1600737904 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2020.240/2126.558/2173.533/54.556 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.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-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.056 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.056/0.056/0.056/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 524213648 4193.709 100.00% Conn: 1 Mbps: 4193.709 Peak Mbps: 4193.709 Avg Mbps: 4193.709 2000 523653272 4193.420 100.00% Conn: 1 Mbps: 4193.420 Peak Mbps: 4193.709 Avg Mbps: 4193.420 3000 524089120 4196.910 100.00% Conn: 1 Mbps: 4196.910 Peak Mbps: 4196.910 Avg Mbps: 4196.910 4000 523747392 4189.979 100.00% Conn: 1 Mbps: 4189.979 Peak Mbps: 4196.910 Avg Mbps: 4189.979 5000 524107944 4192.864 100.00% Conn: 1 Mbps: 4192.864 Peak Mbps: 4196.910 Avg Mbps: 4192.864 --- 169.254.1.12 tcpbench statistics --- 3143445824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4189.979/4193.376/4196.910/2.209 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 521488464 4171.908 100.00% Conn: 1 Mbps: 4171.908 Peak Mbps: 4171.908 Avg Mbps: 4171.908 2000 521829756 4178.817 100.00% Conn: 1 Mbps: 4178.817 Peak Mbps: 4178.817 Avg Mbps: 4178.817 3000 521828328 4174.627 100.00% Conn: 1 Mbps: 4174.627 Peak Mbps: 4178.817 Avg Mbps: 4174.627 4000 523616184 4188.929 100.00% Conn: 1 Mbps: 4188.929 Peak Mbps: 4188.929 Avg Mbps: 4188.929 5000 522602304 4180.818 100.00% Conn: 1 Mbps: 4180.818 Peak Mbps: 4188.929 Avg Mbps: 4180.818 --- fc00:0:0:1::12 tcpbench statistics --- 3134489988 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4171.908/4179.020/4188.929/5.854 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.055 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.055/0.055/0.055/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.050 ms --- fc00::13 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-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 770941442 6167.532 100.00% Conn: 1 Mbps: 6167.532 Peak Mbps: 6167.532 Avg Mbps: 6167.532 2000 771901304 6181.392 100.00% Conn: 1 Mbps: 6181.392 Peak Mbps: 6181.392 Avg Mbps: 6181.392 3000 771050688 6174.580 100.00% Conn: 1 Mbps: 6174.580 Peak Mbps: 6181.392 Avg Mbps: 6174.580 4000 771181552 6169.452 100.00% Conn: 1 Mbps: 6169.452 Peak Mbps: 6181.392 Avg Mbps: 6169.452 5000 772424760 6179.398 100.00% Conn: 1 Mbps: 6179.398 Peak Mbps: 6181.392 Avg Mbps: 6179.398 --- 169.254.0.13 tcpbench statistics --- 4629760926 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6167.532/6174.471/6181.392/5.395 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 767987628 6143.901 100.00% Conn: 1 Mbps: 6143.901 Peak Mbps: 6143.901 Avg Mbps: 6143.901 2000 769173400 6159.547 100.00% Conn: 1 Mbps: 6159.547 Peak Mbps: 6159.547 Avg Mbps: 6159.547 3000 769533056 6156.264 100.00% Conn: 1 Mbps: 6156.264 Peak Mbps: 6159.547 Avg Mbps: 6156.264 4000 769958104 6159.665 100.00% Conn: 1 Mbps: 6159.665 Peak Mbps: 6159.665 Avg Mbps: 6159.665 5000 770056192 6160.450 100.00% Conn: 1 Mbps: 6160.450 Peak Mbps: 6160.450 Avg Mbps: 6160.450 --- fc00::13 tcpbench statistics --- 4616372220 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6143.901/6155.965/6160.450/6.201 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.048 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-ping6-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.058 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.058/0.058/0.058/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 276316472 2210.532 100.00% Conn: 1 Mbps: 2210.532 Peak Mbps: 2210.532 Avg Mbps: 2210.532 2001 280139704 2241.118 100.00% Conn: 1 Mbps: 2241.118 Peak Mbps: 2241.118 Avg Mbps: 2241.118 3002 283060704 2264.486 100.00% Conn: 1 Mbps: 2264.486 Peak Mbps: 2264.486 Avg Mbps: 2264.486 4002 280828224 2246.626 100.00% Conn: 1 Mbps: 2246.626 Peak Mbps: 2264.486 Avg Mbps: 2246.626 5003 280820648 2246.565 100.00% Conn: 1 Mbps: 2246.565 Peak Mbps: 2264.486 Avg Mbps: 2246.565 --- 169.254.1.11 tcpbench statistics --- 1685938488 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2210.532/2241.865/2264.486/17.543 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 531551472 4252.412 100.00% Conn: 1 Mbps: 4252.412 Peak Mbps: 4252.412 Avg Mbps: 4252.412 2000 600635176 4809.891 100.00% Conn: 1 Mbps: 4809.891 Peak Mbps: 4809.891 Avg Mbps: 4809.891 3000 604085792 4832.686 100.00% Conn: 1 Mbps: 4832.686 Peak Mbps: 4832.686 Avg Mbps: 4832.686 4001 602475168 4819.801 100.00% Conn: 1 Mbps: 4819.801 Peak Mbps: 4832.686 Avg Mbps: 4819.801 5001 605350400 4842.803 100.00% Conn: 1 Mbps: 4842.803 Peak Mbps: 4842.803 Avg Mbps: 4842.803 --- fc00:0:0:1::11 tcpbench statistics --- 3537930832 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4252.412/4711.519/4842.803/229.825 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.059 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.059/0.059/0.059/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.049 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.049/0.049/0.049/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 780494658 6243.957 100.00% Conn: 1 Mbps: 6243.957 Peak Mbps: 6243.957 Avg Mbps: 6243.957 2000 781977832 6262.085 100.00% Conn: 1 Mbps: 6262.085 Peak Mbps: 6262.085 Avg Mbps: 6262.085 3000 782795732 6262.366 100.00% Conn: 1 Mbps: 6262.366 Peak Mbps: 6262.366 Avg Mbps: 6262.366 4000 782108696 6256.870 100.00% Conn: 1 Mbps: 6256.870 Peak Mbps: 6262.366 Avg Mbps: 6256.870 5000 782174128 6257.393 100.00% Conn: 1 Mbps: 6257.393 Peak Mbps: 6262.366 Avg Mbps: 6257.393 --- 169.254.1.12 tcpbench statistics --- 4691561594 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6243.957/6256.534/6262.366/6.691 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 745688560 5965.508 100.00% Conn: 1 Mbps: 5965.508 Peak Mbps: 5965.508 Avg Mbps: 5965.508 2000 747822912 5988.572 100.00% Conn: 1 Mbps: 5988.572 Peak Mbps: 5988.572 Avg Mbps: 5988.572 3000 748901880 5991.215 100.00% Conn: 1 Mbps: 5991.215 Peak Mbps: 5991.215 Avg Mbps: 5991.215 4000 748869184 5990.953 100.00% Conn: 1 Mbps: 5990.953 Peak Mbps: 5991.215 Avg Mbps: 5990.953 5000 749261536 5994.092 100.00% Conn: 1 Mbps: 5994.092 Peak Mbps: 5994.092 Avg Mbps: 5994.092 --- fc00:0:0:1::12 tcpbench statistics --- 4488857424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5965.508/5986.068/5994.092/10.428 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.041 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.041/0.041/0.041/0.000 ms ==== run-ping6-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.047 ms --- fc00::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-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 788802330 6310.419 100.00% Conn: 1 Mbps: 6310.419 Peak Mbps: 6310.419 Avg Mbps: 6310.419 2000 789044488 6318.675 100.00% Conn: 1 Mbps: 6318.675 Peak Mbps: 6318.675 Avg Mbps: 6318.675 3000 788521032 6308.168 100.00% Conn: 1 Mbps: 6308.168 Peak Mbps: 6318.675 Avg Mbps: 6308.168 4000 788946340 6311.571 100.00% Conn: 1 Mbps: 6311.571 Peak Mbps: 6318.675 Avg Mbps: 6311.571 5000 789044488 6318.675 100.00% Conn: 1 Mbps: 6318.675 Peak Mbps: 6318.675 Avg Mbps: 6318.675 --- 169.254.0.13 tcpbench statistics --- 4731832798 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6308.168/6313.501/6318.675/4.363 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 786964236 6295.714 100.00% Conn: 1 Mbps: 6295.714 Peak Mbps: 6295.714 Avg Mbps: 6295.714 2000 787025416 6302.506 100.00% Conn: 1 Mbps: 6302.506 Peak Mbps: 6302.506 Avg Mbps: 6302.506 3000 787221592 6297.773 100.00% Conn: 1 Mbps: 6297.773 Peak Mbps: 6302.506 Avg Mbps: 6297.773 4000 787875512 6303.004 100.00% Conn: 1 Mbps: 6303.004 Peak Mbps: 6303.004 Avg Mbps: 6303.004 5000 787483160 6299.865 100.00% Conn: 1 Mbps: 6299.865 Peak Mbps: 6303.004 Avg Mbps: 6299.865 --- fc00::13 tcpbench statistics --- 4723922292 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6295.714/6299.772/6303.004/2.771 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