START sys/net/pair 2025-02-02T05:50:19Z ==== 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.038 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.038/0.038/0.038/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.045 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.045/0.045/0.045/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 510341080 4082.729 100.00% Conn: 1 Mbps: 4082.729 Peak Mbps: 4082.729 Avg Mbps: 4082.729 2000 506073004 4052.637 100.00% Conn: 1 Mbps: 4052.637 Peak Mbps: 4082.729 Avg Mbps: 4052.637 3000 508544832 4068.359 100.00% Conn: 1 Mbps: 4068.359 Peak Mbps: 4082.729 Avg Mbps: 4068.359 4000 508441508 4067.532 100.00% Conn: 1 Mbps: 4067.532 Peak Mbps: 4082.729 Avg Mbps: 4067.532 5000 508624312 4068.994 100.00% Conn: 1 Mbps: 4068.994 Peak Mbps: 4082.729 Avg Mbps: 4068.994 --- 169.254.1.11 tcpbench statistics --- 3050490088 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4052.637/4068.050/4082.729/9.532 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 506004600 4048.037 100.00% Conn: 1 Mbps: 4048.037 Peak Mbps: 4048.037 Avg Mbps: 4048.037 2000 504133592 4037.106 100.00% Conn: 1 Mbps: 4037.106 Peak Mbps: 4048.037 Avg Mbps: 4037.106 3000 503483496 4027.868 100.00% Conn: 1 Mbps: 4027.868 Peak Mbps: 4048.037 Avg Mbps: 4027.868 4000 503483496 4027.868 100.00% Conn: 1 Mbps: 4027.868 Peak Mbps: 4048.037 Avg Mbps: 4027.868 5000 504720264 4037.762 100.00% Conn: 1 Mbps: 4037.762 Peak Mbps: 4048.037 Avg Mbps: 4037.762 --- fc00:0:0:1::11 tcpbench statistics --- 3025982824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4027.868/4035.728/4048.037/7.498 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.086 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.086/0.086/0.086/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.144 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.144/0.144/0.144/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 268179856 2141.157 100.00% Conn: 1 Mbps: 2141.157 Peak Mbps: 2141.157 Avg Mbps: 2141.157 2001 280025536 2242.447 100.00% Conn: 1 Mbps: 2242.447 Peak Mbps: 2242.447 Avg Mbps: 2242.447 3001 286008392 2288.067 100.00% Conn: 1 Mbps: 2288.067 Peak Mbps: 2288.067 Avg Mbps: 2288.067 4001 285993304 2290.237 100.00% Conn: 1 Mbps: 2290.237 Peak Mbps: 2290.237 Avg Mbps: 2290.237 5002 287185464 2295.189 100.00% Conn: 1 Mbps: 2295.189 Peak Mbps: 2295.189 Avg Mbps: 2295.189 --- 169.254.1.12 tcpbench statistics --- 1694426312 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2141.157/2251.419/2295.189/58.316 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 254591284 2036.730 100.00% Conn: 1 Mbps: 2036.730 Peak Mbps: 2036.730 Avg Mbps: 2036.730 2001 272393524 2176.971 100.00% Conn: 1 Mbps: 2176.971 Peak Mbps: 2176.971 Avg Mbps: 2176.971 3001 272395376 2181.344 100.00% Conn: 1 Mbps: 2181.344 Peak Mbps: 2181.344 Avg Mbps: 2181.344 4001 271106528 2168.852 100.00% Conn: 1 Mbps: 2168.852 Peak Mbps: 2181.344 Avg Mbps: 2168.852 5001 274879656 2199.037 100.00% Conn: 1 Mbps: 2199.037 Peak Mbps: 2199.037 Avg Mbps: 2199.037 --- fc00:0:0:1::12 tcpbench statistics --- 1622387276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 2036.730/2152.587/2199.037/58.765 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.076 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.076/0.076/0.076/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.088 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.088/0.088/0.088/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 606711948 4853.696 100.00% Conn: 1 Mbps: 4853.696 Peak Mbps: 4853.696 Avg Mbps: 4853.696 2000 636304140 5090.433 100.00% Conn: 1 Mbps: 5090.433 Peak Mbps: 5090.433 Avg Mbps: 5090.433 3001 634684288 5077.474 100.00% Conn: 1 Mbps: 5077.474 Peak Mbps: 5090.433 Avg Mbps: 5077.474 4001 638683532 5109.468 100.00% Conn: 1 Mbps: 5109.468 Peak Mbps: 5109.468 Avg Mbps: 5109.468 5001 630091464 5045.777 100.00% Conn: 1 Mbps: 5045.777 Peak Mbps: 5109.468 Avg Mbps: 5045.777 --- 169.254.0.13 tcpbench statistics --- 3773593864 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4853.696/5035.370/5109.468/93.176 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 535452712 4283.622 100.00% Conn: 1 Mbps: 4283.622 Peak Mbps: 4283.622 Avg Mbps: 4283.622 2000 567202928 4542.166 100.00% Conn: 1 Mbps: 4542.166 Peak Mbps: 4542.166 Avg Mbps: 4542.166 3000 570023472 4560.188 100.00% Conn: 1 Mbps: 4560.188 Peak Mbps: 4560.188 Avg Mbps: 4560.188 4000 570113936 4560.911 100.00% Conn: 1 Mbps: 4560.911 Peak Mbps: 4560.911 Avg Mbps: 4560.911 5001 572101128 4576.809 100.00% Conn: 1 Mbps: 4576.809 Peak Mbps: 4576.809 Avg Mbps: 4576.809 --- fc00::13 tcpbench statistics --- 3384569728 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4283.622/4504.739/4576.809/111.101 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.052 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.052/0.052/0.052/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.065 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.065/0.065/0.065/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 272103592 2174.654 100.00% Conn: 1 Mbps: 2174.654 Peak Mbps: 2174.654 Avg Mbps: 2174.654 2002 283143192 2265.146 100.00% Conn: 1 Mbps: 2265.146 Peak Mbps: 2265.146 Avg Mbps: 2265.146 3002 287221552 2297.772 100.00% Conn: 1 Mbps: 2297.772 Peak Mbps: 2297.772 Avg Mbps: 2297.772 4002 284614256 2276.914 100.00% Conn: 1 Mbps: 2276.914 Peak Mbps: 2297.772 Avg Mbps: 2276.914 5004 284211984 2271.424 100.00% Conn: 1 Mbps: 2271.424 Peak Mbps: 2297.772 Avg Mbps: 2271.424 --- 169.254.1.11 tcpbench statistics --- 1694285176 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2174.654/2257.182/2297.772/42.694 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 1000 249271432 1994.171 100.00% Conn: 1 Mbps: 1994.171 Peak Mbps: 1994.171 Avg Mbps: 1994.171 2001 268642224 2146.991 100.00% Conn: 1 Mbps: 2146.991 Peak Mbps: 2146.991 Avg Mbps: 2146.991 3002 268898784 2149.041 100.00% Conn: 1 Mbps: 2149.041 Peak Mbps: 2149.041 Avg Mbps: 2149.041 4003 269646548 2157.172 100.00% Conn: 1 Mbps: 2157.172 Peak Mbps: 2157.172 Avg Mbps: 2157.172 5004 270471168 2161.608 100.00% Conn: 1 Mbps: 2161.608 Peak Mbps: 2161.608 Avg Mbps: 2161.608 --- fc00:0:0:1::11 tcpbench statistics --- 1597120644 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 1994.171/2121.797/2161.608/64.034 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.053 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.053/0.053/0.053/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.048 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.048/0.048/0.048/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 522684560 4181.476 100.00% Conn: 1 Mbps: 4181.476 Peak Mbps: 4181.476 Avg Mbps: 4181.476 2000 522012688 4180.282 100.00% Conn: 1 Mbps: 4180.282 Peak Mbps: 4181.476 Avg Mbps: 4180.282 3000 521928704 4175.430 100.00% Conn: 1 Mbps: 4175.430 Peak Mbps: 4181.476 Avg Mbps: 4175.430 4000 521536296 4172.290 100.00% Conn: 1 Mbps: 4172.290 Peak Mbps: 4181.476 Avg Mbps: 4172.290 5000 521371224 4170.970 100.00% Conn: 1 Mbps: 4170.970 Peak Mbps: 4181.476 Avg Mbps: 4170.970 --- 169.254.1.12 tcpbench statistics --- 3130904696 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4170.970/4176.090/4181.476/4.187 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 521464188 4171.714 100.00% Conn: 1 Mbps: 4171.714 Peak Mbps: 4171.714 Avg Mbps: 4171.714 2000 522192468 4181.721 100.00% Conn: 1 Mbps: 4181.721 Peak Mbps: 4181.721 Avg Mbps: 4181.721 3000 521648400 4173.187 100.00% Conn: 1 Mbps: 4173.187 Peak Mbps: 4181.721 Avg Mbps: 4173.187 4000 521914008 4175.312 100.00% Conn: 1 Mbps: 4175.312 Peak Mbps: 4181.721 Avg Mbps: 4175.312 5000 521634120 4173.073 100.00% Conn: 1 Mbps: 4173.073 Peak Mbps: 4181.721 Avg Mbps: 4173.073 --- fc00:0:0:1::12 tcpbench statistics --- 3130058904 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 4171.714/4175.001/4181.721/3.552 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.055 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.055/0.055/0.055/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.051 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.051/0.051/0.051/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 773427530 6187.420 100.00% Conn: 1 Mbps: 6187.420 Peak Mbps: 6187.420 Avg Mbps: 6187.420 2000 778215492 6231.956 100.00% Conn: 1 Mbps: 6231.956 Peak Mbps: 6231.956 Avg Mbps: 6231.956 3000 777757468 6222.060 100.00% Conn: 1 Mbps: 6222.060 Peak Mbps: 6231.956 Avg Mbps: 6222.060 4000 778804380 6230.435 100.00% Conn: 1 Mbps: 6230.435 Peak Mbps: 6231.956 Avg Mbps: 6230.435 5000 779589564 6236.717 100.00% Conn: 1 Mbps: 6236.717 Peak Mbps: 6236.717 Avg Mbps: 6236.717 --- 169.254.0.13 tcpbench statistics --- 4666762394 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6187.420/6221.717/6236.717/17.789 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 762494484 6099.956 100.00% Conn: 1 Mbps: 6099.956 Peak Mbps: 6099.956 Avg Mbps: 6099.956 2000 763680472 6115.559 100.00% Conn: 1 Mbps: 6115.559 Peak Mbps: 6115.559 Avg Mbps: 6115.559 3000 762503416 6100.027 100.00% Conn: 1 Mbps: 6100.027 Peak Mbps: 6115.559 Avg Mbps: 6100.027 4000 764105520 6112.844 100.00% Conn: 1 Mbps: 6112.844 Peak Mbps: 6115.559 Avg Mbps: 6112.844 5000 767375120 6139.001 100.00% Conn: 1 Mbps: 6139.001 Peak Mbps: 6139.001 Avg Mbps: 6139.001 --- fc00::13 tcpbench statistics --- 4587861092 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6099.956/6113.478/6139.001/14.282 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.064 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.064/0.064/0.064/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.060 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.060/0.060/0.060/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 271550848 2172.407 100.00% Conn: 1 Mbps: 2172.407 Peak Mbps: 2172.407 Avg Mbps: 2172.407 2001 279491688 2235.934 100.00% Conn: 1 Mbps: 2235.934 Peak Mbps: 2235.934 Avg Mbps: 2235.934 3001 281312536 2252.753 100.00% Conn: 1 Mbps: 2252.753 Peak Mbps: 2252.753 Avg Mbps: 2252.753 4000 280468856 2245.997 100.00% Conn: 1 Mbps: 2245.997 Peak Mbps: 2252.753 Avg Mbps: 2245.997 5001 280535960 2244.288 100.00% Conn: 1 Mbps: 2244.288 Peak Mbps: 2252.753 Avg Mbps: 2244.288 --- 169.254.1.11 tcpbench statistics --- 1671546584 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2172.407/2230.276/2252.753/29.426 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 532126928 4257.015 100.00% Conn: 1 Mbps: 4257.015 Peak Mbps: 4257.015 Avg Mbps: 4257.015 2000 592043864 4736.351 100.00% Conn: 1 Mbps: 4736.351 Peak Mbps: 4736.351 Avg Mbps: 4736.351 3000 596342024 4775.512 100.00% Conn: 1 Mbps: 4775.512 Peak Mbps: 4775.512 Avg Mbps: 4775.512 4001 588445152 4707.561 100.00% Conn: 1 Mbps: 4707.561 Peak Mbps: 4775.512 Avg Mbps: 4707.561 5001 590885856 4727.087 100.00% Conn: 1 Mbps: 4727.087 Peak Mbps: 4775.512 Avg Mbps: 4727.087 --- fc00:0:0:1::11 tcpbench statistics --- 3486176632 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 4257.015/4640.705/4775.512/193.117 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.060 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.060/0.060/0.060/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.049 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.049/0.049/0.049/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 791849898 6334.799 100.00% Conn: 1 Mbps: 6334.799 Peak Mbps: 6334.799 Avg Mbps: 6334.799 2000 793101272 6351.161 100.00% Conn: 1 Mbps: 6351.161 Peak Mbps: 6351.161 Avg Mbps: 6351.161 3000 793755592 6350.045 100.00% Conn: 1 Mbps: 6350.045 Peak Mbps: 6351.161 Avg Mbps: 6350.045 4000 794573492 6356.588 100.00% Conn: 1 Mbps: 6356.588 Peak Mbps: 6356.588 Avg Mbps: 6356.588 5000 794655282 6357.242 100.00% Conn: 1 Mbps: 6357.242 Peak Mbps: 6357.242 Avg Mbps: 6357.242 --- 169.254.1.12 tcpbench statistics --- 4761821992 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6334.799/6349.967/6357.242/8.103 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 758989028 6071.912 100.00% Conn: 1 Mbps: 6071.912 Peak Mbps: 6071.912 Avg Mbps: 6071.912 2000 755473776 6049.840 100.00% Conn: 1 Mbps: 6049.840 Peak Mbps: 6071.912 Avg Mbps: 6049.840 3000 758906856 6071.255 100.00% Conn: 1 Mbps: 6071.255 Peak Mbps: 6071.912 Avg Mbps: 6071.255 4000 758710680 6069.685 100.00% Conn: 1 Mbps: 6069.685 Peak Mbps: 6071.912 Avg Mbps: 6069.685 5000 758449112 6067.593 100.00% Conn: 1 Mbps: 6067.593 Peak Mbps: 6071.912 Avg Mbps: 6067.593 --- fc00:0:0:1::12 tcpbench statistics --- 4546722540 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6049.840/6066.057/6071.912/8.244 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.053 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.053/0.053/0.053/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.047 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/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 773364278 6186.914 100.00% Conn: 1 Mbps: 6186.914 Peak Mbps: 6186.914 Avg Mbps: 6186.914 2000 774485868 6202.089 100.00% Conn: 1 Mbps: 6202.089 Peak Mbps: 6202.089 Avg Mbps: 6202.089 3000 774355004 6194.840 100.00% Conn: 1 Mbps: 6194.840 Peak Mbps: 6202.089 Avg Mbps: 6194.840 4000 773667968 6189.344 100.00% Conn: 1 Mbps: 6189.344 Peak Mbps: 6202.089 Avg Mbps: 6189.344 5000 773717042 6189.736 100.00% Conn: 1 Mbps: 6189.736 Peak Mbps: 6202.089 Avg Mbps: 6189.736 --- 169.254.0.13 tcpbench statistics --- 4642276648 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6186.914/6192.585/6202.089/5.407 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 774775036 6198.200 100.00% Conn: 1 Mbps: 6198.200 Peak Mbps: 6198.200 Avg Mbps: 6198.200 2000 775451032 6209.818 100.00% Conn: 1 Mbps: 6209.818 Peak Mbps: 6209.818 Avg Mbps: 6209.818 3000 775418336 6203.347 100.00% Conn: 1 Mbps: 6203.347 Peak Mbps: 6209.818 Avg Mbps: 6203.347 4000 775124072 6200.993 100.00% Conn: 1 Mbps: 6200.993 Peak Mbps: 6209.818 Avg Mbps: 6200.993 5000 776268432 6210.147 100.00% Conn: 1 Mbps: 6210.147 Peak Mbps: 6210.147 Avg Mbps: 6210.147 --- fc00::13 tcpbench statistics --- 4653043772 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6198.200/6204.501/6210.147/4.764 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 1m52.87s