START sys/net/pair 2025-01-30T22:42:36Z ==== 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.037 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.037/0.037/0.037/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.044 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.044/0.044/0.044/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 512630104 4101.041 100.00% Conn: 1 Mbps: 4101.041 Peak Mbps: 4101.041 Avg Mbps: 4101.041 2000 510849752 4090.889 100.00% Conn: 1 Mbps: 4090.889 Peak Mbps: 4101.041 Avg Mbps: 4090.889 3000 510953076 4087.625 100.00% Conn: 1 Mbps: 4087.625 Peak Mbps: 4101.041 Avg Mbps: 4087.625 4000 510364924 4082.919 100.00% Conn: 1 Mbps: 4082.919 Peak Mbps: 4101.041 Avg Mbps: 4082.919 5000 510666948 4085.336 100.00% Conn: 1 Mbps: 4085.336 Peak Mbps: 4101.041 Avg Mbps: 4085.336 --- 169.254.1.11 tcpbench statistics --- 3065734352 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4082.919/4089.562/4101.041/6.313 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 509286792 4074.294 100.00% Conn: 1 Mbps: 4074.294 Peak Mbps: 4074.294 Avg Mbps: 4074.294 2000 508097592 4068.850 100.00% Conn: 1 Mbps: 4068.850 Peak Mbps: 4074.294 Avg Mbps: 4068.850 3000 508232368 4065.859 100.00% Conn: 1 Mbps: 4065.859 Peak Mbps: 4074.294 Avg Mbps: 4065.859 4000 507875608 4063.005 100.00% Conn: 1 Mbps: 4063.005 Peak Mbps: 4074.294 Avg Mbps: 4063.005 5000 507835968 4062.688 100.00% Conn: 1 Mbps: 4062.688 Peak Mbps: 4074.294 Avg Mbps: 4062.688 --- fc00:0:0:1::11 tcpbench statistics --- 3048902672 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4062.688/4066.939/4074.294/4.300 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.079 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.079/0.079/0.079/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.139 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.139/0.139/0.139/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 269113360 2152.907 100.00% Conn: 1 Mbps: 2152.907 Peak Mbps: 2152.907 Avg Mbps: 2152.907 2000 281187224 2251.750 100.00% Conn: 1 Mbps: 2251.750 Peak Mbps: 2251.750 Avg Mbps: 2251.750 3002 284715608 2275.449 100.00% Conn: 1 Mbps: 2275.449 Peak Mbps: 2275.449 Avg Mbps: 2275.449 4002 283215600 2265.725 100.00% Conn: 1 Mbps: 2265.725 Peak Mbps: 2275.449 Avg Mbps: 2265.725 5003 285224920 2279.520 100.00% Conn: 1 Mbps: 2279.520 Peak Mbps: 2279.520 Avg Mbps: 2279.520 --- 169.254.1.12 tcpbench statistics --- 1687013704 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2152.907/2245.070/2279.520/47.064 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 255973728 2045.744 100.00% Conn: 1 Mbps: 2045.744 Peak Mbps: 2045.744 Avg Mbps: 2045.744 2001 271202204 2171.789 100.00% Conn: 1 Mbps: 2171.789 Peak Mbps: 2171.789 Avg Mbps: 2171.789 3002 274016596 2189.943 100.00% Conn: 1 Mbps: 2189.943 Peak Mbps: 2189.943 Avg Mbps: 2189.943 4002 273969472 2191.756 100.00% Conn: 1 Mbps: 2191.756 Peak Mbps: 2191.756 Avg Mbps: 2191.756 5001 277138628 2219.328 100.00% Conn: 1 Mbps: 2219.328 Peak Mbps: 2219.328 Avg Mbps: 2219.328 --- fc00:0:0:1::12 tcpbench statistics --- 1629276816 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2045.744/2163.712/2219.328/60.909 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.079 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.079/0.079/0.079/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 593670820 4749.367 100.00% Conn: 1 Mbps: 4749.367 Peak Mbps: 4749.367 Avg Mbps: 4749.367 2000 608418108 4867.345 100.00% Conn: 1 Mbps: 4867.345 Peak Mbps: 4867.345 Avg Mbps: 4867.345 3000 592414896 4739.319 100.00% Conn: 1 Mbps: 4739.319 Peak Mbps: 4867.345 Avg Mbps: 4739.319 4000 607341100 4858.729 100.00% Conn: 1 Mbps: 4858.729 Peak Mbps: 4867.345 Avg Mbps: 4858.729 5001 594734592 4757.877 100.00% Conn: 1 Mbps: 4757.877 Peak Mbps: 4867.345 Avg Mbps: 4757.877 --- 169.254.0.13 tcpbench statistics --- 3598020120 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4739.319/4794.527/4867.345/56.311 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 547128184 4377.025 100.00% Conn: 1 Mbps: 4377.025 Peak Mbps: 4377.025 Avg Mbps: 4377.025 2000 580198472 4641.588 100.00% Conn: 1 Mbps: 4641.588 Peak Mbps: 4641.588 Avg Mbps: 4641.588 3000 580672336 4645.379 100.00% Conn: 1 Mbps: 4645.379 Peak Mbps: 4645.379 Avg Mbps: 4645.379 4001 578012560 4624.100 100.00% Conn: 1 Mbps: 4624.100 Peak Mbps: 4645.379 Avg Mbps: 4624.100 5001 580729520 4645.836 100.00% Conn: 1 Mbps: 4645.836 Peak Mbps: 4645.836 Avg Mbps: 4645.836 --- fc00::13 tcpbench statistics --- 3446437744 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4377.025/4586.786/4645.836/105.181 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.064 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.064/0.064/0.064/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 268779152 2150.233 100.00% Conn: 1 Mbps: 2150.233 Peak Mbps: 2150.233 Avg Mbps: 2150.233 2001 280385592 2240.844 100.00% Conn: 1 Mbps: 2240.844 Peak Mbps: 2240.844 Avg Mbps: 2240.844 3001 283748072 2272.257 100.00% Conn: 1 Mbps: 2272.257 Peak Mbps: 2272.257 Avg Mbps: 2272.257 4001 285409536 2283.276 100.00% Conn: 1 Mbps: 2283.276 Peak Mbps: 2283.276 Avg Mbps: 2283.276 5004 281173024 2244.894 100.00% Conn: 1 Mbps: 2244.894 Peak Mbps: 2283.276 Avg Mbps: 2244.894 --- 169.254.1.11 tcpbench statistics --- 1680158920 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2150.233/2238.301/2283.276/46.865 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 255444704 2041.516 100.00% Conn: 1 Mbps: 2041.516 Peak Mbps: 2041.516 Avg Mbps: 2041.516 2001 266224408 2131.927 100.00% Conn: 1 Mbps: 2131.927 Peak Mbps: 2131.927 Avg Mbps: 2131.927 3002 269469292 2153.601 100.00% Conn: 1 Mbps: 2153.601 Peak Mbps: 2153.601 Avg Mbps: 2153.601 4002 271241864 2172.107 100.00% Conn: 1 Mbps: 2172.107 Peak Mbps: 2172.107 Avg Mbps: 2172.107 5002 272614016 2180.912 100.00% Conn: 1 Mbps: 2180.912 Peak Mbps: 2180.912 Avg Mbps: 2180.912 --- fc00:0:0:1::11 tcpbench statistics --- 1608099080 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2041.516/2136.013/2180.912/50.149 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.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 515981768 4127.854 100.00% Conn: 1 Mbps: 4127.854 Peak Mbps: 4127.854 Avg Mbps: 4127.854 2000 514918936 4123.475 100.00% Conn: 1 Mbps: 4123.475 Peak Mbps: 4127.854 Avg Mbps: 4123.475 3000 514604720 4116.838 100.00% Conn: 1 Mbps: 4116.838 Peak Mbps: 4127.854 Avg Mbps: 4116.838 4000 514558384 4116.467 100.00% Conn: 1 Mbps: 4116.467 Peak Mbps: 4127.854 Avg Mbps: 4116.467 5000 514422272 4115.378 100.00% Conn: 1 Mbps: 4115.378 Peak Mbps: 4127.854 Avg Mbps: 4115.378 --- 169.254.1.12 tcpbench statistics --- 3089386192 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4115.378/4120.002/4127.854/4.850 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 516144888 4129.159 100.00% Conn: 1 Mbps: 4129.159 Peak Mbps: 4129.159 Avg Mbps: 4129.159 2000 516210576 4133.818 100.00% Conn: 1 Mbps: 4133.818 Peak Mbps: 4133.818 Avg Mbps: 4133.818 3000 516130608 4129.045 100.00% Conn: 1 Mbps: 4129.045 Peak Mbps: 4133.818 Avg Mbps: 4129.045 4000 516012084 4128.097 100.00% Conn: 1 Mbps: 4128.097 Peak Mbps: 4133.818 Avg Mbps: 4128.097 5000 516016368 4128.131 100.00% Conn: 1 Mbps: 4128.131 Peak Mbps: 4133.818 Avg Mbps: 4128.131 --- fc00:0:0:1::12 tcpbench statistics --- 3096608004 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4128.097/4129.650/4133.818/2.131 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 787267072 6298.137 100.00% Conn: 1 Mbps: 6298.137 Peak Mbps: 6298.137 Avg Mbps: 6298.137 2000 786819800 6300.859 100.00% Conn: 1 Mbps: 6300.859 Peak Mbps: 6300.859 Avg Mbps: 6300.859 3000 788259304 6306.074 100.00% Conn: 1 Mbps: 6306.074 Peak Mbps: 6306.074 Avg Mbps: 6306.074 4000 787866712 6302.934 100.00% Conn: 1 Mbps: 6302.934 Peak Mbps: 6306.074 Avg Mbps: 6302.934 5000 788030292 6304.242 100.00% Conn: 1 Mbps: 6304.242 Peak Mbps: 6306.074 Avg Mbps: 6304.242 --- 169.254.0.13 tcpbench statistics --- 4725095696 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6298.137/6302.449/6306.074/2.747 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 766305116 6130.441 100.00% Conn: 1 Mbps: 6130.441 Peak Mbps: 6130.441 Avg Mbps: 6130.441 2000 767342424 6144.884 100.00% Conn: 1 Mbps: 6144.884 Peak Mbps: 6144.884 Avg Mbps: 6144.884 3000 766426936 6137.553 100.00% Conn: 1 Mbps: 6137.553 Peak Mbps: 6144.884 Avg Mbps: 6137.553 4000 766492328 6131.939 100.00% Conn: 1 Mbps: 6131.939 Peak Mbps: 6144.884 Avg Mbps: 6131.939 5000 766851984 6134.816 100.00% Conn: 1 Mbps: 6134.816 Peak Mbps: 6144.884 Avg Mbps: 6134.816 --- fc00::13 tcpbench statistics --- 4600663124 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6130.441/6135.927/6144.884/5.101 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.057 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.057/0.057/0.057/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 269395608 2155.165 100.00% Conn: 1 Mbps: 2155.165 Peak Mbps: 2155.165 Avg Mbps: 2155.165 2001 278147824 2225.183 100.00% Conn: 1 Mbps: 2225.183 Peak Mbps: 2225.183 Avg Mbps: 2225.183 3002 276535928 2212.287 100.00% Conn: 1 Mbps: 2212.287 Peak Mbps: 2225.183 Avg Mbps: 2212.287 4003 275790544 2206.324 100.00% Conn: 1 Mbps: 2206.324 Peak Mbps: 2225.183 Avg Mbps: 2206.324 5002 277224544 2222.241 100.00% Conn: 1 Mbps: 2222.241 Peak Mbps: 2225.183 Avg Mbps: 2222.241 --- 169.254.1.11 tcpbench statistics --- 1656614968 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2155.165/2204.240/2225.183/25.456 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 527030664 4216.245 100.00% Conn: 1 Mbps: 4216.245 Peak Mbps: 4216.245 Avg Mbps: 4216.245 2000 584180720 4678.124 100.00% Conn: 1 Mbps: 4678.124 Peak Mbps: 4678.124 Avg Mbps: 4678.124 3000 583708328 4669.667 100.00% Conn: 1 Mbps: 4669.667 Peak Mbps: 4678.124 Avg Mbps: 4669.667 4000 575813328 4611.118 100.00% Conn: 1 Mbps: 4611.118 Peak Mbps: 4678.124 Avg Mbps: 4611.118 5001 575970736 4607.766 100.00% Conn: 1 Mbps: 4607.766 Peak Mbps: 4678.124 Avg Mbps: 4607.766 --- fc00:0:0:1::11 tcpbench statistics --- 3429847744 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4216.245/4556.584/4678.124/172.617 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 786760938 6294.088 100.00% Conn: 1 Mbps: 6294.088 Peak Mbps: 6294.088 Avg Mbps: 6294.088 2000 787441404 6305.837 100.00% Conn: 1 Mbps: 6305.837 Peak Mbps: 6305.837 Avg Mbps: 6305.837 3000 787146960 6297.176 100.00% Conn: 1 Mbps: 6297.176 Peak Mbps: 6305.837 Avg Mbps: 6297.176 4000 787212392 6297.699 100.00% Conn: 1 Mbps: 6297.699 Peak Mbps: 6305.837 Avg Mbps: 6297.699 5000 786852516 6294.820 100.00% Conn: 1 Mbps: 6294.820 Peak Mbps: 6305.837 Avg Mbps: 6294.820 --- 169.254.1.12 tcpbench statistics --- 4721775986 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6294.088/6297.924/6305.837/4.185 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 768389092 6147.113 100.00% Conn: 1 Mbps: 6147.113 Peak Mbps: 6147.113 Avg Mbps: 6147.113 2000 767505904 6146.193 100.00% Conn: 1 Mbps: 6146.193 Peak Mbps: 6147.113 Avg Mbps: 6146.193 3000 766655808 6133.246 100.00% Conn: 1 Mbps: 6133.246 Peak Mbps: 6147.113 Avg Mbps: 6133.246 4000 766525024 6132.200 100.00% Conn: 1 Mbps: 6132.200 Peak Mbps: 6147.113 Avg Mbps: 6132.200 5000 766165368 6135.458 100.00% Conn: 1 Mbps: 6135.458 Peak Mbps: 6147.113 Avg Mbps: 6135.458 --- fc00:0:0:1::12 tcpbench statistics --- 4600556468 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6132.200/6138.842/6147.113/6.470 Mbps ==== run-ping-3-3 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.051 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/0.000 ms ==== run-ping6-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.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 771823406 6174.587 100.00% Conn: 1 Mbps: 6174.587 Peak Mbps: 6174.587 Avg Mbps: 6174.587 2000 771803156 6180.606 100.00% Conn: 1 Mbps: 6180.606 Peak Mbps: 6180.606 Avg Mbps: 6180.606 3000 773275376 6186.203 100.00% Conn: 1 Mbps: 6186.203 Peak Mbps: 6186.203 Avg Mbps: 6186.203 4000 772195748 6177.566 100.00% Conn: 1 Mbps: 6177.566 Peak Mbps: 6186.203 Avg Mbps: 6177.566 5000 773766116 6190.129 100.00% Conn: 1 Mbps: 6190.129 Peak Mbps: 6190.129 Avg Mbps: 6190.129 --- 169.254.0.13 tcpbench statistics --- 4637087942 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6174.587/6181.818/6190.129/5.659 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 783249964 6266.000 100.00% Conn: 1 Mbps: 6266.000 Peak Mbps: 6266.000 Avg Mbps: 6266.000 2000 776856960 6221.077 100.00% Conn: 1 Mbps: 6221.077 Peak Mbps: 6266.000 Avg Mbps: 6221.077 3000 781074744 6248.598 100.00% Conn: 1 Mbps: 6248.598 Peak Mbps: 6266.000 Avg Mbps: 6248.598 4000 781172832 6249.383 100.00% Conn: 1 Mbps: 6249.383 Peak Mbps: 6266.000 Avg Mbps: 6249.383 5000 780617000 6244.936 100.00% Conn: 1 Mbps: 6244.936 Peak Mbps: 6266.000 Avg Mbps: 6244.936 --- fc00::13 tcpbench statistics --- 4684013548 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6221.077/6245.999/6266.000/14.426 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.83s