START sys/net/pair 2024-09-25T22:12:16Z ==== 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.186 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.186/0.186/0.186/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.211 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.211/0.211/0.211/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 51256652 410.053 100.00% Conn: 1 Mbps: 410.053 Peak Mbps: 410.053 Avg Mbps: 410.053 2001 51534832 412.279 100.00% Conn: 1 Mbps: 412.279 Peak Mbps: 412.279 Avg Mbps: 412.279 3001 51359976 410.880 100.00% Conn: 1 Mbps: 410.880 Peak Mbps: 412.279 Avg Mbps: 410.880 4001 50318788 402.550 100.00% Conn: 1 Mbps: 402.550 Peak Mbps: 412.279 Avg Mbps: 402.550 5002 51550728 412.406 100.00% Conn: 1 Mbps: 412.406 Peak Mbps: 412.406 Avg Mbps: 412.406 --- 169.254.1.11 tcpbench statistics --- 307229940 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 402.550/409.634/412.406/3.649 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 1001 46616640 372.561 100.00% Conn: 1 Mbps: 372.561 Peak Mbps: 372.561 Avg Mbps: 372.561 2001 45974472 367.796 100.00% Conn: 1 Mbps: 367.796 Peak Mbps: 372.561 Avg Mbps: 367.796 3001 45776272 366.210 100.00% Conn: 1 Mbps: 366.210 Peak Mbps: 372.561 Avg Mbps: 366.210 4002 46299520 370.396 100.00% Conn: 1 Mbps: 370.396 Peak Mbps: 372.561 Avg Mbps: 370.396 5002 46006184 368.418 100.00% Conn: 1 Mbps: 368.418 Peak Mbps: 372.561 Avg Mbps: 368.418 --- fc00:0:0:1::11 tcpbench statistics --- 276473144 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 366.210/369.076/372.561/2.199 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.329 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.329/0.329/0.329/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.739 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.739/0.739/0.739/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 31279696 249.988 100.00% Conn: 1 Mbps: 249.988 Peak Mbps: 249.988 Avg Mbps: 249.988 2002 31279696 249.988 100.00% Conn: 1 Mbps: 249.988 Peak Mbps: 249.988 Avg Mbps: 249.988 3003 31495448 251.712 100.00% Conn: 1 Mbps: 251.712 Peak Mbps: 251.712 Avg Mbps: 251.712 4004 31176888 249.415 100.00% Conn: 1 Mbps: 249.415 Peak Mbps: 251.712 Avg Mbps: 249.415 5004 31328928 250.631 100.00% Conn: 1 Mbps: 250.631 Peak Mbps: 251.712 Avg Mbps: 250.631 --- 169.254.1.12 tcpbench statistics --- 188206696 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 249.415/250.347/251.712/0.784 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 30160788 241.045 100.00% Conn: 1 Mbps: 241.045 Peak Mbps: 241.045 Avg Mbps: 241.045 2001 30342144 242.980 100.00% Conn: 1 Mbps: 242.980 Peak Mbps: 242.980 Avg Mbps: 242.980 3001 30512076 244.097 100.00% Conn: 1 Mbps: 244.097 Peak Mbps: 244.097 Avg Mbps: 244.097 4004 30089388 239.995 100.00% Conn: 1 Mbps: 239.995 Peak Mbps: 244.097 Avg Mbps: 239.995 5005 30222192 241.536 100.00% Conn: 1 Mbps: 241.536 Peak Mbps: 244.097 Avg Mbps: 241.536 --- fc00:0:0:1::12 tcpbench statistics --- 181724424 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 239.995/241.931/244.097/1.448 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.220 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.220/0.220/0.220/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.314 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.314/0.314/0.314/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 31712520 253.700 100.00% Conn: 1 Mbps: 253.700 Peak Mbps: 253.700 Avg Mbps: 253.700 2001 31251536 249.763 100.00% Conn: 1 Mbps: 249.763 Peak Mbps: 253.700 Avg Mbps: 249.763 3002 31521768 252.174 100.00% Conn: 1 Mbps: 252.174 Peak Mbps: 253.700 Avg Mbps: 252.174 4002 31768156 254.400 100.00% Conn: 1 Mbps: 254.400 Peak Mbps: 254.400 Avg Mbps: 254.400 5002 31521768 252.174 100.00% Conn: 1 Mbps: 252.174 Peak Mbps: 254.400 Avg Mbps: 252.174 --- 169.254.0.13 tcpbench statistics --- 188916012 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 249.763/252.442/254.400/1.596 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 32679216 261.434 100.00% Conn: 1 Mbps: 261.434 Peak Mbps: 261.434 Avg Mbps: 261.434 2000 33773280 270.186 100.00% Conn: 1 Mbps: 270.186 Peak Mbps: 270.186 Avg Mbps: 270.186 3002 33487872 267.635 100.00% Conn: 1 Mbps: 267.635 Peak Mbps: 270.186 Avg Mbps: 267.635 4002 33416520 267.332 100.00% Conn: 1 Mbps: 267.332 Peak Mbps: 270.186 Avg Mbps: 267.332 5002 33075616 264.605 100.00% Conn: 1 Mbps: 264.605 Peak Mbps: 270.186 Avg Mbps: 264.605 --- fc00::13 tcpbench statistics --- 198596400 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 261.434/266.238/270.186/2.983 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.181 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.181/0.181/0.181/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.234 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.234/0.234/0.234/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 1004 31800976 253.394 100.00% Conn: 1 Mbps: 253.394 Peak Mbps: 253.394 Avg Mbps: 253.394 2002 31182680 250.212 100.00% Conn: 1 Mbps: 250.212 Peak Mbps: 253.394 Avg Mbps: 250.212 3005 31488208 251.152 100.00% Conn: 1 Mbps: 251.152 Peak Mbps: 253.394 Avg Mbps: 251.152 4005 31243496 249.948 100.00% Conn: 1 Mbps: 249.948 Peak Mbps: 253.394 Avg Mbps: 249.948 5008 31389744 250.617 100.00% Conn: 1 Mbps: 250.617 Peak Mbps: 253.394 Avg Mbps: 250.617 --- 169.254.1.11 tcpbench statistics --- 188468784 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 249.948/251.065/253.394/1.234 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 30354996 242.597 100.00% Conn: 1 Mbps: 242.597 Peak Mbps: 242.597 Avg Mbps: 242.597 2005 30503508 243.298 100.00% Conn: 1 Mbps: 243.298 Peak Mbps: 243.298 Avg Mbps: 243.298 3003 30052260 240.900 100.00% Conn: 1 Mbps: 240.900 Peak Mbps: 243.298 Avg Mbps: 240.900 4004 29848056 238.784 100.00% Conn: 1 Mbps: 238.784 Peak Mbps: 243.298 Avg Mbps: 238.784 5005 30359280 242.632 100.00% Conn: 1 Mbps: 242.632 Peak Mbps: 243.298 Avg Mbps: 242.632 --- fc00:0:0:1::11 tcpbench statistics --- 181111812 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 238.784/241.642/243.298/1.634 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.164 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.164/0.164/0.164/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.236 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.236/0.236/0.236/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 44282736 354.262 100.00% Conn: 1 Mbps: 354.262 Peak Mbps: 354.262 Avg Mbps: 354.262 2001 44269704 354.158 100.00% Conn: 1 Mbps: 354.158 Peak Mbps: 354.262 Avg Mbps: 354.158 3001 45092168 360.737 100.00% Conn: 1 Mbps: 360.737 Peak Mbps: 360.737 Avg Mbps: 360.737 4001 44234952 353.880 100.00% Conn: 1 Mbps: 353.880 Peak Mbps: 360.737 Avg Mbps: 353.880 5002 44088704 352.710 100.00% Conn: 1 Mbps: 352.710 Peak Mbps: 360.737 Avg Mbps: 352.710 --- 169.254.1.12 tcpbench statistics --- 266306024 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 352.710/355.149/360.737/2.848 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 47753748 382.030 100.00% Conn: 1 Mbps: 382.030 Peak Mbps: 382.030 Avg Mbps: 382.030 2000 48893292 391.146 100.00% Conn: 1 Mbps: 391.146 Peak Mbps: 391.146 Avg Mbps: 391.146 3001 47543832 380.351 100.00% Conn: 1 Mbps: 380.351 Peak Mbps: 391.146 Avg Mbps: 380.351 4001 47696628 381.573 100.00% Conn: 1 Mbps: 381.573 Peak Mbps: 391.146 Avg Mbps: 381.573 5001 47675208 381.783 100.00% Conn: 1 Mbps: 381.783 Peak Mbps: 391.146 Avg Mbps: 381.783 --- fc00:0:0:1::12 tcpbench statistics --- 287209356 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 380.351/383.377/391.146/3.928 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.180 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.180/0.180/0.180/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.223 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.223/0.223/0.223/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 136458858 1091.671 100.00% Conn: 1 Mbps: 1091.671 Peak Mbps: 1091.671 Avg Mbps: 1091.671 2000 137243536 1097.948 100.00% Conn: 1 Mbps: 1097.948 Peak Mbps: 1097.948 Avg Mbps: 1097.948 3000 137178104 1097.425 100.00% Conn: 1 Mbps: 1097.425 Peak Mbps: 1097.948 Avg Mbps: 1097.425 4000 137047240 1096.378 100.00% Conn: 1 Mbps: 1096.378 Peak Mbps: 1097.948 Avg Mbps: 1096.378 5000 136785524 1094.284 100.00% Conn: 1 Mbps: 1094.284 Peak Mbps: 1097.948 Avg Mbps: 1094.284 --- 169.254.0.13 tcpbench statistics --- 820386502 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1091.671/1095.541/1097.948/2.307 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 128462908 1027.703 100.00% Conn: 1 Mbps: 1027.703 Peak Mbps: 1027.703 Avg Mbps: 1027.703 2000 128985720 1031.886 100.00% Conn: 1 Mbps: 1031.886 Peak Mbps: 1031.886 Avg Mbps: 1031.886 3000 129574248 1036.594 100.00% Conn: 1 Mbps: 1036.594 Peak Mbps: 1036.594 Avg Mbps: 1036.594 4000 128495280 1027.962 100.00% Conn: 1 Mbps: 1027.962 Peak Mbps: 1036.594 Avg Mbps: 1027.962 5000 128495280 1027.962 100.00% Conn: 1 Mbps: 1027.962 Peak Mbps: 1036.594 Avg Mbps: 1027.962 --- fc00::13 tcpbench statistics --- 772312540 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1027.703/1030.421/1036.594/3.456 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.189 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.189/0.189/0.189/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.257 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.257/0.257/0.257/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 1003 31408568 250.517 100.00% Conn: 1 Mbps: 250.517 Peak Mbps: 250.517 Avg Mbps: 250.517 2004 31507032 252.056 100.00% Conn: 1 Mbps: 252.056 Peak Mbps: 252.056 Avg Mbps: 252.056 3004 31317344 250.539 100.00% Conn: 1 Mbps: 250.539 Peak Mbps: 252.056 Avg Mbps: 250.539 4005 31647488 253.180 100.00% Conn: 1 Mbps: 253.180 Peak Mbps: 253.180 Avg Mbps: 253.180 5003 31333272 251.420 100.00% Conn: 1 Mbps: 251.420 Peak Mbps: 253.180 Avg Mbps: 251.420 --- 169.254.1.11 tcpbench statistics --- 188476024 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 250.517/251.542/253.180/1.002 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 1002 56701592 452.707 100.00% Conn: 1 Mbps: 452.707 Peak Mbps: 452.707 Avg Mbps: 452.707 2003 55680432 445.443 100.00% Conn: 1 Mbps: 445.443 Peak Mbps: 452.707 Avg Mbps: 445.443 3004 56844848 454.304 100.00% Conn: 1 Mbps: 454.304 Peak Mbps: 454.304 Avg Mbps: 454.304 4008 57137888 455.736 100.00% Conn: 1 Mbps: 455.736 Peak Mbps: 455.736 Avg Mbps: 455.736 5015 57510608 456.887 100.00% Conn: 1 Mbps: 456.887 Peak Mbps: 456.887 Avg Mbps: 456.887 --- fc00:0:0:1::11 tcpbench statistics --- 340537656 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 445.443/453.016/456.887/4.037 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.178 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.178/0.178/0.178/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.237 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.237/0.237/0.237/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 135804330 1086.435 100.00% Conn: 1 Mbps: 1086.435 Peak Mbps: 1086.435 Avg Mbps: 1086.435 2000 136033044 1088.264 100.00% Conn: 1 Mbps: 1088.264 Peak Mbps: 1088.264 Avg Mbps: 1088.264 3000 135509600 1084.077 100.00% Conn: 1 Mbps: 1084.077 Peak Mbps: 1088.264 Avg Mbps: 1084.077 4000 136163920 1089.311 100.00% Conn: 1 Mbps: 1089.311 Peak Mbps: 1089.311 Avg Mbps: 1089.311 5000 137014524 1096.116 100.00% Conn: 1 Mbps: 1096.116 Peak Mbps: 1096.116 Avg Mbps: 1096.116 --- 169.254.1.12 tcpbench statistics --- 815904142 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1084.077/1088.841/1096.116/4.049 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 128904196 1031.234 100.00% Conn: 1 Mbps: 1031.234 Peak Mbps: 1031.234 Avg Mbps: 1031.234 2000 128168320 1025.347 100.00% Conn: 1 Mbps: 1025.347 Peak Mbps: 1031.234 Avg Mbps: 1025.347 3000 127677880 1021.423 100.00% Conn: 1 Mbps: 1021.423 Peak Mbps: 1031.234 Avg Mbps: 1021.423 4000 127350920 1018.807 100.00% Conn: 1 Mbps: 1018.807 Peak Mbps: 1031.234 Avg Mbps: 1018.807 5000 128985720 1031.886 100.00% Conn: 1 Mbps: 1031.886 Peak Mbps: 1031.886 Avg Mbps: 1031.886 --- fc00:0:0:1::12 tcpbench statistics --- 769255356 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1018.807/1025.739/1031.886/5.192 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.179 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.179/0.179/0.179/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.222 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.222/0.222/0.222/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 174949182 1399.593 100.00% Conn: 1 Mbps: 1399.593 Peak Mbps: 1399.593 Avg Mbps: 1399.593 2000 173394692 1387.158 100.00% Conn: 1 Mbps: 1387.158 Peak Mbps: 1399.593 Avg Mbps: 1387.158 3000 170646548 1365.172 100.00% Conn: 1 Mbps: 1365.172 Peak Mbps: 1399.593 Avg Mbps: 1365.172 4000 178498400 1427.987 100.00% Conn: 1 Mbps: 1427.987 Peak Mbps: 1427.987 Avg Mbps: 1427.987 5000 178138512 1425.108 100.00% Conn: 1 Mbps: 1425.108 Peak Mbps: 1427.987 Avg Mbps: 1425.108 --- 169.254.0.13 tcpbench statistics --- 1039338102 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1365.172/1401.004/1427.987/23.608 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 140690996 1125.528 100.00% Conn: 1 Mbps: 1125.528 Peak Mbps: 1125.528 Avg Mbps: 1125.528 2000 139415744 1115.326 100.00% Conn: 1 Mbps: 1115.326 Peak Mbps: 1125.528 Avg Mbps: 1115.326 3000 139154176 1113.233 100.00% Conn: 1 Mbps: 1113.233 Peak Mbps: 1125.528 Avg Mbps: 1113.233 4000 139252264 1114.018 100.00% Conn: 1 Mbps: 1114.018 Peak Mbps: 1125.528 Avg Mbps: 1114.018 5000 139219568 1113.757 100.00% Conn: 1 Mbps: 1113.757 Peak Mbps: 1125.528 Avg Mbps: 1113.757 --- fc00::13 tcpbench statistics --- 836559964 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1113.233/1116.372/1125.528/4.629 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 1m59.44s