In CentOS6.5, iperf is used to detect the network bandwidth between hosts.

Source: Internet
Author: User


Background:

When debugging the network, I often need to check the maximum bandwidth between the two hosts. I have been using the iperf command, and the effect is very good, but I found some O & M friends do not know that this tool is available, so I plan to write an article for a brief introduction.

Specific operations:

Operating system: CentOS6.5 x86_64 Minimal
Server:
192.168.10.11
192.168.10.12

Root@192.168.10.11 ~ # Yum install http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
Root@192.168.10.11 ~ # Yum install iperf

Root@192.168.10.12 ~ # Yum install http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
Root@192.168.10.12 ~ # Yum install iperf

Root@192.168.10.12 ~ # Iperf-s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)

Root@192.168.10.11 ~ # Iperf-c 192.168.10.12
------------------------------------------------------------
Client connecting to 192.168.10.12, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[3] local 192.168.10.11 port 23351 connected with 192.168.10.12 port 5001
[ID] Interval Transfer Bandwidth
[3] 0.0-10.0 sec 744 MBytes 624 Mbits/sec

Root@192.168.10.12 ~ # Iperf-s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[4] local 192.168.10.12 port 5001 connected with 192.168.10.11 port 23351
[ID] Interval Transfer Bandwidth
[4] 0.0-10.0 sec 744 MBytes 623 Mbits/sec

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.