START sys/net/pair 2025-02-02T00:44:07Z ==== 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.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-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.042 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.042/0.042/0.042/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 1350953352 10807.627 100.00% Conn: 1 Mbps: 10807.627 Peak Mbps: 10807.627 Avg Mbps: 10807.627 2000 1354577640 10847.469 100.00% Conn: 1 Mbps: 10847.469 Peak Mbps: 10847.469 Avg Mbps: 10847.469 3000 1342290032 10738.320 100.00% Conn: 1 Mbps: 10738.320 Peak Mbps: 10847.469 Avg Mbps: 10738.320 4000 1345405648 10763.245 100.00% Conn: 1 Mbps: 10763.245 Peak Mbps: 10847.469 Avg Mbps: 10763.245 5000 1347178052 10777.424 100.00% Conn: 1 Mbps: 10777.424 Peak Mbps: 10847.469 Avg Mbps: 10777.424 --- 169.254.1.11 tcpbench statistics --- 8077766996 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10738.320/10786.817/10847.469/37.703 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 1361649856 10893.199 100.00% Conn: 1 Mbps: 10893.199 Peak Mbps: 10893.199 Avg Mbps: 10893.199 2000 1373858976 11001.874 100.00% Conn: 1 Mbps: 11001.874 Peak Mbps: 11001.874 Avg Mbps: 11001.874 3000 1374223664 10993.789 100.00% Conn: 1 Mbps: 10993.789 Peak Mbps: 11001.874 Avg Mbps: 10993.789 4000 1357971264 10863.770 100.00% Conn: 1 Mbps: 10863.770 Peak Mbps: 11001.874 Avg Mbps: 10863.770 5000 1367080536 10936.644 100.00% Conn: 1 Mbps: 10936.644 Peak Mbps: 11001.874 Avg Mbps: 10936.644 --- fc00:0:0:1::11 tcpbench statistics --- 8182718712 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10863.770/10937.855/11001.874/54.243 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.065 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.065/0.065/0.065/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.119 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.119/0.119/0.119/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 398116184 3184.929 100.00% Conn: 1 Mbps: 3184.929 Peak Mbps: 3184.929 Avg Mbps: 3184.929 2001 415871336 3326.971 100.00% Conn: 1 Mbps: 3326.971 Peak Mbps: 3326.971 Avg Mbps: 3326.971 3001 418393808 3347.150 100.00% Conn: 1 Mbps: 3347.150 Peak Mbps: 3347.150 Avg Mbps: 3347.150 4001 417697320 3341.579 100.00% Conn: 1 Mbps: 3341.579 Peak Mbps: 3347.150 Avg Mbps: 3341.579 5002 419324872 3354.599 100.00% Conn: 1 Mbps: 3354.599 Peak Mbps: 3354.599 Avg Mbps: 3354.599 --- 169.254.1.12 tcpbench statistics --- 2490130112 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 3184.929/3311.046/3354.599/63.705 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 369810404 2958.483 100.00% Conn: 1 Mbps: 2958.483 Peak Mbps: 2958.483 Avg Mbps: 2958.483 2000 387608968 3100.872 100.00% Conn: 1 Mbps: 3100.872 Peak Mbps: 3100.872 Avg Mbps: 3100.872 3000 384972880 3079.783 100.00% Conn: 1 Mbps: 3079.783 Peak Mbps: 3100.872 Avg Mbps: 3079.783 4003 385501876 3077.859 100.00% Conn: 1 Mbps: 3077.859 Peak Mbps: 3100.872 Avg Mbps: 3077.859 5003 389306140 3117.567 100.00% Conn: 1 Mbps: 3117.567 Peak Mbps: 3117.567 Avg Mbps: 3117.567 --- fc00:0:0:1::12 tcpbench statistics --- 2301402452 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2958.483/3066.913/3117.567/56.145 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.065 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.065/0.065/0.065/0.000 ms ==== run-tcpbench-1-3 ==== rm -f nc.log nc -4 -v -l -V 13 169.254.0.13 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.0.13 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.0.13 elapsed_ms bytes mbps bwidth 1000 777377984 6219.024 100.00% Conn: 1 Mbps: 6219.024 Peak Mbps: 6219.024 Avg Mbps: 6219.024 2000 796425900 6371.407 100.00% Conn: 1 Mbps: 6371.407 Peak Mbps: 6371.407 Avg Mbps: 6371.407 3000 808995268 6471.962 100.00% Conn: 1 Mbps: 6471.962 Peak Mbps: 6471.962 Avg Mbps: 6471.962 4000 804512456 6436.100 100.00% Conn: 1 Mbps: 6436.100 Peak Mbps: 6471.962 Avg Mbps: 6436.100 5000 819645448 6557.164 100.00% Conn: 1 Mbps: 6557.164 Peak Mbps: 6557.164 Avg Mbps: 6557.164 --- 169.254.0.13 tcpbench statistics --- 4840153704 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6219.024/6411.131/6557.164/113.254 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 699093440 5592.748 100.00% Conn: 1 Mbps: 5592.748 Peak Mbps: 5592.748 Avg Mbps: 5592.748 2000 726164640 5815.132 100.00% Conn: 1 Mbps: 5815.132 Peak Mbps: 5815.132 Avg Mbps: 5815.132 3000 719491864 5755.935 100.00% Conn: 1 Mbps: 5755.935 Peak Mbps: 5815.132 Avg Mbps: 5755.935 4000 729842192 5838.738 100.00% Conn: 1 Mbps: 5838.738 Peak Mbps: 5838.738 Avg Mbps: 5838.738 5000 731992240 5855.938 100.00% Conn: 1 Mbps: 5855.938 Peak Mbps: 5855.938 Avg Mbps: 5855.938 --- fc00::13 tcpbench statistics --- 4336865208 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5592.748/5771.698/5855.938/95.655 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.045 ms --- fc00:0:0:1::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.045/0.045/0.045/0.000 ms ==== run-tcpbench-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 1000 404743624 3237.949 100.00% Conn: 1 Mbps: 3237.949 Peak Mbps: 3237.949 Avg Mbps: 3237.949 2002 419769352 3354.800 100.00% Conn: 1 Mbps: 3354.800 Peak Mbps: 3354.800 Avg Mbps: 3354.800 3002 419165592 3356.681 100.00% Conn: 1 Mbps: 3356.681 Peak Mbps: 3356.681 Avg Mbps: 3356.681 4002 422849156 3382.793 100.00% Conn: 1 Mbps: 3382.793 Peak Mbps: 3382.793 Avg Mbps: 3382.793 5002 422759808 3385.464 100.00% Conn: 1 Mbps: 3385.464 Peak Mbps: 3385.464 Avg Mbps: 3385.464 --- 169.254.1.11 tcpbench statistics --- 2513639692 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3237.949/3343.538/3385.464/54.309 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 377528928 3020.231 100.00% Conn: 1 Mbps: 3020.231 Peak Mbps: 3020.231 Avg Mbps: 3020.231 2000 396542564 3175.516 100.00% Conn: 1 Mbps: 3175.516 Peak Mbps: 3175.516 Avg Mbps: 3175.516 3000 393527816 3148.223 100.00% Conn: 1 Mbps: 3148.223 Peak Mbps: 3175.516 Avg Mbps: 3148.223 4001 394915436 3159.323 100.00% Conn: 1 Mbps: 3159.323 Peak Mbps: 3175.516 Avg Mbps: 3159.323 5002 391851980 3131.684 100.00% Conn: 1 Mbps: 3131.684 Peak Mbps: 3175.516 Avg Mbps: 3131.684 --- fc00:0:0:1::11 tcpbench statistics --- 2346534688 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3020.231/3126.996/3175.516/55.264 Mbps ==== run-ping-2-2 ==== /sbin/ping -c 1 -w 1 -n -V 12 -I 169.254.1.12 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.038 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.038/0.038/0.038/0.000 ms ==== run-ping6-2-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 12 -I fc00:0:0:1::12 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.039 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.039/0.039/0.039/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 1354871880 10838.975 100.00% Conn: 1 Mbps: 10838.975 Peak Mbps: 10838.975 Avg Mbps: 10838.975 2000 1395706928 11176.832 100.00% Conn: 1 Mbps: 11176.832 Peak Mbps: 11176.832 Avg Mbps: 11176.832 3000 1397259184 11189.263 100.00% Conn: 1 Mbps: 11189.263 Peak Mbps: 11189.263 Avg Mbps: 11189.263 4000 1396244136 11169.953 100.00% Conn: 1 Mbps: 11169.953 Peak Mbps: 11189.263 Avg Mbps: 11169.953 5000 1352301680 10818.413 100.00% Conn: 1 Mbps: 10818.413 Peak Mbps: 11189.263 Avg Mbps: 10818.413 --- 169.254.1.12 tcpbench statistics --- 8243807176 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10818.413/11038.687/11189.263/171.693 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 1311879324 10495.035 100.00% Conn: 1 Mbps: 10495.035 Peak Mbps: 10495.035 Avg Mbps: 10495.035 2000 1289958096 10329.995 100.00% Conn: 1 Mbps: 10329.995 Peak Mbps: 10495.035 Avg Mbps: 10329.995 3000 1272840660 10182.725 100.00% Conn: 1 Mbps: 10182.725 Peak Mbps: 10495.035 Avg Mbps: 10182.725 4000 1317405684 10539.245 100.00% Conn: 1 Mbps: 10539.245 Peak Mbps: 10539.245 Avg Mbps: 10539.245 5000 1333215072 10665.721 100.00% Conn: 1 Mbps: 10665.721 Peak Mbps: 10665.721 Avg Mbps: 10665.721 --- fc00:0:0:1::12 tcpbench statistics --- 7854793968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10182.725/10442.544/10665.721/168.575 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.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 1518116272 12144.930 100.00% Conn: 1 Mbps: 12144.930 Peak Mbps: 12144.930 Avg Mbps: 12144.930 2000 1521163136 12181.487 100.00% Conn: 1 Mbps: 12181.487 Peak Mbps: 12181.487 Avg Mbps: 12181.487 3000 1520312520 12162.500 100.00% Conn: 1 Mbps: 12162.500 Peak Mbps: 12181.487 Avg Mbps: 12162.500 4000 1524925476 12211.615 100.00% Conn: 1 Mbps: 12211.615 Peak Mbps: 12211.615 Avg Mbps: 12211.615 5000 1515732280 12125.858 100.00% Conn: 1 Mbps: 12125.858 Peak Mbps: 12211.615 Avg Mbps: 12125.858 --- 169.254.0.13 tcpbench statistics --- 9121281956 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12125.858/12165.278/12211.615/29.616 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 1519272532 12154.180 100.00% Conn: 1 Mbps: 12154.180 Peak Mbps: 12154.180 Avg Mbps: 12154.180 2000 1574737448 12610.510 100.00% Conn: 1 Mbps: 12610.510 Peak Mbps: 12610.510 Avg Mbps: 12610.510 3000 1557800920 12462.407 100.00% Conn: 1 Mbps: 12462.407 Peak Mbps: 12610.510 Avg Mbps: 12462.407 4000 1487308344 11898.467 100.00% Conn: 1 Mbps: 11898.467 Peak Mbps: 12610.510 Avg Mbps: 11898.467 5000 1488943144 11911.545 100.00% Conn: 1 Mbps: 11911.545 Peak Mbps: 12610.510 Avg Mbps: 11911.545 --- fc00::13 tcpbench statistics --- 9117692148 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11898.467/12207.422/12610.510/287.516 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.046 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.046/0.046/0.046/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 405644168 3245.153 100.00% Conn: 1 Mbps: 3245.153 Peak Mbps: 3245.153 Avg Mbps: 3245.153 2000 419122264 3352.978 100.00% Conn: 1 Mbps: 3352.978 Peak Mbps: 3352.978 Avg Mbps: 3352.978 3001 426554664 3412.437 100.00% Conn: 1 Mbps: 3412.437 Peak Mbps: 3412.437 Avg Mbps: 3412.437 4001 419056992 3352.456 100.00% Conn: 1 Mbps: 3352.456 Peak Mbps: 3412.437 Avg Mbps: 3352.456 5002 415642832 3321.821 100.00% Conn: 1 Mbps: 3321.821 Peak Mbps: 3412.437 Avg Mbps: 3321.821 --- 169.254.1.11 tcpbench statistics --- 2498906648 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3245.153/3336.969/3412.437/54.500 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 910686304 7285.490 100.00% Conn: 1 Mbps: 7285.490 Peak Mbps: 7285.490 Avg Mbps: 7285.490 2000 954045168 7640.001 100.00% Conn: 1 Mbps: 7640.001 Peak Mbps: 7640.001 Avg Mbps: 7640.001 3000 945807856 7566.463 100.00% Conn: 1 Mbps: 7566.463 Peak Mbps: 7640.001 Avg Mbps: 7566.463 4000 934003840 7479.510 100.00% Conn: 1 Mbps: 7479.510 Peak Mbps: 7640.001 Avg Mbps: 7479.510 5000 944170120 7553.361 100.00% Conn: 1 Mbps: 7553.361 Peak Mbps: 7640.001 Avg Mbps: 7553.361 --- fc00:0:0:1::11 tcpbench statistics --- 5628985304 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 7285.490/7504.965/7640.001/120.976 Mbps # path MTU discovery in other rtable does not work in ip6_output() /sbin/route -T 13 -n get -host -inet6 fc00:0:0:1::11 route to: fc00:0:0:1::11 destination: fc00:: mask: ffff:ffff:ffff:: gateway: ::1 interface: lo13 if address: ::1 priority: 8 (static) flags: use mtu expire 7 32768 0 DISABLED ==== run-ping-3-2 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.1.12 PING 169.254.1.12 (169.254.1.12): 56 data bytes 64 bytes from 169.254.1.12: icmp_seq=0 ttl=255 time=0.042 ms --- 169.254.1.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.042/0.042/0.042/0.000 ms ==== run-ping6-3-2 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00:0:0:1::12 PING fc00:0:0:1::12 (fc00:0:0:1::12): 56 data bytes 64 bytes from fc00:0:0:1::12: icmp_seq=0 hlim=64 time=0.045 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.045/0.045/0.045/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 1523719048 12189.752 100.00% Conn: 1 Mbps: 12189.752 Peak Mbps: 12189.752 Avg Mbps: 12189.752 2000 1505573962 12056.648 100.00% Conn: 1 Mbps: 12056.648 Peak Mbps: 12189.752 Avg Mbps: 12056.648 3000 1488512568 11908.101 100.00% Conn: 1 Mbps: 11908.101 Peak Mbps: 12189.752 Avg Mbps: 11908.101 4000 1508878278 12071.026 100.00% Conn: 1 Mbps: 12071.026 Peak Mbps: 12189.752 Avg Mbps: 12071.026 5000 1518922090 12151.377 100.00% Conn: 1 Mbps: 12151.377 Peak Mbps: 12189.752 Avg Mbps: 12151.377 --- 169.254.1.12 tcpbench statistics --- 9056937924 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 11908.101/12075.381/12189.752/97.169 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 1512522836 12100.183 100.00% Conn: 1 Mbps: 12100.183 Peak Mbps: 12100.183 Avg Mbps: 12100.183 2000 1519056160 12164.614 100.00% Conn: 1 Mbps: 12164.614 Peak Mbps: 12164.614 Avg Mbps: 12164.614 3000 1519186944 12153.496 100.00% Conn: 1 Mbps: 12153.496 Peak Mbps: 12164.614 Avg Mbps: 12153.496 4000 1520919832 12167.359 100.00% Conn: 1 Mbps: 12167.359 Peak Mbps: 12167.359 Avg Mbps: 12167.359 5000 1522816200 12182.530 100.00% Conn: 1 Mbps: 12182.530 Peak Mbps: 12182.530 Avg Mbps: 12182.530 --- fc00:0:0:1::12 tcpbench statistics --- 9106234228 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12100.183/12153.636/12182.530/28.288 Mbps ==== run-ping-3-3 ==== /sbin/ping -c 1 -w 1 -n -V 13 -I 169.254.0.13 169.254.0.13 PING 169.254.0.13 (169.254.0.13): 56 data bytes 64 bytes from 169.254.0.13: icmp_seq=0 ttl=255 time=0.039 ms --- 169.254.0.13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-3-3 ==== /sbin/ping6 -c 1 -w 1 -n -V 13 -I fc00::13 fc00::13 PING fc00::13 (fc00::13): 56 data bytes 64 bytes from fc00::13: icmp_seq=0 hlim=64 time=0.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 1541852980 12334.824 100.00% Conn: 1 Mbps: 12334.824 Peak Mbps: 12334.824 Avg Mbps: 12334.824 2000 1543099214 12357.151 100.00% Conn: 1 Mbps: 12357.151 Peak Mbps: 12357.151 Avg Mbps: 12357.151 3000 1544015262 12352.122 100.00% Conn: 1 Mbps: 12352.122 Peak Mbps: 12357.151 Avg Mbps: 12352.122 4000 1525318068 12202.545 100.00% Conn: 1 Mbps: 12202.545 Peak Mbps: 12357.151 Avg Mbps: 12202.545 5000 1529391210 12235.130 100.00% Conn: 1 Mbps: 12235.130 Peak Mbps: 12357.151 Avg Mbps: 12235.130 --- 169.254.0.13 tcpbench statistics --- 9251443812 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12202.545/12296.354/12357.151/64.552 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 1542392276 12339.138 100.00% Conn: 1 Mbps: 12339.138 Peak Mbps: 12339.138 Avg Mbps: 12339.138 2000 1529028440 12244.472 100.00% Conn: 1 Mbps: 12244.472 Peak Mbps: 12339.138 Avg Mbps: 12244.472 3000 1559566504 12476.532 100.00% Conn: 1 Mbps: 12476.532 Peak Mbps: 12476.532 Avg Mbps: 12476.532 4000 1576993472 12615.948 100.00% Conn: 1 Mbps: 12615.948 Peak Mbps: 12615.948 Avg Mbps: 12615.948 5000 1587586976 12700.696 100.00% Conn: 1 Mbps: 12700.696 Peak Mbps: 12700.696 Avg Mbps: 12700.696 --- fc00::13 tcpbench statistics --- 9383318124 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 12244.472/12475.357/12700.696/168.765 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.82s