In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How to detect the network condition between the local network and the ECS instance? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!
Detect the network condition between the local network and the ECS instance
If the upload bandwidth of your local network is large, but the speed of uploading data to the ECS instance is slow, you need to check the network condition between the local network and the ECS instance.
The network condition between your local network and the ECS instance is affected by the following three factors:
The peak outbound and inbound bandwidth of the ECS instance. No matter classic network or VPC network, the maximum outbound bandwidth is 200 Mbit/s, while the maximum inbound bandwidth is determined by outbound bandwidth. For more information, please see Public Network bandwidth Billing.
The upload bandwidth of your local network.
The quality of the network between your local and ECS instances.
The following describes how to detect the network condition between the local to the ECS instance.
prerequisite
Add a rule to the security group where the ECS instance resides to allow remote ping ECS instance addresses. For more information, see typical applications of security group rules.
The ECS instance is running.
Operation steps
Suppose your local machine is running Windows system, and use Aliyun DNS IP address (223.5.5.5) as the example of public network IP address of Aliyun ECS instance.
Follow these steps to check the network condition between the local machine and the ECS instance:
Open a command prompt (cmd) on your local machine.
Run ping [the public network IP address of the ECS instance]. In this example, run ping 223.5.5.5 and return the result as shown below.
Ping 223.5.5.5 has 32 bytes of data: reply from 223.5.5.5: byte = 32 time = 17ms TTL=56 from 223.5.5.5 reply: byte = 32 time = 17ms TTL=56 reply from 223.5.5.5: byte = 32 time = 5ms TTL=56 reply from 223.5.5.5: byte = 32 time = 9ms TTL=56223.5.5.5 Ping Statistics: packet: sent = 4 Received = 4, lost = 0 (0% lost), estimated time of round trip (in milliseconds): shortest = 5ms, longest = 17ms, average = 12ms
Description: this command is used to detect whether the network is connected, the network delay, whether the network is stable, whether there is packet loss, and so on. If the network is normal, the average time is generally tens of milliseconds.
Run tracert-d [the public network IP address of the ECS instance]. In this example, run tracert-d 223.5.5.5 and return the result as shown below.
Routes tracked to 223.5.5.5 through up to 30 hops
1 13 ms 4 ms 4 ms 10.1.40.12 2 ms 27 ms 15 ms 10.64.200.333 8 ms 10 ms 6 ms 10.64.1.14 10 ms 2 ms 5 ms 42.120.74.45 20 ms 3 ms 4 ms 42.120.253.2336 28 ms 12 ms 7 ms 42.120.244.1707 3 ms 4 ms 4 ms 42 .120.244.2348 * request timed out. 9 5 ms 10 ms 7 ms 223.5.5.5
Tracking complete.
Description: this command is used to detect the path from your local network to the ECS instance, as well as the latency of each intermediate network device. In Chinese mainland, the delay of each segment of normal access is usually tens of milliseconds. It is possible that some of the intermediate nodes time out but eventually reach the ECS instance, which may be due to the low priority of the intermediate link to ICMP response or the prohibition of ICMP response. For more information about tracert, see the link test instructions when ping is lost or unavailable.
Thank you for reading! After reading the above, do you have a general idea of how to detect the network condition between the local network and the ECS instance? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.