START sys/net/pair 2024-10-05T08:57:23Z ==== 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.207 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.207/0.207/0.207/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.244 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.244/0.244/0.244/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 109094248 872.754 100.00% Conn: 1 Mbps: 872.754 Peak Mbps: 872.754 Avg Mbps: 872.754 2000 109483700 875.870 100.00% Conn: 1 Mbps: 875.870 Peak Mbps: 875.870 Avg Mbps: 875.870 3000 109308844 874.471 100.00% Conn: 1 Mbps: 874.471 Peak Mbps: 875.870 Avg Mbps: 874.471 4000 109189624 874.391 100.00% Conn: 1 Mbps: 874.391 Peak Mbps: 875.870 Avg Mbps: 874.391 5000 108951184 871.609 100.00% Conn: 1 Mbps: 871.609 Peak Mbps: 875.870 Avg Mbps: 871.609 --- 169.254.1.11 tcpbench statistics --- 654867512 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 871.609/873.819/875.870/1.481 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 109913792 879.310 100.00% Conn: 1 Mbps: 879.310 Peak Mbps: 879.310 Avg Mbps: 879.310 2000 109382616 875.061 100.00% Conn: 1 Mbps: 875.061 Peak Mbps: 879.310 Avg Mbps: 875.061 3000 109493608 875.949 100.00% Conn: 1 Mbps: 875.949 Peak Mbps: 879.310 Avg Mbps: 875.949 4000 109842440 879.619 100.00% Conn: 1 Mbps: 879.619 Peak Mbps: 879.619 Avg Mbps: 879.619 5000 109890008 879.120 100.00% Conn: 1 Mbps: 879.120 Peak Mbps: 879.619 Avg Mbps: 879.120 --- fc00:0:0:1::11 tcpbench statistics --- 658063640 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 875.061/877.812/879.619/1.911 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.325 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.325/0.325/0.325/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.707 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.707/0.707/0.707/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 39491304 315.930 100.00% Conn: 1 Mbps: 315.930 Peak Mbps: 315.930 Avg Mbps: 315.930 2002 39709952 317.362 100.00% Conn: 1 Mbps: 317.362 Peak Mbps: 317.362 Avg Mbps: 317.362 3003 39631760 316.737 100.00% Conn: 1 Mbps: 316.737 Peak Mbps: 317.362 Avg Mbps: 316.737 4004 39749048 317.675 100.00% Conn: 1 Mbps: 317.675 Peak Mbps: 317.675 Avg Mbps: 317.675 5004 39637552 317.418 100.00% Conn: 1 Mbps: 317.418 Peak Mbps: 317.675 Avg Mbps: 317.418 --- 169.254.1.12 tcpbench statistics --- 237920880 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 315.930/317.025/317.675/0.628 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 1002 37569252 299.954 100.00% Conn: 1 Mbps: 299.954 Peak Mbps: 299.954 Avg Mbps: 299.954 2002 37782024 302.256 100.00% Conn: 1 Mbps: 302.256 Peak Mbps: 302.256 Avg Mbps: 302.256 3003 37694916 301.559 100.00% Conn: 1 Mbps: 301.559 Peak Mbps: 302.256 Avg Mbps: 301.559 4002 37710624 301.987 100.00% Conn: 1 Mbps: 301.987 Peak Mbps: 302.256 Avg Mbps: 301.987 5003 38119032 304.952 100.00% Conn: 1 Mbps: 304.952 Peak Mbps: 304.952 Avg Mbps: 304.952 --- fc00:0:0:1::12 tcpbench statistics --- 226859220 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 299.954/302.142/304.952/1.616 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.276 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.276/0.276/0.276/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.337 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.337/0.337/0.337/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 61668532 493.348 100.00% Conn: 1 Mbps: 493.348 Peak Mbps: 493.348 Avg Mbps: 493.348 2000 61461884 492.187 100.00% Conn: 1 Mbps: 492.187 Peak Mbps: 493.348 Avg Mbps: 492.187 3000 61128068 489.025 100.00% Conn: 1 Mbps: 489.025 Peak Mbps: 493.348 Avg Mbps: 489.025 4000 61112172 488.897 100.00% Conn: 1 Mbps: 488.897 Peak Mbps: 493.348 Avg Mbps: 488.897 5000 61247288 489.978 100.00% Conn: 1 Mbps: 489.978 Peak Mbps: 493.348 Avg Mbps: 489.978 --- 169.254.0.13 tcpbench statistics --- 367451936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 488.897/490.687/493.348/1.778 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 62456784 499.155 100.00% Conn: 1 Mbps: 499.155 Peak Mbps: 499.155 Avg Mbps: 499.155 2000 61838400 495.202 100.00% Conn: 1 Mbps: 495.202 Peak Mbps: 499.155 Avg Mbps: 495.202 3001 62131736 497.054 100.00% Conn: 1 Mbps: 497.054 Peak Mbps: 499.155 Avg Mbps: 497.054 4001 61323080 490.585 100.00% Conn: 1 Mbps: 490.585 Peak Mbps: 499.155 Avg Mbps: 490.585 5001 61560920 492.487 100.00% Conn: 1 Mbps: 492.487 Peak Mbps: 499.155 Avg Mbps: 492.487 --- fc00::13 tcpbench statistics --- 371395088 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 490.585/494.897/499.155/3.075 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.201 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.201/0.201/0.201/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.269 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.269/0.269/0.269/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 39569496 316.240 100.00% Conn: 1 Mbps: 316.240 Peak Mbps: 316.240 Avg Mbps: 316.240 2002 39372568 314.981 100.00% Conn: 1 Mbps: 314.981 Peak Mbps: 316.240 Avg Mbps: 314.981 3002 39589768 316.718 100.00% Conn: 1 Mbps: 316.718 Peak Mbps: 316.718 Avg Mbps: 316.718 4003 39857648 318.543 100.00% Conn: 1 Mbps: 318.543 Peak Mbps: 318.543 Avg Mbps: 318.543 5004 39731672 317.853 100.00% Conn: 1 Mbps: 317.853 Peak Mbps: 318.543 Avg Mbps: 317.853 --- 169.254.1.11 tcpbench statistics --- 237706576 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 314.981/316.867/318.543/1.245 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 37637796 301.102 100.00% Conn: 1 Mbps: 301.102 Peak Mbps: 301.102 Avg Mbps: 301.102 2001 37860564 302.582 100.00% Conn: 1 Mbps: 302.582 Peak Mbps: 302.582 Avg Mbps: 302.582 3001 37906260 303.554 100.00% Conn: 1 Mbps: 303.554 Peak Mbps: 303.554 Avg Mbps: 303.554 4003 38201856 305.310 100.00% Conn: 1 Mbps: 305.310 Peak Mbps: 305.310 Avg Mbps: 305.310 5003 38110464 304.884 100.00% Conn: 1 Mbps: 304.884 Peak Mbps: 305.310 Avg Mbps: 304.884 --- fc00:0:0:1::11 tcpbench statistics --- 227696028 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 301.102/303.486/305.310/1.535 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.173 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.173/0.173/0.173/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.235 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.235/0.235/0.235/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 105567888 844.543 100.00% Conn: 1 Mbps: 844.543 Peak Mbps: 844.543 Avg Mbps: 844.543 2000 105660560 845.284 100.00% Conn: 1 Mbps: 845.284 Peak Mbps: 845.284 Avg Mbps: 845.284 3000 105331864 842.655 100.00% Conn: 1 Mbps: 842.655 Peak Mbps: 845.284 Avg Mbps: 842.655 4000 106200664 849.605 100.00% Conn: 1 Mbps: 849.605 Peak Mbps: 849.605 Avg Mbps: 849.605 5000 107053536 857.286 100.00% Conn: 1 Mbps: 857.286 Peak Mbps: 857.286 Avg Mbps: 857.286 --- 169.254.1.12 tcpbench statistics --- 636361248 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 842.655/847.875/857.286/5.227 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 104532456 836.260 100.00% Conn: 1 Mbps: 836.260 Peak Mbps: 836.260 Avg Mbps: 836.260 2000 104960856 839.687 100.00% Conn: 1 Mbps: 839.687 Peak Mbps: 839.687 Avg Mbps: 839.687 3000 104720952 837.768 100.00% Conn: 1 Mbps: 837.768 Peak Mbps: 839.687 Avg Mbps: 837.768 4000 104645268 837.162 100.00% Conn: 1 Mbps: 837.162 Peak Mbps: 839.687 Avg Mbps: 837.162 5001 104660976 837.288 100.00% Conn: 1 Mbps: 837.288 Peak Mbps: 839.687 Avg Mbps: 837.288 --- fc00:0:0:1::12 tcpbench statistics --- 628181484 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 836.260/837.633/839.687/1.137 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.201 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.201/0.201/0.201/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.254 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.254/0.254/0.254/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 188690488 1509.524 100.00% Conn: 1 Mbps: 1509.524 Peak Mbps: 1509.524 Avg Mbps: 1509.524 2000 187233560 1499.368 100.00% Conn: 1 Mbps: 1499.368 Peak Mbps: 1509.524 Avg Mbps: 1499.368 3000 187560720 1500.486 100.00% Conn: 1 Mbps: 1500.486 Peak Mbps: 1509.524 Avg Mbps: 1500.486 4000 187233560 1497.868 100.00% Conn: 1 Mbps: 1497.868 Peak Mbps: 1509.524 Avg Mbps: 1497.868 5000 187462572 1499.701 100.00% Conn: 1 Mbps: 1499.701 Peak Mbps: 1509.524 Avg Mbps: 1499.701 --- 169.254.0.13 tcpbench statistics --- 1125708904 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1497.868/1501.389/1509.524/4.155 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 173142532 1385.140 100.00% Conn: 1 Mbps: 1385.140 Peak Mbps: 1385.140 Avg Mbps: 1385.140 2000 171490520 1373.297 100.00% Conn: 1 Mbps: 1373.297 Peak Mbps: 1385.140 Avg Mbps: 1373.297 3000 171490520 1371.924 100.00% Conn: 1 Mbps: 1371.924 Peak Mbps: 1385.140 Avg Mbps: 1371.924 4000 171457824 1371.663 100.00% Conn: 1 Mbps: 1371.663 Peak Mbps: 1385.140 Avg Mbps: 1371.663 5000 171490520 1371.924 100.00% Conn: 1 Mbps: 1371.924 Peak Mbps: 1385.140 Avg Mbps: 1371.924 --- fc00::13 tcpbench statistics --- 1030170084 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1371.663/1374.790/1385.140/5.207 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.245 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.245/0.245/0.245/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.293 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.293/0.293/0.293/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 1002 39245144 313.334 100.00% Conn: 1 Mbps: 313.334 Peak Mbps: 313.334 Avg Mbps: 313.334 2003 39278448 313.914 100.00% Conn: 1 Mbps: 313.914 Peak Mbps: 313.914 Avg Mbps: 313.914 3005 39329128 314.005 100.00% Conn: 1 Mbps: 314.005 Peak Mbps: 314.005 Avg Mbps: 314.005 4006 39227768 313.509 100.00% Conn: 1 Mbps: 313.509 Peak Mbps: 314.005 Avg Mbps: 313.509 5007 39229216 313.834 100.00% Conn: 1 Mbps: 313.834 Peak Mbps: 314.005 Avg Mbps: 313.834 --- 169.254.1.11 tcpbench statistics --- 235314480 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 313.334/313.719/314.005/0.255 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 63991976 511.936 100.00% Conn: 1 Mbps: 511.936 Peak Mbps: 511.936 Avg Mbps: 511.936 2002 64304168 513.407 100.00% Conn: 1 Mbps: 513.407 Peak Mbps: 513.407 Avg Mbps: 513.407 3003 63489920 507.919 100.00% Conn: 1 Mbps: 507.919 Peak Mbps: 513.407 Avg Mbps: 507.919 4004 63443608 507.549 100.00% Conn: 1 Mbps: 507.549 Peak Mbps: 513.407 Avg Mbps: 507.549 5005 63278048 505.719 100.00% Conn: 1 Mbps: 505.719 Peak Mbps: 513.407 Avg Mbps: 505.719 --- fc00:0:0:1::11 tcpbench statistics --- 381924496 bytes sent over 6.005 seconds bandwidth min/avg/max/std-dev = 505.719/509.306/513.407/2.885 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.201 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.201/0.201/0.201/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.260 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.260/0.260/0.260/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 185402170 1483.217 100.00% Conn: 1 Mbps: 1483.217 Peak Mbps: 1483.217 Avg Mbps: 1483.217 2000 183929352 1472.908 100.00% Conn: 1 Mbps: 1472.908 Peak Mbps: 1483.217 Avg Mbps: 1472.908 3000 184125648 1473.005 100.00% Conn: 1 Mbps: 1473.005 Peak Mbps: 1483.217 Avg Mbps: 1473.005 4000 183863920 1470.911 100.00% Conn: 1 Mbps: 1470.911 Peak Mbps: 1483.217 Avg Mbps: 1470.911 5000 184321944 1474.576 100.00% Conn: 1 Mbps: 1474.576 Peak Mbps: 1483.217 Avg Mbps: 1474.576 --- 169.254.1.12 tcpbench statistics --- 1105735966 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1470.911/1474.923/1483.217/4.307 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 172929324 1383.435 100.00% Conn: 1 Mbps: 1383.435 Peak Mbps: 1383.435 Avg Mbps: 1383.435 2000 171032776 1369.632 100.00% Conn: 1 Mbps: 1369.632 Peak Mbps: 1383.435 Avg Mbps: 1369.632 3000 171130864 1369.047 100.00% Conn: 1 Mbps: 1369.047 Peak Mbps: 1383.435 Avg Mbps: 1369.047 4000 169594152 1356.753 100.00% Conn: 1 Mbps: 1356.753 Peak Mbps: 1383.435 Avg Mbps: 1356.753 5000 171065472 1368.524 100.00% Conn: 1 Mbps: 1368.524 Peak Mbps: 1383.435 Avg Mbps: 1368.524 --- fc00:0:0:1::12 tcpbench statistics --- 1026818060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1356.753/1369.478/1383.435/8.460 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.181 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.181/0.181/0.181/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.235 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.235/0.235/0.235/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 186105842 1488.847 100.00% Conn: 1 Mbps: 1488.847 Peak Mbps: 1488.847 Avg Mbps: 1488.847 2000 185925028 1488.889 100.00% Conn: 1 Mbps: 1488.889 Peak Mbps: 1488.889 Avg Mbps: 1488.889 3000 184943548 1479.548 100.00% Conn: 1 Mbps: 1479.548 Peak Mbps: 1488.889 Avg Mbps: 1479.548 4000 186252188 1490.018 100.00% Conn: 1 Mbps: 1490.018 Peak Mbps: 1490.018 Avg Mbps: 1490.018 5000 185663300 1485.306 100.00% Conn: 1 Mbps: 1485.306 Peak Mbps: 1490.018 Avg Mbps: 1485.306 --- 169.254.0.13 tcpbench statistics --- 1114618638 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1479.548/1486.522/1490.018/3.830 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 177834156 1422.673 100.00% Conn: 1 Mbps: 1422.673 Peak Mbps: 1422.673 Avg Mbps: 1422.673 2000 176133352 1410.477 100.00% Conn: 1 Mbps: 1410.477 Peak Mbps: 1422.673 Avg Mbps: 1410.477 3000 176166048 1409.328 100.00% Conn: 1 Mbps: 1409.328 Peak Mbps: 1422.673 Avg Mbps: 1409.328 4000 176002568 1408.021 100.00% Conn: 1 Mbps: 1408.021 Peak Mbps: 1422.673 Avg Mbps: 1408.021 5000 176067960 1408.544 100.00% Conn: 1 Mbps: 1408.544 Peak Mbps: 1422.673 Avg Mbps: 1408.544 --- fc00::13 tcpbench statistics --- 1058108564 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1408.021/1411.809/1422.673/5.495 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 1m59.47s