START sys/net/pair 2024-06-25T09:16:46Z ==== 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.190 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.190/0.190/0.190/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.260 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.260/0.260/0.260/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 110874600 886.997 100.00% Conn: 1 Mbps: 886.997 Peak Mbps: 886.997 Avg Mbps: 886.997 2000 110016216 881.011 100.00% Conn: 1 Mbps: 881.011 Peak Mbps: 886.997 Avg Mbps: 881.011 3000 109777776 878.222 100.00% Conn: 1 Mbps: 878.222 Peak Mbps: 886.997 Avg Mbps: 878.222 4000 109833412 878.667 100.00% Conn: 1 Mbps: 878.667 Peak Mbps: 886.997 Avg Mbps: 878.667 5000 109873152 878.985 100.00% Conn: 1 Mbps: 878.985 Peak Mbps: 886.997 Avg Mbps: 878.985 --- 169.254.1.11 tcpbench statistics --- 660311892 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 878.222/880.776/886.997/3.254 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 110230912 881.847 100.00% Conn: 1 Mbps: 881.847 Peak Mbps: 881.847 Avg Mbps: 881.847 2000 109802800 879.302 100.00% Conn: 1 Mbps: 879.302 Peak Mbps: 881.847 Avg Mbps: 879.302 3000 110207128 881.657 100.00% Conn: 1 Mbps: 881.657 Peak Mbps: 881.847 Avg Mbps: 881.657 4000 109953432 880.508 100.00% Conn: 1 Mbps: 880.508 Peak Mbps: 881.847 Avg Mbps: 880.508 5000 110230912 881.847 100.00% Conn: 1 Mbps: 881.847 Peak Mbps: 881.847 Avg Mbps: 881.847 --- fc00:0:0:1::11 tcpbench statistics --- 660513392 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 879.302/881.032/881.847/0.999 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.304 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.304/0.304/0.304/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.688 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.688/0.688/0.688/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 1002 40144352 320.514 100.00% Conn: 1 Mbps: 320.514 Peak Mbps: 320.514 Avg Mbps: 320.514 2002 40315216 322.522 100.00% Conn: 1 Mbps: 322.522 Peak Mbps: 322.522 Avg Mbps: 322.522 3002 40345624 322.765 100.00% Conn: 1 Mbps: 322.765 Peak Mbps: 322.765 Avg Mbps: 322.765 4004 39985072 319.561 100.00% Conn: 1 Mbps: 319.561 Peak Mbps: 322.765 Avg Mbps: 319.561 5004 40361552 322.892 100.00% Conn: 1 Mbps: 322.892 Peak Mbps: 322.892 Avg Mbps: 322.892 --- 169.254.1.12 tcpbench statistics --- 241352640 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 319.561/321.651/322.892/1.357 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 1003 38286108 305.373 100.00% Conn: 1 Mbps: 305.373 Peak Mbps: 305.373 Avg Mbps: 305.373 2002 38281824 306.561 100.00% Conn: 1 Mbps: 306.561 Peak Mbps: 306.561 Avg Mbps: 306.561 3004 38454612 307.330 100.00% Conn: 1 Mbps: 307.330 Peak Mbps: 307.330 Avg Mbps: 307.330 4004 38467464 307.740 100.00% Conn: 1 Mbps: 307.740 Peak Mbps: 307.740 Avg Mbps: 307.740 5006 38663100 308.996 100.00% Conn: 1 Mbps: 308.996 Peak Mbps: 308.996 Avg Mbps: 308.996 --- fc00:0:0:1::12 tcpbench statistics --- 230299272 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 305.373/307.200/308.996/1.207 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.244 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.244/0.244/0.244/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.348 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.348/0.348/0.348/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 62598448 500.788 100.00% Conn: 1 Mbps: 500.788 Peak Mbps: 500.788 Avg Mbps: 500.788 2000 61978504 495.828 100.00% Conn: 1 Mbps: 495.828 Peak Mbps: 500.788 Avg Mbps: 495.828 3000 62407696 499.262 100.00% Conn: 1 Mbps: 499.262 Peak Mbps: 500.788 Avg Mbps: 499.262 4001 62161308 497.290 100.00% Conn: 1 Mbps: 497.290 Peak Mbps: 500.788 Avg Mbps: 497.290 5000 62487176 500.398 100.00% Conn: 1 Mbps: 500.398 Peak Mbps: 500.788 Avg Mbps: 500.398 --- 169.254.0.13 tcpbench statistics --- 373309612 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 495.828/498.713/500.788/1.886 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 59880184 479.041 100.00% Conn: 1 Mbps: 479.041 Peak Mbps: 479.041 Avg Mbps: 479.041 2000 59975320 479.803 100.00% Conn: 1 Mbps: 479.803 Peak Mbps: 479.803 Avg Mbps: 479.803 3001 60236944 481.896 100.00% Conn: 1 Mbps: 481.896 Peak Mbps: 481.896 Avg Mbps: 481.896 4000 59880184 479.521 100.00% Conn: 1 Mbps: 479.521 Peak Mbps: 481.896 Avg Mbps: 479.521 5001 60014960 480.120 100.00% Conn: 1 Mbps: 480.120 Peak Mbps: 481.896 Avg Mbps: 480.120 --- fc00::13 tcpbench statistics --- 359574440 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 479.041/480.076/481.896/0.976 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.200 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.200/0.200/0.200/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.269 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.269/0.269/0.269/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 1002 40095120 320.121 100.00% Conn: 1 Mbps: 320.121 Peak Mbps: 320.121 Avg Mbps: 320.121 2004 40336936 322.051 100.00% Conn: 1 Mbps: 322.051 Peak Mbps: 322.051 Avg Mbps: 322.051 3004 40271776 322.174 100.00% Conn: 1 Mbps: 322.174 Peak Mbps: 322.174 Avg Mbps: 322.174 4005 40257296 322.058 100.00% Conn: 1 Mbps: 322.058 Peak Mbps: 322.174 Avg Mbps: 322.058 5007 40351416 322.489 100.00% Conn: 1 Mbps: 322.489 Peak Mbps: 322.489 Avg Mbps: 322.489 --- 169.254.1.11 tcpbench statistics --- 241413456 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 320.121/321.779/322.489/0.844 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 1000 38021928 304.175 100.00% Conn: 1 Mbps: 304.175 Peak Mbps: 304.175 Avg Mbps: 304.175 2001 38114748 304.613 100.00% Conn: 1 Mbps: 304.613 Peak Mbps: 304.613 Avg Mbps: 304.613 3002 38143308 305.146 100.00% Conn: 1 Mbps: 305.146 Peak Mbps: 305.146 Avg Mbps: 305.146 4003 38164728 305.013 100.00% Conn: 1 Mbps: 305.013 Peak Mbps: 305.146 Avg Mbps: 305.013 5002 38323236 306.893 100.00% Conn: 1 Mbps: 306.893 Peak Mbps: 306.893 Avg Mbps: 306.893 --- fc00:0:0:1::11 tcpbench statistics --- 229111176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 304.175/305.168/306.893/0.927 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.193 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.193/0.193/0.193/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 106064552 848.516 100.00% Conn: 1 Mbps: 848.516 Peak Mbps: 848.516 Avg Mbps: 848.516 2000 106662576 853.301 100.00% Conn: 1 Mbps: 853.301 Peak Mbps: 853.301 Avg Mbps: 853.301 3000 106149984 850.050 100.00% Conn: 1 Mbps: 850.050 Peak Mbps: 853.301 Avg Mbps: 850.050 4000 106315056 850.520 100.00% Conn: 1 Mbps: 850.520 Peak Mbps: 853.301 Avg Mbps: 850.520 5000 106794344 854.355 100.00% Conn: 1 Mbps: 854.355 Peak Mbps: 854.355 Avg Mbps: 854.355 --- 169.254.1.12 tcpbench statistics --- 638433336 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 848.516/851.348/854.355/2.156 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 104915160 839.321 100.00% Conn: 1 Mbps: 839.321 Peak Mbps: 839.321 Avg Mbps: 839.321 2000 104972280 839.778 100.00% Conn: 1 Mbps: 839.778 Peak Mbps: 839.778 Avg Mbps: 839.778 3000 105269304 842.154 100.00% Conn: 1 Mbps: 842.154 Peak Mbps: 842.154 Avg Mbps: 842.154 4000 105052248 841.259 100.00% Conn: 1 Mbps: 841.259 Peak Mbps: 842.154 Avg Mbps: 841.259 5000 105185052 841.480 100.00% Conn: 1 Mbps: 841.480 Peak Mbps: 842.154 Avg Mbps: 841.480 --- fc00:0:0:1::12 tcpbench statistics --- 630073584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 839.321/840.799/842.154/1.071 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.207 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.207/0.207/0.207/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.250 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.250/0.250/0.250/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 176569144 1412.553 100.00% Conn: 1 Mbps: 1412.553 Peak Mbps: 1412.553 Avg Mbps: 1412.553 2000 174932356 1400.860 100.00% Conn: 1 Mbps: 1400.860 Peak Mbps: 1412.553 Avg Mbps: 1400.860 3000 175128640 1401.029 100.00% Conn: 1 Mbps: 1401.029 Peak Mbps: 1412.553 Avg Mbps: 1401.029 4000 174932356 1399.459 100.00% Conn: 1 Mbps: 1399.459 Peak Mbps: 1412.553 Avg Mbps: 1399.459 5000 175030492 1400.244 100.00% Conn: 1 Mbps: 1400.244 Peak Mbps: 1412.553 Avg Mbps: 1400.244 --- 169.254.0.13 tcpbench statistics --- 1051329048 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1399.459/1402.829/1412.553/4.893 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 175708808 1405.670 100.00% Conn: 1 Mbps: 1405.670 Peak Mbps: 1405.670 Avg Mbps: 1405.670 2000 173877328 1392.411 100.00% Conn: 1 Mbps: 1392.411 Peak Mbps: 1405.670 Avg Mbps: 1392.411 3000 173550368 1388.403 100.00% Conn: 1 Mbps: 1388.403 Peak Mbps: 1405.670 Avg Mbps: 1388.403 4000 173910024 1391.280 100.00% Conn: 1 Mbps: 1391.280 Peak Mbps: 1405.670 Avg Mbps: 1391.280 5000 173615760 1388.926 100.00% Conn: 1 Mbps: 1388.926 Peak Mbps: 1405.670 Avg Mbps: 1388.926 --- fc00::13 tcpbench statistics --- 1042872120 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1388.403/1393.338/1405.670/6.340 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.237 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.237/0.237/0.237/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.288 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.288/0.288/0.288/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 39782352 317.307 100.00% Conn: 1 Mbps: 317.307 Peak Mbps: 317.307 Avg Mbps: 317.307 2005 40012584 319.462 100.00% Conn: 1 Mbps: 319.462 Peak Mbps: 319.462 Avg Mbps: 319.462 3007 39973488 319.150 100.00% Conn: 1 Mbps: 319.150 Peak Mbps: 319.462 Avg Mbps: 319.150 4009 39960456 319.364 100.00% Conn: 1 Mbps: 319.364 Peak Mbps: 319.462 Avg Mbps: 319.364 5009 39944528 319.556 100.00% Conn: 1 Mbps: 319.556 Peak Mbps: 319.556 Avg Mbps: 319.556 --- 169.254.1.11 tcpbench statistics --- 239270416 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 317.307/318.968/319.556/0.841 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 64846184 518.769 100.00% Conn: 1 Mbps: 518.769 Peak Mbps: 518.769 Avg Mbps: 518.769 2001 64449864 515.599 100.00% Conn: 1 Mbps: 515.599 Peak Mbps: 518.769 Avg Mbps: 515.599 3004 64577992 515.079 100.00% Conn: 1 Mbps: 515.079 Peak Mbps: 518.769 Avg Mbps: 515.079 4004 64225904 513.807 100.00% Conn: 1 Mbps: 513.807 Peak Mbps: 518.769 Avg Mbps: 513.807 5004 64119416 513.469 100.00% Conn: 1 Mbps: 513.469 Peak Mbps: 518.769 Avg Mbps: 513.469 --- fc00:0:0:1::11 tcpbench statistics --- 385991648 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 513.469/515.345/518.769/1.884 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.180 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.180/0.180/0.180/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.257 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.257/0.257/0.257/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 175865842 1406.927 100.00% Conn: 1 Mbps: 1406.927 Peak Mbps: 1406.927 Avg Mbps: 1406.927 2000 174245320 1395.358 100.00% Conn: 1 Mbps: 1395.358 Peak Mbps: 1406.927 Avg Mbps: 1395.358 3000 174212592 1393.701 100.00% Conn: 1 Mbps: 1393.701 Peak Mbps: 1406.927 Avg Mbps: 1393.701 4000 174212604 1393.701 100.00% Conn: 1 Mbps: 1393.701 Peak Mbps: 1406.927 Avg Mbps: 1393.701 5000 174228962 1393.832 100.00% Conn: 1 Mbps: 1393.832 Peak Mbps: 1406.927 Avg Mbps: 1393.832 --- 169.254.1.12 tcpbench statistics --- 1046847048 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1393.701/1396.704/1406.927/5.150 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 180467624 1443.741 100.00% Conn: 1 Mbps: 1443.741 Peak Mbps: 1443.741 Avg Mbps: 1443.741 2000 181103144 1450.275 100.00% Conn: 1 Mbps: 1450.275 Peak Mbps: 1450.275 Avg Mbps: 1450.275 3000 180514616 1444.117 100.00% Conn: 1 Mbps: 1444.117 Peak Mbps: 1450.275 Avg Mbps: 1444.117 4000 181037752 1448.302 100.00% Conn: 1 Mbps: 1448.302 Peak Mbps: 1450.275 Avg Mbps: 1448.302 5000 181201232 1449.610 100.00% Conn: 1 Mbps: 1449.610 Peak Mbps: 1450.275 Avg Mbps: 1449.610 --- fc00:0:0:1::12 tcpbench statistics --- 1085133248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1443.741/1447.209/1450.275/2.755 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.196 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.196/0.196/0.196/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.233 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.233/0.233/0.233/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 180216238 1441.730 100.00% Conn: 1 Mbps: 1441.730 Peak Mbps: 1441.730 Avg Mbps: 1441.730 2000 178236672 1427.321 100.00% Conn: 1 Mbps: 1427.321 Peak Mbps: 1441.730 Avg Mbps: 1427.321 3000 178367524 1426.940 100.00% Conn: 1 Mbps: 1426.940 Peak Mbps: 1441.730 Avg Mbps: 1426.940 4000 178302092 1426.417 100.00% Conn: 1 Mbps: 1426.417 Peak Mbps: 1441.730 Avg Mbps: 1426.417 5000 178105808 1424.846 100.00% Conn: 1 Mbps: 1424.846 Peak Mbps: 1441.730 Avg Mbps: 1424.846 --- 169.254.0.13 tcpbench statistics --- 1071497710 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1424.846/1429.451/1441.730/6.197 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 178684604 1429.477 100.00% Conn: 1 Mbps: 1429.477 Peak Mbps: 1429.477 Avg Mbps: 1429.477 2000 177048840 1417.809 100.00% Conn: 1 Mbps: 1417.809 Peak Mbps: 1429.477 Avg Mbps: 1417.809 3000 177146928 1417.175 100.00% Conn: 1 Mbps: 1417.175 Peak Mbps: 1429.477 Avg Mbps: 1417.175 4000 177016144 1416.129 100.00% Conn: 1 Mbps: 1416.129 Peak Mbps: 1429.477 Avg Mbps: 1416.129 5000 176983448 1415.868 100.00% Conn: 1 Mbps: 1415.868 Peak Mbps: 1429.477 Avg Mbps: 1415.868 --- fc00::13 tcpbench statistics --- 1063765324 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1415.868/1419.292/1429.477/5.141 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.27s