START sys/net/pair 2024-05-16T04:26:10Z ==== 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.294 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.294/0.294/0.294/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.426 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.426/0.426/0.426/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 88524824 708.199 100.00% Conn: 1 Mbps: 708.199 Peak Mbps: 708.199 Avg Mbps: 708.199 2000 90033824 720.271 100.00% Conn: 1 Mbps: 720.271 Peak Mbps: 720.271 Avg Mbps: 720.271 3000 90011100 720.089 100.00% Conn: 1 Mbps: 720.089 Peak Mbps: 720.271 Avg Mbps: 720.089 4001 91092028 728.736 100.00% Conn: 1 Mbps: 728.736 Peak Mbps: 728.736 Avg Mbps: 728.736 5002 91052288 727.691 100.00% Conn: 1 Mbps: 727.691 Peak Mbps: 728.736 Avg Mbps: 727.691 --- 169.254.1.11 tcpbench statistics --- 540303780 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 708.199/720.997/728.736/7.346 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 95397624 763.181 100.00% Conn: 1 Mbps: 763.181 Peak Mbps: 763.181 Avg Mbps: 763.181 2001 95698888 764.826 100.00% Conn: 1 Mbps: 764.826 Peak Mbps: 764.826 Avg Mbps: 764.826 3000 92995440 744.708 100.00% Conn: 1 Mbps: 744.708 Peak Mbps: 764.826 Avg Mbps: 744.708 4000 88938904 712.223 100.00% Conn: 1 Mbps: 712.223 Peak Mbps: 764.826 Avg Mbps: 712.223 5001 91409840 731.279 100.00% Conn: 1 Mbps: 731.279 Peak Mbps: 764.826 Avg Mbps: 731.279 --- fc00:0:0:1::11 tcpbench statistics --- 555929816 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 712.223/743.244/764.826/19.854 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.435 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.435/0.435/0.435/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.813 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.813/0.813/0.813/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 1003 27797256 221.713 100.00% Conn: 1 Mbps: 221.713 Peak Mbps: 221.713 Avg Mbps: 221.713 2000 26808272 215.112 100.00% Conn: 1 Mbps: 215.112 Peak Mbps: 221.713 Avg Mbps: 215.112 3004 28199800 224.924 100.00% Conn: 1 Mbps: 224.924 Peak Mbps: 224.924 Avg Mbps: 224.924 4004 28149120 225.193 100.00% Conn: 1 Mbps: 225.193 Peak Mbps: 225.193 Avg Mbps: 225.193 5004 28224416 225.795 100.00% Conn: 1 Mbps: 225.795 Peak Mbps: 225.795 Avg Mbps: 225.795 --- 169.254.1.12 tcpbench statistics --- 167306264 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 215.112/222.547/225.795/3.980 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 1005 26355168 209.792 100.00% Conn: 1 Mbps: 209.792 Peak Mbps: 209.792 Avg Mbps: 209.792 2001 27427596 220.523 100.00% Conn: 1 Mbps: 220.523 Peak Mbps: 220.523 Avg Mbps: 220.523 3002 27744612 221.957 100.00% Conn: 1 Mbps: 221.957 Peak Mbps: 221.957 Avg Mbps: 221.957 4002 27780312 222.465 100.00% Conn: 1 Mbps: 222.465 Peak Mbps: 222.465 Avg Mbps: 222.465 5003 27770316 221.941 100.00% Conn: 1 Mbps: 221.941 Peak Mbps: 222.465 Avg Mbps: 221.941 --- fc00:0:0:1::12 tcpbench statistics --- 163725912 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 209.792/219.336/222.465/4.815 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.402 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.402/0.402/0.402/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.497 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.497/0.497/0.497/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 48832512 390.660 100.00% Conn: 1 Mbps: 390.660 Peak Mbps: 390.660 Avg Mbps: 390.660 2001 47862856 382.903 100.00% Conn: 1 Mbps: 382.903 Peak Mbps: 390.660 Avg Mbps: 382.903 3001 47083952 376.672 100.00% Conn: 1 Mbps: 376.672 Peak Mbps: 390.660 Avg Mbps: 376.672 4002 44993628 359.949 100.00% Conn: 1 Mbps: 359.949 Peak Mbps: 390.660 Avg Mbps: 359.949 5002 47139588 377.117 100.00% Conn: 1 Mbps: 377.117 Peak Mbps: 390.660 Avg Mbps: 377.117 --- 169.254.0.13 tcpbench statistics --- 282829440 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 359.949/377.460/390.660/10.112 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 1001 43992472 351.588 100.00% Conn: 1 Mbps: 351.588 Peak Mbps: 351.588 Avg Mbps: 351.588 2001 43540576 348.325 100.00% Conn: 1 Mbps: 348.325 Peak Mbps: 351.588 Avg Mbps: 348.325 3001 43572288 348.578 100.00% Conn: 1 Mbps: 348.578 Peak Mbps: 351.588 Avg Mbps: 348.578 4002 44769416 358.155 100.00% Conn: 1 Mbps: 358.155 Peak Mbps: 358.155 Avg Mbps: 358.155 5002 43722920 349.783 100.00% Conn: 1 Mbps: 349.783 Peak Mbps: 358.155 Avg Mbps: 349.783 --- fc00::13 tcpbench statistics --- 263177888 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 348.325/351.286/358.155/3.623 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.333 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.333/0.333/0.333/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.399 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.399/0.399/0.399/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 26738768 213.696 100.00% Conn: 1 Mbps: 213.696 Peak Mbps: 213.696 Avg Mbps: 213.696 2002 28014456 223.892 100.00% Conn: 1 Mbps: 223.892 Peak Mbps: 223.892 Avg Mbps: 223.892 3002 28215728 225.726 100.00% Conn: 1 Mbps: 225.726 Peak Mbps: 225.726 Avg Mbps: 225.726 4003 28301160 226.409 100.00% Conn: 1 Mbps: 226.409 Peak Mbps: 226.409 Avg Mbps: 226.409 5004 28305560 226.218 100.00% Conn: 1 Mbps: 226.218 Peak Mbps: 226.409 Avg Mbps: 226.218 --- 169.254.1.11 tcpbench statistics --- 166780696 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 213.696/223.188/226.409/4.829 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 27249096 217.993 100.00% Conn: 1 Mbps: 217.993 Peak Mbps: 217.993 Avg Mbps: 217.993 2003 27584676 220.237 100.00% Conn: 1 Mbps: 220.237 Peak Mbps: 220.237 Avg Mbps: 220.237 3004 27567540 220.320 100.00% Conn: 1 Mbps: 220.320 Peak Mbps: 220.320 Avg Mbps: 220.320 4008 27680352 220.780 100.00% Conn: 1 Mbps: 220.780 Peak Mbps: 220.780 Avg Mbps: 220.780 5008 26867820 215.158 100.00% Conn: 1 Mbps: 215.158 Peak Mbps: 220.780 Avg Mbps: 215.158 --- fc00:0:0:1::11 tcpbench statistics --- 164669820 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 215.158/218.898/220.780/2.106 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.324 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.324/0.324/0.324/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.356 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.356/0.356/0.356/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 90879376 727.035 100.00% Conn: 1 Mbps: 727.035 Peak Mbps: 727.035 Avg Mbps: 727.035 2000 88884032 711.072 100.00% Conn: 1 Mbps: 711.072 Peak Mbps: 727.035 Avg Mbps: 711.072 3000 85672368 685.379 100.00% Conn: 1 Mbps: 685.379 Peak Mbps: 727.035 Avg Mbps: 685.379 4000 89080960 713.361 100.00% Conn: 1 Mbps: 713.361 Peak Mbps: 727.035 Avg Mbps: 713.361 5000 89257616 714.061 100.00% Conn: 1 Mbps: 714.061 Peak Mbps: 727.035 Avg Mbps: 714.061 --- 169.254.1.12 tcpbench statistics --- 533331704 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 685.379/710.182/727.035/13.603 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 91974624 735.797 100.00% Conn: 1 Mbps: 735.797 Peak Mbps: 735.797 Avg Mbps: 735.797 2001 92552964 740.424 100.00% Conn: 1 Mbps: 740.424 Peak Mbps: 740.424 Avg Mbps: 740.424 3001 93618252 748.946 100.00% Conn: 1 Mbps: 748.946 Peak Mbps: 748.946 Avg Mbps: 748.946 4001 94042368 753.092 100.00% Conn: 1 Mbps: 753.092 Peak Mbps: 753.092 Avg Mbps: 753.092 5001 92047452 736.380 100.00% Conn: 1 Mbps: 736.380 Peak Mbps: 753.092 Avg Mbps: 736.380 --- fc00:0:0:1::12 tcpbench statistics --- 555689064 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 735.797/742.928/753.092/6.921 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.340 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.340/0.340/0.340/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.380 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.380/0.380/0.380/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 131013634 1048.109 100.00% Conn: 1 Mbps: 1048.109 Peak Mbps: 1048.109 Avg Mbps: 1048.109 2000 129718868 1037.751 100.00% Conn: 1 Mbps: 1037.751 Peak Mbps: 1048.109 Avg Mbps: 1037.751 3000 129784300 1038.274 100.00% Conn: 1 Mbps: 1038.274 Peak Mbps: 1048.109 Avg Mbps: 1038.274 4012 129361500 1022.621 100.00% Conn: 1 Mbps: 1022.621 Peak Mbps: 1048.109 Avg Mbps: 1022.621 5012 125760304 1006.082 100.00% Conn: 1 Mbps: 1006.082 Peak Mbps: 1048.109 Avg Mbps: 1006.082 --- 169.254.0.13 tcpbench statistics --- 773296438 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1006.082/1030.567/1048.109/14.706 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 128088020 1024.704 100.00% Conn: 1 Mbps: 1024.704 Peak Mbps: 1024.704 Avg Mbps: 1024.704 2000 127710576 1021.685 100.00% Conn: 1 Mbps: 1021.685 Peak Mbps: 1024.704 Avg Mbps: 1021.685 3000 122348432 978.787 100.00% Conn: 1 Mbps: 978.787 Peak Mbps: 1024.704 Avg Mbps: 978.787 4000 127416312 1019.330 100.00% Conn: 1 Mbps: 1019.330 Peak Mbps: 1024.704 Avg Mbps: 1019.330 5000 127939448 1023.516 100.00% Conn: 1 Mbps: 1023.516 Peak Mbps: 1024.704 Avg Mbps: 1023.516 --- fc00::13 tcpbench statistics --- 761246060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 978.787/1013.604/1024.704/17.503 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.368 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.368/0.368/0.368/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.427 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.427/0.427/0.427/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 1003 27050088 215.753 100.00% Conn: 1 Mbps: 215.753 Peak Mbps: 215.753 Avg Mbps: 215.753 2001 26770624 214.809 100.00% Conn: 1 Mbps: 214.809 Peak Mbps: 215.753 Avg Mbps: 214.809 3002 28082512 224.436 100.00% Conn: 1 Mbps: 224.436 Peak Mbps: 224.436 Avg Mbps: 224.436 4005 28215728 225.051 100.00% Conn: 1 Mbps: 225.051 Peak Mbps: 225.051 Avg Mbps: 225.051 5007 28343152 226.519 100.00% Conn: 1 Mbps: 226.519 Peak Mbps: 226.519 Avg Mbps: 226.519 --- 169.254.1.11 tcpbench statistics --- 166171032 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 214.809/221.314/226.519/4.980 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 47473712 379.790 100.00% Conn: 1 Mbps: 379.790 Peak Mbps: 379.790 Avg Mbps: 379.790 2001 47636200 381.090 100.00% Conn: 1 Mbps: 381.090 Peak Mbps: 381.090 Avg Mbps: 381.090 3001 47513328 380.107 100.00% Conn: 1 Mbps: 380.107 Peak Mbps: 381.090 Avg Mbps: 380.107 4001 46342672 371.112 100.00% Conn: 1 Mbps: 371.112 Peak Mbps: 381.090 Avg Mbps: 371.112 5001 43026688 344.214 100.00% Conn: 1 Mbps: 344.214 Peak Mbps: 381.090 Avg Mbps: 344.214 --- fc00:0:0:1::11 tcpbench statistics --- 276670136 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 344.214/371.262/381.090/13.994 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.319 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.319/0.319/0.319/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.377 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.377/0.377/0.377/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 129785510 1038.284 100.00% Conn: 1 Mbps: 1038.284 Peak Mbps: 1038.284 Avg Mbps: 1038.284 2000 128606524 1029.882 100.00% Conn: 1 Mbps: 1029.882 Peak Mbps: 1038.284 Avg Mbps: 1029.882 3000 123633692 989.070 100.00% Conn: 1 Mbps: 989.070 Peak Mbps: 1038.284 Avg Mbps: 989.070 4000 128900968 1031.208 100.00% Conn: 1 Mbps: 1031.208 Peak Mbps: 1038.284 Avg Mbps: 1031.208 5000 128966460 1031.732 100.00% Conn: 1 Mbps: 1031.732 Peak Mbps: 1038.284 Avg Mbps: 1031.732 --- 169.254.1.12 tcpbench statistics --- 768761478 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 989.070/1024.035/1038.284/17.723 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 127531468 1020.252 100.00% Conn: 1 Mbps: 1020.252 Peak Mbps: 1020.252 Avg Mbps: 1020.252 2000 121400248 972.174 100.00% Conn: 1 Mbps: 972.174 Peak Mbps: 1020.252 Avg Mbps: 972.174 3000 126435432 1011.483 100.00% Conn: 1 Mbps: 1011.483 Peak Mbps: 1020.252 Avg Mbps: 1011.483 4000 126566216 1012.530 100.00% Conn: 1 Mbps: 1012.530 Peak Mbps: 1020.252 Avg Mbps: 1012.530 5000 126598912 1012.791 100.00% Conn: 1 Mbps: 1012.791 Peak Mbps: 1020.252 Avg Mbps: 1012.791 --- fc00:0:0:1::12 tcpbench statistics --- 755196580 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 972.174/1005.846/1020.252/17.123 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.303 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.303/0.303/0.303/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.358 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.358/0.358/0.358/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 130701402 1045.611 100.00% Conn: 1 Mbps: 1045.611 Peak Mbps: 1045.611 Avg Mbps: 1045.611 2000 130275040 1043.244 100.00% Conn: 1 Mbps: 1043.244 Peak Mbps: 1045.611 Avg Mbps: 1043.244 3000 130405904 1043.247 100.00% Conn: 1 Mbps: 1043.247 Peak Mbps: 1045.611 Avg Mbps: 1043.247 4000 130373176 1042.985 100.00% Conn: 1 Mbps: 1042.985 Peak Mbps: 1045.611 Avg Mbps: 1042.985 5000 124942332 999.539 100.00% Conn: 1 Mbps: 999.539 Peak Mbps: 1045.611 Avg Mbps: 999.539 --- 169.254.0.13 tcpbench statistics --- 776711166 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 999.539/1034.925/1045.611/17.719 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 132943520 1063.548 100.00% Conn: 1 Mbps: 1063.548 Peak Mbps: 1063.548 Avg Mbps: 1063.548 2000 131961056 1056.745 100.00% Conn: 1 Mbps: 1056.745 Peak Mbps: 1063.548 Avg Mbps: 1056.745 3000 132059144 1056.473 100.00% Conn: 1 Mbps: 1056.473 Peak Mbps: 1063.548 Avg Mbps: 1056.473 4000 126598912 1012.791 100.00% Conn: 1 Mbps: 1012.791 Peak Mbps: 1063.548 Avg Mbps: 1012.791 5000 131928360 1055.427 100.00% Conn: 1 Mbps: 1055.427 Peak Mbps: 1063.548 Avg Mbps: 1055.427 --- fc00::13 tcpbench statistics --- 787157784 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1012.791/1048.997/1063.548/18.330 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 2m02.85s