START sys/net/pair 2024-11-06T05:30: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.295 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.295/0.295/0.295/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.368 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.368/0.368/0.368/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 92864432 742.915 100.00% Conn: 1 Mbps: 742.915 Peak Mbps: 742.915 Avg Mbps: 742.915 2000 90964860 728.447 100.00% Conn: 1 Mbps: 728.447 Peak Mbps: 742.915 Avg Mbps: 728.447 3000 87881036 703.048 100.00% Conn: 1 Mbps: 703.048 Peak Mbps: 742.915 Avg Mbps: 703.048 4000 90901276 727.210 100.00% Conn: 1 Mbps: 727.210 Peak Mbps: 742.915 Avg Mbps: 727.210 5000 91060236 729.211 100.00% Conn: 1 Mbps: 729.211 Peak Mbps: 742.915 Avg Mbps: 729.211 --- 169.254.1.11 tcpbench statistics --- 544898984 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 703.048/726.166/742.915/12.888 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 91592184 732.737 100.00% Conn: 1 Mbps: 732.737 Peak Mbps: 732.737 Avg Mbps: 732.737 2000 92044080 736.353 100.00% Conn: 1 Mbps: 736.353 Peak Mbps: 736.353 Avg Mbps: 736.353 3000 94026080 752.962 100.00% Conn: 1 Mbps: 752.962 Peak Mbps: 752.962 Avg Mbps: 752.962 4000 93867520 751.692 100.00% Conn: 1 Mbps: 751.692 Peak Mbps: 752.962 Avg Mbps: 751.692 5000 93764456 750.116 100.00% Conn: 1 Mbps: 750.116 Peak Mbps: 752.962 Avg Mbps: 750.116 --- fc00:0:0:1::11 tcpbench statistics --- 556387040 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 732.737/744.772/752.962/8.476 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.479 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.479/0.479/0.479/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.895 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.895/0.895/0.895/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 27988392 223.237 100.00% Conn: 1 Mbps: 223.237 Peak Mbps: 223.237 Avg Mbps: 223.237 2001 27858072 223.311 100.00% Conn: 1 Mbps: 223.311 Peak Mbps: 223.311 Avg Mbps: 223.311 3000 28062240 224.723 100.00% Conn: 1 Mbps: 224.723 Peak Mbps: 224.723 Avg Mbps: 224.723 4006 27924680 222.286 100.00% Conn: 1 Mbps: 222.286 Peak Mbps: 224.723 Avg Mbps: 222.286 5004 27333896 219.109 100.00% Conn: 1 Mbps: 219.109 Peak Mbps: 224.723 Avg Mbps: 219.109 --- 169.254.1.12 tcpbench statistics --- 167174496 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 219.109/222.533/224.723/1.880 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 1004 27211968 216.828 100.00% Conn: 1 Mbps: 216.828 Peak Mbps: 216.828 Avg Mbps: 216.828 2004 27291936 218.335 100.00% Conn: 1 Mbps: 218.335 Peak Mbps: 218.335 Avg Mbps: 218.335 3008 26482260 211.224 100.00% Conn: 1 Mbps: 211.224 Peak Mbps: 218.335 Avg Mbps: 211.224 4008 27554688 220.438 100.00% Conn: 1 Mbps: 220.438 Peak Mbps: 220.438 Avg Mbps: 220.438 5007 27524700 220.418 100.00% Conn: 1 Mbps: 220.418 Peak Mbps: 220.438 Avg Mbps: 220.418 --- fc00:0:0:1::12 tcpbench statistics --- 163594536 bytes sent over 6.003 seconds bandwidth min/avg/max/std-dev = 211.224/217.449/220.438/3.396 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.398 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.398/0.398/0.398/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.483 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.483/0.483/0.483/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 48061416 384.491 100.00% Conn: 1 Mbps: 384.491 Peak Mbps: 384.491 Avg Mbps: 384.491 2000 48848408 390.787 100.00% Conn: 1 Mbps: 390.787 Peak Mbps: 390.787 Avg Mbps: 390.787 3001 49372976 394.984 100.00% Conn: 1 Mbps: 394.984 Peak Mbps: 394.984 Avg Mbps: 394.984 4001 49317340 394.539 100.00% Conn: 1 Mbps: 394.539 Peak Mbps: 394.984 Avg Mbps: 394.539 5001 49595520 396.764 100.00% Conn: 1 Mbps: 396.764 Peak Mbps: 396.764 Avg Mbps: 396.764 --- 169.254.0.13 tcpbench statistics --- 293471812 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 384.491/392.313/396.764/4.368 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 48662064 389.297 100.00% Conn: 1 Mbps: 389.297 Peak Mbps: 389.297 Avg Mbps: 389.297 2000 48559000 388.472 100.00% Conn: 1 Mbps: 388.472 Peak Mbps: 389.297 Avg Mbps: 388.472 3000 48162600 385.301 100.00% Conn: 1 Mbps: 385.301 Peak Mbps: 389.297 Avg Mbps: 385.301 4001 46981328 375.851 100.00% Conn: 1 Mbps: 375.851 Peak Mbps: 389.297 Avg Mbps: 375.851 5001 44618784 356.950 100.00% Conn: 1 Mbps: 356.950 Peak Mbps: 389.297 Avg Mbps: 356.950 --- fc00::13 tcpbench statistics --- 283703480 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 356.950/379.174/389.297/12.095 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.339 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.339/0.339/0.339/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.406 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.406/0.406/0.406/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 1002 27914544 222.871 100.00% Conn: 1 Mbps: 222.871 Peak Mbps: 222.871 Avg Mbps: 222.871 2003 28086856 224.470 100.00% Conn: 1 Mbps: 224.470 Peak Mbps: 224.470 Avg Mbps: 224.470 3004 27058776 216.470 100.00% Conn: 1 Mbps: 216.470 Peak Mbps: 224.470 Avg Mbps: 216.470 4005 28338808 226.484 100.00% Conn: 1 Mbps: 226.484 Peak Mbps: 226.484 Avg Mbps: 226.484 5005 28159256 225.274 100.00% Conn: 1 Mbps: 225.274 Peak Mbps: 226.484 Avg Mbps: 225.274 --- 169.254.1.11 tcpbench statistics --- 167549528 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 216.470/223.114/226.484/3.523 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 27090588 216.508 100.00% Conn: 1 Mbps: 216.508 Peak Mbps: 216.508 Avg Mbps: 216.508 2004 26312328 209.869 100.00% Conn: 1 Mbps: 209.869 Peak Mbps: 216.508 Avg Mbps: 209.869 3006 27380472 218.825 100.00% Conn: 1 Mbps: 218.825 Peak Mbps: 218.825 Avg Mbps: 218.825 4008 27326208 218.391 100.00% Conn: 1 Mbps: 218.391 Peak Mbps: 218.825 Avg Mbps: 218.391 5009 27500424 220.003 100.00% Conn: 1 Mbps: 220.003 Peak Mbps: 220.003 Avg Mbps: 220.003 --- fc00:0:0:1::11 tcpbench statistics --- 162906240 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 209.869/216.719/220.003/3.605 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.296 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.296/0.296/0.296/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.354 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.354/0.354/0.354/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 90489864 723.919 100.00% Conn: 1 Mbps: 723.919 Peak Mbps: 723.919 Avg Mbps: 723.919 2000 89935280 719.482 100.00% Conn: 1 Mbps: 719.482 Peak Mbps: 723.919 Avg Mbps: 719.482 3000 89489296 715.914 100.00% Conn: 1 Mbps: 715.914 Peak Mbps: 723.919 Avg Mbps: 715.914 4000 90126416 721.733 100.00% Conn: 1 Mbps: 721.733 Peak Mbps: 723.919 Avg Mbps: 721.733 5000 83904360 671.235 100.00% Conn: 1 Mbps: 671.235 Peak Mbps: 723.919 Avg Mbps: 671.235 --- 169.254.1.12 tcpbench statistics --- 534284488 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 671.235/710.457/723.919/19.789 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 94279416 754.235 100.00% Conn: 1 Mbps: 754.235 Peak Mbps: 754.235 Avg Mbps: 754.235 2000 94208016 753.664 100.00% Conn: 1 Mbps: 753.664 Peak Mbps: 754.235 Avg Mbps: 753.664 3000 93192708 746.288 100.00% Conn: 1 Mbps: 746.288 Peak Mbps: 754.235 Avg Mbps: 746.288 4000 90636588 725.093 100.00% Conn: 1 Mbps: 725.093 Peak Mbps: 754.235 Avg Mbps: 725.093 5000 94208016 753.664 100.00% Conn: 1 Mbps: 753.664 Peak Mbps: 754.235 Avg Mbps: 753.664 --- fc00:0:0:1::12 tcpbench statistics --- 560271516 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 725.093/746.589/754.235/11.142 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.319 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.319/0.319/0.319/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.385 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.385/0.385/0.385/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 1009 133187388 1055.995 100.00% Conn: 1 Mbps: 1055.995 Peak Mbps: 1055.995 Avg Mbps: 1055.995 2008 128933684 1032.502 100.00% Conn: 1 Mbps: 1032.502 Peak Mbps: 1055.995 Avg Mbps: 1032.502 3008 132696012 1061.568 100.00% Conn: 1 Mbps: 1061.568 Peak Mbps: 1061.568 Avg Mbps: 1061.568 4009 132532444 1060.260 100.00% Conn: 1 Mbps: 1060.260 Peak Mbps: 1061.568 Avg Mbps: 1060.260 5009 132663308 1061.306 100.00% Conn: 1 Mbps: 1061.306 Peak Mbps: 1061.568 Avg Mbps: 1061.306 --- 169.254.0.13 tcpbench statistics --- 791400208 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1032.502/1054.326/1061.568/11.095 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 126402772 1011.222 100.00% Conn: 1 Mbps: 1011.222 Peak Mbps: 1011.222 Avg Mbps: 1011.222 2000 129247288 1035.013 100.00% Conn: 1 Mbps: 1035.013 Peak Mbps: 1035.013 Avg Mbps: 1035.013 3000 128985720 1031.886 100.00% Conn: 1 Mbps: 1031.886 Peak Mbps: 1035.013 Avg Mbps: 1031.886 4000 129181896 1033.455 100.00% Conn: 1 Mbps: 1033.455 Peak Mbps: 1035.013 Avg Mbps: 1033.455 5000 127743272 1021.946 100.00% Conn: 1 Mbps: 1021.946 Peak Mbps: 1035.013 Avg Mbps: 1021.946 --- fc00::13 tcpbench statistics --- 766852020 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1011.222/1026.705/1035.013/8.987 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.354 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.354/0.354/0.354/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.437 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.437/0.437/0.437/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 27720512 221.101 100.00% Conn: 1 Mbps: 221.101 Peak Mbps: 221.101 Avg Mbps: 221.101 2001 27585848 221.351 100.00% Conn: 1 Mbps: 221.351 Peak Mbps: 221.351 Avg Mbps: 221.351 3002 27522136 220.177 100.00% Conn: 1 Mbps: 220.177 Peak Mbps: 221.351 Avg Mbps: 220.177 4004 27113800 216.477 100.00% Conn: 1 Mbps: 216.477 Peak Mbps: 221.351 Avg Mbps: 216.477 5006 28013008 223.657 100.00% Conn: 1 Mbps: 223.657 Peak Mbps: 223.657 Avg Mbps: 223.657 --- 169.254.1.11 tcpbench statistics --- 165887224 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 216.477/220.553/223.657/2.338 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 45977888 367.823 100.00% Conn: 1 Mbps: 367.823 Peak Mbps: 367.823 Avg Mbps: 367.823 2002 44126928 352.311 100.00% Conn: 1 Mbps: 352.311 Peak Mbps: 367.823 Avg Mbps: 352.311 3004 44114576 352.564 100.00% Conn: 1 Mbps: 352.564 Peak Mbps: 367.823 Avg Mbps: 352.564 4004 44818144 358.904 100.00% Conn: 1 Mbps: 358.904 Peak Mbps: 367.823 Avg Mbps: 358.904 5009 45028320 358.791 100.00% Conn: 1 Mbps: 358.791 Peak Mbps: 367.823 Avg Mbps: 358.791 --- fc00:0:0:1::11 tcpbench statistics --- 268380632 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 352.311/358.079/367.823/5.654 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.320 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.320/0.320/0.320/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.374 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.374/0.374/0.374/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 129064978 1032.520 100.00% Conn: 1 Mbps: 1032.520 Peak Mbps: 1032.520 Avg Mbps: 1032.520 2000 132172568 1058.439 100.00% Conn: 1 Mbps: 1058.439 Peak Mbps: 1058.439 Avg Mbps: 1058.439 3000 132401568 1059.213 100.00% Conn: 1 Mbps: 1059.213 Peak Mbps: 1059.213 Avg Mbps: 1059.213 4000 132368864 1058.951 100.00% Conn: 1 Mbps: 1058.951 Peak Mbps: 1059.213 Avg Mbps: 1058.951 5000 130929360 1047.435 100.00% Conn: 1 Mbps: 1047.435 Peak Mbps: 1059.213 Avg Mbps: 1047.435 --- 169.254.1.12 tcpbench statistics --- 785380270 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1032.520/1051.311/1059.213/10.390 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 131766284 1054.130 100.00% Conn: 1 Mbps: 1054.130 Peak Mbps: 1054.130 Avg Mbps: 1054.130 2000 130816696 1047.581 100.00% Conn: 1 Mbps: 1047.581 Peak Mbps: 1054.130 Avg Mbps: 1047.581 3000 130980176 1047.841 100.00% Conn: 1 Mbps: 1047.841 Peak Mbps: 1054.130 Avg Mbps: 1047.841 4000 125389160 1003.113 100.00% Conn: 1 Mbps: 1003.113 Peak Mbps: 1054.130 Avg Mbps: 1003.113 5001 131045568 1048.365 100.00% Conn: 1 Mbps: 1048.365 Peak Mbps: 1054.130 Avg Mbps: 1048.365 --- fc00:0:0:1::12 tcpbench statistics --- 780912668 bytes sent over 5.998 seconds bandwidth min/avg/max/std-dev = 1003.113/1040.206/1054.130/18.703 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.296 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.296/0.296/0.296/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.365 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.365/0.365/0.365/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 137064144 1096.513 100.00% Conn: 1 Mbps: 1096.513 Peak Mbps: 1096.513 Avg Mbps: 1096.513 2000 132728728 1062.893 100.00% Conn: 1 Mbps: 1062.893 Peak Mbps: 1096.513 Avg Mbps: 1062.893 3000 133170406 1065.363 100.00% Conn: 1 Mbps: 1065.363 Peak Mbps: 1096.513 Avg Mbps: 1065.363 4000 135607772 1084.862 100.00% Conn: 1 Mbps: 1084.862 Peak Mbps: 1096.513 Avg Mbps: 1084.862 5000 136245758 1089.966 100.00% Conn: 1 Mbps: 1089.966 Peak Mbps: 1096.513 Avg Mbps: 1089.966 --- 169.254.0.13 tcpbench statistics --- 810669998 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1062.893/1079.919/1096.513/13.435 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 131814320 1054.515 100.00% Conn: 1 Mbps: 1054.515 Peak Mbps: 1054.515 Avg Mbps: 1054.515 2000 136048056 1089.474 100.00% Conn: 1 Mbps: 1089.474 Peak Mbps: 1089.474 Avg Mbps: 1089.474 3000 135819184 1086.553 100.00% Conn: 1 Mbps: 1086.553 Peak Mbps: 1089.474 Avg Mbps: 1086.553 4000 136015360 1088.123 100.00% Conn: 1 Mbps: 1088.123 Peak Mbps: 1089.474 Avg Mbps: 1088.123 5000 134576736 1076.614 100.00% Conn: 1 Mbps: 1076.614 Peak Mbps: 1089.474 Avg Mbps: 1076.614 --- fc00::13 tcpbench statistics --- 801788056 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1054.515/1079.056/1089.474/13.078 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.90s