START sys/net/pair 2025-02-12T04:54:34Z ==== 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.039 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.039/0.039/0.039/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 517303528 4138.428 100.00% Conn: 1 Mbps: 4138.428 Peak Mbps: 4138.428 Avg Mbps: 4138.428 2000 516079536 4132.769 100.00% Conn: 1 Mbps: 4132.769 Peak Mbps: 4138.428 Avg Mbps: 4132.769 3000 516771012 4134.168 100.00% Conn: 1 Mbps: 4134.168 Peak Mbps: 4138.428 Avg Mbps: 4134.168 4000 516763064 4138.243 100.00% Conn: 1 Mbps: 4138.243 Peak Mbps: 4138.428 Avg Mbps: 4138.243 5000 516341820 4130.735 100.00% Conn: 1 Mbps: 4130.735 Peak Mbps: 4138.428 Avg Mbps: 4130.735 --- 169.254.1.11 tcpbench statistics --- 3099457716 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4130.735/4134.869/4138.428/3.035 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 508446424 4067.571 100.00% Conn: 1 Mbps: 4067.571 Peak Mbps: 4067.571 Avg Mbps: 4067.571 2000 507201728 4061.675 100.00% Conn: 1 Mbps: 4061.675 Peak Mbps: 4067.571 Avg Mbps: 4061.675 3000 506821184 4054.569 100.00% Conn: 1 Mbps: 4054.569 Peak Mbps: 4067.571 Avg Mbps: 4054.569 4000 506908392 4055.267 100.00% Conn: 1 Mbps: 4055.267 Peak Mbps: 4067.571 Avg Mbps: 4055.267 5000 506932176 4055.457 100.00% Conn: 1 Mbps: 4055.457 Peak Mbps: 4067.571 Avg Mbps: 4055.457 --- fc00:0:0:1::11 tcpbench statistics --- 3042885320 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4054.569/4058.908/4067.571/5.034 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.083 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.083/0.083/0.083/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.135 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.135/0.135/0.135/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 271059240 2166.308 100.00% Conn: 1 Mbps: 2166.308 Peak Mbps: 2166.308 Avg Mbps: 2166.308 2002 286370896 2288.678 100.00% Conn: 1 Mbps: 2288.678 Peak Mbps: 2288.678 Avg Mbps: 2288.678 3003 285313016 2282.504 100.00% Conn: 1 Mbps: 2282.504 Peak Mbps: 2288.678 Avg Mbps: 2282.504 4005 288094288 2302.452 100.00% Conn: 1 Mbps: 2302.452 Peak Mbps: 2302.452 Avg Mbps: 2302.452 5004 289174112 2315.709 100.00% Conn: 1 Mbps: 2315.709 Peak Mbps: 2315.709 Avg Mbps: 2315.709 --- 169.254.1.12 tcpbench statistics --- 1709311736 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2166.308/2271.130/2315.709/53.653 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 1002 251792688 2010.321 100.00% Conn: 1 Mbps: 2010.321 Peak Mbps: 2010.321 Avg Mbps: 2010.321 2002 273317696 2186.542 100.00% Conn: 1 Mbps: 2186.542 Peak Mbps: 2186.542 Avg Mbps: 2186.542 3003 273492788 2187.942 100.00% Conn: 1 Mbps: 2187.942 Peak Mbps: 2187.942 Avg Mbps: 2187.942 4003 275339688 2202.718 100.00% Conn: 1 Mbps: 2202.718 Peak Mbps: 2202.718 Avg Mbps: 2202.718 5004 276598236 2212.786 100.00% Conn: 1 Mbps: 2212.786 Peak Mbps: 2212.786 Avg Mbps: 2212.786 --- fc00:0:0:1::12 tcpbench statistics --- 1627463432 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2010.321/2160.062/2212.786/75.499 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.078 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.078/0.078/0.078/0.000 ms ==== run-ping6-1-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=63 time=0.070 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.070/0.070/0.070/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 614665516 4917.324 100.00% Conn: 1 Mbps: 4917.324 Peak Mbps: 4917.324 Avg Mbps: 4917.324 2000 638717284 5109.738 100.00% Conn: 1 Mbps: 5109.738 Peak Mbps: 5109.738 Avg Mbps: 5109.738 3000 633136248 5065.090 100.00% Conn: 1 Mbps: 5065.090 Peak Mbps: 5109.738 Avg Mbps: 5065.090 4000 633605320 5073.916 100.00% Conn: 1 Mbps: 5073.916 Peak Mbps: 5109.738 Avg Mbps: 5073.916 5000 606895032 4860.020 100.00% Conn: 1 Mbps: 4860.020 Peak Mbps: 5109.738 Avg Mbps: 4860.020 --- 169.254.0.13 tcpbench statistics --- 3755754556 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4860.020/5005.218/5109.738/98.017 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 549766000 4398.128 100.00% Conn: 1 Mbps: 4398.128 Peak Mbps: 4398.128 Avg Mbps: 4398.128 2000 581035984 4648.288 100.00% Conn: 1 Mbps: 4648.288 Peak Mbps: 4648.288 Avg Mbps: 4648.288 3001 580845456 4646.764 100.00% Conn: 1 Mbps: 4646.764 Peak Mbps: 4648.288 Avg Mbps: 4646.764 4002 581481776 4647.207 100.00% Conn: 1 Mbps: 4647.207 Peak Mbps: 4648.288 Avg Mbps: 4647.207 5002 580099048 4645.438 100.00% Conn: 1 Mbps: 4645.438 Peak Mbps: 4648.288 Avg Mbps: 4645.438 --- fc00::13 tcpbench statistics --- 3449809496 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4398.128/4597.165/4648.288/99.523 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.046 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.046/0.046/0.046/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 1000 274096976 2192.776 100.00% Conn: 1 Mbps: 2192.776 Peak Mbps: 2192.776 Avg Mbps: 2192.776 2000 284170040 2273.360 100.00% Conn: 1 Mbps: 2273.360 Peak Mbps: 2273.360 Avg Mbps: 2273.360 3001 285973240 2285.500 100.00% Conn: 1 Mbps: 2285.500 Peak Mbps: 2285.500 Avg Mbps: 2285.500 4002 284149712 2273.198 100.00% Conn: 1 Mbps: 2273.198 Peak Mbps: 2285.500 Avg Mbps: 2273.198 5002 288457568 2307.661 100.00% Conn: 1 Mbps: 2307.661 Peak Mbps: 2307.661 Avg Mbps: 2307.661 --- 169.254.1.11 tcpbench statistics --- 1703561712 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2192.776/2266.499/2307.661/38.942 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 255390908 2041.086 100.00% Conn: 1 Mbps: 2041.086 Peak Mbps: 2041.086 Avg Mbps: 2041.086 2001 267323460 2138.588 100.00% Conn: 1 Mbps: 2138.588 Peak Mbps: 2138.588 Avg Mbps: 2138.588 3002 270163696 2161.310 100.00% Conn: 1 Mbps: 2161.310 Peak Mbps: 2161.310 Avg Mbps: 2161.310 4003 273291256 2186.330 100.00% Conn: 1 Mbps: 2186.330 Peak Mbps: 2186.330 Avg Mbps: 2186.330 5003 269529056 2156.232 100.00% Conn: 1 Mbps: 2156.232 Peak Mbps: 2186.330 Avg Mbps: 2156.232 --- fc00:0:0:1::11 tcpbench statistics --- 1607261456 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2041.086/2136.709/2186.330/50.191 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.039 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.039/0.039/0.039/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.045 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.045/0.045/0.045/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 520021688 4160.174 100.00% Conn: 1 Mbps: 4160.174 Peak Mbps: 4160.174 Avg Mbps: 4160.174 2000 515246184 4126.096 100.00% Conn: 1 Mbps: 4126.096 Peak Mbps: 4160.174 Avg Mbps: 4126.096 3000 518192864 4145.543 100.00% Conn: 1 Mbps: 4145.543 Peak Mbps: 4160.174 Avg Mbps: 4145.543 4000 518275400 4146.203 100.00% Conn: 1 Mbps: 4146.203 Peak Mbps: 4160.174 Avg Mbps: 4146.203 5000 518618576 4148.949 100.00% Conn: 1 Mbps: 4148.949 Peak Mbps: 4160.174 Avg Mbps: 4148.949 --- 169.254.1.12 tcpbench statistics --- 3108682240 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4126.096/4145.393/4160.174/10.993 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 512933316 4103.467 100.00% Conn: 1 Mbps: 4103.467 Peak Mbps: 4103.467 Avg Mbps: 4103.467 2000 512423520 4103.492 100.00% Conn: 1 Mbps: 4103.492 Peak Mbps: 4103.492 Avg Mbps: 4103.492 3000 512229312 4097.834 100.00% Conn: 1 Mbps: 4097.834 Peak Mbps: 4103.492 Avg Mbps: 4097.834 4000 512163624 4097.309 100.00% Conn: 1 Mbps: 4097.309 Peak Mbps: 4103.492 Avg Mbps: 4097.309 5000 512459220 4099.674 100.00% Conn: 1 Mbps: 4099.674 Peak Mbps: 4103.492 Avg Mbps: 4099.674 --- fc00:0:0:1::12 tcpbench statistics --- 3074339772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4097.309/4100.355/4103.492/2.669 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.046 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-ping6-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.064 ms --- fc00::13 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-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 773375920 6187.007 100.00% Conn: 1 Mbps: 6187.007 Peak Mbps: 6187.007 Avg Mbps: 6187.007 2000 773504388 6194.229 100.00% Conn: 1 Mbps: 6194.229 Peak Mbps: 6194.229 Avg Mbps: 6194.229 3000 773046364 6184.371 100.00% Conn: 1 Mbps: 6184.371 Peak Mbps: 6194.229 Avg Mbps: 6184.371 4000 772719204 6181.754 100.00% Conn: 1 Mbps: 6181.754 Peak Mbps: 6194.229 Avg Mbps: 6181.754 5000 772948216 6183.586 100.00% Conn: 1 Mbps: 6183.586 Peak Mbps: 6194.229 Avg Mbps: 6183.586 --- 169.254.0.13 tcpbench statistics --- 4638853110 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6181.754/6186.189/6194.229/4.361 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 755984884 6047.879 100.00% Conn: 1 Mbps: 6047.879 Peak Mbps: 6047.879 Avg Mbps: 6047.879 2000 756127696 6055.077 100.00% Conn: 1 Mbps: 6055.077 Peak Mbps: 6055.077 Avg Mbps: 6055.077 3000 756127696 6049.022 100.00% Conn: 1 Mbps: 6049.022 Peak Mbps: 6055.077 Avg Mbps: 6049.022 4000 754852552 6038.820 100.00% Conn: 1 Mbps: 6038.820 Peak Mbps: 6055.077 Avg Mbps: 6038.820 5000 757599016 6060.792 100.00% Conn: 1 Mbps: 6060.792 Peak Mbps: 6060.792 Avg Mbps: 6060.792 --- fc00::13 tcpbench statistics --- 4538258164 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6038.820/6050.318/6060.792/7.378 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.050 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.050/0.050/0.050/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 274556048 2196.448 100.00% Conn: 1 Mbps: 2196.448 Peak Mbps: 2196.448 Avg Mbps: 2196.448 2002 281596224 2250.519 100.00% Conn: 1 Mbps: 2250.519 Peak Mbps: 2250.519 Avg Mbps: 2250.519 3003 283250000 2266.000 100.00% Conn: 1 Mbps: 2266.000 Peak Mbps: 2266.000 Avg Mbps: 2266.000 4003 283038704 2264.310 100.00% Conn: 1 Mbps: 2264.310 Peak Mbps: 2266.000 Avg Mbps: 2264.310 5004 282684728 2261.478 100.00% Conn: 1 Mbps: 2261.478 Peak Mbps: 2266.000 Avg Mbps: 2261.478 --- 169.254.1.11 tcpbench statistics --- 1687031472 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2196.448/2247.751/2266.000/26.212 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 547661552 4381.292 100.00% Conn: 1 Mbps: 4381.292 Peak Mbps: 4381.292 Avg Mbps: 4381.292 2000 609939168 4879.513 100.00% Conn: 1 Mbps: 4879.513 Peak Mbps: 4879.513 Avg Mbps: 4879.513 3000 614712344 4922.621 100.00% Conn: 1 Mbps: 4922.621 Peak Mbps: 4922.621 Avg Mbps: 4922.621 4000 603414904 4827.319 100.00% Conn: 1 Mbps: 4827.319 Peak Mbps: 4922.621 Avg Mbps: 4827.319 5001 611597088 4892.777 100.00% Conn: 1 Mbps: 4892.777 Peak Mbps: 4922.621 Avg Mbps: 4892.777 --- fc00:0:0:1::11 tcpbench statistics --- 3599902112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4381.292/4780.705/4922.621/202.073 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.060 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.060/0.060/0.060/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.052 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/0.000 ms ==== run-tcpbench-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 777377896 6219.023 100.00% Conn: 1 Mbps: 6219.023 Peak Mbps: 6219.023 Avg Mbps: 6219.023 2000 776023520 6214.403 100.00% Conn: 1 Mbps: 6214.403 Peak Mbps: 6219.023 Avg Mbps: 6214.403 3000 777299444 6218.396 100.00% Conn: 1 Mbps: 6218.396 Peak Mbps: 6219.023 Avg Mbps: 6218.396 4000 777201296 6217.610 100.00% Conn: 1 Mbps: 6217.610 Peak Mbps: 6219.023 Avg Mbps: 6217.610 5000 776906852 6215.255 100.00% Conn: 1 Mbps: 6215.255 Peak Mbps: 6219.023 Avg Mbps: 6215.255 --- 169.254.1.12 tcpbench statistics --- 4661012466 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6214.403/6216.937/6219.023/1.799 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 742592884 5940.743 100.00% Conn: 1 Mbps: 5940.743 Peak Mbps: 5940.743 Avg Mbps: 5940.743 2000 748084480 5990.667 100.00% Conn: 1 Mbps: 5990.667 Peak Mbps: 5990.667 Avg Mbps: 5990.667 3000 746547768 5972.382 100.00% Conn: 1 Mbps: 5972.382 Peak Mbps: 5990.667 Avg Mbps: 5972.382 4000 747136296 5977.090 100.00% Conn: 1 Mbps: 5977.090 Peak Mbps: 5990.667 Avg Mbps: 5977.090 5000 745861152 5966.889 100.00% Conn: 1 Mbps: 5966.889 Peak Mbps: 5990.667 Avg Mbps: 5966.889 --- fc00:0:0:1::12 tcpbench statistics --- 4481217004 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5940.743/5969.554/5990.667/16.418 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.043 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.043/0.043/0.043/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.058 ms --- fc00::13 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-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 782917046 6263.336 100.00% Conn: 1 Mbps: 6263.336 Peak Mbps: 6263.336 Avg Mbps: 6263.336 2000 783875360 6277.280 100.00% Conn: 1 Mbps: 6277.280 Peak Mbps: 6277.280 Avg Mbps: 6277.280 3000 783973508 6271.788 100.00% Conn: 1 Mbps: 6271.788 Peak Mbps: 6277.280 Avg Mbps: 6271.788 4000 783809928 6270.479 100.00% Conn: 1 Mbps: 6270.479 Peak Mbps: 6277.280 Avg Mbps: 6270.479 5000 783548200 6268.386 100.00% Conn: 1 Mbps: 6268.386 Peak Mbps: 6277.280 Avg Mbps: 6268.386 --- 169.254.0.13 tcpbench statistics --- 4702228414 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6263.336/6270.254/6277.280/4.541 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 773597908 6188.783 100.00% Conn: 1 Mbps: 6188.783 Peak Mbps: 6188.783 Avg Mbps: 6188.783 2000 774699024 6203.796 100.00% Conn: 1 Mbps: 6203.796 Peak Mbps: 6203.796 Avg Mbps: 6203.796 3000 773129616 6185.037 100.00% Conn: 1 Mbps: 6185.037 Peak Mbps: 6203.796 Avg Mbps: 6185.037 4000 771985256 6175.882 100.00% Conn: 1 Mbps: 6175.882 Peak Mbps: 6203.796 Avg Mbps: 6175.882 5000 775385640 6203.085 100.00% Conn: 1 Mbps: 6203.085 Peak Mbps: 6203.796 Avg Mbps: 6203.085 --- fc00::13 tcpbench statistics --- 4643071420 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6175.882/6191.317/6203.796/10.755 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.87s