START sys/net/pair 2025-01-28T18:24: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.037 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.037/0.037/0.037/0.000 ms ==== run-ping6-1-1 ==== /sbin/ping6 -c 1 -w 1 -n -V 11 -I fc00:0:0:1::11 fc00:0:0:1::11 PING fc00:0:0:1::11 (fc00:0:0:1::11): 56 data bytes 64 bytes from fc00:0:0:1::11: icmp_seq=0 hlim=64 time=0.040 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.040/0.040/0.040/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 885605900 7084.847 100.00% Conn: 1 Mbps: 7084.847 Peak Mbps: 7084.847 Avg Mbps: 7084.847 2000 886011248 7095.185 100.00% Conn: 1 Mbps: 7095.185 Peak Mbps: 7095.185 Avg Mbps: 7095.185 3000 886360960 7090.888 100.00% Conn: 1 Mbps: 7090.888 Peak Mbps: 7095.185 Avg Mbps: 7090.888 4000 887227292 7097.818 100.00% Conn: 1 Mbps: 7097.818 Peak Mbps: 7097.818 Avg Mbps: 7097.818 5000 885828444 7086.628 100.00% Conn: 1 Mbps: 7086.628 Peak Mbps: 7097.818 Avg Mbps: 7086.628 --- 169.254.1.11 tcpbench statistics --- 5316623848 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7084.847/7091.073/7097.818/4.919 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 883044424 7064.355 100.00% Conn: 1 Mbps: 7064.355 Peak Mbps: 7064.355 Avg Mbps: 7064.355 2000 882457752 7066.729 100.00% Conn: 1 Mbps: 7066.729 Peak Mbps: 7066.729 Avg Mbps: 7066.729 3000 883377400 7067.019 100.00% Conn: 1 Mbps: 7067.019 Peak Mbps: 7067.019 Avg Mbps: 7067.019 4000 883210912 7065.687 100.00% Conn: 1 Mbps: 7065.687 Peak Mbps: 7067.019 Avg Mbps: 7065.687 5000 883964072 7071.713 100.00% Conn: 1 Mbps: 7071.713 Peak Mbps: 7071.713 Avg Mbps: 7071.713 --- fc00:0:0:1::11 tcpbench statistics --- 5299431960 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7064.355/7067.101/7071.713/2.488 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.063 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.063/0.063/0.063/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.120 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.120/0.120/0.120/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 377511552 3017.075 100.00% Conn: 1 Mbps: 3017.075 Peak Mbps: 3017.075 Avg Mbps: 3017.075 2001 390856704 3129.984 100.00% Conn: 1 Mbps: 3129.984 Peak Mbps: 3129.984 Avg Mbps: 3129.984 3001 386399912 3091.199 100.00% Conn: 1 Mbps: 3091.199 Peak Mbps: 3129.984 Avg Mbps: 3091.199 4001 389879784 3119.038 100.00% Conn: 1 Mbps: 3119.038 Peak Mbps: 3129.984 Avg Mbps: 3119.038 5001 394264576 3154.117 100.00% Conn: 1 Mbps: 3154.117 Peak Mbps: 3154.117 Avg Mbps: 3154.117 --- 169.254.1.12 tcpbench statistics --- 2330031376 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3017.075/3102.283/3154.117/47.155 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 362700116 2898.702 100.00% Conn: 1 Mbps: 2898.702 Peak Mbps: 2898.702 Avg Mbps: 2898.702 2001 371720192 2973.762 100.00% Conn: 1 Mbps: 2973.762 Peak Mbps: 2973.762 Avg Mbps: 2973.762 3002 373817344 2990.539 100.00% Conn: 1 Mbps: 2990.539 Peak Mbps: 2990.539 Avg Mbps: 2990.539 4002 374603776 2996.830 100.00% Conn: 1 Mbps: 2996.830 Peak Mbps: 2996.830 Avg Mbps: 2996.830 5003 374341632 2994.733 100.00% Conn: 1 Mbps: 2994.733 Peak Mbps: 2996.830 Avg Mbps: 2994.733 --- fc00:0:0:1::12 tcpbench statistics --- 2232573268 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2898.702/2970.913/2996.830/37.005 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.054 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.054/0.054/0.054/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.060 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.060/0.060/0.060/0.000 ms ==== run-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 749321124 5994.569 100.00% Conn: 1 Mbps: 5994.569 Peak Mbps: 5994.569 Avg Mbps: 5994.569 2001 787217888 6297.743 100.00% Conn: 1 Mbps: 6297.743 Peak Mbps: 6297.743 Avg Mbps: 6297.743 3001 778768884 6230.151 100.00% Conn: 1 Mbps: 6230.151 Peak Mbps: 6297.743 Avg Mbps: 6230.151 4001 783768200 6270.146 100.00% Conn: 1 Mbps: 6270.146 Peak Mbps: 6297.743 Avg Mbps: 6270.146 5001 786398964 6291.192 100.00% Conn: 1 Mbps: 6291.192 Peak Mbps: 6297.743 Avg Mbps: 6291.192 --- 169.254.0.13 tcpbench statistics --- 4683128392 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5994.569/6216.760/6297.743/113.575 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 664835616 5318.685 100.00% Conn: 1 Mbps: 5318.685 Peak Mbps: 5318.685 Avg Mbps: 5318.685 2000 701071480 5614.186 100.00% Conn: 1 Mbps: 5614.186 Peak Mbps: 5614.186 Avg Mbps: 5614.186 3000 699765440 5598.124 100.00% Conn: 1 Mbps: 5598.124 Peak Mbps: 5614.186 Avg Mbps: 5598.124 4000 702967832 5623.743 100.00% Conn: 1 Mbps: 5623.743 Peak Mbps: 5623.743 Avg Mbps: 5623.743 5000 703768040 5630.144 100.00% Conn: 1 Mbps: 5630.144 Peak Mbps: 5630.144 Avg Mbps: 5630.144 --- fc00::13 tcpbench statistics --- 4172411688 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5318.685/5556.976/5630.144/119.633 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.039 ms --- 169.254.1.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-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.043 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.043/0.043/0.043/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 375753912 3003.028 100.00% Conn: 1 Mbps: 3003.028 Peak Mbps: 3003.028 Avg Mbps: 3003.028 2001 389491800 3115.934 100.00% Conn: 1 Mbps: 3115.934 Peak Mbps: 3115.934 Avg Mbps: 3115.934 3001 388759552 3110.076 100.00% Conn: 1 Mbps: 3110.076 Peak Mbps: 3115.934 Avg Mbps: 3110.076 4002 385875968 3087.008 100.00% Conn: 1 Mbps: 3087.008 Peak Mbps: 3115.934 Avg Mbps: 3087.008 5002 388497408 3107.979 100.00% Conn: 1 Mbps: 3107.979 Peak Mbps: 3115.934 Avg Mbps: 3107.979 --- 169.254.1.11 tcpbench statistics --- 2316089616 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3003.028/3084.805/3115.934/42.040 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 362181788 2894.560 100.00% Conn: 1 Mbps: 2894.560 Peak Mbps: 2894.560 Avg Mbps: 2894.560 2001 369885184 2959.081 100.00% Conn: 1 Mbps: 2959.081 Peak Mbps: 2959.081 Avg Mbps: 2959.081 3001 377518316 3020.147 100.00% Conn: 1 Mbps: 3020.147 Peak Mbps: 3020.147 Avg Mbps: 3020.147 4001 375390208 3003.122 100.00% Conn: 1 Mbps: 3003.122 Peak Mbps: 3020.147 Avg Mbps: 3003.122 5002 373555200 2988.442 100.00% Conn: 1 Mbps: 2988.442 Peak Mbps: 3020.147 Avg Mbps: 2988.442 --- fc00:0:0:1::11 tcpbench statistics --- 2229202312 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2894.560/2973.070/3020.147/44.080 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.036 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.036/0.036/0.036/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.040 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.040/0.040/0.040/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 886206408 7089.651 100.00% Conn: 1 Mbps: 7089.651 Peak Mbps: 7089.651 Avg Mbps: 7089.651 2000 884935064 7086.567 100.00% Conn: 1 Mbps: 7086.567 Peak Mbps: 7089.651 Avg Mbps: 7086.567 3000 886784160 7094.273 100.00% Conn: 1 Mbps: 7094.273 Peak Mbps: 7094.273 Avg Mbps: 7094.273 4000 887535672 7100.285 100.00% Conn: 1 Mbps: 7100.285 Peak Mbps: 7100.285 Avg Mbps: 7100.285 5000 888896792 7111.174 100.00% Conn: 1 Mbps: 7111.174 Peak Mbps: 7111.174 Avg Mbps: 7111.174 --- 169.254.1.12 tcpbench statistics --- 5321324704 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7086.567/7096.390/7111.174/8.719 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 868146888 6945.175 100.00% Conn: 1 Mbps: 6945.175 Peak Mbps: 6945.175 Avg Mbps: 6945.175 2000 862713348 6908.615 100.00% Conn: 1 Mbps: 6908.615 Peak Mbps: 6945.175 Avg Mbps: 6908.615 3000 861306768 6890.454 100.00% Conn: 1 Mbps: 6890.454 Peak Mbps: 6945.175 Avg Mbps: 6890.454 4000 862390620 6906.031 100.00% Conn: 1 Mbps: 6906.031 Peak Mbps: 6945.175 Avg Mbps: 6906.031 5000 861599508 6892.796 100.00% Conn: 1 Mbps: 6892.796 Peak Mbps: 6945.175 Avg Mbps: 6892.796 --- fc00:0:0:1::12 tcpbench statistics --- 5180167104 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6890.454/6908.614/6945.175/19.613 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.042 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/0.000 ms ==== run-tcpbench-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 1267551510 10140.412 100.00% Conn: 1 Mbps: 10140.412 Peak Mbps: 10140.412 Avg Mbps: 10140.412 2000 1270182342 10171.630 100.00% Conn: 1 Mbps: 10171.630 Peak Mbps: 10171.630 Avg Mbps: 10171.630 3000 1271834500 10174.676 100.00% Conn: 1 Mbps: 10174.676 Peak Mbps: 10174.676 Avg Mbps: 10174.676 4000 1273993756 10191.950 100.00% Conn: 1 Mbps: 10191.950 Peak Mbps: 10191.950 Avg Mbps: 10191.950 5000 1270574934 10164.599 100.00% Conn: 1 Mbps: 10164.599 Peak Mbps: 10191.950 Avg Mbps: 10164.599 --- 169.254.0.13 tcpbench statistics --- 7625546234 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10140.412/10168.654/10191.950/16.744 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 1237290780 9898.326 100.00% Conn: 1 Mbps: 9898.326 Peak Mbps: 9898.326 Avg Mbps: 9898.326 2000 1244115496 9962.887 100.00% Conn: 1 Mbps: 9962.887 Peak Mbps: 9962.887 Avg Mbps: 9962.887 3000 1247908232 9983.266 100.00% Conn: 1 Mbps: 9983.266 Peak Mbps: 9983.266 Avg Mbps: 9983.266 4000 1248300584 9986.405 100.00% Conn: 1 Mbps: 9986.405 Peak Mbps: 9986.405 Avg Mbps: 9986.405 5000 1247515880 9980.127 100.00% Conn: 1 Mbps: 9980.127 Peak Mbps: 9986.405 Avg Mbps: 9980.127 --- fc00::13 tcpbench statistics --- 7469834996 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9898.326/9962.202/9986.405/32.959 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.043 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.043/0.043/0.043/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.047 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.047/0.047/0.047/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 375019184 2997.156 100.00% Conn: 1 Mbps: 2997.156 Peak Mbps: 2997.156 Avg Mbps: 2997.156 2001 380633088 3045.065 100.00% Conn: 1 Mbps: 3045.065 Peak Mbps: 3045.065 Avg Mbps: 3045.065 3002 382205952 3057.648 100.00% Conn: 1 Mbps: 3057.648 Peak Mbps: 3057.648 Avg Mbps: 3057.648 4001 391643136 3136.281 100.00% Conn: 1 Mbps: 3136.281 Peak Mbps: 3136.281 Avg Mbps: 3136.281 5002 390594560 3124.756 100.00% Conn: 1 Mbps: 3124.756 Peak Mbps: 3136.281 Avg Mbps: 3124.756 --- 169.254.1.11 tcpbench statistics --- 2310690480 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2997.156/3072.181/3136.281/51.862 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 854844496 6838.756 100.00% Conn: 1 Mbps: 6838.756 Peak Mbps: 6838.756 Avg Mbps: 6838.756 2000 903610368 7236.119 100.00% Conn: 1 Mbps: 7236.119 Peak Mbps: 7236.119 Avg Mbps: 7236.119 3000 926941184 7415.529 100.00% Conn: 1 Mbps: 7415.529 Peak Mbps: 7415.529 Avg Mbps: 7415.529 4000 921823360 7374.587 100.00% Conn: 1 Mbps: 7374.587 Peak Mbps: 7415.529 Avg Mbps: 7374.587 5000 908039768 7264.318 100.00% Conn: 1 Mbps: 7264.318 Peak Mbps: 7415.529 Avg Mbps: 7264.318 --- fc00:0:0:1::11 tcpbench statistics --- 5423801720 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6838.756/7225.862/7415.529/204.709 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.040 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.040/0.040/0.040/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.042 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.042/0.042/0.042/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 1262437390 10099.499 100.00% Conn: 1 Mbps: 10099.499 Peak Mbps: 10099.499 Avg Mbps: 10099.499 2000 1270885736 10177.263 100.00% Conn: 1 Mbps: 10177.263 Peak Mbps: 10177.263 Avg Mbps: 10177.263 3000 1270803946 10166.432 100.00% Conn: 1 Mbps: 10166.432 Peak Mbps: 10177.263 Avg Mbps: 10166.432 4000 1267826790 10142.614 100.00% Conn: 1 Mbps: 10142.614 Peak Mbps: 10177.263 Avg Mbps: 10142.614 5000 1270493144 10163.945 100.00% Conn: 1 Mbps: 10163.945 Peak Mbps: 10177.263 Avg Mbps: 10163.945 --- 169.254.1.12 tcpbench statistics --- 7611631510 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10099.499/10149.951/10177.263/27.614 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 1217337972 9738.704 100.00% Conn: 1 Mbps: 9738.704 Peak Mbps: 9738.704 Avg Mbps: 9738.704 2000 1222634224 9790.865 100.00% Conn: 1 Mbps: 9790.865 Peak Mbps: 9790.865 Avg Mbps: 9790.865 3000 1228682984 9829.464 100.00% Conn: 1 Mbps: 9829.464 Peak Mbps: 9829.464 Avg Mbps: 9829.464 4000 1250196952 10001.576 100.00% Conn: 1 Mbps: 10001.576 Peak Mbps: 10001.576 Avg Mbps: 10001.576 5000 1255035960 10040.288 100.00% Conn: 1 Mbps: 10040.288 Peak Mbps: 10040.288 Avg Mbps: 10040.288 --- fc00:0:0:1::12 tcpbench statistics --- 7430133804 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9738.704/9880.179/10040.288/119.110 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.038 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.038/0.038/0.038/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.041 ms --- fc00::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-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 1252455536 10019.644 100.00% Conn: 1 Mbps: 10019.644 Peak Mbps: 10019.644 Avg Mbps: 10019.644 2000 1257799336 10072.467 100.00% Conn: 1 Mbps: 10072.467 Peak Mbps: 10072.467 Avg Mbps: 10072.467 3000 1256474338 10051.795 100.00% Conn: 1 Mbps: 10051.795 Peak Mbps: 10072.467 Avg Mbps: 10051.795 4000 1257733904 10061.871 100.00% Conn: 1 Mbps: 10061.871 Peak Mbps: 10072.467 Avg Mbps: 10061.871 5000 1258257360 10066.059 100.00% Conn: 1 Mbps: 10066.059 Peak Mbps: 10072.467 Avg Mbps: 10066.059 --- 169.254.0.13 tcpbench statistics --- 7534876288 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10019.644/10054.367/10072.467/18.617 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 1276683988 10213.472 100.00% Conn: 1 Mbps: 10213.472 Peak Mbps: 10213.472 Avg Mbps: 10213.472 2000 1280146488 10251.423 100.00% Conn: 1 Mbps: 10251.423 Peak Mbps: 10251.423 Avg Mbps: 10251.423 3000 1278773256 10230.186 100.00% Conn: 1 Mbps: 10230.186 Peak Mbps: 10251.423 Avg Mbps: 10230.186 4000 1277988552 10223.908 100.00% Conn: 1 Mbps: 10223.908 Peak Mbps: 10251.423 Avg Mbps: 10223.908 5000 1278478992 10227.832 100.00% Conn: 1 Mbps: 10227.832 Peak Mbps: 10251.423 Avg Mbps: 10227.832 --- fc00::13 tcpbench statistics --- 7670975316 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10213.472/10229.364/10251.423/12.425 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.81s