START sys/net/pair 2025-01-10T02:48:53Z ==== 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.041 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.041/0.041/0.041/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 923176096 7385.409 100.00% Conn: 1 Mbps: 7385.409 Peak Mbps: 7385.409 Avg Mbps: 7385.409 2000 921824936 7381.981 100.00% Conn: 1 Mbps: 7381.981 Peak Mbps: 7385.409 Avg Mbps: 7381.981 3000 922897916 7383.183 100.00% Conn: 1 Mbps: 7383.183 Peak Mbps: 7385.409 Avg Mbps: 7383.183 4000 922071324 7376.571 100.00% Conn: 1 Mbps: 7376.571 Peak Mbps: 7385.409 Avg Mbps: 7376.571 5000 922142856 7377.143 100.00% Conn: 1 Mbps: 7377.143 Peak Mbps: 7385.409 Avg Mbps: 7377.143 --- 169.254.1.11 tcpbench statistics --- 5533349912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7376.571/7380.857/7385.409/3.451 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 931730272 7453.842 100.00% Conn: 1 Mbps: 7453.842 Peak Mbps: 7453.842 Avg Mbps: 7453.842 2000 933672632 7476.858 100.00% Conn: 1 Mbps: 7476.858 Peak Mbps: 7476.858 Avg Mbps: 7476.858 3000 932824336 7462.595 100.00% Conn: 1 Mbps: 7462.595 Peak Mbps: 7476.858 Avg Mbps: 7462.595 4000 932610280 7460.882 100.00% Conn: 1 Mbps: 7460.882 Peak Mbps: 7476.858 Avg Mbps: 7460.882 5000 933767768 7470.142 100.00% Conn: 1 Mbps: 7470.142 Peak Mbps: 7476.858 Avg Mbps: 7470.142 --- fc00:0:0:1::11 tcpbench statistics --- 5597168000 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7453.842/7464.864/7476.858/7.927 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.061 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.061/0.061/0.061/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.110 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.110/0.110/0.110/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 367526400 2937.274 100.00% Conn: 1 Mbps: 2937.274 Peak Mbps: 2937.274 Avg Mbps: 2937.274 2002 377487360 3019.899 100.00% Conn: 1 Mbps: 3019.899 Peak Mbps: 3019.899 Avg Mbps: 3019.899 3002 376963072 3015.705 100.00% Conn: 1 Mbps: 3015.705 Peak Mbps: 3019.899 Avg Mbps: 3015.705 4002 374865920 2998.927 100.00% Conn: 1 Mbps: 2998.927 Peak Mbps: 3019.899 Avg Mbps: 2998.927 5003 379060224 3032.482 100.00% Conn: 1 Mbps: 3032.482 Peak Mbps: 3032.482 Avg Mbps: 3032.482 --- 169.254.1.12 tcpbench statistics --- 2255225344 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2937.274/3000.857/3032.482/33.555 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 1000 352919376 2823.355 100.00% Conn: 1 Mbps: 2823.355 Peak Mbps: 2823.355 Avg Mbps: 2823.355 2000 360710144 2885.681 100.00% Conn: 1 Mbps: 2885.681 Peak Mbps: 2885.681 Avg Mbps: 2885.681 3001 360972288 2887.778 100.00% Conn: 1 Mbps: 2887.778 Peak Mbps: 2887.778 Avg Mbps: 2887.778 4001 358612992 2868.904 100.00% Conn: 1 Mbps: 2868.904 Peak Mbps: 2887.778 Avg Mbps: 2868.904 5001 360448000 2883.584 100.00% Conn: 1 Mbps: 2883.584 Peak Mbps: 2887.778 Avg Mbps: 2883.584 --- fc00:0:0:1::12 tcpbench statistics --- 2152458636 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2823.355/2869.860/2887.778/24.180 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.055 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.055/0.055/0.055/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.061 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.061/0.061/0.061/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 744242632 5953.941 100.00% Conn: 1 Mbps: 5953.941 Peak Mbps: 5953.941 Avg Mbps: 5953.941 2000 784388120 6275.105 100.00% Conn: 1 Mbps: 6275.105 Peak Mbps: 6275.105 Avg Mbps: 6275.105 3000 789345232 6314.762 100.00% Conn: 1 Mbps: 6314.762 Peak Mbps: 6314.762 Avg Mbps: 6314.762 4000 794004640 6358.396 100.00% Conn: 1 Mbps: 6358.396 Peak Mbps: 6358.396 Avg Mbps: 6358.396 5000 791239016 6329.912 100.00% Conn: 1 Mbps: 6329.912 Peak Mbps: 6358.396 Avg Mbps: 6329.912 --- 169.254.0.13 tcpbench statistics --- 4700070364 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5953.941/6246.423/6358.396/148.692 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 656795680 5254.365 100.00% Conn: 1 Mbps: 5254.365 Peak Mbps: 5254.365 Avg Mbps: 5254.365 2001 687954104 5503.633 100.00% Conn: 1 Mbps: 5503.633 Peak Mbps: 5503.633 Avg Mbps: 5503.633 3001 686018288 5488.146 100.00% Conn: 1 Mbps: 5488.146 Peak Mbps: 5503.633 Avg Mbps: 5488.146 4001 685842832 5486.743 100.00% Conn: 1 Mbps: 5486.743 Peak Mbps: 5503.633 Avg Mbps: 5486.743 5002 687468592 5499.749 100.00% Conn: 1 Mbps: 5499.749 Peak Mbps: 5503.633 Avg Mbps: 5499.749 --- fc00::13 tcpbench statistics --- 4092937048 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5254.365/5446.527/5503.633/96.301 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.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-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 367959328 2940.734 100.00% Conn: 1 Mbps: 2940.734 Peak Mbps: 2940.734 Avg Mbps: 2940.734 2001 373113912 2984.911 100.00% Conn: 1 Mbps: 2984.911 Peak Mbps: 2984.911 Avg Mbps: 2984.911 3001 373555200 2988.442 100.00% Conn: 1 Mbps: 2988.442 Peak Mbps: 2988.442 Avg Mbps: 2988.442 4002 373817344 2990.539 100.00% Conn: 1 Mbps: 2990.539 Peak Mbps: 2990.539 Avg Mbps: 2990.539 5002 373030912 2984.247 100.00% Conn: 1 Mbps: 2984.247 Peak Mbps: 2990.539 Avg Mbps: 2984.247 --- 169.254.1.11 tcpbench statistics --- 2233459032 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2940.734/2977.775/2990.539/18.663 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 349224648 2791.006 100.00% Conn: 1 Mbps: 2791.006 Peak Mbps: 2791.006 Avg Mbps: 2791.006 2001 357302272 2858.418 100.00% Conn: 1 Mbps: 2858.418 Peak Mbps: 2858.418 Avg Mbps: 2858.418 3002 359399424 2875.195 100.00% Conn: 1 Mbps: 2875.195 Peak Mbps: 2875.195 Avg Mbps: 2875.195 4002 355729408 2845.835 100.00% Conn: 1 Mbps: 2845.835 Peak Mbps: 2875.195 Avg Mbps: 2845.835 5002 360185856 2881.487 100.00% Conn: 1 Mbps: 2881.487 Peak Mbps: 2881.487 Avg Mbps: 2881.487 --- fc00:0:0:1::11 tcpbench statistics --- 2142551752 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2791.006/2850.388/2881.487/32.230 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.035 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.035/0.035/0.035/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 931171152 7449.369 100.00% Conn: 1 Mbps: 7449.369 Peak Mbps: 7449.369 Avg Mbps: 7449.369 2000 934101904 7480.296 100.00% Conn: 1 Mbps: 7480.296 Peak Mbps: 7480.296 Avg Mbps: 7480.296 3000 934870792 7478.966 100.00% Conn: 1 Mbps: 7478.966 Peak Mbps: 7480.296 Avg Mbps: 7478.966 4000 935477504 7483.820 100.00% Conn: 1 Mbps: 7483.820 Peak Mbps: 7483.820 Avg Mbps: 7483.820 5000 933347496 7466.780 100.00% Conn: 1 Mbps: 7466.780 Peak Mbps: 7483.820 Avg Mbps: 7466.780 --- 169.254.1.12 tcpbench statistics --- 5602757984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7449.369/7471.846/7483.820/12.620 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 956611488 7652.892 100.00% Conn: 1 Mbps: 7652.892 Peak Mbps: 7652.892 Avg Mbps: 7652.892 2000 956578644 7660.289 100.00% Conn: 1 Mbps: 7660.289 Peak Mbps: 7660.289 Avg Mbps: 7660.289 3000 955336284 7642.690 100.00% Conn: 1 Mbps: 7642.690 Peak Mbps: 7660.289 Avg Mbps: 7642.690 4000 956938500 7655.508 100.00% Conn: 1 Mbps: 7655.508 Peak Mbps: 7660.289 Avg Mbps: 7655.508 5000 957401172 7659.209 100.00% Conn: 1 Mbps: 7659.209 Peak Mbps: 7660.289 Avg Mbps: 7659.209 --- fc00:0:0:1::12 tcpbench statistics --- 5740262976 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7642.690/7654.118/7660.289/6.293 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.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-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.043 ms --- fc00::13 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-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 1265913506 10127.308 100.00% Conn: 1 Mbps: 10127.308 Peak Mbps: 10127.308 Avg Mbps: 10127.308 2000 1266534508 10142.418 100.00% Conn: 1 Mbps: 10142.418 Peak Mbps: 10142.418 Avg Mbps: 10142.418 3000 1266632656 10133.061 100.00% Conn: 1 Mbps: 10133.061 Peak Mbps: 10142.418 Avg Mbps: 10133.061 4000 1267286976 10138.296 100.00% Conn: 1 Mbps: 10138.296 Peak Mbps: 10142.418 Avg Mbps: 10138.296 5000 1267810432 10142.483 100.00% Conn: 1 Mbps: 10142.483 Peak Mbps: 10142.483 Avg Mbps: 10142.483 --- 169.254.0.13 tcpbench statistics --- 7601137894 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10127.308/10136.713/10142.483/5.833 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 1151680084 9213.441 100.00% Conn: 1 Mbps: 9213.441 Peak Mbps: 9213.441 Avg Mbps: 9213.441 2000 1144327304 9163.782 100.00% Conn: 1 Mbps: 9163.782 Peak Mbps: 9213.441 Avg Mbps: 9163.782 3000 1148610480 9188.884 100.00% Conn: 1 Mbps: 9188.884 Peak Mbps: 9213.441 Avg Mbps: 9188.884 4000 1153874536 9230.996 100.00% Conn: 1 Mbps: 9230.996 Peak Mbps: 9230.996 Avg Mbps: 9230.996 5000 1172020816 9376.167 100.00% Conn: 1 Mbps: 9376.167 Peak Mbps: 9376.167 Avg Mbps: 9376.167 --- fc00::13 tcpbench statistics --- 6932627148 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9163.782/9234.654/9376.167/74.306 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.044 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.044/0.044/0.044/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.049 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.049/0.049/0.049/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 363877768 2911.022 100.00% Conn: 1 Mbps: 2911.022 Peak Mbps: 2911.022 Avg Mbps: 2911.022 2001 371458048 2971.664 100.00% Conn: 1 Mbps: 2971.664 Peak Mbps: 2971.664 Avg Mbps: 2971.664 3001 370147328 2961.179 100.00% Conn: 1 Mbps: 2961.179 Peak Mbps: 2971.664 Avg Mbps: 2961.179 4002 368926768 2951.414 100.00% Conn: 1 Mbps: 2951.414 Peak Mbps: 2971.664 Avg Mbps: 2951.414 5002 368836608 2950.693 100.00% Conn: 1 Mbps: 2950.693 Peak Mbps: 2971.664 Avg Mbps: 2950.693 --- 169.254.1.11 tcpbench statistics --- 2212083128 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2911.022/2949.194/2971.664/20.556 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 807781336 6462.251 100.00% Conn: 1 Mbps: 6462.251 Peak Mbps: 6462.251 Avg Mbps: 6462.251 2000 845152256 6761.218 100.00% Conn: 1 Mbps: 6761.218 Peak Mbps: 6761.218 Avg Mbps: 6761.218 3000 835977216 6687.818 100.00% Conn: 1 Mbps: 6687.818 Peak Mbps: 6761.218 Avg Mbps: 6687.818 4000 841885400 6735.083 100.00% Conn: 1 Mbps: 6735.083 Peak Mbps: 6761.218 Avg Mbps: 6735.083 5001 855442904 6843.543 100.00% Conn: 1 Mbps: 6843.543 Peak Mbps: 6843.543 Avg Mbps: 6843.543 --- fc00:0:0:1::11 tcpbench statistics --- 5036109960 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6462.251/6697.983/6843.543/128.247 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.041 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.041/0.041/0.041/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.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-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 1267413082 10139.305 100.00% Conn: 1 Mbps: 10139.305 Peak Mbps: 10139.305 Avg Mbps: 10139.305 2000 1270460428 10173.857 100.00% Conn: 1 Mbps: 10173.857 Peak Mbps: 10173.857 Avg Mbps: 10173.857 3000 1272390672 10179.125 100.00% Conn: 1 Mbps: 10179.125 Peak Mbps: 10179.125 Avg Mbps: 10179.125 4000 1270035120 10160.281 100.00% Conn: 1 Mbps: 10160.281 Peak Mbps: 10179.125 Avg Mbps: 10160.281 5000 1270787588 10166.301 100.00% Conn: 1 Mbps: 10166.301 Peak Mbps: 10179.125 Avg Mbps: 10166.301 --- 169.254.1.12 tcpbench statistics --- 7621645466 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10139.305/10163.774/10179.125/13.818 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 1184675388 9477.403 100.00% Conn: 1 Mbps: 9477.403 Peak Mbps: 9477.403 Avg Mbps: 9477.403 2000 1185883920 9496.568 100.00% Conn: 1 Mbps: 9496.568 Peak Mbps: 9496.568 Avg Mbps: 9496.568 3000 1179148544 9433.188 100.00% Conn: 1 Mbps: 9433.188 Peak Mbps: 9496.568 Avg Mbps: 9433.188 4000 1186603232 9492.826 100.00% Conn: 1 Mbps: 9492.826 Peak Mbps: 9496.568 Avg Mbps: 9492.826 5000 1182320056 9458.560 100.00% Conn: 1 Mbps: 9458.560 Peak Mbps: 9496.568 Avg Mbps: 9458.560 --- fc00:0:0:1::12 tcpbench statistics --- 7098597084 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 9433.188/9471.709/9496.568/23.465 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.037 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.037/0.037/0.037/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.040 ms --- fc00::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-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 1284188756 10273.510 100.00% Conn: 1 Mbps: 10273.510 Peak Mbps: 10273.510 Avg Mbps: 10273.510 2000 1286818428 10304.852 100.00% Conn: 1 Mbps: 10304.852 Peak Mbps: 10304.852 Avg Mbps: 10304.852 3000 1288601450 10308.812 100.00% Conn: 1 Mbps: 10308.812 Peak Mbps: 10308.812 Avg Mbps: 10308.812 4000 1285378924 10283.031 100.00% Conn: 1 Mbps: 10283.031 Peak Mbps: 10308.812 Avg Mbps: 10283.031 5000 1287963488 10303.708 100.00% Conn: 1 Mbps: 10303.708 Peak Mbps: 10308.812 Avg Mbps: 10303.708 --- 169.254.0.13 tcpbench statistics --- 7719229660 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10273.510/10294.783/10308.812/13.918 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 1286938252 10295.506 100.00% Conn: 1 Mbps: 10295.506 Peak Mbps: 10295.506 Avg Mbps: 10295.506 2000 1288974408 10322.117 100.00% Conn: 1 Mbps: 10322.117 Peak Mbps: 10322.117 Avg Mbps: 10322.117 3000 1290020680 10320.165 100.00% Conn: 1 Mbps: 10320.165 Peak Mbps: 10322.117 Avg Mbps: 10320.165 4000 1290445728 10323.566 100.00% Conn: 1 Mbps: 10323.566 Peak Mbps: 10323.566 Avg Mbps: 10323.566 5000 1292603664 10340.829 100.00% Conn: 1 Mbps: 10340.829 Peak Mbps: 10340.829 Avg Mbps: 10340.829 --- fc00::13 tcpbench statistics --- 7735897292 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10295.506/10320.437/10340.829/14.492 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.84s