START sys/net/pair 2024-12-29T02:42:57Z ==== 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.038 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.038/0.038/0.038/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.046 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.046/0.046/0.046/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 1070738664 8565.909 100.00% Conn: 1 Mbps: 8565.909 Peak Mbps: 8565.909 Avg Mbps: 8565.909 2000 1072399796 8587.786 100.00% Conn: 1 Mbps: 8587.786 Peak Mbps: 8587.786 Avg Mbps: 8587.786 3000 1069681580 8557.453 100.00% Conn: 1 Mbps: 8557.453 Peak Mbps: 8587.786 Avg Mbps: 8557.453 4000 1070595600 8564.765 100.00% Conn: 1 Mbps: 8564.765 Peak Mbps: 8587.786 Avg Mbps: 8564.765 5000 1069991552 8559.932 100.00% Conn: 1 Mbps: 8559.932 Peak Mbps: 8587.786 Avg Mbps: 8559.932 --- 169.254.1.11 tcpbench statistics --- 6422341660 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8557.453/8567.169/8587.786/10.763 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 1074727608 8597.821 100.00% Conn: 1 Mbps: 8597.821 Peak Mbps: 8597.821 Avg Mbps: 8597.821 2000 1076574832 8621.220 100.00% Conn: 1 Mbps: 8621.220 Peak Mbps: 8621.220 Avg Mbps: 8621.220 3000 1075449056 8612.205 100.00% Conn: 1 Mbps: 8612.205 Peak Mbps: 8621.220 Avg Mbps: 8612.205 4000 1069677472 8557.420 100.00% Conn: 1 Mbps: 8557.420 Peak Mbps: 8621.220 Avg Mbps: 8557.420 5000 1077557904 8620.463 100.00% Conn: 1 Mbps: 8620.463 Peak Mbps: 8621.220 Avg Mbps: 8620.463 --- fc00:0:0:1::11 tcpbench statistics --- 6451465496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8557.420/8601.826/8621.220/23.745 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.067 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.067/0.067/0.067/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 1000 375522048 3004.176 100.00% Conn: 1 Mbps: 3004.176 Peak Mbps: 3004.176 Avg Mbps: 3004.176 2000 387961376 3103.691 100.00% Conn: 1 Mbps: 3103.691 Peak Mbps: 3103.691 Avg Mbps: 3103.691 3001 387318656 3098.549 100.00% Conn: 1 Mbps: 3098.549 Peak Mbps: 3103.691 Avg Mbps: 3098.549 4001 389167248 3113.338 100.00% Conn: 1 Mbps: 3113.338 Peak Mbps: 3113.338 Avg Mbps: 3113.338 5002 388527648 3108.221 100.00% Conn: 1 Mbps: 3108.221 Peak Mbps: 3113.338 Avg Mbps: 3108.221 --- 169.254.1.12 tcpbench statistics --- 2316318448 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3004.176/3085.595/3113.338/41.002 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 361552348 2889.529 100.00% Conn: 1 Mbps: 2889.529 Peak Mbps: 2889.529 Avg Mbps: 2889.529 2001 374271192 2994.170 100.00% Conn: 1 Mbps: 2994.170 Peak Mbps: 2994.170 Avg Mbps: 2994.170 3001 374861288 2998.890 100.00% Conn: 1 Mbps: 2998.890 Peak Mbps: 2998.890 Avg Mbps: 2998.890 4002 375986920 3007.895 100.00% Conn: 1 Mbps: 3007.895 Peak Mbps: 3007.895 Avg Mbps: 3007.895 5002 374331148 2994.649 100.00% Conn: 1 Mbps: 2994.649 Peak Mbps: 3007.895 Avg Mbps: 2994.649 --- fc00:0:0:1::12 tcpbench statistics --- 2236154396 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2889.529/2977.027/3007.895/44.025 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.056 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.056/0.056/0.056/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.068 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.068/0.068/0.068/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 774222488 6193.780 100.00% Conn: 1 Mbps: 6193.780 Peak Mbps: 6193.780 Avg Mbps: 6193.780 2000 810258860 6482.071 100.00% Conn: 1 Mbps: 6482.071 Peak Mbps: 6482.071 Avg Mbps: 6482.071 3000 811840652 6494.725 100.00% Conn: 1 Mbps: 6494.725 Peak Mbps: 6494.725 Avg Mbps: 6494.725 4000 815130984 6521.048 100.00% Conn: 1 Mbps: 6521.048 Peak Mbps: 6521.048 Avg Mbps: 6521.048 5001 814756684 6518.053 100.00% Conn: 1 Mbps: 6518.053 Peak Mbps: 6521.048 Avg Mbps: 6518.053 --- 169.254.0.13 tcpbench statistics --- 4850552384 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6193.780/6441.935/6521.048/124.925 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 683237512 5465.900 100.00% Conn: 1 Mbps: 5465.900 Peak Mbps: 5465.900 Avg Mbps: 5465.900 2001 710832408 5686.659 100.00% Conn: 1 Mbps: 5686.659 Peak Mbps: 5686.659 Avg Mbps: 5686.659 3001 710665920 5685.327 100.00% Conn: 1 Mbps: 5685.327 Peak Mbps: 5686.659 Avg Mbps: 5685.327 4001 708342496 5666.740 100.00% Conn: 1 Mbps: 5666.740 Peak Mbps: 5686.659 Avg Mbps: 5666.740 5001 708297528 5666.380 100.00% Conn: 1 Mbps: 5666.380 Peak Mbps: 5686.659 Avg Mbps: 5666.380 --- fc00::13 tcpbench statistics --- 4229637520 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5465.900/5634.201/5686.659/84.599 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.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-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.048 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.048/0.048/0.048/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 368154960 2942.297 100.00% Conn: 1 Mbps: 2942.297 Peak Mbps: 2942.297 Avg Mbps: 2942.297 2001 378669160 3029.353 100.00% Conn: 1 Mbps: 3029.353 Peak Mbps: 3029.353 Avg Mbps: 3029.353 3001 376058416 3008.467 100.00% Conn: 1 Mbps: 3008.467 Peak Mbps: 3029.353 Avg Mbps: 3008.467 4002 376541160 3012.329 100.00% Conn: 1 Mbps: 3012.329 Peak Mbps: 3029.353 Avg Mbps: 3012.329 5002 376730296 3013.842 100.00% Conn: 1 Mbps: 3013.842 Peak Mbps: 3029.353 Avg Mbps: 3013.842 --- 169.254.1.11 tcpbench statistics --- 2250450752 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2942.297/3001.258/3029.353/30.327 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 360277664 2882.221 100.00% Conn: 1 Mbps: 2882.221 Peak Mbps: 2882.221 Avg Mbps: 2882.221 2001 373367296 2986.938 100.00% Conn: 1 Mbps: 2986.938 Peak Mbps: 2986.938 Avg Mbps: 2986.938 3001 373601152 2991.801 100.00% Conn: 1 Mbps: 2991.801 Peak Mbps: 2991.801 Avg Mbps: 2991.801 4001 371914804 2975.318 100.00% Conn: 1 Mbps: 2975.318 Peak Mbps: 2991.801 Avg Mbps: 2975.318 5001 371564700 2972.518 100.00% Conn: 1 Mbps: 2972.518 Peak Mbps: 2991.801 Avg Mbps: 2972.518 --- fc00:0:0:1::11 tcpbench statistics --- 2221678988 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2882.221/2961.759/2991.801/40.404 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.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-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.044 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.044/0.044/0.044/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 1026753632 8214.029 100.00% Conn: 1 Mbps: 8214.029 Peak Mbps: 8214.029 Avg Mbps: 8214.029 2000 1021495944 8180.148 100.00% Conn: 1 Mbps: 8180.148 Peak Mbps: 8214.029 Avg Mbps: 8180.148 3000 1018751984 8150.016 100.00% Conn: 1 Mbps: 8150.016 Peak Mbps: 8214.029 Avg Mbps: 8150.016 4000 1015780688 8126.246 100.00% Conn: 1 Mbps: 8126.246 Peak Mbps: 8214.029 Avg Mbps: 8126.246 5000 1018741848 8149.935 100.00% Conn: 1 Mbps: 8149.935 Peak Mbps: 8214.029 Avg Mbps: 8149.935 --- 169.254.1.12 tcpbench statistics --- 6118067880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8126.246/8164.075/8214.029/30.273 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 1034396076 8275.169 100.00% Conn: 1 Mbps: 8275.169 Peak Mbps: 8275.169 Avg Mbps: 8275.169 2000 1033239396 8274.189 100.00% Conn: 1 Mbps: 8274.189 Peak Mbps: 8275.169 Avg Mbps: 8274.189 3000 1035779808 8286.238 100.00% Conn: 1 Mbps: 8286.238 Peak Mbps: 8286.238 Avg Mbps: 8286.238 4000 1034273268 8274.186 100.00% Conn: 1 Mbps: 8274.186 Peak Mbps: 8286.238 Avg Mbps: 8274.186 5000 1035174336 8281.395 100.00% Conn: 1 Mbps: 8281.395 Peak Mbps: 8286.238 Avg Mbps: 8281.395 --- fc00:0:0:1::12 tcpbench statistics --- 6209396676 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8274.186/8278.235/8286.238/4.821 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 1391697246 11133.578 100.00% Conn: 1 Mbps: 11133.578 Peak Mbps: 11133.578 Avg Mbps: 11133.578 2000 1396466102 11182.912 100.00% Conn: 1 Mbps: 11182.912 Peak Mbps: 11182.912 Avg Mbps: 11182.912 3000 1395157462 11161.260 100.00% Conn: 1 Mbps: 11161.260 Peak Mbps: 11182.912 Avg Mbps: 11161.260 4000 1391395122 11131.161 100.00% Conn: 1 Mbps: 11131.161 Peak Mbps: 11182.912 Avg Mbps: 11131.161 5000 1394977524 11159.820 100.00% Conn: 1 Mbps: 11159.820 Peak Mbps: 11182.912 Avg Mbps: 11159.820 --- 169.254.0.13 tcpbench statistics --- 8364556474 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11131.161/11153.746/11182.912/19.292 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 1390666492 11125.332 100.00% Conn: 1 Mbps: 11125.332 Peak Mbps: 11125.332 Avg Mbps: 11125.332 2000 1387879808 11114.153 100.00% Conn: 1 Mbps: 11114.153 Peak Mbps: 11125.332 Avg Mbps: 11114.153 3000 1388075984 11104.608 100.00% Conn: 1 Mbps: 11104.608 Peak Mbps: 11125.332 Avg Mbps: 11104.608 4000 1387062408 11096.499 100.00% Conn: 1 Mbps: 11096.499 Peak Mbps: 11125.332 Avg Mbps: 11096.499 5000 1387650936 11101.207 100.00% Conn: 1 Mbps: 11101.207 Peak Mbps: 11125.332 Avg Mbps: 11101.207 --- fc00::13 tcpbench statistics --- 8328365340 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11096.499/11108.360/11125.332/10.271 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.047 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.047/0.047/0.047/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.057 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.057/0.057/0.057/0.000 ms ==== run-tcpbench-3-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 13 -b 169.254.0.13 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 374527880 2996.223 100.00% Conn: 1 Mbps: 2996.223 Peak Mbps: 2996.223 Avg Mbps: 2996.223 2001 382681144 3061.449 100.00% Conn: 1 Mbps: 3061.449 Peak Mbps: 3061.449 Avg Mbps: 3061.449 3001 382817904 3062.543 100.00% Conn: 1 Mbps: 3062.543 Peak Mbps: 3062.543 Avg Mbps: 3062.543 4001 383627320 3069.019 100.00% Conn: 1 Mbps: 3069.019 Peak Mbps: 3069.019 Avg Mbps: 3069.019 5001 383392640 3067.141 100.00% Conn: 1 Mbps: 3067.141 Peak Mbps: 3069.019 Avg Mbps: 3067.141 --- 169.254.1.11 tcpbench statistics --- 2288367208 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2996.223/3051.275/3069.019/27.669 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 791007592 6328.061 100.00% Conn: 1 Mbps: 6328.061 Peak Mbps: 6328.061 Avg Mbps: 6328.061 2000 837567536 6707.248 100.00% Conn: 1 Mbps: 6707.248 Peak Mbps: 6707.248 Avg Mbps: 6707.248 3000 841861256 6734.890 100.00% Conn: 1 Mbps: 6734.890 Peak Mbps: 6734.890 Avg Mbps: 6734.890 4000 834140096 6673.121 100.00% Conn: 1 Mbps: 6673.121 Peak Mbps: 6734.890 Avg Mbps: 6673.121 5000 836566696 6699.233 100.00% Conn: 1 Mbps: 6699.233 Peak Mbps: 6734.890 Avg Mbps: 6699.233 --- fc00:0:0:1::11 tcpbench statistics --- 4980491472 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6328.061/6628.510/6734.890/151.511 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.048 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.048/0.048/0.048/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 1392041978 11136.336 100.00% Conn: 1 Mbps: 11136.336 Peak Mbps: 11136.336 Avg Mbps: 11136.336 2000 1390397284 11134.313 100.00% Conn: 1 Mbps: 11134.313 Peak Mbps: 11136.336 Avg Mbps: 11134.313 3000 1390250062 11122.000 100.00% Conn: 1 Mbps: 11122.000 Peak Mbps: 11136.336 Avg Mbps: 11122.000 4000 1402731216 11221.850 100.00% Conn: 1 Mbps: 11221.850 Peak Mbps: 11221.850 Avg Mbps: 11221.850 5000 1386046056 11088.368 100.00% Conn: 1 Mbps: 11088.368 Peak Mbps: 11221.850 Avg Mbps: 11088.368 --- 169.254.1.12 tcpbench statistics --- 8343488584 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11088.368/11140.573/11221.850/44.121 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 1402268588 11218.149 100.00% Conn: 1 Mbps: 11218.149 Peak Mbps: 11218.149 Avg Mbps: 11218.149 2000 1395792240 11177.515 100.00% Conn: 1 Mbps: 11177.515 Peak Mbps: 11218.149 Avg Mbps: 11177.515 3000 1438035472 11504.284 100.00% Conn: 1 Mbps: 11504.284 Peak Mbps: 11504.284 Avg Mbps: 11504.284 4000 1441337768 11530.702 100.00% Conn: 1 Mbps: 11530.702 Peak Mbps: 11530.702 Avg Mbps: 11530.702 5000 1439572184 11516.577 100.00% Conn: 1 Mbps: 11516.577 Peak Mbps: 11530.702 Avg Mbps: 11516.577 --- fc00:0:0:1::12 tcpbench statistics --- 8558572892 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11177.515/11389.446/11530.702/157.201 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.040 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.040/0.040/0.040/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 1366021052 10928.168 100.00% Conn: 1 Mbps: 10928.168 Peak Mbps: 10928.168 Avg Mbps: 10928.168 2000 1367692380 10952.492 100.00% Conn: 1 Mbps: 10952.492 Peak Mbps: 10952.492 Avg Mbps: 10952.492 3000 1367054418 10936.435 100.00% Conn: 1 Mbps: 10936.435 Peak Mbps: 10952.492 Avg Mbps: 10936.435 4000 1369704414 10957.635 100.00% Conn: 1 Mbps: 10957.635 Peak Mbps: 10957.635 Avg Mbps: 10957.635 5000 1368003182 10944.025 100.00% Conn: 1 Mbps: 10944.025 Peak Mbps: 10957.635 Avg Mbps: 10944.025 --- 169.254.0.13 tcpbench statistics --- 8210453622 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10928.168/10943.751/10957.635/10.636 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 1402708124 11221.665 100.00% Conn: 1 Mbps: 11221.665 Peak Mbps: 11221.665 Avg Mbps: 11221.665 2000 1406287656 11261.563 100.00% Conn: 1 Mbps: 11261.563 Peak Mbps: 11261.563 Avg Mbps: 11261.563 3000 1404293200 11234.346 100.00% Conn: 1 Mbps: 11234.346 Peak Mbps: 11261.563 Avg Mbps: 11234.346 4000 1404554768 11236.438 100.00% Conn: 1 Mbps: 11236.438 Peak Mbps: 11261.563 Avg Mbps: 11236.438 5000 1392097592 11136.781 100.00% Conn: 1 Mbps: 11136.781 Peak Mbps: 11261.563 Avg Mbps: 11136.781 --- fc00::13 tcpbench statistics --- 8398409676 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11136.781/11218.158/11261.563/42.696 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.93s