START sys/net/pair 2024-08-05T08:40:37Z ==== 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.162 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.162/0.162/0.162/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.183 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.183/0.183/0.183/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 208277340 1666.219 100.00% Conn: 1 Mbps: 1666.219 Peak Mbps: 1666.219 Avg Mbps: 1666.219 2000 205678344 1647.074 100.00% Conn: 1 Mbps: 1647.074 Peak Mbps: 1666.219 Avg Mbps: 1647.074 3000 204096692 1632.774 100.00% Conn: 1 Mbps: 1632.774 Peak Mbps: 1666.219 Avg Mbps: 1632.774 4000 205900888 1647.207 100.00% Conn: 1 Mbps: 1647.207 Peak Mbps: 1666.219 Avg Mbps: 1647.207 5000 205304788 1642.438 100.00% Conn: 1 Mbps: 1642.438 Peak Mbps: 1666.219 Avg Mbps: 1642.438 --- 169.254.1.11 tcpbench statistics --- 1234419776 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1632.774/1647.142/1666.219/10.886 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 201569400 1612.555 100.00% Conn: 1 Mbps: 1612.555 Peak Mbps: 1612.555 Avg Mbps: 1612.555 2000 199412984 1596.901 100.00% Conn: 1 Mbps: 1596.901 Peak Mbps: 1612.555 Avg Mbps: 1596.901 3000 200063080 1602.107 100.00% Conn: 1 Mbps: 1602.107 Peak Mbps: 1612.555 Avg Mbps: 1602.107 4000 200071008 1600.568 100.00% Conn: 1 Mbps: 1600.568 Peak Mbps: 1612.555 Avg Mbps: 1600.568 5000 199048296 1592.386 100.00% Conn: 1 Mbps: 1592.386 Peak Mbps: 1612.555 Avg Mbps: 1592.386 --- fc00:0:0:1::11 tcpbench statistics --- 1197445120 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1592.386/1600.903/1612.555/6.721 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.234 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.234/0.234/0.234/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.460 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.460/0.460/0.460/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1000 89010008 712.080 100.00% Conn: 1 Mbps: 712.080 Peak Mbps: 712.080 Avg Mbps: 712.080 2002 89285184 713.568 100.00% Conn: 1 Mbps: 713.568 Peak Mbps: 713.568 Avg Mbps: 713.568 3001 88968128 712.457 100.00% Conn: 1 Mbps: 712.457 Peak Mbps: 713.568 Avg Mbps: 712.457 4003 89281344 713.537 100.00% Conn: 1 Mbps: 713.537 Peak Mbps: 713.568 Avg Mbps: 713.537 5003 88391936 707.135 100.00% Conn: 1 Mbps: 707.135 Peak Mbps: 713.568 Avg Mbps: 707.135 --- 169.254.1.12 tcpbench statistics --- 533753024 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 707.135/711.756/713.568/2.383 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 85323000 682.584 100.00% Conn: 1 Mbps: 682.584 Peak Mbps: 682.584 Avg Mbps: 682.584 2003 85600032 682.752 100.00% Conn: 1 Mbps: 682.752 Peak Mbps: 682.752 Avg Mbps: 682.752 3004 85719984 685.075 100.00% Conn: 1 Mbps: 685.075 Peak Mbps: 685.075 Avg Mbps: 685.075 4004 84376236 675.686 100.00% Conn: 1 Mbps: 675.686 Peak Mbps: 685.075 Avg Mbps: 675.686 5004 85442952 683.544 100.00% Conn: 1 Mbps: 683.544 Peak Mbps: 685.075 Avg Mbps: 683.544 --- fc00:0:0:1::12 tcpbench statistics --- 511719516 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 675.686/681.928/685.075/3.243 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.209 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.209/0.209/0.209/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.276 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.276/0.276/0.276/0.000 ms ==== run-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 117590660 940.725 100.00% Conn: 1 Mbps: 940.725 Peak Mbps: 940.725 Avg Mbps: 940.725 2000 117511180 941.030 100.00% Conn: 1 Mbps: 941.030 Peak Mbps: 941.030 Avg Mbps: 941.030 3000 116485888 931.887 100.00% Conn: 1 Mbps: 931.887 Peak Mbps: 941.030 Avg Mbps: 931.887 4000 117749620 941.997 100.00% Conn: 1 Mbps: 941.997 Peak Mbps: 941.997 Avg Mbps: 941.997 5000 117749620 941.997 100.00% Conn: 1 Mbps: 941.997 Peak Mbps: 941.997 Avg Mbps: 941.997 --- 169.254.0.13 tcpbench statistics --- 704232540 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 931.887/939.527/941.997/3.854 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 109033784 872.270 100.00% Conn: 1 Mbps: 872.270 Peak Mbps: 872.270 Avg Mbps: 872.270 2000 107329264 859.494 100.00% Conn: 1 Mbps: 859.494 Peak Mbps: 872.270 Avg Mbps: 859.494 3000 107931792 863.454 100.00% Conn: 1 Mbps: 863.454 Peak Mbps: 872.270 Avg Mbps: 863.454 4000 108367832 867.810 100.00% Conn: 1 Mbps: 867.810 Peak Mbps: 872.270 Avg Mbps: 867.810 5000 108137920 865.103 100.00% Conn: 1 Mbps: 865.103 Peak Mbps: 872.270 Avg Mbps: 865.103 --- fc00::13 tcpbench statistics --- 648803736 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 859.494/865.626/872.270/4.278 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.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-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.231 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.231/0.231/0.231/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 89185216 712.058 100.00% Conn: 1 Mbps: 712.058 Peak Mbps: 712.058 Avg Mbps: 712.058 2001 89408208 715.982 100.00% Conn: 1 Mbps: 715.982 Peak Mbps: 715.982 Avg Mbps: 715.982 3001 89273544 714.188 100.00% Conn: 1 Mbps: 714.188 Peak Mbps: 715.982 Avg Mbps: 714.188 4003 89587760 715.272 100.00% Conn: 1 Mbps: 715.272 Peak Mbps: 715.982 Avg Mbps: 715.272 5006 89004272 710.613 100.00% Conn: 1 Mbps: 710.613 Peak Mbps: 715.982 Avg Mbps: 710.613 --- 169.254.1.11 tcpbench statistics --- 535392376 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 710.613/713.622/715.982/2.006 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 85578612 683.262 100.00% Conn: 1 Mbps: 683.262 Peak Mbps: 683.262 Avg Mbps: 683.262 2003 85701420 685.611 100.00% Conn: 1 Mbps: 685.611 Peak Mbps: 685.611 Avg Mbps: 685.611 3002 85807092 687.832 100.00% Conn: 1 Mbps: 687.832 Peak Mbps: 687.832 Avg Mbps: 687.832 4004 85560048 683.114 100.00% Conn: 1 Mbps: 683.114 Peak Mbps: 687.832 Avg Mbps: 683.114 5004 85957032 687.656 100.00% Conn: 1 Mbps: 687.656 Peak Mbps: 687.832 Avg Mbps: 687.656 --- fc00:0:0:1::11 tcpbench statistics --- 514316440 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 683.114/685.495/687.832/2.040 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.174 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.174/0.174/0.174/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.206 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.206/0.206/0.206/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 206893136 1655.145 100.00% Conn: 1 Mbps: 1655.145 Peak Mbps: 1655.145 Avg Mbps: 1655.145 2000 203803104 1632.057 100.00% Conn: 1 Mbps: 1632.057 Peak Mbps: 1655.145 Avg Mbps: 1632.057 3000 201687576 1613.501 100.00% Conn: 1 Mbps: 1613.501 Peak Mbps: 1655.145 Avg Mbps: 1613.501 4000 203685816 1629.487 100.00% Conn: 1 Mbps: 1629.487 Peak Mbps: 1655.145 Avg Mbps: 1629.487 5000 202588232 1620.706 100.00% Conn: 1 Mbps: 1620.706 Peak Mbps: 1655.145 Avg Mbps: 1620.706 --- 169.254.1.12 tcpbench statistics --- 1220821832 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1613.501/1630.179/1655.145/14.108 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 197401008 1579.208 100.00% Conn: 1 Mbps: 1579.208 Peak Mbps: 1579.208 Avg Mbps: 1579.208 2000 194166588 1554.888 100.00% Conn: 1 Mbps: 1554.888 Peak Mbps: 1579.208 Avg Mbps: 1554.888 3000 195247584 1561.981 100.00% Conn: 1 Mbps: 1561.981 Peak Mbps: 1579.208 Avg Mbps: 1561.981 4000 196084392 1568.675 100.00% Conn: 1 Mbps: 1568.675 Peak Mbps: 1579.208 Avg Mbps: 1568.675 5000 194903436 1560.788 100.00% Conn: 1 Mbps: 1560.788 Peak Mbps: 1579.208 Avg Mbps: 1560.788 --- fc00:0:0:1::12 tcpbench statistics --- 1172987760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1554.888/1565.108/1579.208/8.300 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.198 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.198/0.198/0.198/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.234 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.234/0.234/0.234/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 323645294 2589.162 100.00% Conn: 1 Mbps: 2589.162 Peak Mbps: 2589.162 Avg Mbps: 2589.162 2000 324035622 2594.880 100.00% Conn: 1 Mbps: 2594.880 Peak Mbps: 2594.880 Avg Mbps: 2594.880 3000 324837164 2598.697 100.00% Conn: 1 Mbps: 2598.697 Peak Mbps: 2598.697 Avg Mbps: 2598.697 4000 325655064 2605.241 100.00% Conn: 1 Mbps: 2605.241 Peak Mbps: 2605.241 Avg Mbps: 2605.241 5000 324575436 2596.603 100.00% Conn: 1 Mbps: 2596.603 Peak Mbps: 2605.241 Avg Mbps: 2596.603 --- 169.254.0.13 tcpbench statistics --- 1946260746 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2589.162/2596.917/2605.241/5.231 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 316679916 2533.439 100.00% Conn: 1 Mbps: 2533.439 Peak Mbps: 2533.439 Avg Mbps: 2533.439 2000 314372040 2517.494 100.00% Conn: 1 Mbps: 2517.494 Peak Mbps: 2533.439 Avg Mbps: 2517.494 3000 313293072 2506.345 100.00% Conn: 1 Mbps: 2506.345 Peak Mbps: 2533.439 Avg Mbps: 2506.345 4000 314273952 2514.192 100.00% Conn: 1 Mbps: 2514.192 Peak Mbps: 2533.439 Avg Mbps: 2514.192 5000 310775480 2486.204 100.00% Conn: 1 Mbps: 2486.204 Peak Mbps: 2533.439 Avg Mbps: 2486.204 --- fc00::13 tcpbench statistics --- 1881935524 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2486.204/2511.535/2533.439/15.434 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.194 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.194/0.194/0.194/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.252 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.252/0.252/0.252/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 87994960 703.960 100.00% Conn: 1 Mbps: 703.960 Peak Mbps: 703.960 Avg Mbps: 703.960 2004 88271528 704.060 100.00% Conn: 1 Mbps: 704.060 Peak Mbps: 704.060 Avg Mbps: 704.060 3002 87071136 697.965 100.00% Conn: 1 Mbps: 697.965 Peak Mbps: 704.060 Avg Mbps: 697.965 4002 87992064 704.641 100.00% Conn: 1 Mbps: 704.641 Peak Mbps: 704.641 Avg Mbps: 704.641 5002 87963104 703.705 100.00% Conn: 1 Mbps: 703.705 Peak Mbps: 704.641 Avg Mbps: 703.705 --- 169.254.1.11 tcpbench statistics --- 527409384 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 697.965/702.866/704.641/2.470 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 134283688 1072.125 100.00% Conn: 1 Mbps: 1072.125 Peak Mbps: 1072.125 Avg Mbps: 1072.125 2001 131747784 1055.037 100.00% Conn: 1 Mbps: 1055.037 Peak Mbps: 1072.125 Avg Mbps: 1055.037 3001 133669696 1070.428 100.00% Conn: 1 Mbps: 1070.428 Peak Mbps: 1072.125 Avg Mbps: 1070.428 4001 133355384 1067.911 100.00% Conn: 1 Mbps: 1067.911 Peak Mbps: 1072.125 Avg Mbps: 1067.911 5004 133977560 1069.681 100.00% Conn: 1 Mbps: 1069.681 Peak Mbps: 1072.125 Avg Mbps: 1069.681 --- fc00:0:0:1::11 tcpbench statistics --- 799158912 bytes sent over 6.002 seconds bandwidth min/avg/max/std-dev = 1055.037/1067.037/1072.125/6.150 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.186 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.186/0.186/0.186/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.209 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.209/0.209/0.209/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 327863694 2622.910 100.00% Conn: 1 Mbps: 2622.910 Peak Mbps: 2622.910 Avg Mbps: 2622.910 2000 326080372 2611.254 100.00% Conn: 1 Mbps: 2611.254 Peak Mbps: 2622.910 Avg Mbps: 2611.254 3000 326996420 2615.971 100.00% Conn: 1 Mbps: 2615.971 Peak Mbps: 2622.910 Avg Mbps: 2615.971 4000 326014940 2608.120 100.00% Conn: 1 Mbps: 2608.120 Peak Mbps: 2622.910 Avg Mbps: 2608.120 5000 327192716 2617.542 100.00% Conn: 1 Mbps: 2617.542 Peak Mbps: 2622.910 Avg Mbps: 2617.542 --- 169.254.1.12 tcpbench statistics --- 1958527282 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2608.120/2615.159/2622.910/5.123 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 315010116 2520.081 100.00% Conn: 1 Mbps: 2520.081 Peak Mbps: 2520.081 Avg Mbps: 2520.081 2000 312868024 2505.450 100.00% Conn: 1 Mbps: 2505.450 Peak Mbps: 2520.081 Avg Mbps: 2505.450 3000 312900720 2503.206 100.00% Conn: 1 Mbps: 2503.206 Peak Mbps: 2520.081 Avg Mbps: 2503.206 4000 312377584 2499.021 100.00% Conn: 1 Mbps: 2499.021 Peak Mbps: 2520.081 Avg Mbps: 2499.021 5000 309761904 2478.095 100.00% Conn: 1 Mbps: 2478.095 Peak Mbps: 2520.081 Avg Mbps: 2478.095 --- fc00:0:0:1::12 tcpbench statistics --- 1874413140 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2478.095/2501.170/2520.081/13.544 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.170 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.170/0.170/0.170/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.199 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.199/0.199/0.199/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 336369958 2690.960 100.00% Conn: 1 Mbps: 2690.960 Peak Mbps: 2690.960 Avg Mbps: 2690.960 2000 334112114 2675.572 100.00% Conn: 1 Mbps: 2675.572 Peak Mbps: 2690.960 Avg Mbps: 2675.572 3000 334177582 2673.421 100.00% Conn: 1 Mbps: 2673.421 Peak Mbps: 2690.960 Avg Mbps: 2673.421 4000 330169860 2641.359 100.00% Conn: 1 Mbps: 2641.359 Peak Mbps: 2690.960 Avg Mbps: 2641.359 5000 331445796 2651.566 100.00% Conn: 1 Mbps: 2651.566 Peak Mbps: 2690.960 Avg Mbps: 2651.566 --- 169.254.0.13 tcpbench statistics --- 1997753810 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2641.359/2666.576/2690.960/17.796 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 355308260 2842.466 100.00% Conn: 1 Mbps: 2842.466 Peak Mbps: 2842.466 Avg Mbps: 2842.466 2000 350206856 2804.459 100.00% Conn: 1 Mbps: 2804.459 Peak Mbps: 2842.466 Avg Mbps: 2804.459 3000 349356760 2794.854 100.00% Conn: 1 Mbps: 2794.854 Peak Mbps: 2842.466 Avg Mbps: 2794.854 4000 352691752 2821.534 100.00% Conn: 1 Mbps: 2821.534 Peak Mbps: 2842.466 Avg Mbps: 2821.534 5000 351416608 2811.333 100.00% Conn: 1 Mbps: 2811.333 Peak Mbps: 2842.466 Avg Mbps: 2811.333 --- fc00::13 tcpbench statistics --- 2110004492 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2794.854/2814.929/2842.466/16.294 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 1m54.03s