START sys/net/pair 2025-01-06T02:51:22Z ==== 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.041 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.041/0.041/0.041/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.048 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.048/0.048/0.048/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 916905124 7335.241 100.00% Conn: 1 Mbps: 7335.241 Peak Mbps: 7335.241 Avg Mbps: 7335.241 2000 915879832 7334.373 100.00% Conn: 1 Mbps: 7334.373 Peak Mbps: 7335.241 Avg Mbps: 7334.373 3000 917787352 7342.299 100.00% Conn: 1 Mbps: 7342.299 Peak Mbps: 7342.299 Avg Mbps: 7342.299 4000 916467984 7331.744 100.00% Conn: 1 Mbps: 7331.744 Peak Mbps: 7342.299 Avg Mbps: 7331.744 5000 917310472 7338.484 100.00% Conn: 1 Mbps: 7338.484 Peak Mbps: 7342.299 Avg Mbps: 7338.484 --- 169.254.1.11 tcpbench statistics --- 5499586808 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7331.744/7336.428/7342.299/3.640 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 925372016 7402.976 100.00% Conn: 1 Mbps: 7402.976 Peak Mbps: 7402.976 Avg Mbps: 7402.976 2000 927480864 7427.274 100.00% Conn: 1 Mbps: 7427.274 Peak Mbps: 7427.274 Avg Mbps: 7427.274 3000 926814912 7414.519 100.00% Conn: 1 Mbps: 7414.519 Peak Mbps: 7427.274 Avg Mbps: 7414.519 4000 927116176 7416.929 100.00% Conn: 1 Mbps: 7416.929 Peak Mbps: 7427.274 Avg Mbps: 7416.929 5000 927092392 7424.163 100.00% Conn: 1 Mbps: 7424.163 Peak Mbps: 7427.274 Avg Mbps: 7424.163 --- fc00:0:0:1::11 tcpbench statistics --- 5561848760 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7402.976/7417.172/7427.274/8.480 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.064 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.064/0.064/0.064/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.126 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.126/0.126/0.126/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 367342720 2935.806 100.00% Conn: 1 Mbps: 2935.806 Peak Mbps: 2935.806 Avg Mbps: 2935.806 2001 375128064 3001.025 100.00% Conn: 1 Mbps: 3001.025 Peak Mbps: 3001.025 Avg Mbps: 3001.025 3001 384827392 3078.619 100.00% Conn: 1 Mbps: 3078.619 Peak Mbps: 3078.619 Avg Mbps: 3078.619 4002 379064352 3032.515 100.00% Conn: 1 Mbps: 3032.515 Peak Mbps: 3078.619 Avg Mbps: 3032.515 5002 379029352 3032.235 100.00% Conn: 1 Mbps: 3032.235 Peak Mbps: 3078.619 Avg Mbps: 3032.235 --- 169.254.1.12 tcpbench statistics --- 2260782088 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2935.806/3016.040/3078.619/47.144 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 1001 351246032 2807.161 100.00% Conn: 1 Mbps: 2807.161 Peak Mbps: 2807.161 Avg Mbps: 2807.161 2001 359399424 2875.195 100.00% Conn: 1 Mbps: 2875.195 Peak Mbps: 2875.195 Avg Mbps: 2875.195 3002 359923712 2879.390 100.00% Conn: 1 Mbps: 2879.390 Peak Mbps: 2879.390 Avg Mbps: 2879.390 4002 359661568 2877.293 100.00% Conn: 1 Mbps: 2877.293 Peak Mbps: 2879.390 Avg Mbps: 2877.293 5002 359897340 2879.179 100.00% Conn: 1 Mbps: 2879.179 Peak Mbps: 2879.390 Avg Mbps: 2879.179 --- fc00:0:0:1::12 tcpbench statistics --- 2149789644 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2807.161/2863.643/2879.390/28.282 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.059 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.059/0.059/0.059/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.066 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.066/0.066/0.066/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 743662428 5949.299 100.00% Conn: 1 Mbps: 5949.299 Peak Mbps: 5949.299 Avg Mbps: 5949.299 2000 787904204 6309.543 100.00% Conn: 1 Mbps: 6309.543 Peak Mbps: 6309.543 Avg Mbps: 6309.543 3000 787686260 6301.490 100.00% Conn: 1 Mbps: 6301.490 Peak Mbps: 6309.543 Avg Mbps: 6301.490 4000 775820456 6206.564 100.00% Conn: 1 Mbps: 6206.564 Peak Mbps: 6309.543 Avg Mbps: 6206.564 5000 776098216 6208.786 100.00% Conn: 1 Mbps: 6208.786 Peak Mbps: 6309.543 Avg Mbps: 6208.786 --- 169.254.0.13 tcpbench statistics --- 4646864572 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5949.299/6195.136/6309.543/130.501 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 659467416 5275.739 100.00% Conn: 1 Mbps: 5275.739 Peak Mbps: 5275.739 Avg Mbps: 5275.739 2000 686556352 5492.451 100.00% Conn: 1 Mbps: 5492.451 Peak Mbps: 5492.451 Avg Mbps: 5492.451 3000 687381904 5499.055 100.00% Conn: 1 Mbps: 5499.055 Peak Mbps: 5499.055 Avg Mbps: 5499.055 4001 697021832 5576.175 100.00% Conn: 1 Mbps: 5576.175 Peak Mbps: 5576.175 Avg Mbps: 5576.175 5001 693950216 5551.602 100.00% Conn: 1 Mbps: 5551.602 Peak Mbps: 5576.175 Avg Mbps: 5551.602 --- fc00::13 tcpbench statistics --- 4115644344 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5275.739/5479.004/5576.175/106.407 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.044 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.044/0.044/0.044/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.052 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.052/0.052/0.052/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 365567632 2921.619 100.00% Conn: 1 Mbps: 2921.619 Peak Mbps: 2921.619 Avg Mbps: 2921.619 2001 372768768 2982.150 100.00% Conn: 1 Mbps: 2982.150 Peak Mbps: 2982.150 Avg Mbps: 2982.150 3001 372244480 2977.956 100.00% Conn: 1 Mbps: 2977.956 Peak Mbps: 2982.150 Avg Mbps: 2977.956 4002 372768768 2982.150 100.00% Conn: 1 Mbps: 2982.150 Peak Mbps: 2982.150 Avg Mbps: 2982.150 5002 371339024 2970.712 100.00% Conn: 1 Mbps: 2970.712 Peak Mbps: 2982.150 Avg Mbps: 2970.712 --- 169.254.1.11 tcpbench statistics --- 2225360288 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2921.619/2966.918/2982.150/23.031 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 349076384 2789.821 100.00% Conn: 1 Mbps: 2789.821 Peak Mbps: 2789.821 Avg Mbps: 2789.821 2001 357302272 2858.418 100.00% Conn: 1 Mbps: 2858.418 Peak Mbps: 2858.418 Avg Mbps: 2858.418 3002 359249088 2873.993 100.00% Conn: 1 Mbps: 2873.993 Peak Mbps: 2873.993 Avg Mbps: 2873.993 4002 356253696 2850.030 100.00% Conn: 1 Mbps: 2850.030 Peak Mbps: 2873.993 Avg Mbps: 2850.030 5003 355991552 2847.932 100.00% Conn: 1 Mbps: 2847.932 Peak Mbps: 2873.993 Avg Mbps: 2847.932 --- fc00:0:0:1::11 tcpbench statistics --- 2133078112 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2789.821/2844.039/2873.993/28.617 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.037 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.037/0.037/0.037/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.045 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.045/0.045/0.045/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 926208856 7409.671 100.00% Conn: 1 Mbps: 7409.671 Peak Mbps: 7409.671 Avg Mbps: 7409.671 2000 930397920 7450.634 100.00% Conn: 1 Mbps: 7450.634 Peak Mbps: 7450.634 Avg Mbps: 7450.634 3000 930875760 7447.006 100.00% Conn: 1 Mbps: 7447.006 Peak Mbps: 7450.634 Avg Mbps: 7447.006 4000 932181856 7457.455 100.00% Conn: 1 Mbps: 7457.455 Peak Mbps: 7457.455 Avg Mbps: 7457.455 5000 930234296 7441.874 100.00% Conn: 1 Mbps: 7441.874 Peak Mbps: 7457.455 Avg Mbps: 7441.874 --- 169.254.1.12 tcpbench statistics --- 5580641232 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7409.671/7441.328/7457.455/16.622 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 941389008 7531.112 100.00% Conn: 1 Mbps: 7531.112 Peak Mbps: 7531.112 Avg Mbps: 7531.112 2000 942275796 7545.752 100.00% Conn: 1 Mbps: 7545.752 Peak Mbps: 7545.752 Avg Mbps: 7545.752 3000 938198856 7505.591 100.00% Conn: 1 Mbps: 7505.591 Peak Mbps: 7545.752 Avg Mbps: 7505.591 4000 938538720 7508.310 100.00% Conn: 1 Mbps: 7508.310 Peak Mbps: 7545.752 Avg Mbps: 7508.310 5000 941310468 7530.484 100.00% Conn: 1 Mbps: 7530.484 Peak Mbps: 7545.752 Avg Mbps: 7530.484 --- fc00:0:0:1::12 tcpbench statistics --- 5641236888 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7505.591/7524.250/7545.752/15.169 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.042 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.042/0.042/0.042/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.045 ms --- fc00::13 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-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 1267634872 10141.079 100.00% Conn: 1 Mbps: 10141.079 Peak Mbps: 10141.079 Avg Mbps: 10141.079 2000 1269249936 10164.164 100.00% Conn: 1 Mbps: 10164.164 Peak Mbps: 10164.164 Avg Mbps: 10164.164 3000 1269446232 10155.570 100.00% Conn: 1 Mbps: 10155.570 Peak Mbps: 10164.164 Avg Mbps: 10155.570 4000 1270722156 10165.777 100.00% Conn: 1 Mbps: 10165.777 Peak Mbps: 10165.777 Avg Mbps: 10165.777 5000 1269413516 10155.308 100.00% Conn: 1 Mbps: 10155.308 Peak Mbps: 10165.777 Avg Mbps: 10155.308 --- 169.254.0.13 tcpbench statistics --- 7613033936 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10141.079/10156.380/10165.777/8.773 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 1094250676 8754.005 100.00% Conn: 1 Mbps: 8754.005 Peak Mbps: 8754.005 Avg Mbps: 8754.005 2000 1094629384 8765.801 100.00% Conn: 1 Mbps: 8765.801 Peak Mbps: 8765.801 Avg Mbps: 8765.801 3000 1093386936 8747.095 100.00% Conn: 1 Mbps: 8747.095 Peak Mbps: 8765.801 Avg Mbps: 8747.095 4000 1095414088 8763.313 100.00% Conn: 1 Mbps: 8763.313 Peak Mbps: 8765.801 Avg Mbps: 8763.313 5000 1109604152 8876.833 100.00% Conn: 1 Mbps: 8876.833 Peak Mbps: 8876.833 Avg Mbps: 8876.833 --- fc00::13 tcpbench statistics --- 6605651916 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8747.095/8781.410/8876.833/48.177 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.047 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.047/0.047/0.047/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.056 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.056/0.056/0.056/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 365764240 2926.114 100.00% Conn: 1 Mbps: 2926.114 Peak Mbps: 2926.114 Avg Mbps: 2926.114 2000 373030912 2984.247 100.00% Conn: 1 Mbps: 2984.247 Peak Mbps: 2984.247 Avg Mbps: 2984.247 3001 371982336 2975.859 100.00% Conn: 1 Mbps: 2975.859 Peak Mbps: 2984.247 Avg Mbps: 2975.859 4002 370933760 2967.470 100.00% Conn: 1 Mbps: 2967.470 Peak Mbps: 2984.247 Avg Mbps: 2967.470 5002 370935152 2967.481 100.00% Conn: 1 Mbps: 2967.481 Peak Mbps: 2984.247 Avg Mbps: 2967.481 --- 169.254.1.11 tcpbench statistics --- 2220958720 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2926.114/2964.234/2984.247/20.049 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 794760352 6358.083 100.00% Conn: 1 Mbps: 6358.083 Peak Mbps: 6358.083 Avg Mbps: 6358.083 2000 799277056 6400.617 100.00% Conn: 1 Mbps: 6400.617 Peak Mbps: 6400.617 Avg Mbps: 6400.617 3000 822870016 6582.960 100.00% Conn: 1 Mbps: 6582.960 Peak Mbps: 6582.960 Avg Mbps: 6582.960 4000 831916656 6655.333 100.00% Conn: 1 Mbps: 6655.333 Peak Mbps: 6655.333 Avg Mbps: 6655.333 5001 811091648 6488.733 100.00% Conn: 1 Mbps: 6488.733 Peak Mbps: 6655.333 Avg Mbps: 6488.733 --- fc00:0:0:1::11 tcpbench statistics --- 4880688592 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6358.083/6497.145/6655.333/110.557 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.041 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.041/0.041/0.041/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.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-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 1259829190 10078.634 100.00% Conn: 1 Mbps: 10078.634 Peak Mbps: 10078.634 Avg Mbps: 10078.634 2000 1265356732 10132.987 100.00% Conn: 1 Mbps: 10132.987 Peak Mbps: 10132.987 Avg Mbps: 10132.987 3000 1264048092 10112.385 100.00% Conn: 1 Mbps: 10112.385 Peak Mbps: 10132.987 Avg Mbps: 10112.385 4000 1263540994 10108.328 100.00% Conn: 1 Mbps: 10108.328 Peak Mbps: 10132.987 Avg Mbps: 10108.328 5000 1264162598 10113.301 100.00% Conn: 1 Mbps: 10113.301 Peak Mbps: 10132.987 Avg Mbps: 10113.301 --- 169.254.1.12 tcpbench statistics --- 7582474276 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10078.634/10109.127/10132.987/17.480 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 1089906284 8719.250 100.00% Conn: 1 Mbps: 8719.250 Peak Mbps: 8719.250 Avg Mbps: 8719.250 2000 1093092672 8753.495 100.00% Conn: 1 Mbps: 8753.495 Peak Mbps: 8753.495 Avg Mbps: 8753.495 3000 1091555960 8732.448 100.00% Conn: 1 Mbps: 8732.448 Peak Mbps: 8753.495 Avg Mbps: 8732.448 4000 1095708352 8765.667 100.00% Conn: 1 Mbps: 8765.667 Peak Mbps: 8765.667 Avg Mbps: 8765.667 5000 1096623840 8772.991 100.00% Conn: 1 Mbps: 8772.991 Peak Mbps: 8772.991 Avg Mbps: 8772.991 --- fc00:0:0:1::12 tcpbench statistics --- 6560502916 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8719.250/8748.770/8772.991/20.161 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.038 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.038/0.038/0.038/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.043 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/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 1268310146 10146.481 100.00% Conn: 1 Mbps: 10146.481 Peak Mbps: 10146.481 Avg Mbps: 10146.481 2000 1275989432 10218.134 100.00% Conn: 1 Mbps: 10218.134 Peak Mbps: 10218.134 Avg Mbps: 10218.134 3000 1275465976 10203.728 100.00% Conn: 1 Mbps: 10203.728 Peak Mbps: 10218.134 Avg Mbps: 10203.728 4000 1273748386 10189.987 100.00% Conn: 1 Mbps: 10189.987 Peak Mbps: 10218.134 Avg Mbps: 10189.987 5000 1273797460 10190.380 100.00% Conn: 1 Mbps: 10190.380 Peak Mbps: 10218.134 Avg Mbps: 10190.380 --- 169.254.0.13 tcpbench statistics --- 7643120894 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10146.481/10189.742/10218.134/23.974 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 1277509776 10220.078 100.00% Conn: 1 Mbps: 10220.078 Peak Mbps: 10220.078 Avg Mbps: 10220.078 2000 1280865800 10257.184 100.00% Conn: 1 Mbps: 10257.184 Peak Mbps: 10257.184 Avg Mbps: 10257.184 3000 1281454328 10251.635 100.00% Conn: 1 Mbps: 10251.635 Peak Mbps: 10257.184 Avg Mbps: 10251.635 4000 1281748592 10253.989 100.00% Conn: 1 Mbps: 10253.989 Peak Mbps: 10257.184 Avg Mbps: 10253.989 5000 1280996584 10247.973 100.00% Conn: 1 Mbps: 10247.973 Peak Mbps: 10257.184 Avg Mbps: 10247.973 --- fc00::13 tcpbench statistics --- 7684552544 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10220.078/10246.172/10257.184/13.389 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 1m51.92s