START sys/net/pair 2025-02-01T06:03: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.157 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.157/0.157/0.157/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.195 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.195/0.195/0.195/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 272616400 2180.931 100.00% Conn: 1 Mbps: 2180.931 Peak Mbps: 2180.931 Avg Mbps: 2180.931 2000 335985804 2690.577 100.00% Conn: 1 Mbps: 2690.577 Peak Mbps: 2690.577 Avg Mbps: 2690.577 3000 339554456 2716.436 100.00% Conn: 1 Mbps: 2716.436 Peak Mbps: 2716.436 Avg Mbps: 2716.436 4000 340937408 2727.499 100.00% Conn: 1 Mbps: 2727.499 Peak Mbps: 2727.499 Avg Mbps: 2727.499 5000 337511540 2700.092 100.00% Conn: 1 Mbps: 2700.092 Peak Mbps: 2727.499 Avg Mbps: 2700.092 --- 169.254.1.11 tcpbench statistics --- 1965157496 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2180.931/2603.107/2727.499/211.474 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 341670288 2733.362 100.00% Conn: 1 Mbps: 2733.362 Peak Mbps: 2733.362 Avg Mbps: 2733.362 2000 335068992 2683.235 100.00% Conn: 1 Mbps: 2683.235 Peak Mbps: 2733.362 Avg Mbps: 2683.235 3000 334044072 2672.353 100.00% Conn: 1 Mbps: 2672.353 Peak Mbps: 2733.362 Avg Mbps: 2672.353 4000 335005568 2680.045 100.00% Conn: 1 Mbps: 2680.045 Peak Mbps: 2733.362 Avg Mbps: 2680.045 5000 328845512 2630.764 100.00% Conn: 1 Mbps: 2630.764 Peak Mbps: 2733.362 Avg Mbps: 2630.764 --- fc00:0:0:1::11 tcpbench statistics --- 2007112920 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2630.764/2679.952/2733.362/32.682 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.215 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.215/0.215/0.215/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.194 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.194/0.194/0.194/0.000 ms ==== run-tcpbench-1-2 ==== rm -f nc.log nc -4 -v -l -V 12 169.254.1.12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on 169.254.1.12 12345 # Test that path MTU dicovery is working. tcpbench -4 -t 5 -V 11 -b 169.254.1.11 169.254.1.12 elapsed_ms bytes mbps bwidth 1001 244815264 1956.566 100.00% Conn: 1 Mbps: 1956.566 Peak Mbps: 1956.566 Avg Mbps: 1956.566 2004 242521232 1936.297 100.00% Conn: 1 Mbps: 1936.297 Peak Mbps: 1956.566 Avg Mbps: 1936.297 3005 231094576 1846.910 100.00% Conn: 1 Mbps: 1846.910 Peak Mbps: 1956.566 Avg Mbps: 1846.910 4006 249591680 1996.733 100.00% Conn: 1 Mbps: 1996.733 Peak Mbps: 1996.733 Avg Mbps: 1996.733 5007 226668512 1813.348 100.00% Conn: 1 Mbps: 1813.348 Peak Mbps: 1996.733 Avg Mbps: 1813.348 --- 169.254.1.12 tcpbench statistics --- 1427597104 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1813.348/1909.971/1996.733/68.854 Mbps ==== run-tcpbench6-1-2 ==== rm -f nc.log nc -6 -v -l -V 12 fc00:0:0:1::12 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::12 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 11 -b fc00:0:0:1::11 fc00:0:0:1::12 elapsed_ms bytes mbps bwidth 1002 229113240 1829.247 100.00% Conn: 1 Mbps: 1829.247 Peak Mbps: 1829.247 Avg Mbps: 1829.247 2003 215987936 1726.177 100.00% Conn: 1 Mbps: 1726.177 Peak Mbps: 1829.247 Avg Mbps: 1726.177 3005 251658240 2011.255 100.00% Conn: 1 Mbps: 2011.255 Peak Mbps: 2011.255 Avg Mbps: 2011.255 4006 227050176 1816.401 100.00% Conn: 1 Mbps: 1816.401 Peak Mbps: 2011.255 Avg Mbps: 1816.401 5007 211687528 1691.808 100.00% Conn: 1 Mbps: 1691.808 Peak Mbps: 2011.255 Avg Mbps: 1691.808 --- fc00:0:0:1::12 tcpbench statistics --- 1350321380 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1691.808/1814.978/2011.255/111.163 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.147 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.147/0.147/0.147/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.110 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.110/0.110/0.110/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 473906888 3791.255 100.00% Conn: 1 Mbps: 3791.255 Peak Mbps: 3791.255 Avg Mbps: 3791.255 2001 491172152 3929.377 100.00% Conn: 1 Mbps: 3929.377 Peak Mbps: 3929.377 Avg Mbps: 3929.377 3001 528697212 4229.578 100.00% Conn: 1 Mbps: 4229.578 Peak Mbps: 4229.578 Avg Mbps: 4229.578 4001 541333768 4335.005 100.00% Conn: 1 Mbps: 4335.005 Peak Mbps: 4335.005 Avg Mbps: 4335.005 5001 512876284 4103.010 100.00% Conn: 1 Mbps: 4103.010 Peak Mbps: 4335.005 Avg Mbps: 4103.010 --- 169.254.0.13 tcpbench statistics --- 3165951112 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 3791.255/4077.645/4335.005/196.959 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 508376112 4067.009 100.00% Conn: 1 Mbps: 4067.009 Peak Mbps: 4067.009 Avg Mbps: 4067.009 2000 537608728 4300.870 100.00% Conn: 1 Mbps: 4300.870 Peak Mbps: 4300.870 Avg Mbps: 4300.870 3001 522325624 4178.605 100.00% Conn: 1 Mbps: 4178.605 Peak Mbps: 4300.870 Avg Mbps: 4178.605 4001 494988352 3959.907 100.00% Conn: 1 Mbps: 3959.907 Peak Mbps: 4300.870 Avg Mbps: 3959.907 5001 470823128 3766.585 100.00% Conn: 1 Mbps: 3766.585 Peak Mbps: 4300.870 Avg Mbps: 3766.585 --- fc00::13 tcpbench statistics --- 2968589600 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3766.585/4054.595/4300.870/183.357 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.152 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.152/0.152/0.152/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.182 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.182/0.182/0.182/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 214805088 1716.724 100.00% Conn: 1 Mbps: 1716.724 Peak Mbps: 1716.724 Avg Mbps: 1716.724 2002 256168696 2049.350 100.00% Conn: 1 Mbps: 2049.350 Peak Mbps: 2049.350 Avg Mbps: 2049.350 3002 251759912 2014.079 100.00% Conn: 1 Mbps: 2014.079 Peak Mbps: 2049.350 Avg Mbps: 2014.079 4003 251459832 2011.679 100.00% Conn: 1 Mbps: 2011.679 Peak Mbps: 2049.350 Avg Mbps: 2011.679 5003 260046848 2080.375 100.00% Conn: 1 Mbps: 2080.375 Peak Mbps: 2080.375 Avg Mbps: 2080.375 --- 169.254.1.11 tcpbench statistics --- 1484898192 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 1716.724/1974.441/2080.375/131.308 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 223404152 1785.448 100.00% Conn: 1 Mbps: 1785.448 Peak Mbps: 1785.448 Avg Mbps: 1785.448 2001 231587708 1854.556 100.00% Conn: 1 Mbps: 1854.556 Peak Mbps: 1854.556 Avg Mbps: 1854.556 3001 242728440 1941.828 100.00% Conn: 1 Mbps: 1941.828 Peak Mbps: 1941.828 Avg Mbps: 1941.828 4001 235592020 1886.623 100.00% Conn: 1 Mbps: 1886.623 Peak Mbps: 1941.828 Avg Mbps: 1886.623 5001 256240532 2051.976 100.00% Conn: 1 Mbps: 2051.976 Peak Mbps: 2051.976 Avg Mbps: 2051.976 --- fc00:0:0:1::11 tcpbench statistics --- 1443834280 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1785.448/1904.086/2051.976/89.587 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.152 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.152/0.152/0.152/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.078 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.078/0.078/0.078/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 346371904 2770.975 100.00% Conn: 1 Mbps: 2770.975 Peak Mbps: 2770.975 Avg Mbps: 2770.975 2000 341295048 2733.093 100.00% Conn: 1 Mbps: 2733.093 Peak Mbps: 2770.975 Avg Mbps: 2733.093 3000 347654664 2781.237 100.00% Conn: 1 Mbps: 2781.237 Peak Mbps: 2781.237 Avg Mbps: 2781.237 4000 347977624 2783.821 100.00% Conn: 1 Mbps: 2783.821 Peak Mbps: 2783.821 Avg Mbps: 2783.821 5000 350425360 2803.403 100.00% Conn: 1 Mbps: 2803.403 Peak Mbps: 2803.403 Avg Mbps: 2803.403 --- 169.254.1.12 tcpbench statistics --- 2082607560 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2733.093/2774.506/2803.403/23.215 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 341334840 2730.679 100.00% Conn: 1 Mbps: 2730.679 Peak Mbps: 2730.679 Avg Mbps: 2730.679 2000 347766552 2784.917 100.00% Conn: 1 Mbps: 2784.917 Peak Mbps: 2784.917 Avg Mbps: 2784.917 3000 353198592 2825.589 100.00% Conn: 1 Mbps: 2825.589 Peak Mbps: 2825.589 Avg Mbps: 2825.589 4000 350062776 2800.502 100.00% Conn: 1 Mbps: 2800.502 Peak Mbps: 2825.589 Avg Mbps: 2800.502 5000 350198280 2801.586 100.00% Conn: 1 Mbps: 2801.586 Peak Mbps: 2825.589 Avg Mbps: 2801.586 --- fc00:0:0:1::12 tcpbench statistics --- 2093878264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2730.679/2788.655/2825.589/31.771 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.137 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.137/0.137/0.137/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.104 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.104/0.104/0.104/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 601883288 4815.066 100.00% Conn: 1 Mbps: 4815.066 Peak Mbps: 4815.066 Avg Mbps: 4815.066 2000 608844760 4875.634 100.00% Conn: 1 Mbps: 4875.634 Peak Mbps: 4875.634 Avg Mbps: 4875.634 3000 621608148 4972.865 100.00% Conn: 1 Mbps: 4972.865 Peak Mbps: 4972.865 Avg Mbps: 4972.865 4000 611511102 4892.089 100.00% Conn: 1 Mbps: 4892.089 Peak Mbps: 4972.865 Avg Mbps: 4892.089 5000 609846330 4878.771 100.00% Conn: 1 Mbps: 4878.771 Peak Mbps: 4972.865 Avg Mbps: 4878.771 --- 169.254.0.13 tcpbench statistics --- 3664730360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4815.066/4886.885/4972.865/50.537 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 609916040 4879.328 100.00% Conn: 1 Mbps: 4879.328 Peak Mbps: 4879.328 Avg Mbps: 4879.328 2000 610172752 4886.268 100.00% Conn: 1 Mbps: 4886.268 Peak Mbps: 4886.268 Avg Mbps: 4886.268 3000 609028392 4872.227 100.00% Conn: 1 Mbps: 4872.227 Peak Mbps: 4886.268 Avg Mbps: 4872.227 4000 599644640 4797.157 100.00% Conn: 1 Mbps: 4797.157 Peak Mbps: 4886.268 Avg Mbps: 4797.157 5000 579263868 4634.111 100.00% Conn: 1 Mbps: 4634.111 Peak Mbps: 4886.268 Avg Mbps: 4634.111 --- fc00::13 tcpbench statistics --- 3582298236 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4634.111/4813.818/4886.268/95.420 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.150 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.150/0.150/0.150/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.120 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.120/0.120/0.120/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 230319992 1840.719 100.00% Conn: 1 Mbps: 1840.719 Peak Mbps: 1840.719 Avg Mbps: 1840.719 2002 244762040 1958.096 100.00% Conn: 1 Mbps: 1958.096 Peak Mbps: 1958.096 Avg Mbps: 1958.096 3002 229949640 1839.597 100.00% Conn: 1 Mbps: 1839.597 Peak Mbps: 1958.096 Avg Mbps: 1839.597 4003 238362024 1906.896 100.00% Conn: 1 Mbps: 1906.896 Peak Mbps: 1958.096 Avg Mbps: 1906.896 5003 205561764 1644.494 100.00% Conn: 1 Mbps: 1644.494 Peak Mbps: 1958.096 Avg Mbps: 1644.494 --- 169.254.1.11 tcpbench statistics --- 1374234644 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1644.494/1837.961/1958.096/106.418 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 1001 421285808 3366.920 100.00% Conn: 1 Mbps: 3366.920 Peak Mbps: 3366.920 Avg Mbps: 3366.920 2001 440935800 3531.017 100.00% Conn: 1 Mbps: 3531.017 Peak Mbps: 3531.017 Avg Mbps: 3531.017 3001 417904128 3343.233 100.00% Conn: 1 Mbps: 3343.233 Peak Mbps: 3531.017 Avg Mbps: 3343.233 4001 436024816 3488.199 100.00% Conn: 1 Mbps: 3488.199 Peak Mbps: 3531.017 Avg Mbps: 3488.199 5002 399888464 3199.108 100.00% Conn: 1 Mbps: 3199.108 Peak Mbps: 3531.017 Avg Mbps: 3199.108 --- fc00:0:0:1::11 tcpbench statistics --- 2523016648 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3199.108/3385.695/3531.017/117.129 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.095 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.095/0.095/0.095/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.097 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.097/0.097/0.097/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 525356286 4202.850 100.00% Conn: 1 Mbps: 4202.850 Peak Mbps: 4202.850 Avg Mbps: 4202.850 2000 545670164 4369.731 100.00% Conn: 1 Mbps: 4369.731 Peak Mbps: 4369.731 Avg Mbps: 4369.731 3000 531210108 4249.681 100.00% Conn: 1 Mbps: 4249.681 Peak Mbps: 4369.731 Avg Mbps: 4249.681 4000 580332766 4642.662 100.00% Conn: 1 Mbps: 4642.662 Peak Mbps: 4642.662 Avg Mbps: 4642.662 5000 547176348 4377.411 100.00% Conn: 1 Mbps: 4377.411 Peak Mbps: 4642.662 Avg Mbps: 4377.411 --- 169.254.1.12 tcpbench statistics --- 3281451938 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4202.850/4368.467/4642.662/152.842 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 551228432 4409.827 100.00% Conn: 1 Mbps: 4409.827 Peak Mbps: 4409.827 Avg Mbps: 4409.827 2000 561509364 4496.571 100.00% Conn: 1 Mbps: 4496.571 Peak Mbps: 4496.571 Avg Mbps: 4496.571 3000 565829268 4526.634 100.00% Conn: 1 Mbps: 4526.634 Peak Mbps: 4526.634 Avg Mbps: 4526.634 4000 546480944 4371.848 100.00% Conn: 1 Mbps: 4371.848 Peak Mbps: 4526.634 Avg Mbps: 4371.848 5000 559831280 4478.650 100.00% Conn: 1 Mbps: 4478.650 Peak Mbps: 4526.634 Avg Mbps: 4478.650 --- fc00:0:0:1::12 tcpbench statistics --- 3334368264 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4371.848/4456.706/4526.634/57.200 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.130 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.130/0.130/0.130/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.119 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.119/0.119/0.119/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 542041880 4336.335 100.00% Conn: 1 Mbps: 4336.335 Peak Mbps: 4336.335 Avg Mbps: 4336.335 2000 537998262 4303.986 100.00% Conn: 1 Mbps: 4303.986 Peak Mbps: 4336.335 Avg Mbps: 4303.986 3000 539601762 4316.814 100.00% Conn: 1 Mbps: 4316.814 Peak Mbps: 4336.335 Avg Mbps: 4316.814 4000 547584050 4380.672 100.00% Conn: 1 Mbps: 4380.672 Peak Mbps: 4380.672 Avg Mbps: 4380.672 5000 537099820 4296.799 100.00% Conn: 1 Mbps: 4296.799 Peak Mbps: 4380.672 Avg Mbps: 4296.799 --- 169.254.0.13 tcpbench statistics --- 3243550886 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4296.799/4326.921/4380.672/30.044 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 555196180 4441.569 100.00% Conn: 1 Mbps: 4441.569 Peak Mbps: 4441.569 Avg Mbps: 4441.569 2000 543145952 4349.517 100.00% Conn: 1 Mbps: 4349.517 Peak Mbps: 4441.569 Avg Mbps: 4349.517 3000 542851688 4342.814 100.00% Conn: 1 Mbps: 4342.814 Peak Mbps: 4441.569 Avg Mbps: 4342.814 4000 547629336 4381.035 100.00% Conn: 1 Mbps: 4381.035 Peak Mbps: 4441.569 Avg Mbps: 4381.035 5000 554262592 4434.101 100.00% Conn: 1 Mbps: 4434.101 Peak Mbps: 4441.569 Avg Mbps: 4434.101 --- fc00::13 tcpbench statistics --- 3301304556 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4342.814/4389.807/4441.569/41.352 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.16s