START sys/net/pair 2025-01-16T01:33:27Z ==== 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.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-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.042 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.042/0.042/0.042/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 517128672 4137.029 100.00% Conn: 1 Mbps: 4137.029 Peak Mbps: 4137.029 Avg Mbps: 4137.029 2000 517039704 4140.458 100.00% Conn: 1 Mbps: 4140.458 Peak Mbps: 4140.458 Avg Mbps: 4140.458 3000 515634448 4125.076 100.00% Conn: 1 Mbps: 4125.076 Peak Mbps: 4140.458 Avg Mbps: 4125.076 4000 515244996 4121.960 100.00% Conn: 1 Mbps: 4121.960 Peak Mbps: 4140.458 Avg Mbps: 4121.960 5000 515244996 4121.960 100.00% Conn: 1 Mbps: 4121.960 Peak Mbps: 4140.458 Avg Mbps: 4121.960 --- 169.254.1.11 tcpbench statistics --- 3095744460 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4121.960/4129.297/4140.458/7.872 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 519823104 4158.585 100.00% Conn: 1 Mbps: 4158.585 Peak Mbps: 4158.585 Avg Mbps: 4158.585 2000 518681472 4153.605 100.00% Conn: 1 Mbps: 4153.605 Peak Mbps: 4158.585 Avg Mbps: 4153.605 3000 518966880 4151.735 100.00% Conn: 1 Mbps: 4151.735 Peak Mbps: 4158.585 Avg Mbps: 4151.735 4000 520243288 4161.946 100.00% Conn: 1 Mbps: 4161.946 Peak Mbps: 4161.946 Avg Mbps: 4161.946 5000 519989592 4159.917 100.00% Conn: 1 Mbps: 4159.917 Peak Mbps: 4161.946 Avg Mbps: 4159.917 --- fc00:0:0:1::11 tcpbench statistics --- 3118502584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4151.735/4157.158/4161.946/3.863 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.071 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.071/0.071/0.071/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 1001 266714080 2131.581 100.00% Conn: 1 Mbps: 2131.581 Peak Mbps: 2131.581 Avg Mbps: 2131.581 2001 283868536 2270.948 100.00% Conn: 1 Mbps: 2270.948 Peak Mbps: 2270.948 Avg Mbps: 2270.948 3001 284354336 2274.835 100.00% Conn: 1 Mbps: 2274.835 Peak Mbps: 2274.835 Avg Mbps: 2274.835 4001 281850808 2254.806 100.00% Conn: 1 Mbps: 2254.806 Peak Mbps: 2274.835 Avg Mbps: 2254.806 5002 283259920 2266.079 100.00% Conn: 1 Mbps: 2266.079 Peak Mbps: 2274.835 Avg Mbps: 2266.079 --- 169.254.1.12 tcpbench statistics --- 1679912200 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2131.581/2239.650/2274.835/54.451 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 254798556 2038.388 100.00% Conn: 1 Mbps: 2038.388 Peak Mbps: 2038.388 Avg Mbps: 2038.388 2000 271212300 2169.698 100.00% Conn: 1 Mbps: 2169.698 Peak Mbps: 2169.698 Avg Mbps: 2169.698 3001 270872252 2166.978 100.00% Conn: 1 Mbps: 2166.978 Peak Mbps: 2169.698 Avg Mbps: 2166.978 4002 272463212 2179.706 100.00% Conn: 1 Mbps: 2179.706 Peak Mbps: 2179.706 Avg Mbps: 2179.706 5001 270971916 2169.945 100.00% Conn: 1 Mbps: 2169.945 Peak Mbps: 2179.706 Avg Mbps: 2169.945 --- fc00:0:0:1::12 tcpbench statistics --- 1610164152 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2038.388/2144.943/2179.706/53.452 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.072 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.072/0.072/0.072/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.071 ms --- fc00::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-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 610636720 4885.094 100.00% Conn: 1 Mbps: 4885.094 Peak Mbps: 4885.094 Avg Mbps: 4885.094 2000 618082876 4944.663 100.00% Conn: 1 Mbps: 4944.663 Peak Mbps: 4944.663 Avg Mbps: 4944.663 3000 616240760 4934.861 100.00% Conn: 1 Mbps: 4934.861 Peak Mbps: 4944.663 Avg Mbps: 4934.861 4000 602451820 4819.615 100.00% Conn: 1 Mbps: 4819.615 Peak Mbps: 4944.663 Avg Mbps: 4819.615 5000 592772976 4742.184 100.00% Conn: 1 Mbps: 4742.184 Peak Mbps: 4944.663 Avg Mbps: 4742.184 --- 169.254.0.13 tcpbench statistics --- 3629063048 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4742.184/4865.283/4944.663/75.860 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 545895576 4367.165 100.00% Conn: 1 Mbps: 4367.165 Peak Mbps: 4367.165 Avg Mbps: 4367.165 2000 576471280 4616.387 100.00% Conn: 1 Mbps: 4616.387 Peak Mbps: 4616.387 Avg Mbps: 4616.387 3000 577158416 4617.267 100.00% Conn: 1 Mbps: 4617.267 Peak Mbps: 4617.267 Avg Mbps: 4617.267 4000 577426928 4619.415 100.00% Conn: 1 Mbps: 4619.415 Peak Mbps: 4619.415 Avg Mbps: 4619.415 5000 577392352 4619.139 100.00% Conn: 1 Mbps: 4619.139 Peak Mbps: 4619.415 Avg Mbps: 4619.139 --- fc00::13 tcpbench statistics --- 3428778336 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4367.165/4567.875/4619.415/100.361 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.057 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.057/0.057/0.057/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.050 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.050/0.050/0.050/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 266120232 2128.962 100.00% Conn: 1 Mbps: 2128.962 Peak Mbps: 2128.962 Avg Mbps: 2128.962 2001 282856440 2260.591 100.00% Conn: 1 Mbps: 2260.591 Peak Mbps: 2260.591 Avg Mbps: 2260.591 3001 280608544 2244.868 100.00% Conn: 1 Mbps: 2244.868 Peak Mbps: 2260.591 Avg Mbps: 2244.868 4002 280772032 2246.176 100.00% Conn: 1 Mbps: 2246.176 Peak Mbps: 2260.591 Avg Mbps: 2246.176 5004 282979576 2261.575 100.00% Conn: 1 Mbps: 2261.575 Peak Mbps: 2261.575 Avg Mbps: 2261.575 --- 169.254.1.11 tcpbench statistics --- 1672302712 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2128.962/2228.434/2261.575/50.223 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 1001 252513996 2018.094 100.00% Conn: 1 Mbps: 2018.094 Peak Mbps: 2018.094 Avg Mbps: 2018.094 2000 264444468 2117.673 100.00% Conn: 1 Mbps: 2117.673 Peak Mbps: 2117.673 Avg Mbps: 2117.673 3000 269191356 2153.531 100.00% Conn: 1 Mbps: 2153.531 Peak Mbps: 2153.531 Avg Mbps: 2153.531 4001 272688980 2181.512 100.00% Conn: 1 Mbps: 2181.512 Peak Mbps: 2181.512 Avg Mbps: 2181.512 5001 274240932 2196.124 100.00% Conn: 1 Mbps: 2196.124 Peak Mbps: 2196.124 Avg Mbps: 2196.124 --- fc00:0:0:1::11 tcpbench statistics --- 1605722168 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2018.094/2133.387/2196.124/63.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.053 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.053/0.053/0.053/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.046 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-tcpbench-2-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 526164104 4209.313 100.00% Conn: 1 Mbps: 4209.313 Peak Mbps: 4209.313 Avg Mbps: 4209.313 2000 526993808 4220.171 100.00% Conn: 1 Mbps: 4220.171 Peak Mbps: 4220.171 Avg Mbps: 4220.171 3000 526581128 4212.649 100.00% Conn: 1 Mbps: 4212.649 Peak Mbps: 4220.171 Avg Mbps: 4212.649 4000 526647736 4213.182 100.00% Conn: 1 Mbps: 4213.182 Peak Mbps: 4220.171 Avg Mbps: 4213.182 5000 526352344 4210.819 100.00% Conn: 1 Mbps: 4210.819 Peak Mbps: 4220.171 Avg Mbps: 4210.819 --- 169.254.1.12 tcpbench statistics --- 3159877728 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4209.313/4213.227/4220.171/3.733 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 523826100 4190.609 100.00% Conn: 1 Mbps: 4190.609 Peak Mbps: 4190.609 Avg Mbps: 4190.609 2000 522108216 4181.047 100.00% Conn: 1 Mbps: 4181.047 Peak Mbps: 4190.609 Avg Mbps: 4181.047 3000 521341380 4170.731 100.00% Conn: 1 Mbps: 4170.731 Peak Mbps: 4190.609 Avg Mbps: 4170.731 4000 521517024 4172.136 100.00% Conn: 1 Mbps: 4172.136 Peak Mbps: 4190.609 Avg Mbps: 4172.136 5000 522829356 4182.635 100.00% Conn: 1 Mbps: 4182.635 Peak Mbps: 4190.609 Avg Mbps: 4182.635 --- fc00:0:0:1::12 tcpbench statistics --- 3133963056 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4170.731/4179.432/4190.609/7.304 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.054 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.054/0.054/0.054/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.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-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 782949450 6263.596 100.00% Conn: 1 Mbps: 6263.596 Peak Mbps: 6263.596 Avg Mbps: 6263.596 2000 783188324 6271.778 100.00% Conn: 1 Mbps: 6271.778 Peak Mbps: 6271.778 Avg Mbps: 6271.778 3000 783090176 6264.721 100.00% Conn: 1 Mbps: 6264.721 Peak Mbps: 6271.778 Avg Mbps: 6264.721 4000 783155608 6265.245 100.00% Conn: 1 Mbps: 6265.245 Peak Mbps: 6271.778 Avg Mbps: 6265.245 5000 783417336 6267.339 100.00% Conn: 1 Mbps: 6267.339 Peak Mbps: 6271.778 Avg Mbps: 6267.339 --- 169.254.0.13 tcpbench statistics --- 4698792922 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6263.596/6266.536/6271.778/2.889 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 778575768 6228.606 100.00% Conn: 1 Mbps: 6228.606 Peak Mbps: 6228.606 Avg Mbps: 6228.606 2000 778720632 6236.001 100.00% Conn: 1 Mbps: 6236.001 Peak Mbps: 6236.001 Avg Mbps: 6236.001 3000 779047592 6232.381 100.00% Conn: 1 Mbps: 6232.381 Peak Mbps: 6236.001 Avg Mbps: 6232.381 4000 779897688 6239.182 100.00% Conn: 1 Mbps: 6239.182 Peak Mbps: 6239.182 Avg Mbps: 6239.182 5000 781205528 6249.644 100.00% Conn: 1 Mbps: 6249.644 Peak Mbps: 6249.644 Avg Mbps: 6249.644 --- fc00::13 tcpbench statistics --- 4678064208 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6228.606/6237.163/6249.644/7.173 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.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-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.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-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 267608944 2138.733 100.00% Conn: 1 Mbps: 2138.733 Peak Mbps: 2138.733 Avg Mbps: 2138.733 2002 276627200 2213.018 100.00% Conn: 1 Mbps: 2213.018 Peak Mbps: 2213.018 Avg Mbps: 2213.018 3002 277050112 2218.620 100.00% Conn: 1 Mbps: 2218.620 Peak Mbps: 2218.620 Avg Mbps: 2218.620 4002 279979032 2239.832 100.00% Conn: 1 Mbps: 2239.832 Peak Mbps: 2239.832 Avg Mbps: 2239.832 5003 281845576 2254.765 100.00% Conn: 1 Mbps: 2254.765 Peak Mbps: 2254.765 Avg Mbps: 2254.765 --- 169.254.1.11 tcpbench statistics --- 1662255016 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2138.733/2212.993/2254.765/40.029 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 524469392 4195.755 100.00% Conn: 1 Mbps: 4195.755 Peak Mbps: 4195.755 Avg Mbps: 4195.755 2001 576886304 4615.090 100.00% Conn: 1 Mbps: 4615.090 Peak Mbps: 4615.090 Avg Mbps: 4615.090 3001 582034928 4656.279 100.00% Conn: 1 Mbps: 4656.279 Peak Mbps: 4656.279 Avg Mbps: 4656.279 4001 571298504 4570.388 100.00% Conn: 1 Mbps: 4570.388 Peak Mbps: 4656.279 Avg Mbps: 4570.388 5001 575008544 4600.068 100.00% Conn: 1 Mbps: 4600.068 Peak Mbps: 4656.279 Avg Mbps: 4600.068 --- fc00:0:0:1::11 tcpbench statistics --- 3411664424 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4195.755/4527.516/4656.279/168.176 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 774574722 6196.598 100.00% Conn: 1 Mbps: 6196.598 Peak Mbps: 6196.598 Avg Mbps: 6196.598 2000 775990804 6214.141 100.00% Conn: 1 Mbps: 6214.141 Peak Mbps: 6214.141 Avg Mbps: 6214.141 3000 778477220 6227.818 100.00% Conn: 1 Mbps: 6227.818 Peak Mbps: 6227.818 Avg Mbps: 6227.818 4000 777463024 6219.704 100.00% Conn: 1 Mbps: 6219.704 Peak Mbps: 6227.818 Avg Mbps: 6219.704 5000 777201296 6217.610 100.00% Conn: 1 Mbps: 6217.610 Peak Mbps: 6227.818 Avg Mbps: 6217.610 --- 169.254.1.12 tcpbench statistics --- 4658749106 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6196.598/6215.174/6227.818/10.320 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 768345124 6146.761 100.00% Conn: 1 Mbps: 6146.761 Peak Mbps: 6146.761 Avg Mbps: 6146.761 2000 767898256 6149.335 100.00% Conn: 1 Mbps: 6149.335 Peak Mbps: 6149.335 Avg Mbps: 6149.335 3000 767440512 6139.524 100.00% Conn: 1 Mbps: 6139.524 Peak Mbps: 6149.335 Avg Mbps: 6139.524 4000 769108008 6152.864 100.00% Conn: 1 Mbps: 6152.864 Peak Mbps: 6152.864 Avg Mbps: 6152.864 5000 768454088 6147.633 100.00% Conn: 1 Mbps: 6147.633 Peak Mbps: 6152.864 Avg Mbps: 6147.633 --- fc00:0:0:1::12 tcpbench statistics --- 4609994340 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6139.524/6147.223/6152.864/4.380 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.052 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.052/0.052/0.052/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 797492614 6379.941 100.00% Conn: 1 Mbps: 6379.941 Peak Mbps: 6379.941 Avg Mbps: 6379.941 2000 798172252 6391.770 100.00% Conn: 1 Mbps: 6391.770 Peak Mbps: 6391.770 Avg Mbps: 6391.770 3000 797256204 6378.050 100.00% Conn: 1 Mbps: 6378.050 Peak Mbps: 6391.770 Avg Mbps: 6378.050 4000 797354352 6378.835 100.00% Conn: 1 Mbps: 6378.835 Peak Mbps: 6391.770 Avg Mbps: 6378.835 5000 797387068 6379.097 100.00% Conn: 1 Mbps: 6379.097 Peak Mbps: 6391.770 Avg Mbps: 6379.097 --- 169.254.0.13 tcpbench statistics --- 4785458508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6378.050/6381.538/6391.770/5.151 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 797579812 6380.638 100.00% Conn: 1 Mbps: 6380.638 Peak Mbps: 6380.638 Avg Mbps: 6380.638 2000 798207448 6392.052 100.00% Conn: 1 Mbps: 6392.052 Peak Mbps: 6392.052 Avg Mbps: 6392.052 3000 798534408 6388.275 100.00% Conn: 1 Mbps: 6388.275 Peak Mbps: 6392.052 Avg Mbps: 6388.275 4000 798861368 6390.891 100.00% Conn: 1 Mbps: 6390.891 Peak Mbps: 6392.052 Avg Mbps: 6390.891 5000 798665192 6389.322 100.00% Conn: 1 Mbps: 6389.322 Peak Mbps: 6392.052 Avg Mbps: 6389.322 --- fc00::13 tcpbench statistics --- 4791003860 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6380.638/6388.236/6392.052/4.013 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.80s