START sys/net/pair 2024-04-25T08:21:34Z ==== 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.197 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.197/0.197/0.197/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.251 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.251/0.251/0.251/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 109706244 877.650 100.00% Conn: 1 Mbps: 877.650 Peak Mbps: 877.650 Avg Mbps: 877.650 2000 109443960 876.428 100.00% Conn: 1 Mbps: 876.428 Peak Mbps: 877.650 Avg Mbps: 876.428 3000 109253208 874.026 100.00% Conn: 1 Mbps: 874.026 Peak Mbps: 877.650 Avg Mbps: 874.026 4000 109221416 873.771 100.00% Conn: 1 Mbps: 873.771 Peak Mbps: 877.650 Avg Mbps: 873.771 5000 109483700 875.870 100.00% Conn: 1 Mbps: 875.870 Peak Mbps: 877.650 Avg Mbps: 875.870 --- 169.254.1.11 tcpbench statistics --- 656520696 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 873.771/875.549/877.650/1.468 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 111253624 890.029 100.00% Conn: 1 Mbps: 890.029 Peak Mbps: 890.029 Avg Mbps: 890.029 2000 110587672 884.701 100.00% Conn: 1 Mbps: 884.701 Peak Mbps: 890.029 Avg Mbps: 884.701 3000 110508392 884.952 100.00% Conn: 1 Mbps: 884.952 Peak Mbps: 890.029 Avg Mbps: 884.952 4000 110643168 885.145 100.00% Conn: 1 Mbps: 885.145 Peak Mbps: 890.029 Avg Mbps: 885.145 5000 110460824 883.687 100.00% Conn: 1 Mbps: 883.687 Peak Mbps: 890.029 Avg Mbps: 883.687 --- fc00:0:0:1::11 tcpbench statistics --- 664033424 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 883.687/885.703/890.029/2.221 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.330 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.330/0.330/0.330/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.708 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.708/0.708/0.708/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1001 40467256 323.415 100.00% Conn: 1 Mbps: 323.415 Peak Mbps: 323.415 Avg Mbps: 323.415 2003 40738032 325.579 100.00% Conn: 1 Mbps: 325.579 Peak Mbps: 325.579 Avg Mbps: 325.579 3004 40780024 326.240 100.00% Conn: 1 Mbps: 326.240 Peak Mbps: 326.240 Avg Mbps: 326.240 4006 40791608 326.007 100.00% Conn: 1 Mbps: 326.007 Peak Mbps: 326.240 Avg Mbps: 326.007 5006 40704728 325.638 100.00% Conn: 1 Mbps: 325.638 Peak Mbps: 326.240 Avg Mbps: 325.638 --- 169.254.1.12 tcpbench statistics --- 244032888 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 323.415/325.376/326.240/1.010 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 1001 38541720 308.026 100.00% Conn: 1 Mbps: 308.026 Peak Mbps: 308.026 Avg Mbps: 308.026 2002 38624544 308.688 100.00% Conn: 1 Mbps: 308.688 Peak Mbps: 308.688 Avg Mbps: 308.688 3003 38922996 311.073 100.00% Conn: 1 Mbps: 311.073 Peak Mbps: 311.073 Avg Mbps: 311.073 4005 39055800 312.134 100.00% Conn: 1 Mbps: 312.134 Peak Mbps: 312.134 Avg Mbps: 312.134 5007 39081504 312.028 100.00% Conn: 1 Mbps: 312.028 Peak Mbps: 312.134 Avg Mbps: 312.028 --- fc00:0:0:1::12 tcpbench statistics --- 233021040 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 308.026/310.390/312.134/1.713 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.263 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.263/0.263/0.263/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.348 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.348/0.348/0.348/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 61143964 489.152 100.00% Conn: 1 Mbps: 489.152 Peak Mbps: 489.152 Avg Mbps: 489.152 2000 60436592 483.977 100.00% Conn: 1 Mbps: 483.977 Peak Mbps: 489.152 Avg Mbps: 483.977 3000 60603500 484.828 100.00% Conn: 1 Mbps: 484.828 Peak Mbps: 489.152 Avg Mbps: 484.828 4000 60444540 483.556 100.00% Conn: 1 Mbps: 483.556 Peak Mbps: 489.152 Avg Mbps: 483.556 5000 60698876 485.591 100.00% Conn: 1 Mbps: 485.591 Peak Mbps: 489.152 Avg Mbps: 485.591 --- 169.254.0.13 tcpbench statistics --- 363700480 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 483.556/485.421/489.152/1.993 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 58865400 470.923 100.00% Conn: 1 Mbps: 470.923 Peak Mbps: 470.923 Avg Mbps: 470.923 2000 58778192 470.226 100.00% Conn: 1 Mbps: 470.226 Peak Mbps: 470.923 Avg Mbps: 470.226 3000 58746480 469.972 100.00% Conn: 1 Mbps: 469.972 Peak Mbps: 470.923 Avg Mbps: 469.972 4001 58278728 466.230 100.00% Conn: 1 Mbps: 466.230 Peak Mbps: 470.923 Avg Mbps: 466.230 5001 58603776 468.830 100.00% Conn: 1 Mbps: 468.830 Peak Mbps: 470.923 Avg Mbps: 468.830 --- fc00::13 tcpbench statistics --- 351955632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 466.230/469.236/470.923/1.647 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.222 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.222/0.222/0.222/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.288 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.288/0.288/0.288/0.000 ms ==== run-tcpbench-2-1 ==== rm -f nc.log nc -4 -v -l -V 11 169.254.1.11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.11 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 12 -b 169.254.1.12 169.254.1.11 elapsed_ms bytes mbps bwidth 1000 40386168 323.089 100.00% Conn: 1 Mbps: 323.089 Peak Mbps: 323.089 Avg Mbps: 323.089 2000 40716312 325.730 100.00% Conn: 1 Mbps: 325.730 Peak Mbps: 325.730 Avg Mbps: 325.730 3001 40794504 326.356 100.00% Conn: 1 Mbps: 326.356 Peak Mbps: 326.356 Avg Mbps: 326.356 4003 40923376 327.060 100.00% Conn: 1 Mbps: 327.060 Peak Mbps: 327.060 Avg Mbps: 327.060 5002 40575856 324.932 100.00% Conn: 1 Mbps: 324.932 Peak Mbps: 327.060 Avg Mbps: 324.932 --- 169.254.1.11 tcpbench statistics --- 244022752 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 323.089/325.434/327.060/1.366 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 38641680 308.825 100.00% Conn: 1 Mbps: 308.825 Peak Mbps: 308.825 Avg Mbps: 308.825 2002 38794476 310.046 100.00% Conn: 1 Mbps: 310.046 Peak Mbps: 310.046 Avg Mbps: 310.046 3001 38603124 309.444 100.00% Conn: 1 Mbps: 309.444 Peak Mbps: 310.046 Avg Mbps: 309.444 4002 38847312 310.778 100.00% Conn: 1 Mbps: 310.778 Peak Mbps: 310.778 Avg Mbps: 310.778 5004 39191460 313.218 100.00% Conn: 1 Mbps: 313.218 Peak Mbps: 313.218 Avg Mbps: 313.218 --- fc00:0:0:1::11 tcpbench statistics --- 233183832 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 308.825/310.462/313.218/1.522 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.183 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.183/0.183/0.183/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.244 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.244/0.244/0.244/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 106824752 854.598 100.00% Conn: 1 Mbps: 854.598 Peak Mbps: 854.598 Avg Mbps: 854.598 2000 107642872 862.005 100.00% Conn: 1 Mbps: 862.005 Peak Mbps: 862.005 Avg Mbps: 862.005 3000 107890480 863.124 100.00% Conn: 1 Mbps: 863.124 Peak Mbps: 863.124 Avg Mbps: 863.124 4000 108145328 865.163 100.00% Conn: 1 Mbps: 865.163 Peak Mbps: 865.163 Avg Mbps: 865.163 5000 107564680 861.379 100.00% Conn: 1 Mbps: 861.379 Peak Mbps: 865.163 Avg Mbps: 861.379 --- 169.254.1.12 tcpbench statistics --- 645973072 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 854.598/861.254/865.163/3.568 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 105330708 842.646 100.00% Conn: 1 Mbps: 842.646 Peak Mbps: 842.646 Avg Mbps: 842.646 2000 105694848 846.405 100.00% Conn: 1 Mbps: 846.405 Peak Mbps: 846.405 Avg Mbps: 846.405 3001 106281756 850.254 100.00% Conn: 1 Mbps: 850.254 Peak Mbps: 850.254 Avg Mbps: 850.254 4001 105760536 846.931 100.00% Conn: 1 Mbps: 846.931 Peak Mbps: 850.254 Avg Mbps: 846.931 5001 105626304 845.010 100.00% Conn: 1 Mbps: 845.010 Peak Mbps: 850.254 Avg Mbps: 845.010 --- fc00:0:0:1::12 tcpbench statistics --- 634091976 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 842.646/846.249/850.254/2.492 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.196 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.196/0.196/0.196/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.267 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.267/0.267/0.267/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 174835934 1398.687 100.00% Conn: 1 Mbps: 1398.687 Peak Mbps: 1398.687 Avg Mbps: 1398.687 2000 173820012 1390.560 100.00% Conn: 1 Mbps: 1390.560 Peak Mbps: 1398.687 Avg Mbps: 1390.560 3000 173885444 1391.084 100.00% Conn: 1 Mbps: 1391.084 Peak Mbps: 1398.687 Avg Mbps: 1391.084 4000 173852716 1390.822 100.00% Conn: 1 Mbps: 1390.822 Peak Mbps: 1398.687 Avg Mbps: 1390.822 5000 173820012 1390.560 100.00% Conn: 1 Mbps: 1390.560 Peak Mbps: 1398.687 Avg Mbps: 1390.560 --- 169.254.0.13 tcpbench statistics --- 1043870562 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1390.560/1392.343/1398.687/3.178 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 174483356 1395.867 100.00% Conn: 1 Mbps: 1395.867 Peak Mbps: 1395.867 Avg Mbps: 1395.867 2000 173256104 1386.049 100.00% Conn: 1 Mbps: 1386.049 Peak Mbps: 1395.867 Avg Mbps: 1386.049 3000 173354192 1386.834 100.00% Conn: 1 Mbps: 1386.834 Peak Mbps: 1395.867 Avg Mbps: 1386.834 4000 173484976 1387.880 100.00% Conn: 1 Mbps: 1387.880 Peak Mbps: 1395.867 Avg Mbps: 1387.880 5000 173125320 1385.003 100.00% Conn: 1 Mbps: 1385.003 Peak Mbps: 1395.867 Avg Mbps: 1385.003 --- fc00::13 tcpbench statistics --- 1040469612 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1385.003/1388.326/1395.867/3.886 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.221 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.221/0.221/0.221/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.294 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.294/0.294/0.294/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 39940184 319.521 100.00% Conn: 1 Mbps: 319.521 Peak Mbps: 319.521 Avg Mbps: 319.521 2000 40384720 323.078 100.00% Conn: 1 Mbps: 323.078 Peak Mbps: 323.078 Avg Mbps: 323.078 3002 40352864 322.179 100.00% Conn: 1 Mbps: 322.179 Peak Mbps: 323.078 Avg Mbps: 322.179 4003 40290600 322.325 100.00% Conn: 1 Mbps: 322.325 Peak Mbps: 323.078 Avg Mbps: 322.325 5005 40365896 322.605 100.00% Conn: 1 Mbps: 322.605 Peak Mbps: 323.078 Avg Mbps: 322.605 --- 169.254.1.11 tcpbench statistics --- 241414904 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 319.521/321.941/323.078/1.248 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 1003 64172208 511.842 100.00% Conn: 1 Mbps: 511.842 Peak Mbps: 511.842 Avg Mbps: 511.842 2002 63514976 508.628 100.00% Conn: 1 Mbps: 508.628 Peak Mbps: 511.842 Avg Mbps: 508.628 3000 63434112 508.490 100.00% Conn: 1 Mbps: 508.490 Peak Mbps: 511.842 Avg Mbps: 508.490 4001 63393456 507.148 100.00% Conn: 1 Mbps: 507.148 Peak Mbps: 511.842 Avg Mbps: 507.148 5003 63659168 508.765 100.00% Conn: 1 Mbps: 508.765 Peak Mbps: 511.842 Avg Mbps: 508.765 --- fc00:0:0:1::11 tcpbench statistics --- 380929208 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 507.148/508.975/511.842/1.547 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.214 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.214/0.214/0.214/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.266 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.266/0.266/0.266/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 176126646 1409.013 100.00% Conn: 1 Mbps: 1409.013 Peak Mbps: 1409.013 Avg Mbps: 1409.013 2000 174376196 1396.406 100.00% Conn: 1 Mbps: 1396.406 Peak Mbps: 1409.013 Avg Mbps: 1396.406 3000 174408888 1395.271 100.00% Conn: 1 Mbps: 1395.271 Peak Mbps: 1409.013 Avg Mbps: 1395.271 4000 174359838 1394.879 100.00% Conn: 1 Mbps: 1394.879 Peak Mbps: 1409.013 Avg Mbps: 1394.879 5000 174507036 1396.056 100.00% Conn: 1 Mbps: 1396.056 Peak Mbps: 1409.013 Avg Mbps: 1396.056 --- 169.254.1.12 tcpbench statistics --- 1048023924 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1394.879/1398.325/1409.013/5.372 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 174065980 1392.528 100.00% Conn: 1 Mbps: 1392.528 Peak Mbps: 1392.528 Avg Mbps: 1392.528 2000 172406008 1380.629 100.00% Conn: 1 Mbps: 1380.629 Peak Mbps: 1392.528 Avg Mbps: 1380.629 3000 172111744 1376.894 100.00% Conn: 1 Mbps: 1376.894 Peak Mbps: 1392.528 Avg Mbps: 1376.894 4000 172438704 1379.510 100.00% Conn: 1 Mbps: 1379.510 Peak Mbps: 1392.528 Avg Mbps: 1379.510 5000 171882872 1375.063 100.00% Conn: 1 Mbps: 1375.063 Peak Mbps: 1392.528 Avg Mbps: 1375.063 --- fc00:0:0:1::12 tcpbench statistics --- 1034951660 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1375.063/1380.925/1392.528/6.121 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.202 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.202/0.202/0.202/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.255 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.255/0.255/0.255/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 178613478 1428.908 100.00% Conn: 1 Mbps: 1428.908 Peak Mbps: 1428.908 Avg Mbps: 1428.908 2000 176077404 1410.029 100.00% Conn: 1 Mbps: 1410.029 Peak Mbps: 1428.908 Avg Mbps: 1410.029 3000 176404576 1411.237 100.00% Conn: 1 Mbps: 1411.237 Peak Mbps: 1428.908 Avg Mbps: 1411.237 4000 176110120 1408.881 100.00% Conn: 1 Mbps: 1408.881 Peak Mbps: 1428.908 Avg Mbps: 1408.881 5000 176699020 1413.592 100.00% Conn: 1 Mbps: 1413.592 Peak Mbps: 1428.908 Avg Mbps: 1413.592 --- 169.254.0.13 tcpbench statistics --- 1060407310 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1408.881/1414.529/1428.908/7.357 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 177230936 1417.847 100.00% Conn: 1 Mbps: 1417.847 Peak Mbps: 1417.847 Avg Mbps: 1417.847 2000 175904480 1408.644 100.00% Conn: 1 Mbps: 1408.644 Peak Mbps: 1417.847 Avg Mbps: 1408.644 3000 175839088 1406.713 100.00% Conn: 1 Mbps: 1406.713 Peak Mbps: 1417.847 Avg Mbps: 1406.713 4000 175937176 1407.497 100.00% Conn: 1 Mbps: 1407.497 Peak Mbps: 1417.847 Avg Mbps: 1407.497 5000 176035264 1408.282 100.00% Conn: 1 Mbps: 1408.282 Peak Mbps: 1417.847 Avg Mbps: 1408.282 --- fc00::13 tcpbench statistics --- 1056622552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1406.713/1409.797/1417.847/4.080 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.22s