START sys/net/pair 2024-04-25T10:05:20Z ==== 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.096 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.096/0.096/0.096/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.113 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.113/0.113/0.113/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 222607584 1780.861 100.00% Conn: 1 Mbps: 1780.861 Peak Mbps: 1780.861 Avg Mbps: 1780.861 2000 218442832 1747.543 100.00% Conn: 1 Mbps: 1747.543 Peak Mbps: 1780.861 Avg Mbps: 1747.543 3000 216527364 1732.219 100.00% Conn: 1 Mbps: 1732.219 Peak Mbps: 1780.861 Avg Mbps: 1732.219 4000 225365540 1802.924 100.00% Conn: 1 Mbps: 1802.924 Peak Mbps: 1802.924 Avg Mbps: 1802.924 5000 216384300 1731.074 100.00% Conn: 1 Mbps: 1731.074 Peak Mbps: 1802.924 Avg Mbps: 1731.074 --- 169.254.1.11 tcpbench statistics --- 1315497324 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1731.074/1758.924/1802.924/28.410 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 224267264 1794.138 100.00% Conn: 1 Mbps: 1794.138 Peak Mbps: 1794.138 Avg Mbps: 1794.138 2000 217084496 1738.414 100.00% Conn: 1 Mbps: 1738.414 Peak Mbps: 1794.138 Avg Mbps: 1738.414 3000 214531680 1716.253 100.00% Conn: 1 Mbps: 1716.253 Peak Mbps: 1794.138 Avg Mbps: 1716.253 4000 214793304 1718.346 100.00% Conn: 1 Mbps: 1718.346 Peak Mbps: 1794.138 Avg Mbps: 1718.346 5000 219645240 1757.162 100.00% Conn: 1 Mbps: 1757.162 Peak Mbps: 1794.138 Avg Mbps: 1757.162 --- fc00:0:0:1::11 tcpbench statistics --- 1304837808 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1716.253/1744.863/1794.138/28.784 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.149 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.149/0.149/0.149/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.302 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.302/0.302/0.302/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 79094104 632.753 100.00% Conn: 1 Mbps: 632.753 Peak Mbps: 632.753 Avg Mbps: 632.753 2000 79609592 636.877 100.00% Conn: 1 Mbps: 636.877 Peak Mbps: 636.877 Avg Mbps: 636.877 3001 79790592 638.325 100.00% Conn: 1 Mbps: 638.325 Peak Mbps: 638.325 Avg Mbps: 638.325 4002 79723984 637.792 100.00% Conn: 1 Mbps: 637.792 Peak Mbps: 638.325 Avg Mbps: 637.792 5002 79642896 637.143 100.00% Conn: 1 Mbps: 637.143 Peak Mbps: 638.325 Avg Mbps: 637.143 --- 169.254.1.12 tcpbench statistics --- 477456280 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 632.753/636.578/638.325/1.978 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 76300896 610.407 100.00% Conn: 1 Mbps: 610.407 Peak Mbps: 610.407 Avg Mbps: 610.407 2000 76453692 612.242 100.00% Conn: 1 Mbps: 612.242 Peak Mbps: 612.242 Avg Mbps: 612.242 3000 77017752 616.142 100.00% Conn: 1 Mbps: 616.142 Peak Mbps: 616.142 Avg Mbps: 616.142 4001 77084868 616.679 100.00% Conn: 1 Mbps: 616.679 Peak Mbps: 616.679 Avg Mbps: 616.679 5001 77557748 620.462 100.00% Conn: 1 Mbps: 620.462 Peak Mbps: 620.462 Avg Mbps: 620.462 --- fc00:0:0:1::12 tcpbench statistics --- 462264228 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 610.407/615.186/620.462/3.535 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.131 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.131/0.131/0.131/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.159 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.159/0.159/0.159/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 126031436 1008.251 100.00% Conn: 1 Mbps: 1008.251 Peak Mbps: 1008.251 Avg Mbps: 1008.251 2000 130037228 1040.298 100.00% Conn: 1 Mbps: 1040.298 Peak Mbps: 1040.298 Avg Mbps: 1040.298 3000 125610192 1005.887 100.00% Conn: 1 Mbps: 1005.887 Peak Mbps: 1040.298 Avg Mbps: 1005.887 4000 130291564 1042.333 100.00% Conn: 1 Mbps: 1042.333 Peak Mbps: 1042.333 Avg Mbps: 1042.333 5000 125777100 1006.217 100.00% Conn: 1 Mbps: 1006.217 Peak Mbps: 1042.333 Avg Mbps: 1006.217 --- 169.254.0.13 tcpbench statistics --- 769008740 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1005.887/1020.597/1042.333/16.948 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 113965000 911.720 100.00% Conn: 1 Mbps: 911.720 Peak Mbps: 911.720 Avg Mbps: 911.720 2000 113148416 906.093 100.00% Conn: 1 Mbps: 906.093 Peak Mbps: 911.720 Avg Mbps: 906.093 3000 114646808 917.174 100.00% Conn: 1 Mbps: 917.174 Peak Mbps: 917.174 Avg Mbps: 917.174 4000 116097632 928.781 100.00% Conn: 1 Mbps: 928.781 Peak Mbps: 928.781 Avg Mbps: 928.781 5000 116208624 929.669 100.00% Conn: 1 Mbps: 929.669 Peak Mbps: 929.669 Avg Mbps: 929.669 --- fc00::13 tcpbench statistics --- 686992912 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 906.093/918.688/929.669/9.294 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.101 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.101/0.101/0.101/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.121 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.121/0.121/0.121/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 79312752 633.868 100.00% Conn: 1 Mbps: 633.868 Peak Mbps: 633.868 Avg Mbps: 633.868 2002 80032408 640.259 100.00% Conn: 1 Mbps: 640.259 Peak Mbps: 640.259 Avg Mbps: 640.259 3002 79874576 638.997 100.00% Conn: 1 Mbps: 638.997 Peak Mbps: 640.259 Avg Mbps: 638.997 4002 79757288 638.058 100.00% Conn: 1 Mbps: 638.058 Peak Mbps: 640.259 Avg Mbps: 638.058 5004 80101912 640.175 100.00% Conn: 1 Mbps: 640.175 Peak Mbps: 640.259 Avg Mbps: 640.175 --- 169.254.1.11 tcpbench statistics --- 478979576 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 633.868/638.271/640.259/2.347 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 76700736 612.993 100.00% Conn: 1 Mbps: 612.993 Peak Mbps: 612.993 Avg Mbps: 612.993 2002 77284788 618.278 100.00% Conn: 1 Mbps: 618.278 Peak Mbps: 618.278 Avg Mbps: 618.278 3003 77364756 618.300 100.00% Conn: 1 Mbps: 618.300 Peak Mbps: 618.300 Avg Mbps: 618.300 4004 77724612 621.797 100.00% Conn: 1 Mbps: 621.797 Peak Mbps: 621.797 Avg Mbps: 621.797 5003 77552248 621.039 100.00% Conn: 1 Mbps: 621.039 Peak Mbps: 621.797 Avg Mbps: 621.039 --- fc00:0:0:1::11 tcpbench statistics --- 464106956 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 612.993/618.481/621.797/3.090 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.091 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.091/0.091/0.091/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.108 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.108/0.108/0.108/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 204123112 1632.985 100.00% Conn: 1 Mbps: 1632.985 Peak Mbps: 1632.985 Avg Mbps: 1632.985 2000 200430712 1603.446 100.00% Conn: 1 Mbps: 1603.446 Peak Mbps: 1632.985 Avg Mbps: 1603.446 3000 203803104 1630.425 100.00% Conn: 1 Mbps: 1630.425 Peak Mbps: 1632.985 Avg Mbps: 1630.425 4000 202896656 1623.173 100.00% Conn: 1 Mbps: 1623.173 Peak Mbps: 1632.985 Avg Mbps: 1623.173 5000 198953752 1591.630 100.00% Conn: 1 Mbps: 1591.630 Peak Mbps: 1632.985 Avg Mbps: 1591.630 --- 169.254.1.12 tcpbench statistics --- 1209010496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1591.630/1616.332/1632.985/16.118 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 202945932 1623.567 100.00% Conn: 1 Mbps: 1623.567 Peak Mbps: 1623.567 Avg Mbps: 1623.567 2000 198384900 1587.079 100.00% Conn: 1 Mbps: 1587.079 Peak Mbps: 1623.567 Avg Mbps: 1587.079 3000 206281740 1650.254 100.00% Conn: 1 Mbps: 1650.254 Peak Mbps: 1650.254 Avg Mbps: 1650.254 4000 200851056 1606.808 100.00% Conn: 1 Mbps: 1606.808 Peak Mbps: 1650.254 Avg Mbps: 1606.808 5000 209813184 1678.505 100.00% Conn: 1 Mbps: 1678.505 Peak Mbps: 1678.505 Avg Mbps: 1678.505 --- fc00:0:0:1::12 tcpbench statistics --- 1233677760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1587.079/1629.243/1678.505/32.192 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.096 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.096/0.096/0.096/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.115 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.115/0.115/0.115/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 303278726 2426.230 100.00% Conn: 1 Mbps: 2426.230 Peak Mbps: 2426.230 Avg Mbps: 2426.230 2000 302786580 2422.293 100.00% Conn: 1 Mbps: 2422.293 Peak Mbps: 2426.230 Avg Mbps: 2422.293 3000 305812810 2446.502 100.00% Conn: 1 Mbps: 2446.502 Peak Mbps: 2446.502 Avg Mbps: 2446.502 4000 300921768 2407.374 100.00% Conn: 1 Mbps: 2407.374 Peak Mbps: 2446.502 Avg Mbps: 2407.374 5000 302688432 2421.507 100.00% Conn: 1 Mbps: 2421.507 Peak Mbps: 2446.502 Avg Mbps: 2421.507 --- 169.254.0.13 tcpbench statistics --- 1813138484 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2407.374/2424.781/2446.502/12.600 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 308390328 2467.123 100.00% Conn: 1 Mbps: 2467.123 Peak Mbps: 2467.123 Avg Mbps: 2467.123 2000 307407792 2459.262 100.00% Conn: 1 Mbps: 2459.262 Peak Mbps: 2467.123 Avg Mbps: 2459.262 3000 306557696 2452.462 100.00% Conn: 1 Mbps: 2452.462 Peak Mbps: 2467.123 Avg Mbps: 2452.462 4000 303418880 2427.351 100.00% Conn: 1 Mbps: 2427.351 Peak Mbps: 2467.123 Avg Mbps: 2427.351 5000 308650240 2469.202 100.00% Conn: 1 Mbps: 2469.202 Peak Mbps: 2469.202 Avg Mbps: 2469.202 --- fc00::13 tcpbench statistics --- 1839118960 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2427.351/2455.080/2469.202/15.084 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.108 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.108/0.108/0.108/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.133 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.133/0.133/0.133/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 78241232 625.930 100.00% Conn: 1 Mbps: 625.930 Peak Mbps: 625.930 Avg Mbps: 625.930 2001 78597440 628.780 100.00% Conn: 1 Mbps: 628.780 Peak Mbps: 628.780 Avg Mbps: 628.780 3003 79131752 632.422 100.00% Conn: 1 Mbps: 632.422 Peak Mbps: 632.422 Avg Mbps: 632.422 4004 79719640 637.120 100.00% Conn: 1 Mbps: 637.120 Peak Mbps: 637.120 Avg Mbps: 637.120 5005 79789144 637.675 100.00% Conn: 1 Mbps: 637.675 Peak Mbps: 637.675 Avg Mbps: 637.675 --- 169.254.1.11 tcpbench statistics --- 474408240 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 625.930/632.385/637.675/4.584 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 1001 123795088 989.371 100.00% Conn: 1 Mbps: 989.371 Peak Mbps: 989.371 Avg Mbps: 989.371 2001 123244512 985.956 100.00% Conn: 1 Mbps: 985.956 Peak Mbps: 989.371 Avg Mbps: 985.956 3001 123248440 986.974 100.00% Conn: 1 Mbps: 986.974 Peak Mbps: 989.371 Avg Mbps: 986.974 4001 123668952 989.352 100.00% Conn: 1 Mbps: 989.352 Peak Mbps: 989.371 Avg Mbps: 989.352 5001 123474880 987.799 100.00% Conn: 1 Mbps: 987.799 Peak Mbps: 989.371 Avg Mbps: 987.799 --- fc00:0:0:1::11 tcpbench statistics --- 740705656 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 985.956/987.891/989.371/1.335 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.094 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.094/0.094/0.094/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.114 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.114/0.114/0.114/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 298567206 2388.538 100.00% Conn: 1 Mbps: 2388.538 Peak Mbps: 2388.538 Avg Mbps: 2388.538 2000 300856336 2406.851 100.00% Conn: 1 Mbps: 2406.851 Peak Mbps: 2406.851 Avg Mbps: 2406.851 3000 295000172 2360.001 100.00% Conn: 1 Mbps: 2360.001 Peak Mbps: 2406.851 Avg Mbps: 2360.001 4000 295261900 2362.095 100.00% Conn: 1 Mbps: 2362.095 Peak Mbps: 2406.851 Avg Mbps: 2362.095 5000 302492136 2419.937 100.00% Conn: 1 Mbps: 2419.937 Peak Mbps: 2419.937 Avg Mbps: 2419.937 --- 169.254.1.12 tcpbench statistics --- 1798105066 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2360.001/2387.484/2419.937/23.788 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 302194076 2417.553 100.00% Conn: 1 Mbps: 2417.553 Peak Mbps: 2417.553 Avg Mbps: 2417.553 2000 298154824 2385.239 100.00% Conn: 1 Mbps: 2385.239 Peak Mbps: 2417.553 Avg Mbps: 2385.239 3000 297239336 2377.915 100.00% Conn: 1 Mbps: 2377.915 Peak Mbps: 2417.553 Avg Mbps: 2377.915 4000 293740864 2349.927 100.00% Conn: 1 Mbps: 2349.927 Peak Mbps: 2417.553 Avg Mbps: 2349.927 5000 295441056 2363.528 100.00% Conn: 1 Mbps: 2363.528 Peak Mbps: 2417.553 Avg Mbps: 2363.528 --- fc00:0:0:1::12 tcpbench statistics --- 1786723260 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2349.927/2378.832/2417.553/22.851 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.091 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.091/0.091/0.091/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.108 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.108/0.108/0.108/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 302035700 2416.286 100.00% Conn: 1 Mbps: 2416.286 Peak Mbps: 2416.286 Avg Mbps: 2416.286 2000 297339366 2378.715 100.00% Conn: 1 Mbps: 2378.715 Peak Mbps: 2416.286 Avg Mbps: 2378.715 3000 296570540 2372.564 100.00% Conn: 1 Mbps: 2372.564 Peak Mbps: 2416.286 Avg Mbps: 2372.564 4000 298729796 2389.838 100.00% Conn: 1 Mbps: 2389.838 Peak Mbps: 2416.286 Avg Mbps: 2389.838 5000 302982876 2423.863 100.00% Conn: 1 Mbps: 2423.863 Peak Mbps: 2423.863 Avg Mbps: 2423.863 --- 169.254.0.13 tcpbench statistics --- 1804239914 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2372.564/2396.253/2423.863/20.364 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 298713644 2389.709 100.00% Conn: 1 Mbps: 2389.709 Peak Mbps: 2389.709 Avg Mbps: 2389.709 2000 301130160 2409.041 100.00% Conn: 1 Mbps: 2409.041 Peak Mbps: 2409.041 Avg Mbps: 2409.041 3000 309761904 2478.095 100.00% Conn: 1 Mbps: 2478.095 Peak Mbps: 2478.095 Avg Mbps: 2478.095 4000 307636664 2461.093 100.00% Conn: 1 Mbps: 2461.093 Peak Mbps: 2478.095 Avg Mbps: 2461.093 5000 301653296 2413.226 100.00% Conn: 1 Mbps: 2413.226 Peak Mbps: 2478.095 Avg Mbps: 2413.226 --- fc00::13 tcpbench statistics --- 1814467508 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2389.709/2430.233/2478.095/33.537 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 1m55.33s