START sys/net/pair 2025-01-22T16:36:12Z ==== 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.035 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.035/0.035/0.035/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.040 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.040/0.040/0.040/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 864472168 6915.777 100.00% Conn: 1 Mbps: 6915.777 Peak Mbps: 6915.777 Avg Mbps: 6915.777 2000 865354396 6929.765 100.00% Conn: 1 Mbps: 6929.765 Peak Mbps: 6929.765 Avg Mbps: 6929.765 3000 867484460 6939.876 100.00% Conn: 1 Mbps: 6939.876 Peak Mbps: 6939.876 Avg Mbps: 6939.876 4000 866498908 6931.991 100.00% Conn: 1 Mbps: 6931.991 Peak Mbps: 6939.876 Avg Mbps: 6931.991 5000 866745296 6940.903 100.00% Conn: 1 Mbps: 6940.903 Peak Mbps: 6940.903 Avg Mbps: 6940.903 --- 169.254.1.11 tcpbench statistics --- 5196434192 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6915.777/6931.662/6940.903/9.043 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 865785168 6926.281 100.00% Conn: 1 Mbps: 6926.281 Peak Mbps: 6926.281 Avg Mbps: 6926.281 2000 866498688 6938.928 100.00% Conn: 1 Mbps: 6938.928 Peak Mbps: 6938.928 Avg Mbps: 6938.928 3000 864437408 6915.499 100.00% Conn: 1 Mbps: 6915.499 Peak Mbps: 6938.928 Avg Mbps: 6915.499 4000 868448976 6947.592 100.00% Conn: 1 Mbps: 6947.592 Peak Mbps: 6947.592 Avg Mbps: 6947.592 5000 866649320 6933.195 100.00% Conn: 1 Mbps: 6933.195 Peak Mbps: 6947.592 Avg Mbps: 6933.195 --- fc00:0:0:1::11 tcpbench statistics --- 5195091552 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6915.499/6932.299/6947.592/10.928 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.117 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.117/0.117/0.117/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 364049864 2909.489 100.00% Conn: 1 Mbps: 2909.489 Peak Mbps: 2909.489 Avg Mbps: 2909.489 2001 376963072 3015.705 100.00% Conn: 1 Mbps: 3015.705 Peak Mbps: 3015.705 Avg Mbps: 3015.705 3002 374865920 2998.927 100.00% Conn: 1 Mbps: 2998.927 Peak Mbps: 3015.705 Avg Mbps: 2998.927 4002 373030912 2984.247 100.00% Conn: 1 Mbps: 2984.247 Peak Mbps: 3015.705 Avg Mbps: 2984.247 5002 369801296 2961.372 100.00% Conn: 1 Mbps: 2961.372 Peak Mbps: 3015.705 Avg Mbps: 2961.372 --- 169.254.1.12 tcpbench statistics --- 2227809816 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2909.489/2973.948/3015.705/36.842 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 348372616 2784.197 100.00% Conn: 1 Mbps: 2784.197 Peak Mbps: 2784.197 Avg Mbps: 2784.197 2002 358088704 2864.710 100.00% Conn: 1 Mbps: 2864.710 Peak Mbps: 2864.710 Avg Mbps: 2864.710 3002 357826560 2862.612 100.00% Conn: 1 Mbps: 2862.612 Peak Mbps: 2864.710 Avg Mbps: 2862.612 4003 359399424 2875.195 100.00% Conn: 1 Mbps: 2875.195 Peak Mbps: 2875.195 Avg Mbps: 2875.195 5003 360448000 2883.584 100.00% Conn: 1 Mbps: 2883.584 Peak Mbps: 2883.584 Avg Mbps: 2883.584 --- fc00:0:0:1::12 tcpbench statistics --- 2141437576 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2784.197/2854.060/2883.584/35.737 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.054 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.054/0.054/0.054/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.058 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.058/0.058/0.058/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 739362700 5914.902 100.00% Conn: 1 Mbps: 5914.902 Peak Mbps: 5914.902 Avg Mbps: 5914.902 2000 781510804 6252.086 100.00% Conn: 1 Mbps: 6252.086 Peak Mbps: 6252.086 Avg Mbps: 6252.086 3000 787829464 6302.636 100.00% Conn: 1 Mbps: 6302.636 Peak Mbps: 6302.636 Avg Mbps: 6302.636 4000 781518332 6252.147 100.00% Conn: 1 Mbps: 6252.147 Peak Mbps: 6302.636 Avg Mbps: 6252.147 5000 781781316 6254.251 100.00% Conn: 1 Mbps: 6254.251 Peak Mbps: 6302.636 Avg Mbps: 6254.251 --- 169.254.0.13 tcpbench statistics --- 4652395820 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5914.902/6195.204/6302.636/141.475 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 663233192 5305.866 100.00% Conn: 1 Mbps: 5305.866 Peak Mbps: 5305.866 Avg Mbps: 5305.866 2000 692664032 5541.312 100.00% Conn: 1 Mbps: 5541.312 Peak Mbps: 5541.312 Avg Mbps: 5541.312 3001 694009712 5546.531 100.00% Conn: 1 Mbps: 5546.531 Peak Mbps: 5546.531 Avg Mbps: 5546.531 4001 695522920 5564.183 100.00% Conn: 1 Mbps: 5564.183 Peak Mbps: 5564.183 Avg Mbps: 5564.183 5002 695452608 5563.621 100.00% Conn: 1 Mbps: 5563.621 Peak Mbps: 5564.183 Avg Mbps: 5563.621 --- fc00::13 tcpbench statistics --- 4136487784 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 5305.866/5504.303/5564.183/99.634 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.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-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.044 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.044/0.044/0.044/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 1000 364270272 2914.162 100.00% Conn: 1 Mbps: 2914.162 Peak Mbps: 2914.162 Avg Mbps: 2914.162 2001 371982336 2975.859 100.00% Conn: 1 Mbps: 2975.859 Peak Mbps: 2975.859 Avg Mbps: 2975.859 3001 371095752 2968.766 100.00% Conn: 1 Mbps: 2968.766 Peak Mbps: 2975.859 Avg Mbps: 2968.766 4002 370525304 2964.202 100.00% Conn: 1 Mbps: 2964.202 Peak Mbps: 2975.859 Avg Mbps: 2964.202 5002 367263744 2938.110 100.00% Conn: 1 Mbps: 2938.110 Peak Mbps: 2975.859 Avg Mbps: 2938.110 --- 169.254.1.11 tcpbench statistics --- 2215022592 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2914.162/2952.220/2975.859/22.907 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 349257652 2791.270 100.00% Conn: 1 Mbps: 2791.270 Peak Mbps: 2791.270 Avg Mbps: 2791.270 2001 358612992 2868.904 100.00% Conn: 1 Mbps: 2868.904 Peak Mbps: 2868.904 Avg Mbps: 2868.904 3002 358612992 2868.904 100.00% Conn: 1 Mbps: 2868.904 Peak Mbps: 2868.904 Avg Mbps: 2868.904 4002 357040128 2856.321 100.00% Conn: 1 Mbps: 2856.321 Peak Mbps: 2868.904 Avg Mbps: 2856.321 5002 358612992 2868.904 100.00% Conn: 1 Mbps: 2868.904 Peak Mbps: 2868.904 Avg Mbps: 2868.904 --- fc00:0:0:1::11 tcpbench statistics --- 2139701172 bytes sent over 6.001 seconds bandwidth min/avg/max/std-dev = 2791.270/2850.861/2868.904/30.191 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.036 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.036/0.036/0.036/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.040 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.040/0.040/0.040/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 833846728 6670.774 100.00% Conn: 1 Mbps: 6670.774 Peak Mbps: 6670.774 Avg Mbps: 6670.774 2000 831195440 6656.220 100.00% Conn: 1 Mbps: 6656.220 Peak Mbps: 6670.774 Avg Mbps: 6656.220 3000 832013560 6656.108 100.00% Conn: 1 Mbps: 6656.108 Peak Mbps: 6670.774 Avg Mbps: 6656.108 4000 830962312 6647.698 100.00% Conn: 1 Mbps: 6647.698 Peak Mbps: 6670.774 Avg Mbps: 6647.698 5000 830947832 6647.583 100.00% Conn: 1 Mbps: 6647.583 Peak Mbps: 6670.774 Avg Mbps: 6647.583 --- 169.254.1.12 tcpbench statistics --- 4989732704 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6647.583/6655.677/6670.774/8.457 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 842217264 6737.738 100.00% Conn: 1 Mbps: 6737.738 Peak Mbps: 6737.738 Avg Mbps: 6737.738 2000 840530796 6730.977 100.00% Conn: 1 Mbps: 6730.977 Peak Mbps: 6737.738 Avg Mbps: 6730.977 3000 841416156 6731.329 100.00% Conn: 1 Mbps: 6731.329 Peak Mbps: 6737.738 Avg Mbps: 6731.329 4000 842008776 6736.070 100.00% Conn: 1 Mbps: 6736.070 Peak Mbps: 6737.738 Avg Mbps: 6736.070 5000 841537536 6732.300 100.00% Conn: 1 Mbps: 6732.300 Peak Mbps: 6737.738 Avg Mbps: 6732.300 --- fc00:0:0:1::12 tcpbench statistics --- 5048823948 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 6730.977/6733.683/6737.738/2.717 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.039 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.039/0.039/0.039/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.041 ms --- fc00::13 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-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 1262711030 10101.688 100.00% Conn: 1 Mbps: 10101.688 Peak Mbps: 10101.688 Avg Mbps: 10101.688 2000 1267908580 10153.422 100.00% Conn: 1 Mbps: 10153.422 Peak Mbps: 10153.422 Avg Mbps: 10153.422 3000 1268170308 10145.362 100.00% Conn: 1 Mbps: 10145.362 Peak Mbps: 10153.422 Avg Mbps: 10145.362 4000 1268366604 10146.933 100.00% Conn: 1 Mbps: 10146.933 Peak Mbps: 10153.422 Avg Mbps: 10146.933 5000 1266959816 10135.679 100.00% Conn: 1 Mbps: 10135.679 Peak Mbps: 10153.422 Avg Mbps: 10135.679 --- 169.254.0.13 tcpbench statistics --- 7601566894 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10101.688/10136.617/10153.422/18.364 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 1071620508 8572.964 100.00% Conn: 1 Mbps: 8572.964 Peak Mbps: 8572.964 Avg Mbps: 8572.964 2000 1072494192 8588.542 100.00% Conn: 1 Mbps: 8588.542 Peak Mbps: 8588.542 Avg Mbps: 8588.542 3000 1073082720 8584.662 100.00% Conn: 1 Mbps: 8584.662 Peak Mbps: 8588.542 Avg Mbps: 8584.662 4000 1070597824 8564.783 100.00% Conn: 1 Mbps: 8564.783 Peak Mbps: 8588.542 Avg Mbps: 8564.783 5000 1070859392 8566.875 100.00% Conn: 1 Mbps: 8566.875 Peak Mbps: 8588.542 Avg Mbps: 8566.875 --- fc00::13 tcpbench statistics --- 6430887260 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8564.783/8575.565/8588.542/9.484 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.045 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.045/0.045/0.045/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.050 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.050/0.050/0.050/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 363278608 2906.229 100.00% Conn: 1 Mbps: 2906.229 Peak Mbps: 2906.229 Avg Mbps: 2906.229 2000 368984744 2954.833 100.00% Conn: 1 Mbps: 2954.833 Peak Mbps: 2954.833 Avg Mbps: 2954.833 3000 370933760 2967.470 100.00% Conn: 1 Mbps: 2967.470 Peak Mbps: 2967.470 Avg Mbps: 2967.470 4001 370933760 2967.470 100.00% Conn: 1 Mbps: 2967.470 Peak Mbps: 2967.470 Avg Mbps: 2967.470 5001 370671616 2965.373 100.00% Conn: 1 Mbps: 2965.373 Peak Mbps: 2967.470 Avg Mbps: 2965.373 --- 169.254.1.11 tcpbench statistics --- 2215211960 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 2906.229/2952.275/2967.470/23.495 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 821455592 6571.645 100.00% Conn: 1 Mbps: 6571.645 Peak Mbps: 6571.645 Avg Mbps: 6571.645 2000 846679464 6773.436 100.00% Conn: 1 Mbps: 6773.436 Peak Mbps: 6773.436 Avg Mbps: 6773.436 3000 840695808 6725.566 100.00% Conn: 1 Mbps: 6725.566 Peak Mbps: 6773.436 Avg Mbps: 6725.566 4000 834666496 6677.332 100.00% Conn: 1 Mbps: 6677.332 Peak Mbps: 6773.436 Avg Mbps: 6677.332 5001 833093632 6664.749 100.00% Conn: 1 Mbps: 6664.749 Peak Mbps: 6773.436 Avg Mbps: 6664.749 --- fc00:0:0:1::11 tcpbench statistics --- 5013878928 bytes sent over 6.000 seconds bandwidth min/avg/max/std-dev = 6571.645/6682.546/6773.436/67.461 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.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-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.043 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.043/0.043/0.043/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 1251910686 10015.285 100.00% Conn: 1 Mbps: 10015.285 Peak Mbps: 10015.285 Avg Mbps: 10015.285 2000 1255247488 10052.032 100.00% Conn: 1 Mbps: 10052.032 Peak Mbps: 10052.032 Avg Mbps: 10052.032 3000 1258093780 10064.750 100.00% Conn: 1 Mbps: 10064.750 Peak Mbps: 10064.750 Avg Mbps: 10064.750 4000 1261332664 10090.661 100.00% Conn: 1 Mbps: 10090.661 Peak Mbps: 10090.661 Avg Mbps: 10090.661 5000 1262036058 10096.288 100.00% Conn: 1 Mbps: 10096.288 Peak Mbps: 10096.288 Avg Mbps: 10096.288 --- 169.254.1.12 tcpbench statistics --- 7553846544 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10015.285/10063.803/10096.288/29.224 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 1071581728 8572.654 100.00% Conn: 1 Mbps: 8572.654 Peak Mbps: 8572.654 Avg Mbps: 8572.654 2000 1070663216 8573.880 100.00% Conn: 1 Mbps: 8573.880 Peak Mbps: 8573.880 Avg Mbps: 8573.880 3000 1070663216 8565.306 100.00% Conn: 1 Mbps: 8565.306 Peak Mbps: 8573.880 Avg Mbps: 8565.306 4000 1070826696 8566.614 100.00% Conn: 1 Mbps: 8566.614 Peak Mbps: 8573.880 Avg Mbps: 8566.614 5000 1069780424 8558.243 100.00% Conn: 1 Mbps: 8558.243 Peak Mbps: 8573.880 Avg Mbps: 8558.243 --- fc00:0:0:1::12 tcpbench statistics --- 6423263008 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 8558.243/8567.339/8573.880/5.629 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.039 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.039/0.039/0.039/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.039 ms --- fc00::13 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/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 1269365122 10154.921 100.00% Conn: 1 Mbps: 10154.921 Peak Mbps: 10154.921 Avg Mbps: 10154.921 2000 1269936972 10169.665 100.00% Conn: 1 Mbps: 10169.665 Peak Mbps: 10169.665 Avg Mbps: 10169.665 3000 1270558576 10164.469 100.00% Conn: 1 Mbps: 10164.469 Peak Mbps: 10169.665 Avg Mbps: 10164.469 4000 1269936972 10159.496 100.00% Conn: 1 Mbps: 10159.496 Peak Mbps: 10169.665 Avg Mbps: 10159.496 5000 1265176794 10121.414 100.00% Conn: 1 Mbps: 10121.414 Peak Mbps: 10169.665 Avg Mbps: 10121.414 --- 169.254.0.13 tcpbench statistics --- 7613341040 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10121.414/10153.993/10169.665/17.017 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 1288439316 10307.515 100.00% Conn: 1 Mbps: 10307.515 Peak Mbps: 10307.515 Avg Mbps: 10307.515 2000 1289530240 10326.568 100.00% Conn: 1 Mbps: 10326.568 Peak Mbps: 10326.568 Avg Mbps: 10326.568 3000 1291361216 10330.890 100.00% Conn: 1 Mbps: 10330.890 Peak Mbps: 10330.890 Avg Mbps: 10330.890 4000 1288516664 10308.133 100.00% Conn: 1 Mbps: 10308.133 Peak Mbps: 10330.890 Avg Mbps: 10308.133 5000 1292701752 10341.614 100.00% Conn: 1 Mbps: 10341.614 Peak Mbps: 10341.614 Avg Mbps: 10341.614 --- fc00::13 tcpbench statistics --- 7742727804 bytes sent over 5.999 seconds bandwidth min/avg/max/std-dev = 10307.515/10322.944/10341.614/13.284 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.82s