START sys/net/pair 2025-01-12T02:49:51Z ==== 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.040 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.040/0.040/0.040/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.045 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.045/0.045/0.045/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 892425284 7139.402 100.00% Conn: 1 Mbps: 7139.402 Peak Mbps: 7139.402 Avg Mbps: 7139.402 2000 887847236 7109.888 100.00% Conn: 1 Mbps: 7109.888 Peak Mbps: 7139.402 Avg Mbps: 7109.888 3000 885478732 7083.830 100.00% Conn: 1 Mbps: 7083.830 Peak Mbps: 7139.402 Avg Mbps: 7083.830 4000 885892028 7087.136 100.00% Conn: 1 Mbps: 7087.136 Peak Mbps: 7139.402 Avg Mbps: 7087.136 5000 888165156 7105.321 100.00% Conn: 1 Mbps: 7105.321 Peak Mbps: 7139.402 Avg Mbps: 7105.321 --- 169.254.1.11 tcpbench statistics --- 5324937456 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7083.830/7105.115/7139.402/19.873 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 902769288 7222.154 100.00% Conn: 1 Mbps: 7222.154 Peak Mbps: 7222.154 Avg Mbps: 7222.154 2000 906281392 7257.509 100.00% Conn: 1 Mbps: 7257.509 Peak Mbps: 7257.509 Avg Mbps: 7257.509 3000 907343744 7258.750 100.00% Conn: 1 Mbps: 7258.750 Peak Mbps: 7258.750 Avg Mbps: 7258.750 4000 909198896 7273.591 100.00% Conn: 1 Mbps: 7273.591 Peak Mbps: 7273.591 Avg Mbps: 7273.591 5000 905544088 7244.353 100.00% Conn: 1 Mbps: 7244.353 Peak Mbps: 7273.591 Avg Mbps: 7244.353 --- fc00:0:0:1::11 tcpbench statistics --- 5439020256 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7222.154/7251.271/7273.591/17.255 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.066 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.066/0.066/0.066/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.125 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.125/0.125/0.125/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 361566840 2889.645 100.00% Conn: 1 Mbps: 2889.645 Peak Mbps: 2889.645 Avg Mbps: 2889.645 2001 370671616 2965.373 100.00% Conn: 1 Mbps: 2965.373 Peak Mbps: 2965.373 Avg Mbps: 2965.373 3002 371982336 2975.859 100.00% Conn: 1 Mbps: 2975.859 Peak Mbps: 2975.859 Avg Mbps: 2975.859 4002 370671616 2965.373 100.00% Conn: 1 Mbps: 2965.373 Peak Mbps: 2975.859 Avg Mbps: 2965.373 5002 370933760 2967.470 100.00% Conn: 1 Mbps: 2967.470 Peak Mbps: 2975.859 Avg Mbps: 2967.470 --- 169.254.1.12 tcpbench statistics --- 2217832552 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2889.645/2952.744/2975.859/31.786 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 351004552 2805.231 100.00% Conn: 1 Mbps: 2805.231 Peak Mbps: 2805.231 Avg Mbps: 2805.231 2001 357040128 2856.321 100.00% Conn: 1 Mbps: 2856.321 Peak Mbps: 2856.321 Avg Mbps: 2856.321 3001 359137280 2873.098 100.00% Conn: 1 Mbps: 2873.098 Peak Mbps: 2873.098 Avg Mbps: 2873.098 4001 358655252 2869.242 100.00% Conn: 1 Mbps: 2869.242 Peak Mbps: 2873.098 Avg Mbps: 2869.242 5002 358350848 2866.807 100.00% Conn: 1 Mbps: 2866.807 Peak Mbps: 2873.098 Avg Mbps: 2866.807 --- fc00:0:0:1::12 tcpbench statistics --- 2142276764 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2805.231/2854.140/2873.098/25.079 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.058 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.058/0.058/0.058/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.065 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.065/0.065/0.065/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 734005608 5872.045 100.00% Conn: 1 Mbps: 5872.045 Peak Mbps: 5872.045 Avg Mbps: 5872.045 2000 766624340 6132.995 100.00% Conn: 1 Mbps: 6132.995 Peak Mbps: 6132.995 Avg Mbps: 6132.995 3000 763127244 6105.018 100.00% Conn: 1 Mbps: 6105.018 Peak Mbps: 6132.995 Avg Mbps: 6105.018 4001 765384312 6123.074 100.00% Conn: 1 Mbps: 6123.074 Peak Mbps: 6132.995 Avg Mbps: 6123.074 5001 761935160 6101.583 100.00% Conn: 1 Mbps: 6101.583 Peak Mbps: 6132.995 Avg Mbps: 6101.583 --- 169.254.0.13 tcpbench statistics --- 4558241328 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5872.045/6066.943/6132.995/98.131 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 653703760 5229.630 100.00% Conn: 1 Mbps: 5229.630 Peak Mbps: 5229.630 Avg Mbps: 5229.630 2000 679393864 5435.151 100.00% Conn: 1 Mbps: 5435.151 Peak Mbps: 5435.151 Avg Mbps: 5435.151 3001 681856608 5454.853 100.00% Conn: 1 Mbps: 5454.853 Peak Mbps: 5454.853 Avg Mbps: 5454.853 4001 679159528 5433.276 100.00% Conn: 1 Mbps: 5433.276 Peak Mbps: 5454.853 Avg Mbps: 5433.276 5001 685145688 5481.166 100.00% Conn: 1 Mbps: 5481.166 Peak Mbps: 5481.166 Avg Mbps: 5481.166 --- fc00::13 tcpbench statistics --- 4067957920 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5229.630/5406.815/5481.166/90.259 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.042 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.042/0.042/0.042/0.000 ms ==== run-ping6-2-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.050 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 361459560 2888.788 100.00% Conn: 1 Mbps: 2888.788 Peak Mbps: 2888.788 Avg Mbps: 2888.788 2001 366215168 2929.721 100.00% Conn: 1 Mbps: 2929.721 Peak Mbps: 2929.721 Avg Mbps: 2929.721 3001 368050176 2944.401 100.00% Conn: 1 Mbps: 2944.401 Peak Mbps: 2944.401 Avg Mbps: 2944.401 4001 368050176 2944.401 100.00% Conn: 1 Mbps: 2944.401 Peak Mbps: 2944.401 Avg Mbps: 2944.401 5002 368574464 2948.596 100.00% Conn: 1 Mbps: 2948.596 Peak Mbps: 2948.596 Avg Mbps: 2948.596 --- 169.254.1.11 tcpbench statistics --- 2199259768 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2888.788/2931.182/2948.596/22.146 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 350432244 2803.458 100.00% Conn: 1 Mbps: 2803.458 Peak Mbps: 2803.458 Avg Mbps: 2803.458 2001 357564416 2860.515 100.00% Conn: 1 Mbps: 2860.515 Peak Mbps: 2860.515 Avg Mbps: 2860.515 3002 357838468 2862.708 100.00% Conn: 1 Mbps: 2862.708 Peak Mbps: 2862.708 Avg Mbps: 2862.708 4002 357826560 2862.612 100.00% Conn: 1 Mbps: 2862.612 Peak Mbps: 2862.708 Avg Mbps: 2862.612 5002 358875136 2871.001 100.00% Conn: 1 Mbps: 2871.001 Peak Mbps: 2871.001 Avg Mbps: 2871.001 --- fc00:0:0:1::11 tcpbench statistics --- 2142984824 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2803.458/2852.059/2871.001/24.565 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.038 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.038/0.038/0.038/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.046 ms --- fc00:0:0:1::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.046/0.046/0.046/0.000 ms ==== run-tcpbench-2-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 914416344 7315.331 100.00% Conn: 1 Mbps: 7315.331 Peak Mbps: 7315.331 Avg Mbps: 7315.331 2000 916505808 7339.386 100.00% Conn: 1 Mbps: 7339.386 Peak Mbps: 7339.386 Avg Mbps: 7339.386 3000 916143808 7336.487 100.00% Conn: 1 Mbps: 7336.487 Peak Mbps: 7339.386 Avg Mbps: 7336.487 4000 918470744 7347.766 100.00% Conn: 1 Mbps: 7347.766 Peak Mbps: 7347.766 Avg Mbps: 7347.766 5000 918569208 7348.554 100.00% Conn: 1 Mbps: 7348.554 Peak Mbps: 7348.554 Avg Mbps: 7348.554 --- 169.254.1.12 tcpbench statistics --- 5500283024 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7315.331/7337.505/7348.554/12.030 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 923851740 7390.814 100.00% Conn: 1 Mbps: 7390.814 Peak Mbps: 7390.814 Avg Mbps: 7390.814 2000 925105524 7408.252 100.00% Conn: 1 Mbps: 7408.252 Peak Mbps: 7408.252 Avg Mbps: 7408.252 3000 928532724 7428.262 100.00% Conn: 1 Mbps: 7428.262 Peak Mbps: 7428.262 Avg Mbps: 7428.262 4000 926152248 7409.218 100.00% Conn: 1 Mbps: 7409.218 Peak Mbps: 7428.262 Avg Mbps: 7409.218 5000 929843628 7438.749 100.00% Conn: 1 Mbps: 7438.749 Peak Mbps: 7438.749 Avg Mbps: 7438.749 --- fc00:0:0:1::12 tcpbench statistics --- 5563308072 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7390.814/7415.059/7438.749/16.756 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.041 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.041/0.041/0.041/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.047 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-tcpbench-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 1077521762 8620.174 100.00% Conn: 1 Mbps: 8620.174 Peak Mbps: 8620.174 Avg Mbps: 8620.174 2000 1073575540 8597.202 100.00% Conn: 1 Mbps: 8597.202 Peak Mbps: 8620.174 Avg Mbps: 8597.202 3000 1073379244 8587.034 100.00% Conn: 1 Mbps: 8587.034 Peak Mbps: 8620.174 Avg Mbps: 8587.034 4000 1074835106 8598.681 100.00% Conn: 1 Mbps: 8598.681 Peak Mbps: 8620.174 Avg Mbps: 8598.681 5000 1078924606 8631.397 100.00% Conn: 1 Mbps: 8631.397 Peak Mbps: 8631.397 Avg Mbps: 8631.397 --- 169.254.0.13 tcpbench statistics --- 6457504382 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8587.034/8606.897/8631.397/16.325 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 1069750140 8558.001 100.00% Conn: 1 Mbps: 8558.001 Peak Mbps: 8558.001 Avg Mbps: 8558.001 2000 1067720576 8550.315 100.00% Conn: 1 Mbps: 8550.315 Peak Mbps: 8558.001 Avg Mbps: 8550.315 3000 1068537976 8548.304 100.00% Conn: 1 Mbps: 8548.304 Peak Mbps: 8558.001 Avg Mbps: 8548.304 4000 1071120960 8568.968 100.00% Conn: 1 Mbps: 8568.968 Peak Mbps: 8568.968 Avg Mbps: 8568.968 5000 1069322680 8554.581 100.00% Conn: 1 Mbps: 8554.581 Peak Mbps: 8568.968 Avg Mbps: 8554.581 --- fc00::13 tcpbench statistics --- 6415644228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8548.304/8556.034/8568.968/7.290 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.048 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-ping6-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.053 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.053/0.053/0.053/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1001 361043072 2885.459 100.00% Conn: 1 Mbps: 2885.459 Peak Mbps: 2885.459 Avg Mbps: 2885.459 2001 369623040 2956.984 100.00% Conn: 1 Mbps: 2956.984 Peak Mbps: 2956.984 Avg Mbps: 2956.984 3002 368312320 2946.499 100.00% Conn: 1 Mbps: 2946.499 Peak Mbps: 2956.984 Avg Mbps: 2946.499 4002 368574464 2948.596 100.00% Conn: 1 Mbps: 2948.596 Peak Mbps: 2956.984 Avg Mbps: 2948.596 5002 367001600 2936.013 100.00% Conn: 1 Mbps: 2936.013 Peak Mbps: 2956.984 Avg Mbps: 2936.013 --- 169.254.1.11 tcpbench statistics --- 2201818240 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2885.459/2934.710/2956.984/25.516 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 794404512 6355.236 100.00% Conn: 1 Mbps: 6355.236 Peak Mbps: 6355.236 Avg Mbps: 6355.236 2000 808378160 6467.025 100.00% Conn: 1 Mbps: 6467.025 Peak Mbps: 6467.025 Avg Mbps: 6467.025 3001 845676544 6765.412 100.00% Conn: 1 Mbps: 6765.412 Peak Mbps: 6765.412 Avg Mbps: 6765.412 4001 843841536 6750.732 100.00% Conn: 1 Mbps: 6750.732 Peak Mbps: 6765.412 Avg Mbps: 6750.732 5001 847773696 6782.190 100.00% Conn: 1 Mbps: 6782.190 Peak Mbps: 6782.190 Avg Mbps: 6782.190 --- fc00:0:0:1::11 tcpbench statistics --- 4973168080 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6355.236/6624.119/6782.190/177.740 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.042 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.042/0.042/0.042/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.047 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.047/0.047/0.047/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 1098751586 8790.013 100.00% Conn: 1 Mbps: 8790.013 Peak Mbps: 8790.013 Avg Mbps: 8790.013 2000 1099960994 8808.496 100.00% Conn: 1 Mbps: 8808.496 Peak Mbps: 8808.496 Avg Mbps: 8808.496 3000 1096542172 8772.337 100.00% Conn: 1 Mbps: 8772.337 Peak Mbps: 8808.496 Avg Mbps: 8772.337 4000 1095789704 8766.318 100.00% Conn: 1 Mbps: 8766.318 Peak Mbps: 8808.496 Avg Mbps: 8766.318 5000 1097032912 8776.263 100.00% Conn: 1 Mbps: 8776.263 Peak Mbps: 8808.496 Avg Mbps: 8776.263 --- 169.254.1.12 tcpbench statistics --- 6582705654 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8766.318/8782.685/8808.496/15.074 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 1085851364 8686.811 100.00% Conn: 1 Mbps: 8686.811 Peak Mbps: 8686.811 Avg Mbps: 8686.811 2000 1086030336 8696.940 100.00% Conn: 1 Mbps: 8696.940 Peak Mbps: 8696.940 Avg Mbps: 8696.940 3000 1083970488 8671.764 100.00% Conn: 1 Mbps: 8671.764 Peak Mbps: 8696.940 Avg Mbps: 8671.764 4000 1085539896 8684.319 100.00% Conn: 1 Mbps: 8684.319 Peak Mbps: 8696.940 Avg Mbps: 8684.319 5000 1085441808 8683.534 100.00% Conn: 1 Mbps: 8683.534 Peak Mbps: 8696.940 Avg Mbps: 8683.534 --- fc00:0:0:1::12 tcpbench statistics --- 6511589084 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8671.764/8684.674/8696.940/8.039 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.039 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.039/0.039/0.039/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.044 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.044/0.044/0.044/0.000 ms ==== run-tcpbench-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 1246399960 9971.200 100.00% Conn: 1 Mbps: 9971.200 Peak Mbps: 9971.200 Avg Mbps: 9971.200 2000 1245285466 9972.256 100.00% Conn: 1 Mbps: 9972.256 Peak Mbps: 9972.256 Avg Mbps: 9972.256 3000 1247264784 9978.118 100.00% Conn: 1 Mbps: 9978.118 Peak Mbps: 9978.118 Avg Mbps: 9978.118 4000 1248949658 9991.597 100.00% Conn: 1 Mbps: 9991.597 Peak Mbps: 9991.597 Avg Mbps: 9991.597 5000 1246594106 9972.753 100.00% Conn: 1 Mbps: 9972.753 Peak Mbps: 9991.597 Avg Mbps: 9972.753 --- 169.254.0.13 tcpbench statistics --- 7476916790 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9971.200/9977.185/9991.597/7.594 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 1244950036 9959.600 100.00% Conn: 1 Mbps: 9959.600 Peak Mbps: 9959.600 Avg Mbps: 9959.600 2000 1244180888 9963.411 100.00% Conn: 1 Mbps: 9963.411 Peak Mbps: 9963.411 Avg Mbps: 9963.411 3000 1243428880 9947.431 100.00% Conn: 1 Mbps: 9947.431 Peak Mbps: 9963.411 Avg Mbps: 9947.431 4000 1247221616 9977.773 100.00% Conn: 1 Mbps: 9977.773 Peak Mbps: 9977.773 Avg Mbps: 9977.773 5000 1245848384 9966.787 100.00% Conn: 1 Mbps: 9966.787 Peak Mbps: 9977.773 Avg Mbps: 9966.787 --- fc00::13 tcpbench statistics --- 7473930388 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9947.431/9963.000/9977.773/9.866 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 1m51.92s