START sys/net/pair 2024-08-15T08:23:13Z ==== 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.168 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.168/0.168/0.168/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.238 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.238/0.238/0.238/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 109380376 875.043 100.00% Conn: 1 Mbps: 875.043 Peak Mbps: 875.043 Avg Mbps: 875.043 2000 109062456 873.373 100.00% Conn: 1 Mbps: 873.373 Peak Mbps: 875.043 Avg Mbps: 873.373 3000 108673004 869.384 100.00% Conn: 1 Mbps: 869.384 Peak Mbps: 875.043 Avg Mbps: 869.384 4000 108903496 871.228 100.00% Conn: 1 Mbps: 871.228 Peak Mbps: 875.043 Avg Mbps: 871.228 5000 108696848 870.445 100.00% Conn: 1 Mbps: 870.445 Peak Mbps: 875.043 Avg Mbps: 870.445 --- 169.254.1.11 tcpbench statistics --- 653389184 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 869.384/871.895/875.043/2.047 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 109763160 878.105 100.00% Conn: 1 Mbps: 878.105 Peak Mbps: 878.105 Avg Mbps: 878.105 2000 109342976 874.744 100.00% Conn: 1 Mbps: 874.744 Peak Mbps: 878.105 Avg Mbps: 874.744 3000 108986216 871.890 100.00% Conn: 1 Mbps: 871.890 Peak Mbps: 878.105 Avg Mbps: 871.890 4000 109200272 874.477 100.00% Conn: 1 Mbps: 874.477 Peak Mbps: 878.105 Avg Mbps: 874.477 5001 108946576 871.573 100.00% Conn: 1 Mbps: 871.573 Peak Mbps: 878.105 Avg Mbps: 871.573 --- fc00:0:0:1::11 tcpbench statistics --- 654995504 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 871.573/874.158/878.105/2.360 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.309 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.309/0.309/0.309/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.633 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.633/0.633/0.633/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 1002 39707056 317.022 100.00% Conn: 1 Mbps: 317.022 Peak Mbps: 317.022 Avg Mbps: 317.022 2001 39667960 317.980 100.00% Conn: 1 Mbps: 317.980 Peak Mbps: 317.980 Avg Mbps: 317.980 3002 39890952 318.809 100.00% Conn: 1 Mbps: 318.809 Peak Mbps: 318.809 Avg Mbps: 318.809 4002 39623072 317.302 100.00% Conn: 1 Mbps: 317.302 Peak Mbps: 318.809 Avg Mbps: 317.302 5003 39760632 318.085 100.00% Conn: 1 Mbps: 318.085 Peak Mbps: 318.809 Avg Mbps: 318.085 --- 169.254.1.12 tcpbench statistics --- 238494288 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 317.022/317.840/318.809/0.629 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 38871588 310.352 100.00% Conn: 1 Mbps: 310.352 Peak Mbps: 310.352 Avg Mbps: 310.352 2003 39261432 314.091 100.00% Conn: 1 Mbps: 314.091 Peak Mbps: 314.091 Avg Mbps: 314.091 3004 39442788 315.227 100.00% Conn: 1 Mbps: 315.227 Peak Mbps: 315.227 Avg Mbps: 315.227 4004 39251436 314.326 100.00% Conn: 1 Mbps: 314.326 Peak Mbps: 315.227 Avg Mbps: 314.326 5008 39464208 314.769 100.00% Conn: 1 Mbps: 314.769 Peak Mbps: 315.227 Avg Mbps: 314.769 --- fc00:0:0:1::12 tcpbench statistics --- 235504332 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 310.352/313.753/315.227/1.744 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.285 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.285/0.285/0.285/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.345 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.345/0.345/0.345/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 64180100 513.441 100.00% Conn: 1 Mbps: 513.441 Peak Mbps: 513.441 Avg Mbps: 513.441 2000 62852784 503.326 100.00% Conn: 1 Mbps: 503.326 Peak Mbps: 513.441 Avg Mbps: 503.326 3000 63059432 504.475 100.00% Conn: 1 Mbps: 504.475 Peak Mbps: 513.441 Avg Mbps: 504.475 4000 63035588 504.285 100.00% Conn: 1 Mbps: 504.285 Peak Mbps: 513.441 Avg Mbps: 504.285 5000 63973452 511.788 100.00% Conn: 1 Mbps: 511.788 Peak Mbps: 513.441 Avg Mbps: 511.788 --- 169.254.0.13 tcpbench statistics --- 380526396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 503.326/507.463/513.441/4.256 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 61204160 489.633 100.00% Conn: 1 Mbps: 489.633 Peak Mbps: 489.633 Avg Mbps: 489.633 2000 61537136 492.790 100.00% Conn: 1 Mbps: 492.790 Peak Mbps: 492.790 Avg Mbps: 492.790 3000 61442000 491.536 100.00% Conn: 1 Mbps: 491.536 Peak Mbps: 492.790 Avg Mbps: 491.536 4000 61442000 491.536 100.00% Conn: 1 Mbps: 491.536 Peak Mbps: 492.790 Avg Mbps: 491.536 5000 60752264 486.018 100.00% Conn: 1 Mbps: 486.018 Peak Mbps: 492.790 Avg Mbps: 486.018 --- fc00::13 tcpbench statistics --- 367280456 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 486.018/490.303/492.790/2.368 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.199 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.199/0.199/0.199/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.273 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.273/0.273/0.273/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 39886608 318.774 100.00% Conn: 1 Mbps: 318.774 Peak Mbps: 318.774 Avg Mbps: 318.774 2002 39889504 318.797 100.00% Conn: 1 Mbps: 318.797 Peak Mbps: 318.797 Avg Mbps: 318.797 3003 40038648 319.989 100.00% Conn: 1 Mbps: 319.989 Peak Mbps: 319.989 Avg Mbps: 319.989 4005 40092224 320.417 100.00% Conn: 1 Mbps: 320.417 Peak Mbps: 320.417 Avg Mbps: 320.417 5006 40141456 320.811 100.00% Conn: 1 Mbps: 320.811 Peak Mbps: 320.811 Avg Mbps: 320.811 --- 169.254.1.11 tcpbench statistics --- 239874232 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 318.774/319.758/320.811/0.835 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 38507448 307.445 100.00% Conn: 1 Mbps: 307.445 Peak Mbps: 307.445 Avg Mbps: 307.445 2003 38551716 308.106 100.00% Conn: 1 Mbps: 308.106 Peak Mbps: 308.106 Avg Mbps: 308.106 3003 38567424 308.539 100.00% Conn: 1 Mbps: 308.539 Peak Mbps: 308.539 Avg Mbps: 308.539 4006 38934420 310.854 100.00% Conn: 1 Mbps: 310.854 Peak Mbps: 310.854 Avg Mbps: 310.854 5006 38834460 310.987 100.00% Conn: 1 Mbps: 310.987 Peak Mbps: 310.987 Avg Mbps: 310.987 --- fc00:0:0:1::11 tcpbench statistics --- 232041432 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 307.445/309.186/310.987/1.459 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.192 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.192/0.192/0.192/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.246 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.246/0.246/0.246/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 105120456 840.964 100.00% Conn: 1 Mbps: 840.964 Peak Mbps: 840.964 Avg Mbps: 840.964 2000 104496368 835.971 100.00% Conn: 1 Mbps: 835.971 Peak Mbps: 840.964 Avg Mbps: 835.971 3000 105004616 840.037 100.00% Conn: 1 Mbps: 840.037 Peak Mbps: 840.964 Avg Mbps: 840.037 4000 104499264 835.994 100.00% Conn: 1 Mbps: 835.994 Peak Mbps: 840.964 Avg Mbps: 835.994 5000 105578024 844.624 100.00% Conn: 1 Mbps: 844.624 Peak Mbps: 844.624 Avg Mbps: 844.624 --- 169.254.1.12 tcpbench statistics --- 630162360 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 835.971/839.518/844.624/3.269 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 104562444 836.500 100.00% Conn: 1 Mbps: 836.500 Peak Mbps: 836.500 Avg Mbps: 836.500 2000 103564272 828.514 100.00% Conn: 1 Mbps: 828.514 Peak Mbps: 836.500 Avg Mbps: 828.514 3000 103775616 830.205 100.00% Conn: 1 Mbps: 830.205 Peak Mbps: 836.500 Avg Mbps: 830.205 4000 103201560 825.612 100.00% Conn: 1 Mbps: 825.612 Peak Mbps: 836.500 Avg Mbps: 825.612 5000 103695648 830.396 100.00% Conn: 1 Mbps: 830.396 Peak Mbps: 836.500 Avg Mbps: 830.396 --- fc00:0:0:1::12 tcpbench statistics --- 622690824 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 825.612/830.245/836.500/3.567 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.187 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.187/0.187/0.187/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.254 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.254/0.254/0.254/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 186008362 1488.067 100.00% Conn: 1 Mbps: 1488.067 Peak Mbps: 1488.067 Avg Mbps: 1488.067 2000 185565044 1486.006 100.00% Conn: 1 Mbps: 1486.006 Peak Mbps: 1488.067 Avg Mbps: 1486.006 3000 185532328 1484.259 100.00% Conn: 1 Mbps: 1484.259 Peak Mbps: 1488.067 Avg Mbps: 1484.259 4000 185695908 1485.567 100.00% Conn: 1 Mbps: 1485.567 Peak Mbps: 1488.067 Avg Mbps: 1485.567 5000 185859488 1486.876 100.00% Conn: 1 Mbps: 1486.876 Peak Mbps: 1488.067 Avg Mbps: 1486.876 --- 169.254.0.13 tcpbench statistics --- 1114128014 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1484.259/1486.155/1488.067/1.276 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 175087152 1400.697 100.00% Conn: 1 Mbps: 1400.697 Peak Mbps: 1400.697 Avg Mbps: 1400.697 2000 173256104 1387.436 100.00% Conn: 1 Mbps: 1387.436 Peak Mbps: 1400.697 Avg Mbps: 1387.436 3000 173190712 1385.526 100.00% Conn: 1 Mbps: 1385.526 Peak Mbps: 1400.697 Avg Mbps: 1385.526 4000 173223408 1385.787 100.00% Conn: 1 Mbps: 1385.787 Peak Mbps: 1400.697 Avg Mbps: 1385.787 5000 173125320 1385.003 100.00% Conn: 1 Mbps: 1385.003 Peak Mbps: 1400.697 Avg Mbps: 1385.003 --- fc00::13 tcpbench statistics --- 1040942624 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1385.003/1388.890/1400.697/5.960 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.234 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.234/0.234/0.234/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.301 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.301/0.301/0.301/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 39502888 315.707 100.00% Conn: 1 Mbps: 315.707 Peak Mbps: 315.707 Avg Mbps: 315.707 2003 39792488 318.022 100.00% Conn: 1 Mbps: 318.022 Peak Mbps: 318.022 Avg Mbps: 318.022 3003 39672304 317.378 100.00% Conn: 1 Mbps: 317.378 Peak Mbps: 318.022 Avg Mbps: 317.378 4004 39856200 318.531 100.00% Conn: 1 Mbps: 318.531 Peak Mbps: 318.531 Avg Mbps: 318.531 5005 39634656 317.077 100.00% Conn: 1 Mbps: 317.077 Peak Mbps: 318.531 Avg Mbps: 317.077 --- 169.254.1.11 tcpbench statistics --- 237902056 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 315.707/317.343/318.531/0.961 Mbps # path MTU discovery must create a dynamic route /sbin/route -T 13 -n get -host -inet 169.254.1.11 | grep DYNAMIC flags: ==== run-tcpbench6-3-1 ==== rm -f nc.log nc -6 -v -l -V 11 fc00:0:0:1::11 12345 >/dev/null 2>nc.log & # Wait until nc is listening. for i in `jot 30`; do if fgrep -q Listening nc.log; then break; fi; sleep .1; done fgrep Listening nc.log Listening on fc00:0:0:1::11 12345 # Test that path MTU dicovery is working. tcpbench -6 -t 5 -V 13 -b fc00::13 fc00:0:0:1::11 elapsed_ms bytes mbps bwidth 1000 64678160 517.425 100.00% Conn: 1 Mbps: 517.425 Peak Mbps: 517.425 Avg Mbps: 517.425 2001 63987800 511.391 100.00% Conn: 1 Mbps: 511.391 Peak Mbps: 517.425 Avg Mbps: 511.391 3001 63884168 511.585 100.00% Conn: 1 Mbps: 511.585 Peak Mbps: 517.425 Avg Mbps: 511.585 4004 63873528 509.968 100.00% Conn: 1 Mbps: 509.968 Peak Mbps: 517.425 Avg Mbps: 509.968 5004 63958872 512.183 100.00% Conn: 1 Mbps: 512.183 Peak Mbps: 517.425 Avg Mbps: 512.183 --- fc00:0:0:1::11 tcpbench statistics --- 383769592 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 509.968/512.511/517.425/2.563 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.200 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.200/0.200/0.200/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.257 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.257/0.257/0.257/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 183095688 1464.766 100.00% Conn: 1 Mbps: 1464.766 Peak Mbps: 1464.766 Avg Mbps: 1464.766 2000 182064432 1457.973 100.00% Conn: 1 Mbps: 1457.973 Peak Mbps: 1464.766 Avg Mbps: 1457.973 3000 181737272 1453.898 100.00% Conn: 1 Mbps: 1453.898 Peak Mbps: 1464.766 Avg Mbps: 1453.898 4000 181868136 1454.945 100.00% Conn: 1 Mbps: 1454.945 Peak Mbps: 1464.766 Avg Mbps: 1454.945 5000 181802704 1454.422 100.00% Conn: 1 Mbps: 1454.422 Peak Mbps: 1464.766 Avg Mbps: 1454.422 --- 169.254.1.12 tcpbench statistics --- 1092272800 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1453.898/1457.201/1464.766/4.038 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 175301612 1402.413 100.00% Conn: 1 Mbps: 1402.413 Peak Mbps: 1402.413 Avg Mbps: 1402.413 2000 174040808 1393.720 100.00% Conn: 1 Mbps: 1393.720 Peak Mbps: 1402.413 Avg Mbps: 1393.720 3000 174236984 1393.896 100.00% Conn: 1 Mbps: 1393.896 Peak Mbps: 1402.413 Avg Mbps: 1393.896 4000 174302376 1394.419 100.00% Conn: 1 Mbps: 1394.419 Peak Mbps: 1402.413 Avg Mbps: 1394.419 5000 174694728 1397.558 100.00% Conn: 1 Mbps: 1397.558 Peak Mbps: 1402.413 Avg Mbps: 1397.558 --- fc00:0:0:1::12 tcpbench statistics --- 1047075060 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1393.720/1396.401/1402.413/3.313 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.169 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.169/0.169/0.169/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.239 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.239/0.239/0.239/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 188427890 1507.423 100.00% Conn: 1 Mbps: 1507.423 Peak Mbps: 1507.423 Avg Mbps: 1507.423 2000 186546524 1493.866 100.00% Conn: 1 Mbps: 1493.866 Peak Mbps: 1507.423 Avg Mbps: 1493.866 3000 186840968 1494.728 100.00% Conn: 1 Mbps: 1494.728 Peak Mbps: 1507.423 Avg Mbps: 1494.728 4000 187266276 1498.130 100.00% Conn: 1 Mbps: 1498.130 Peak Mbps: 1507.423 Avg Mbps: 1498.130 5000 187626152 1501.009 100.00% Conn: 1 Mbps: 1501.009 Peak Mbps: 1507.423 Avg Mbps: 1501.009 --- 169.254.0.13 tcpbench statistics --- 1124203098 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1493.866/1499.031/1507.423/4.906 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 188216072 1505.729 100.00% Conn: 1 Mbps: 1505.729 Peak Mbps: 1505.729 Avg Mbps: 1505.729 2000 187576952 1502.118 100.00% Conn: 1 Mbps: 1502.118 Peak Mbps: 1505.729 Avg Mbps: 1502.118 3000 187380776 1499.046 100.00% Conn: 1 Mbps: 1499.046 Peak Mbps: 1505.729 Avg Mbps: 1499.046 4000 187838520 1502.708 100.00% Conn: 1 Mbps: 1502.708 Peak Mbps: 1505.729 Avg Mbps: 1502.708 5000 187969304 1503.754 100.00% Conn: 1 Mbps: 1503.754 Peak Mbps: 1505.729 Avg Mbps: 1503.754 --- fc00::13 tcpbench statistics --- 1126623968 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 1499.046/1502.671/1505.729/2.189 Mbps ==== unconfig ==== # Destroy interfaces. /sbin/route -n -T 11 delete -inet 169.254.0.13 delete host 169.254.0.13 /sbin/route -n -T 11 delete -inet6 fc00::13 delete host fc00::13 /sbin/ifconfig lo13 rdomain 13 /sbin/ifconfig lo13 inet 169.254.0.13 delete /sbin/ifconfig lo13 inet6 fc00::13 delete /sbin/ifconfig pair11 destroy /sbin/ifconfig pair12 destroy /sbin/route -n -T 11 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 11 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig lo11 destroy /sbin/route -n -T 12 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 12 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo12 inet 127.0.0.1 delete /sbin/ifconfig lo12 inet6 ::1 delete /sbin/ifconfig lo12 destroy /sbin/route -n -T 13 delete -inet 169.254.0.0/16 delete net 169.254.0.0/16 /sbin/route -n -T 13 delete -inet6 fc00::/48 delete net fc00::/48 /sbin/ifconfig lo13 inet 127.0.0.1 delete /sbin/ifconfig lo13 inet6 ::1 delete /sbin/ifconfig lo13 destroy rm -f stamp-ifconfig PASS sys/net/pair Duration 1m59.16s