START sys/net/pair 2024-11-05T09:40:56Z ==== 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.153 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.153/0.153/0.153/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.214 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.214/0.214/0.214/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 203079348 1624.635 100.00% Conn: 1 Mbps: 1624.635 Peak Mbps: 1624.635 Avg Mbps: 1624.635 2000 200361132 1602.889 100.00% Conn: 1 Mbps: 1602.889 Peak Mbps: 1624.635 Avg Mbps: 1602.889 3000 198405924 1587.247 100.00% Conn: 1 Mbps: 1587.247 Peak Mbps: 1624.635 Avg Mbps: 1587.247 4000 200297548 1602.380 100.00% Conn: 1 Mbps: 1602.380 Peak Mbps: 1624.635 Avg Mbps: 1602.380 5000 199916044 1599.328 100.00% Conn: 1 Mbps: 1599.328 Peak Mbps: 1624.635 Avg Mbps: 1599.328 --- 169.254.1.11 tcpbench statistics --- 1201324304 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1587.247/1603.296/1624.635/12.080 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 201862736 1614.902 100.00% Conn: 1 Mbps: 1614.902 Peak Mbps: 1614.902 Avg Mbps: 1614.902 2000 196717464 1575.315 100.00% Conn: 1 Mbps: 1575.315 Peak Mbps: 1614.902 Avg Mbps: 1575.315 3000 199294064 1594.353 100.00% Conn: 1 Mbps: 1594.353 Peak Mbps: 1614.902 Avg Mbps: 1594.353 4000 198858024 1590.864 100.00% Conn: 1 Mbps: 1590.864 Peak Mbps: 1614.902 Avg Mbps: 1590.864 5000 198969016 1591.752 100.00% Conn: 1 Mbps: 1591.752 Peak Mbps: 1614.902 Avg Mbps: 1591.752 --- fc00:0:0:1::11 tcpbench statistics --- 1194519688 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1575.315/1593.437/1614.902/12.645 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.251 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.251/0.251/0.251/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.451 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.451/0.451/0.451/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 1004 85954728 684.898 100.00% Conn: 1 Mbps: 684.898 Peak Mbps: 684.898 Avg Mbps: 684.898 2002 86480352 693.229 100.00% Conn: 1 Mbps: 693.229 Peak Mbps: 693.229 Avg Mbps: 693.229 3004 86981360 695.156 100.00% Conn: 1 Mbps: 695.156 Peak Mbps: 695.156 Avg Mbps: 695.156 4007 86691760 692.150 100.00% Conn: 1 Mbps: 692.150 Peak Mbps: 695.156 Avg Mbps: 692.150 5008 86151656 688.525 100.00% Conn: 1 Mbps: 688.525 Peak Mbps: 695.156 Avg Mbps: 688.525 --- 169.254.1.12 tcpbench statistics --- 517230056 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 684.898/690.792/695.156/3.652 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1000 83805036 670.440 100.00% Conn: 1 Mbps: 670.440 Peak Mbps: 670.440 Avg Mbps: 670.440 2000 84167748 673.342 100.00% Conn: 1 Mbps: 673.342 Peak Mbps: 673.342 Avg Mbps: 673.342 3001 83997816 671.983 100.00% Conn: 1 Mbps: 671.983 Peak Mbps: 673.342 Avg Mbps: 671.983 4003 83917848 670.003 100.00% Conn: 1 Mbps: 670.003 Peak Mbps: 673.342 Avg Mbps: 670.003 5004 83602260 668.818 100.00% Conn: 1 Mbps: 668.818 Peak Mbps: 673.342 Avg Mbps: 668.818 --- fc00:0:0:1::12 tcpbench statistics --- 503245764 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 668.818/670.917/673.342/1.580 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.238 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.238/0.238/0.238/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.263 ms --- fc00::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-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 116748172 933.985 100.00% Conn: 1 Mbps: 933.985 Peak Mbps: 933.985 Avg Mbps: 933.985 2000 116358720 931.802 100.00% Conn: 1 Mbps: 931.802 Peak Mbps: 933.985 Avg Mbps: 931.802 3000 115158572 921.269 100.00% Conn: 1 Mbps: 921.269 Peak Mbps: 933.985 Avg Mbps: 921.269 4000 115857996 926.864 100.00% Conn: 1 Mbps: 926.864 Peak Mbps: 933.985 Avg Mbps: 926.864 5000 116644848 933.159 100.00% Conn: 1 Mbps: 933.159 Peak Mbps: 933.985 Avg Mbps: 933.159 --- 169.254.0.13 tcpbench statistics --- 696681940 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 921.269/929.416/933.985/4.764 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 104372120 834.977 100.00% Conn: 1 Mbps: 834.977 Peak Mbps: 834.977 Avg Mbps: 834.977 2000 103000576 824.829 100.00% Conn: 1 Mbps: 824.829 Peak Mbps: 834.977 Avg Mbps: 824.829 3000 103856800 830.854 100.00% Conn: 1 Mbps: 830.854 Peak Mbps: 834.977 Avg Mbps: 830.854 4000 103254272 826.861 100.00% Conn: 1 Mbps: 826.861 Peak Mbps: 834.977 Avg Mbps: 826.861 5000 103951936 831.615 100.00% Conn: 1 Mbps: 831.615 Peak Mbps: 834.977 Avg Mbps: 831.615 --- fc00::13 tcpbench statistics --- 622086376 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 824.829/829.827/834.977/3.593 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.192 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.192/0.192/0.192/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.240 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.240/0.240/0.240/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 86548408 691.696 100.00% Conn: 1 Mbps: 691.696 Peak Mbps: 691.696 Avg Mbps: 691.696 2004 87467944 697.651 100.00% Conn: 1 Mbps: 697.651 Peak Mbps: 697.651 Avg Mbps: 697.651 3004 87117472 697.637 100.00% Conn: 1 Mbps: 697.637 Peak Mbps: 697.651 Avg Mbps: 697.637 4004 87449064 699.593 100.00% Conn: 1 Mbps: 699.593 Peak Mbps: 699.593 Avg Mbps: 699.593 5005 87476576 699.813 100.00% Conn: 1 Mbps: 699.813 Peak Mbps: 699.813 Avg Mbps: 699.813 --- 169.254.1.11 tcpbench statistics --- 522366056 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 691.696/697.278/699.813/2.940 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 1002 84259140 672.728 100.00% Conn: 1 Mbps: 672.728 Peak Mbps: 672.728 Avg Mbps: 672.728 2003 84401940 674.541 100.00% Conn: 1 Mbps: 674.541 Peak Mbps: 674.541 Avg Mbps: 674.541 3004 84329112 674.633 100.00% Conn: 1 Mbps: 674.633 Peak Mbps: 674.633 Avg Mbps: 674.633 4003 84857472 679.539 100.00% Conn: 1 Mbps: 679.539 Peak Mbps: 679.539 Avg Mbps: 679.539 5005 84142044 672.464 100.00% Conn: 1 Mbps: 672.464 Peak Mbps: 679.539 Avg Mbps: 672.464 --- fc00:0:0:1::11 tcpbench statistics --- 506690100 bytes sent over 6.004 seconds bandwidth min/avg/max/std-dev = 672.464/674.781/679.539/2.542 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.167 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.167/0.167/0.167/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.215 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.215/0.215/0.215/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 199981832 1599.855 100.00% Conn: 1 Mbps: 1599.855 Peak Mbps: 1599.855 Avg Mbps: 1599.855 2000 196170696 1570.937 100.00% Conn: 1 Mbps: 1570.937 Peak Mbps: 1599.855 Avg Mbps: 1570.937 3000 196277848 1570.223 100.00% Conn: 1 Mbps: 1570.223 Peak Mbps: 1599.855 Avg Mbps: 1570.223 4000 194576448 1556.612 100.00% Conn: 1 Mbps: 1556.612 Peak Mbps: 1599.855 Avg Mbps: 1556.612 5000 196626816 1573.015 100.00% Conn: 1 Mbps: 1573.015 Peak Mbps: 1599.855 Avg Mbps: 1573.015 --- 169.254.1.12 tcpbench statistics --- 1180206880 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1556.612/1574.128/1599.855/14.109 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 195197604 1561.581 100.00% Conn: 1 Mbps: 1561.581 Peak Mbps: 1561.581 Avg Mbps: 1561.581 2000 191954616 1535.637 100.00% Conn: 1 Mbps: 1535.637 Peak Mbps: 1561.581 Avg Mbps: 1535.637 3000 190199604 1521.597 100.00% Conn: 1 Mbps: 1521.597 Peak Mbps: 1561.581 Avg Mbps: 1521.597 4000 190382388 1523.059 100.00% Conn: 1 Mbps: 1523.059 Peak Mbps: 1561.581 Avg Mbps: 1523.059 5000 191119236 1530.484 100.00% Conn: 1 Mbps: 1530.484 Peak Mbps: 1561.581 Avg Mbps: 1530.484 --- fc00:0:0:1::12 tcpbench statistics --- 1149088752 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1521.597/1534.472/1561.581/14.479 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.160 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.160/0.160/0.160/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.225 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.225/0.225/0.225/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 336156700 2689.254 100.00% Conn: 1 Mbps: 2689.254 Peak Mbps: 2689.254 Avg Mbps: 2689.254 2000 329139318 2635.750 100.00% Conn: 1 Mbps: 2635.750 Peak Mbps: 2689.254 Avg Mbps: 2635.750 3000 331920178 2655.361 100.00% Conn: 1 Mbps: 2655.361 Peak Mbps: 2689.254 Avg Mbps: 2655.361 4000 329482836 2635.863 100.00% Conn: 1 Mbps: 2635.863 Peak Mbps: 2689.254 Avg Mbps: 2635.863 5000 328926664 2631.413 100.00% Conn: 1 Mbps: 2631.413 Peak Mbps: 2689.254 Avg Mbps: 2631.413 --- 169.254.0.13 tcpbench statistics --- 1978843418 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2631.413/2649.528/2689.254/21.526 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 310530584 2484.245 100.00% Conn: 1 Mbps: 2484.245 Peak Mbps: 2484.245 Avg Mbps: 2484.245 2000 308290584 2468.793 100.00% Conn: 1 Mbps: 2468.793 Peak Mbps: 2484.245 Avg Mbps: 2468.793 3000 308454064 2467.633 100.00% Conn: 1 Mbps: 2467.633 Peak Mbps: 2484.245 Avg Mbps: 2467.633 4000 306198040 2449.584 100.00% Conn: 1 Mbps: 2449.584 Peak Mbps: 2484.245 Avg Mbps: 2449.584 5000 303843928 2430.751 100.00% Conn: 1 Mbps: 2430.751 Peak Mbps: 2484.245 Avg Mbps: 2430.751 --- fc00::13 tcpbench statistics --- 1843711416 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2430.751/2460.201/2484.245/18.369 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.176 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.176/0.176/0.176/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.243 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.243/0.243/0.243/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 1001 85290096 681.639 100.00% Conn: 1 Mbps: 681.639 Peak Mbps: 681.639 Avg Mbps: 681.639 2003 86315280 689.144 100.00% Conn: 1 Mbps: 689.144 Peak Mbps: 689.144 Avg Mbps: 689.144 3003 85996776 687.974 100.00% Conn: 1 Mbps: 687.974 Peak Mbps: 689.144 Avg Mbps: 687.974 4003 85358320 683.550 100.00% Conn: 1 Mbps: 683.550 Peak Mbps: 689.144 Avg Mbps: 683.550 5002 85844680 688.134 100.00% Conn: 1 Mbps: 688.134 Peak Mbps: 689.144 Avg Mbps: 688.134 --- 169.254.1.11 tcpbench statistics --- 514492056 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 681.639/686.088/689.144/2.943 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 1002 136306496 1088.275 100.00% Conn: 1 Mbps: 1088.275 Peak Mbps: 1088.275 Avg Mbps: 1088.275 2001 134739528 1078.995 100.00% Conn: 1 Mbps: 1078.995 Peak Mbps: 1088.275 Avg Mbps: 1078.995 3004 134177112 1071.274 100.00% Conn: 1 Mbps: 1071.274 Peak Mbps: 1088.275 Avg Mbps: 1071.274 4004 134973864 1079.791 100.00% Conn: 1 Mbps: 1079.791 Peak Mbps: 1088.275 Avg Mbps: 1079.791 5006 135417592 1082.258 100.00% Conn: 1 Mbps: 1082.258 Peak Mbps: 1088.275 Avg Mbps: 1082.258 --- fc00:0:0:1::11 tcpbench statistics --- 809866120 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1071.274/1080.119/1088.275/5.490 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.178 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.178/0.178/0.178/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.208 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.208/0.208/0.208/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 328568406 2628.547 100.00% Conn: 1 Mbps: 2628.547 Peak Mbps: 2628.547 Avg Mbps: 2628.547 2000 325197040 2604.181 100.00% Conn: 1 Mbps: 2604.181 Peak Mbps: 2628.547 Avg Mbps: 2604.181 3000 329041170 2632.329 100.00% Conn: 1 Mbps: 2632.329 Peak Mbps: 2632.329 Avg Mbps: 2632.329 4000 330938698 2647.510 100.00% Conn: 1 Mbps: 2647.510 Peak Mbps: 2647.510 Avg Mbps: 2647.510 5000 331740240 2653.922 100.00% Conn: 1 Mbps: 2653.922 Peak Mbps: 2653.922 Avg Mbps: 2653.922 --- 169.254.1.12 tcpbench statistics --- 1974690304 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2604.181/2633.298/2653.922/17.313 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 309994844 2479.959 100.00% Conn: 1 Mbps: 2479.959 Peak Mbps: 2479.959 Avg Mbps: 2479.959 2000 305347944 2445.229 100.00% Conn: 1 Mbps: 2445.229 Peak Mbps: 2479.959 Avg Mbps: 2445.229 3000 305544120 2444.353 100.00% Conn: 1 Mbps: 2444.353 Peak Mbps: 2479.959 Avg Mbps: 2444.353 4000 305544120 2444.353 100.00% Conn: 1 Mbps: 2444.353 Peak Mbps: 2479.959 Avg Mbps: 2444.353 5000 302863048 2422.904 100.00% Conn: 1 Mbps: 2422.904 Peak Mbps: 2479.959 Avg Mbps: 2422.904 --- fc00:0:0:1::12 tcpbench statistics --- 1834936284 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2422.904/2447.360/2479.959/18.349 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.173 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.173/0.173/0.173/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.220 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.220/0.220/0.220/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 339414122 2715.313 100.00% Conn: 1 Mbps: 2715.313 Peak Mbps: 2715.313 Avg Mbps: 2715.313 2000 339052266 2715.133 100.00% Conn: 1 Mbps: 2715.133 Peak Mbps: 2715.313 Avg Mbps: 2715.133 3000 337661836 2701.295 100.00% Conn: 1 Mbps: 2701.295 Peak Mbps: 2715.313 Avg Mbps: 2701.295 4000 334979124 2679.833 100.00% Conn: 1 Mbps: 2679.833 Peak Mbps: 2715.313 Avg Mbps: 2679.833 5000 339788376 2718.307 100.00% Conn: 1 Mbps: 2718.307 Peak Mbps: 2718.307 Avg Mbps: 2718.307 --- 169.254.0.13 tcpbench statistics --- 2028475770 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2679.833/2705.976/2718.307/14.342 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 351075748 2808.606 100.00% Conn: 1 Mbps: 2808.606 Peak Mbps: 2808.606 Avg Mbps: 2808.606 2000 349520240 2798.961 100.00% Conn: 1 Mbps: 2798.961 Peak Mbps: 2808.606 Avg Mbps: 2798.961 3000 344190792 2753.526 100.00% Conn: 1 Mbps: 2753.526 Peak Mbps: 2808.606 Avg Mbps: 2753.526 4000 347983528 2783.868 100.00% Conn: 1 Mbps: 2783.868 Peak Mbps: 2808.606 Avg Mbps: 2783.868 5000 348931712 2791.454 100.00% Conn: 1 Mbps: 2791.454 Peak Mbps: 2808.606 Avg Mbps: 2791.454 --- fc00::13 tcpbench statistics --- 2088671972 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2753.526/2787.283/2808.606/18.760 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 1m53.95s