START sys/net/pair 2025-02-18T02:45:44Z ==== 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.042 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.042/0.042/0.042/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 934597372 7476.779 100.00% Conn: 1 Mbps: 7476.779 Peak Mbps: 7476.779 Avg Mbps: 7476.779 2000 936902292 7502.721 100.00% Conn: 1 Mbps: 7502.721 Peak Mbps: 7502.721 Avg Mbps: 7502.721 3000 937617612 7500.941 100.00% Conn: 1 Mbps: 7500.941 Peak Mbps: 7502.721 Avg Mbps: 7500.941 4000 937514288 7500.114 100.00% Conn: 1 Mbps: 7500.114 Peak Mbps: 7502.721 Avg Mbps: 7500.114 5000 935964428 7487.715 100.00% Conn: 1 Mbps: 7487.715 Peak Mbps: 7502.721 Avg Mbps: 7487.715 --- 169.254.1.11 tcpbench statistics --- 5618258396 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7476.779/7493.654/7502.721/9.971 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 947189872 7577.519 100.00% Conn: 1 Mbps: 7577.519 Peak Mbps: 7577.519 Avg Mbps: 7577.519 2000 947752760 7589.612 100.00% Conn: 1 Mbps: 7589.612 Peak Mbps: 7589.612 Avg Mbps: 7589.612 3000 946928248 7575.426 100.00% Conn: 1 Mbps: 7575.426 Peak Mbps: 7589.612 Avg Mbps: 7575.426 4000 946064096 7568.513 100.00% Conn: 1 Mbps: 7568.513 Peak Mbps: 7589.612 Avg Mbps: 7568.513 5000 946357432 7578.438 100.00% Conn: 1 Mbps: 7578.438 Peak Mbps: 7589.612 Avg Mbps: 7578.438 --- fc00:0:0:1::11 tcpbench statistics --- 5681886608 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7568.513/7577.901/7589.612/6.809 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.063 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.063/0.063/0.063/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.127 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.127/0.127/0.127/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 372952600 2980.640 100.00% Conn: 1 Mbps: 2980.640 Peak Mbps: 2980.640 Avg Mbps: 2980.640 2001 384040960 3072.328 100.00% Conn: 1 Mbps: 3072.328 Peak Mbps: 3072.328 Avg Mbps: 3072.328 3001 381943808 3058.609 100.00% Conn: 1 Mbps: 3058.609 Peak Mbps: 3072.328 Avg Mbps: 3058.609 4001 383492504 3067.940 100.00% Conn: 1 Mbps: 3067.940 Peak Mbps: 3072.328 Avg Mbps: 3067.940 5001 388497408 3107.979 100.00% Conn: 1 Mbps: 3107.979 Peak Mbps: 3107.979 Avg Mbps: 3107.979 --- 169.254.1.12 tcpbench statistics --- 2299424688 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2980.640/3057.499/3107.979/41.918 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 351185388 2806.676 100.00% Conn: 1 Mbps: 2806.676 Peak Mbps: 2806.676 Avg Mbps: 2806.676 2001 365438296 2923.506 100.00% Conn: 1 Mbps: 2923.506 Peak Mbps: 2923.506 Avg Mbps: 2923.506 3001 363855872 2910.847 100.00% Conn: 1 Mbps: 2910.847 Peak Mbps: 2923.506 Avg Mbps: 2910.847 4002 362020864 2896.167 100.00% Conn: 1 Mbps: 2896.167 Peak Mbps: 2923.506 Avg Mbps: 2896.167 5002 362020864 2896.167 100.00% Conn: 1 Mbps: 2896.167 Peak Mbps: 2923.506 Avg Mbps: 2896.167 --- fc00:0:0:1::12 tcpbench statistics --- 2169425732 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2806.676/2886.673/2923.506/41.281 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.057 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.057/0.057/0.057/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.064 ms --- fc00::13 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-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 745172548 5961.380 100.00% Conn: 1 Mbps: 5961.380 Peak Mbps: 5961.380 Avg Mbps: 5961.380 2000 785066768 6280.534 100.00% Conn: 1 Mbps: 6280.534 Peak Mbps: 6280.534 Avg Mbps: 6280.534 3001 786024848 6288.199 100.00% Conn: 1 Mbps: 6288.199 Peak Mbps: 6288.199 Avg Mbps: 6288.199 4001 787544036 6300.352 100.00% Conn: 1 Mbps: 6300.352 Peak Mbps: 6300.352 Avg Mbps: 6300.352 5001 792987576 6343.901 100.00% Conn: 1 Mbps: 6343.901 Peak Mbps: 6343.901 Avg Mbps: 6343.901 --- 169.254.0.13 tcpbench statistics --- 4691540140 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5961.380/6234.873/6343.901/138.493 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 662616808 5300.934 100.00% Conn: 1 Mbps: 5300.934 Peak Mbps: 5300.934 Avg Mbps: 5300.934 2001 694342168 5554.737 100.00% Conn: 1 Mbps: 5554.737 Peak Mbps: 5554.737 Avg Mbps: 5554.737 3001 695547224 5564.378 100.00% Conn: 1 Mbps: 5564.378 Peak Mbps: 5564.378 Avg Mbps: 5564.378 4002 694095880 5552.767 100.00% Conn: 1 Mbps: 5552.767 Peak Mbps: 5564.378 Avg Mbps: 5552.767 5002 699726320 5597.811 100.00% Conn: 1 Mbps: 5597.811 Peak Mbps: 5597.811 Avg Mbps: 5597.811 --- fc00::13 tcpbench statistics --- 4142334928 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 5300.934/5514.125/5597.811/107.816 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.042 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.042/0.042/0.042/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.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-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 373447672 2984.597 100.00% Conn: 1 Mbps: 2984.597 Peak Mbps: 2984.597 Avg Mbps: 2984.597 2001 384303104 3074.425 100.00% Conn: 1 Mbps: 3074.425 Peak Mbps: 3074.425 Avg Mbps: 3074.425 3001 383254528 3066.036 100.00% Conn: 1 Mbps: 3066.036 Peak Mbps: 3074.425 Avg Mbps: 3066.036 4001 384926128 3079.409 100.00% Conn: 1 Mbps: 3079.409 Peak Mbps: 3079.409 Avg Mbps: 3079.409 5002 381419520 3051.356 100.00% Conn: 1 Mbps: 3051.356 Peak Mbps: 3079.409 Avg Mbps: 3051.356 --- 169.254.1.11 tcpbench statistics --- 2294537640 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2984.597/3051.165/3079.409/34.616 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 353170256 2822.540 100.00% Conn: 1 Mbps: 2822.540 Peak Mbps: 2822.540 Avg Mbps: 2822.540 2001 363593728 2908.750 100.00% Conn: 1 Mbps: 2908.750 Peak Mbps: 2908.750 Avg Mbps: 2908.750 3002 362155104 2897.241 100.00% Conn: 1 Mbps: 2897.241 Peak Mbps: 2908.750 Avg Mbps: 2897.241 4002 363066696 2904.534 100.00% Conn: 1 Mbps: 2904.534 Peak Mbps: 2908.750 Avg Mbps: 2904.534 5002 363331584 2906.653 100.00% Conn: 1 Mbps: 2906.653 Peak Mbps: 2908.750 Avg Mbps: 2906.653 --- fc00:0:0:1::11 tcpbench statistics --- 2167600376 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2822.540/2887.943/2908.750/32.931 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.040 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.040/0.040/0.040/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.041 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.041/0.041/0.041/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 938005712 7504.046 100.00% Conn: 1 Mbps: 7504.046 Peak Mbps: 7504.046 Avg Mbps: 7504.046 2000 936527304 7499.718 100.00% Conn: 1 Mbps: 7499.718 Peak Mbps: 7504.046 Avg Mbps: 7499.718 3000 936460696 7491.686 100.00% Conn: 1 Mbps: 7491.686 Peak Mbps: 7504.046 Avg Mbps: 7491.686 4000 936803872 7494.431 100.00% Conn: 1 Mbps: 7494.431 Peak Mbps: 7504.046 Avg Mbps: 7494.431 5000 937148496 7497.188 100.00% Conn: 1 Mbps: 7497.188 Peak Mbps: 7504.046 Avg Mbps: 7497.188 --- 169.254.1.12 tcpbench statistics --- 5619573608 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7491.686/7497.414/7504.046/4.267 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 940657872 7525.263 100.00% Conn: 1 Mbps: 7525.263 Peak Mbps: 7525.263 Avg Mbps: 7525.263 2000 940160928 7528.816 100.00% Conn: 1 Mbps: 7528.816 Peak Mbps: 7528.816 Avg Mbps: 7528.816 3000 940575048 7524.600 100.00% Conn: 1 Mbps: 7524.600 Peak Mbps: 7528.816 Avg Mbps: 7524.600 4000 942585672 7540.685 100.00% Conn: 1 Mbps: 7540.685 Peak Mbps: 7540.685 Avg Mbps: 7540.685 5000 939589728 7516.718 100.00% Conn: 1 Mbps: 7516.718 Peak Mbps: 7540.685 Avg Mbps: 7516.718 --- fc00:0:0:1::12 tcpbench statistics --- 5643895824 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 7516.718/7527.217/7540.685/7.808 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.043 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.043/0.043/0.043/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.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-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 1262839190 10102.714 100.00% Conn: 1 Mbps: 10102.714 Peak Mbps: 10102.714 Avg Mbps: 10102.714 2000 1263622784 10119.101 100.00% Conn: 1 Mbps: 10119.101 Peak Mbps: 10119.101 Avg Mbps: 10119.101 3000 1264146240 10113.170 100.00% Conn: 1 Mbps: 10113.170 Peak Mbps: 10119.101 Avg Mbps: 10113.170 4000 1264424326 10115.395 100.00% Conn: 1 Mbps: 10115.395 Peak Mbps: 10119.101 Avg Mbps: 10115.395 5000 1263655500 10109.244 100.00% Conn: 1 Mbps: 10109.244 Peak Mbps: 10119.101 Avg Mbps: 10109.244 --- 169.254.0.13 tcpbench statistics --- 7582474404 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10102.714/10111.925/10119.101/5.606 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 1253239012 10025.912 100.00% Conn: 1 Mbps: 10025.912 Peak Mbps: 10025.912 Avg Mbps: 10025.912 2000 1257913208 10073.379 100.00% Conn: 1 Mbps: 10073.379 Peak Mbps: 10073.379 Avg Mbps: 10073.379 3000 1257390072 10059.121 100.00% Conn: 1 Mbps: 10059.121 Peak Mbps: 10073.379 Avg Mbps: 10059.121 4000 1256376496 10051.012 100.00% Conn: 1 Mbps: 10051.012 Peak Mbps: 10073.379 Avg Mbps: 10051.012 5000 1253597336 10028.779 100.00% Conn: 1 Mbps: 10028.779 Peak Mbps: 10073.379 Avg Mbps: 10028.779 --- fc00::13 tcpbench statistics --- 7532146156 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10025.912/10047.640/10073.379/18.075 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.053 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.053/0.053/0.053/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 379621744 3036.974 100.00% Conn: 1 Mbps: 3036.974 Peak Mbps: 3036.974 Avg Mbps: 3036.974 2001 380108800 3040.870 100.00% Conn: 1 Mbps: 3040.870 Peak Mbps: 3040.870 Avg Mbps: 3040.870 3001 384303104 3074.425 100.00% Conn: 1 Mbps: 3074.425 Peak Mbps: 3074.425 Avg Mbps: 3074.425 4002 382730240 3061.842 100.00% Conn: 1 Mbps: 3061.842 Peak Mbps: 3074.425 Avg Mbps: 3061.842 5002 380370944 3042.968 100.00% Conn: 1 Mbps: 3042.968 Peak Mbps: 3074.425 Avg Mbps: 3042.968 --- 169.254.1.11 tcpbench statistics --- 2291437936 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 3036.974/3051.416/3074.425/14.348 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 842862000 6742.896 100.00% Conn: 1 Mbps: 6742.896 Peak Mbps: 6742.896 Avg Mbps: 6742.896 2000 891829952 7134.640 100.00% Conn: 1 Mbps: 7134.640 Peak Mbps: 7134.640 Avg Mbps: 7134.640 3000 889483536 7115.868 100.00% Conn: 1 Mbps: 7115.868 Peak Mbps: 7134.640 Avg Mbps: 7115.868 4001 883395656 7067.165 100.00% Conn: 1 Mbps: 7067.165 Peak Mbps: 7134.640 Avg Mbps: 7067.165 5001 873884576 6991.077 100.00% Conn: 1 Mbps: 6991.077 Peak Mbps: 7134.640 Avg Mbps: 6991.077 --- fc00:0:0:1::11 tcpbench statistics --- 5308211208 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6742.896/7010.329/7134.640/142.628 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.043 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.043/0.043/0.043/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.046 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.046/0.046/0.046/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 1274053148 10192.425 100.00% Conn: 1 Mbps: 10192.425 Peak Mbps: 10192.425 Avg Mbps: 10192.425 2000 1276872764 10225.207 100.00% Conn: 1 Mbps: 10225.207 Peak Mbps: 10225.207 Avg Mbps: 10225.207 3000 1278966588 10231.733 100.00% Conn: 1 Mbps: 10231.733 Peak Mbps: 10231.733 Avg Mbps: 10231.733 4000 1281583868 10252.671 100.00% Conn: 1 Mbps: 10252.671 Peak Mbps: 10252.671 Avg Mbps: 10252.671 5000 1280307944 10242.464 100.00% Conn: 1 Mbps: 10242.464 Peak Mbps: 10252.671 Avg Mbps: 10242.464 --- 169.254.1.12 tcpbench statistics --- 7669998432 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10192.425/10228.900/10252.671/20.499 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 1253020292 10024.162 100.00% Conn: 1 Mbps: 10024.162 Peak Mbps: 10024.162 Avg Mbps: 10024.162 2000 1257128504 10067.095 100.00% Conn: 1 Mbps: 10067.095 Peak Mbps: 10067.095 Avg Mbps: 10067.095 3000 1257520856 10060.167 100.00% Conn: 1 Mbps: 10060.167 Peak Mbps: 10067.095 Avg Mbps: 10060.167 4000 1256147624 10049.181 100.00% Conn: 1 Mbps: 10049.181 Peak Mbps: 10067.095 Avg Mbps: 10049.181 5000 1257030416 10056.243 100.00% Conn: 1 Mbps: 10056.243 Peak Mbps: 10067.095 Avg Mbps: 10056.243 --- fc00:0:0:1::12 tcpbench statistics --- 7538335852 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10024.162/10051.370/10067.095/14.788 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.037 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.037/0.037/0.037/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 1254915884 10039.327 100.00% Conn: 1 Mbps: 10039.327 Peak Mbps: 10039.327 Avg Mbps: 10039.327 2000 1255754586 10056.093 100.00% Conn: 1 Mbps: 10056.093 Peak Mbps: 10056.093 Avg Mbps: 10056.093 3000 1258044706 10064.358 100.00% Conn: 1 Mbps: 10064.358 Peak Mbps: 10064.358 Avg Mbps: 10064.358 4000 1257881126 10063.049 100.00% Conn: 1 Mbps: 10063.049 Peak Mbps: 10064.358 Avg Mbps: 10063.049 5000 1258453656 10067.629 100.00% Conn: 1 Mbps: 10067.629 Peak Mbps: 10067.629 Avg Mbps: 10067.629 --- 169.254.0.13 tcpbench statistics --- 7543323676 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10039.327/10058.091/10067.629/10.108 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 1281913436 10255.307 100.00% Conn: 1 Mbps: 10255.307 Peak Mbps: 10255.307 Avg Mbps: 10255.307 2000 1284756624 10288.341 100.00% Conn: 1 Mbps: 10288.341 Peak Mbps: 10288.341 Avg Mbps: 10288.341 3000 1284527752 10276.222 100.00% Conn: 1 Mbps: 10276.222 Peak Mbps: 10288.341 Avg Mbps: 10276.222 4000 1281323544 10250.588 100.00% Conn: 1 Mbps: 10250.588 Peak Mbps: 10288.341 Avg Mbps: 10250.588 5000 1284658536 10277.268 100.00% Conn: 1 Mbps: 10277.268 Peak Mbps: 10288.341 Avg Mbps: 10277.268 --- fc00::13 tcpbench statistics --- 7703015484 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10250.588/10269.545/10288.341/14.280 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.91s