No part of this document may be reproduced or transmitted in any form or by any means without prior
written consent of Huawei Technologies Co., Ltd.
Trademarks and Permissions
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specied in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees
or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every eort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
1.1 What Is a Quota?.................................................................................................................................................................... 1
1.4 Can an EIP That Uses Dedicated Bandwidth Be Changed to Use Shared Bandwidth?...................................3
1.5 Can I Bind an EIP to Multiple ECSs?................................................................................................................................. 3
1.6 What Are the Dierences Between the Primary and Extension NICs of ECSs?.................................................3
1.7 What Is the EIP Assignment Policy?................................................................................................................................. 3
1.8 Can I Assign a
1.9 Does an EIP Change Over Time?....................................................................................................................................... 4
1.10 How Do I Query the Region of My EIPs?..................................................................................................................... 4
1.11 Can a Bandwidth Be Used by Multiple Accounts?.................................................................................................... 4
1.12 How Do I Change an EIP for an Instance?...................................................................................................................4
1.13 What Are the
1.14 Do I Need to Congure a Shared Data Package for Use After It Is Purchased?.............................................8
1.15 What Should I Do If I Cannot Find My Purchased EIP on the Management Console?................................8
Dierences Between EIP, Private IP Address, Floating IP Address, and Virtual IP Address?
2 Billing and Payments............................................................................................................10
2.1 How Is an EIP Billed? ..........................................................................................................................................................10
2.2 How Do I Change the Billing Mode?............................................................................................................................. 11
2.3 How Do I Change the Bandwidth Billing Option from Bandwidth to
3 EIP Binding and Unbinding................................................................................................. 14
3.1 How Do I Access an ECS from the Internet After an EIP Is Bound to the ECS?.............................................. 14
3.2 How Do I Access the Internet Using an EIP Bound to an Extension NIC?........................................................ 14
3.3 Can I Bind an EIP to an ECS, to Another ECS?............................................................................................................16
3.4 Can Multiple EIPs Be Bound to an ECS?....................................................................................................................... 16
3.5 Can I Bind an EIP to a Cloud Resource in Another Region?.................................................................................. 17
4.1 What Is the Bandwidth Size Range?.............................................................................................................................. 18
4.2 How Do I Increase a Bandwidth to Be More Than 300 Mbit/s?...........................................................................18
4.3 What Bandwidth Types Does the VPC Service Support?.........................................................................................18
4.4 How Do I Buy a Shared Bandwidth?..............................................................................................................................19
5.1 What Are the Priorities of the Custom Route and EIP If Both Are Congured for an ECS to Enable the
ECS to Access the Internet?...................................................................................................................................................... 24
5.2 Why Does Internet Access Fail Even If My ECS Is Bound with an EIP?..............................................................24
5.3 Why Cannot an EIP Be Pinged?....................................................................................................................................... 28
5.4 How Do I Unblock an EIP?................................................................................................................................................ 35
A quota limits the quantity of a resource available to users, thereby preventing
spikes in the usage of the resource. For example, a VPC quota limits the number
of VPCs that can be created.
You can also request for an increase in quota if an existing quota cannot meet
your service requirements.
How Do I View My Quotas?
1.Log in to the management console.
2.Click
3.In the upper right corner of the page, choose Resources > My Quotas.
The Service Quota page is displayed.
Figure 1-1 My Quotas
in the upper left corner and select the desired region and project.
4.View the used and total quota of each type of resources on the displayed
page.
If a quota cannot meet service requirements, apply for a higher quota.
How Do I Apply for a Higher Quota?
1.Log in to the management console.
2.In the upper right corner of the page, choose Resources > My Quotas.
The Service Quota page is displayed.
Figure 1-2 My Quotas
3.Click Increase Quota.
4.On the Create Service Ticket page, congure parameters as required.
In Problem Description area, ll in the content and reason for adjustment.
5.After all necessary parameters are congured, select I have read and agree
to the Tenant Authorization Letter and Privacy Statement and click
Submit.
1.2 How Do I Assign or Retrieve a
If you want to retrieve an EIP that you have released or assign a specic EIP, you
can use APIs. When assigning an EIP, set the value of ip_address to the IP address
that you want to assign. For details, see Elastic IP API Reference.
● If the EIP has been assigned to another user, you will fail to assign your required EIP.
● You cannot use the management console to assign a
Specic EIP?
specic EIP.
1.3 What Are the Dierences Between EIP, Private IP
Address, Floating IP Address, and Virtual IP Address?
An EIP is an IP address that can be accessed over the Internet. Each EIP can be
used by only one ECS at a time.
A private IP address is used by the internal network of the public cloud for internal
communications. It cannot be accessed over the Internet.
A oating IP address is similar to an EIP. They are both public IP addresses that are
used to connect to the Internet, but a oating IP address API cannot be used to
congure bandwidth parameters. For details, see Floating IP Address.
A virtual IP address can be shared among multiple ECSs. A virtual IP address is
used for active/standby switchover of ECSs for higher availability. If the active ECS
becomes faulty and cannot provide services, the virtual IP address is dynamically
re-assigned to the standby ECS so services can continue uninterrupted. For details,
see Virtual IP Address Overview.
1.4 Can an EIP That Uses Dedicated Bandwidth Be
Changed to Use Shared Bandwidth?
No. An EIP that uses the dedicated bandwidth cannot be changed to use shared
bandwidth.
In addition, an EIP that uses the shared bandwidth cannot be changed to use the
dedicated bandwidth.
1.5 Can I Bind an EIP to Multiple ECSs?
Each EIP can be bound to only one ECS at a time.
Multiple ECSs cannot share the same EIP. An ECS and its bound EIP must be in the
same region. If you want multiple ECSs in the same VPC to share an EIP, you have
to use a NAT gateway. For more information, see NAT Gateway User Guide.
1.6 What Are the
Dierences Between the Primary and
Extension NICs of ECSs?
The dierences are as follows:
●Generally, the OS default routes preferentially use the primary NICs. If the OS
default routes use the extension NICs, network communication will be
interrupted. Then, you can check the route
network communication error.
●Primary NICs can communicate with the public service zone (zone where PaaS
and DNS services are deployed). Extension NICs cannot communicate this
zone.
conguration to rectify the
1.7 What Is the EIP Assignment Policy?
By default, an EIP is assigned randomly.
In case that an EIP is released by mistake, the system will assign you the EIP that
you have released in the last 24 hours preferentially.
If you want an EIP that you released 24 hours ago, see How Do I Assign or
If you do not want an EIP that you have released, it is recommended that you buy
an EIP rst and then release the one that you do not require any more.
1.8 Can I Assign a Specic EIP?
By default, an EIP is assigned randomly. If you used to release EIPs, the system
preferentially assigns an EIP from what you released.
To assign a specic EIP, you can call APIs. For details, see Assigning an EIP.
1.9 Does an EIP Change Over Time?
The EIP bound to an ECS will not be changed after the ECS is stopped and then
started.
Stopping and starting an ECS does not aect its EIP.
An EIP will be released if it expires or is in arrears.
1.10 How Do I Query the Region of My EIPs?
You can visit https://en.ipip.net/?origin=CN to query the region of your EIPs.
●The region of an IP address you searched through a third-party website may
be dierent from the actual region to which the IP address belongs.
●If the region searched through a third-party website is dierent from that
searched on https://en.ipip.net/?origin=CN, use the region searched on
https://en.ipip.net/?origin=CN.
●If the region searched on https://en.ipip.net/?origin=CN is
region you selected when purchasing the EIP, use the region you selected
when purchasing the EIP.
●If your service is adversely
region of the EIP you searched on the third-party database and the region of
the EIP you selected when buying the EIP, submit a service ticket.
To know more about the region of EIPs, submit a service ticket.
aected due to the inconsistency between the
dierent from the
1.11 Can a Bandwidth Be Used by Multiple Accounts?
A bandwidth cannot be used by dierent accounts. Each account can use and
manage only its own EIP bandwidths.
c.In the load balancer list, locate the target load balancer and choose More
> Bind EIP in the Operation column.
d.In the Bind EIP dialog box, select the EIP to be bound and click OK.
4.Release the EIP that has been replaced. For details, see 4.
Scenario 3: Changing an EIP for a NAT Gateway
1.Assign an EIP. For details, see 2.
2.Modify an SNAT rule.
For details about how to modify an SNAT rule, see Modifying an SNAT Rule.
In the EIP area, select the newly assigned EIP and deselect the original EIP
(ensure that the deselected EIP belongs to the IP address range on Telefonica
Open Cloud).
Figure 1-3 Selecting the newly assigned EIP
3.Modify a DNAT rule.
For details about how to modify a DNAT rule, see Modifying a DNAT Rule.
In the EIP area, select the newly assigned EIP (ensure that the original EIP
belongs to the IP address range on Telefonica Open Cloud).
4.Release the EIP that has been replaced. For details, see 4.
1.13 What Are the Dierences Between Shared Data
Package and Shared Bandwidth?
Shared data package and shared bandwidth are two dierent products.
Table 1-1
Aspect
CustomerAll customersMedium- and large-scale
FeatureAfter a shared data package takes
Dierences between shared data package and shared bandwidth
Shared Data PackageShared Bandwidth
customers
Multiple pay-per-use EIPs can
eect, EIPs billed by trac will
use the shared data package rst.
After the shared data package is
used up, the EIPs will be billed by
trac on a pay-per-use basis.
A shared data package is more
cost-eective than billing by
trac on the yearly/monthly
A shared data package takes
eect immediately after being
purchased and you do not need to
perform any congurations.
After purchasing a shared
bandwidth, you need to add
EIPs to the shared bandwidth.
Elastic IP
FAQs1 Product Consultation
1.14 Do I Need to Congure a Shared Data Package for
Use After It Is Purchased?
No.
A shared data package takes
additional operations are required. If you have subscribed to pay-per-use EIPs
using bandwidth billed by trac in a region and buy a shared data package in the
same region, the EIPs will use the shared data package.
eect immediately after being purchased and no
1.15 What Should I Do If I Cannot Find My Purchased
EIP on the Management Console?
Symptom
After I logged in to the management console, I could not
Possible Cause
●Your EIP is not in the current region. For details, see EIP Not in the Current
Region.
●Your EIP was released because it was expired but was not renewed. For
details, see EIP Was Released.
EIP Not in the Current Region
nd my purchased EIP.
Method 1
1.Log in to the management console.
2.Change the region to the one that your EIP resides.
Figure 1-5 Changing a region on the management console homepage
Method 2
1.Log in to the management console.
2.On the management console homepage, click View Resources in All Regions
under My Resources.
Changing the Billing Mode from Pay-per-Use to Yearly/Monthly
You can change the billing mode of pay-per-use EIPs and shared bandwidth billed
by bandwidth to yearly/monthly. After the change is successful, the new billing
mode will take
You can change the billing mode on the EIP console. Do as follows to change the
billing mode of an EIP from pay-per-use to yearly/monthly.
The billing mode of an EIP that is billed by trac on a pay-per-use basis cannot be directly
changed to yearly/monthly. Change the EIP to be billed by bandwidth and then change its
billing mode to yearly/monthly.
1.Log in to the management console.
2.Under Network, click Elastic IP.
3.On the displayed page, search for the pay-per-use EIP whose billing mode is
to be changed.
4.Locate the row that contains the target EIP and click Change Billing Mode in
the Operation column.
eect immediately.
Figure 2-1 Changing the billing mode on the EIP console
You can also select multiple EIPs and click Change Billing Mode above the EIP list
to change all the EIP billing modes at the same time.
Changing the Billing Mode from Yearly/Monthly to Pay-per-Use
The billing mode of yearly/monthly EIPs and shared bandwidth can be changed to
pay-per-use. The new billing mode takes eect only after the required duration of
the yearly/monthly billing mode expires.
The billing mode of an EIP can be changed from yearly/monthly to pay-per-use in
the billing center. Do as follows to change the billing mode of an EIP from yearly/
monthly to pay-per-use:
1.Log in to the management console.
2.Choose Billing > Renewal.
Figure 2-3 Renewal
3.In the search box on the right, search for the EIP whose billing mode you
want to change.
4.Locate the row that contains the target EIP and click Change to Pay-per-Use
After Expiration in the Operation column.
Figure 2-4 Changing the billing mode to pay-per-use
5.In the page that is displayed, click the Change to Pay-per-Use button.
3.1 How Do I Access an ECS from the Internet After an
EIP Is Bound to the ECS?
Each ECS is automatically added to a security group after being created to ensure
its security. The security group denies access
(except TCP trac from port 22 through SSH to the Linux OS and TCP trac from
port 3389 through RDP to the Windows OS). To allow external access to ECSs in
the security group, add an inbound rule to the security group.
You can set Protocol to TCP, UDP, ICMP, or All as required on the page for
creating a security group rule.
●If the ECS needs to be accessible over the Internet and the IP address used to
access the ECS over the Internet has been
does not need to be accessible over the Internet, set Source to the IP address
range containing the IP address that is allowed to access the ECS over the
Internet.
●If the ECS needs to be accessible over the Internet and the IP address used to
access the ECS over the Internet has not been
recommended that you retain the default setting 0.0.0.0/0 for Source, and
then set Port Range to improve network security.
●Allocate ECSs that have
groups.
The default source IP address 0.0.0.0/0 indicates that all IP addresses can access ECSs
in the security group.
dierent Internet access policies to dierent security
trac from the Internet by default
congured on the ECS, or the ECS
congured on the ECS, it is
3.2 How Do I Access the Internet Using an EIP Bound
to an Extension NIC?
1.After an EIP is bound to an extension NIC, log in to the ECS and run the route
command to query the route.
2.Run the following command to congure a routing policy:
ip route add 11.11.11.0/24 dev eth1 via 192.168.2.1
In the preceding command, 192.168.2.1 is the gateway IP address of standby
NIC eth1.
Example 2:
Based on example 1, if you are required to enable routing for default public
network
congure a routing policy:
1.Log in to the ECS.
2.Run the following command to delete the default route:
3.Run the following command to
trac through standby NIC eth1, perform the following operations to
ip route delete default
congure a new default route:
ip route add 0.0.0.0/0 dev eth1 via 192.168.2.1
In the preceding command, 192.168.2.1 is the gateway IP address of standby
NIC eth1.
3.5 Can I Bind an EIP to a Cloud Resource in Another
Region?
No. EIPs can only be bound to cloud resources within the same region. For
example, an EIP in the CN North-Beijing1 region cannot be bound to a resource
in the CN North-Beijing4 region.
The bandwidth ranges from 1 Mbit/s to 2000 Mbit/s.
The bandwidth in regions LA-Mexico City1 and LA-Sao Paulo1 ranges from 1
Mbit/s to 1000 Mbit/s.
4.2 How Do I Increase a Bandwidth to Be More Than
300 Mbit/s?
Symptom
The EIP billed by
Solution
Currently, the EIP billed by trac can be increased to a maximum of 300 Mbit/s. If
a higher bandwidth is required, you need to change the EIP to be billed by
bandwidth. Then, your bandwidth can be increased to a maximum of 2000 Mbit/s.
If your bandwidth usage is high, billing by bandwidth is more
billing by trac. For details, see Modifying EIP Bandwidth.
trac cannot be increased to be more than 300 Mbit/s.
cost-eective than
4.3 What Bandwidth Types Does the VPC Service
Support?
The VPC service supports dedicated bandwidth and shared bandwidth. The
dedicated bandwidth can only be used by one EIP, whereas the shared bandwidth
can be used by multiple EIPs.
2.On the console homepage, under Network, click Virtual Private Cloud.
3.In the navigation pane on the left, choose Elastic IP and Bandwidth >
Shared Bandwidths.
4.In the upper right corner, click Buy Shared Bandwidth. On the displayed
congure parameters as prompted to buy a shared bandwidth.
page,
4.5 Is There a Limit to the Number of EIPs That Can Be
Added to Each Shared Bandwidth?
A maximum of 20 EIPs can be added to each shared bandwidth. If you want to
add more EIPs to each shared bandwidth, submit a service ticket to request a
quota increase.
4.6 What Are the
Dierences Between a Dedicated
Bandwidth and a Shared Bandwidth? Can a Dedicated
Bandwidth Be Changed to a Shared Bandwidth or the
Other Way Around?
Dedicated bandwidth: The bandwidth can only be used by one EIP and the EIP can
only be used by one cloud resource, such as an ECS and a NAT gateway.
Shared bandwidth: The bandwidth can be shared by multiple EIPs. You can add
multiple pay-per-use EIPs to the bandwidth. Adding an EIP to or removing an EIP
from a shared bandwidth does not
A dedicated bandwidth cannot be changed to a shared bandwidth or the other
way around. However, you can purchase shared bandwidth for pay-per-use EIPs.
●After an EIP is added to a shared bandwidth, the EIP will use the shared
bandwidth.
●After an EIP is removed from the shared bandwidth, the EIP will use the
dedicated bandwidth.
aect running services.
4.7 What Are Inbound Bandwidth and Outbound
Bandwidth?
Inbound bandwidth: refers to the bandwidth consumed when data is transferred
from the Internet to HUAWEI CLOUD. For example, resources are downloaded
from the Internet to ECSs in the cloud.
Outbound bandwidth: refers to the bandwidth consumed when data is transferred
from HUAWEI CLOUD to the Internet. For example, the ECSs in the cloud provide
services accessible from the Internet and external users download resources from
the ECSs.
Figure 4-1 Inbound bandwidth and outbound bandwidth
HUAWEI CLOUD only bills for the outbound bandwidth.
Inbound and outbound bandwidths have been adjusted as follows since July 31, 2020
00:00:00 GMT+08:00:
●If your purchased or modied bandwidth is less than or equal to 10 Mbit/s, the
inbound bandwidth will be 10 Mbit/s, and the outbound bandwidth will be the same
as the purchased or modied bandwidth.
●If your purchased or
and the outbound bandwidth will be the same as the purchased or modied
bandwidth.
modied bandwidth is greater than 10 Mbit/s, both the inbound
4.8 How Do I Know If My Used Bandwidth Exceeds the
Limit?
Symptom
The bandwidth size
the upper limit of the outbound bandwidth. If web applications that depend on
the Internet freeze, check whether the dedicated bandwidth of the EIP bound to
the ECS is greater than the
If the bandwidth exceeds the congured bandwidth size, packet loss may occur. To ensure
normal service running, it is recommended that you monitor the bandwidth.
Troubleshooting
The following fault causes are sequenced based on their occurrence probability.
If the fault persists after you have ruled out a cause, check other causes.
congured when you buy a dedicated or shared bandwidth is
EIP connection failureSee Why Does Internet Access Fail Even If My ECS Is
See System Processes Leading to High Bandwidth
See Improper Cloud Eye Alarm Rules
Bound with an EIP?
System Processes Leading to High Bandwidth
If system processes leading to excessively high bandwidth or CPU usage, your ECS
will run slowly or be inaccessible unexpectedly
You can visit the following links to locate the processes that lead to excessively
high bandwidth or CPU usage, and optimize or stop the processes.
●Troubleshooting High Bandwidth or CPU Usage of a Windows ECS
●Troubleshooting High Bandwidth or CPU Usage of a Linux ECS
Improper Cloud Eye Alarm Rules
When you create alarm rules for bandwidths on the Cloud Eye console, if the
maximum outbound bandwidth or the alarm period is set too small, the system
will send alarms indicating that the bandwidth exceeds the threshold too
frequently.
You need to set an appropriate alarm rule based on your purchased bandwidth.
For example, if your purchased bandwidth is 5 Mbit/s, you can create an alarm
rule to report an alarm when the maximum outbound bandwidth is greater than
or equal to 4.8 Mbit/s in three consecutive periods. You can also increase your
1.Log in to the management console, under Management & Deployment, click
Cloud Eye. On the Cloud Eye console, choose Alarm Management > Alarm
Rules.
Figure 4-3 Alarm Rules
2.Click Create Alarm Rule and congure an alarm rule to generate alarms
when the bandwidth exceeds the limit.
Figure 4-4 Creating an alarm rule
Submitting a Service Ticket
If the problem persists, submit a service ticket.
4.9 Can I Increase My Bandwidth Billed on Yearly/
Monthly Basis and Then Decrease It?
An increased bandwidth takes
eect in the rst billing cycle after the EIP is renewed. For details, see Modifying
EIP Bandwidth.
eect immediately. A decreased bandwidth will take
4.10 What Is the Relationship Between Bandwidth and
Upload/Download Rate?
The bandwidth unit is bit/s, which is the number of binary bits transmitted per
second. The unit of the download rate is byte/s, which is the number of bytes
transmitted per second.
1 byte = 8 bits, that is, download rate = bandwidth/8
If the bandwidth is 1 Mbit/s, the actual upload or download rate is generally lower
than 125 kByte/s (1 Mbit/s = 1,000 Kbit/s, upload or download rate = 1,000/8 =
125 kByte/s) in consideration of losses, such as computer performance, network
device quality, resource usage, and network peak hours.
4.11 What Are the Dierences Between Static BGP and
Dynamic BGP?
The dierences between static BGP and dynamic BGP are as follows:
Table 4-2 Dierences between static BGP and dynamic BGP
AspectStatic BGPDynamic BGP
DenitionStatic routes are manually
congured and must be
manually recongured any time
the network topology or link
status changes.
AssuranceWhen changes occur on a
network using static BGP, the
manual conguration takes
some time and high availability
can't be guaranteed.
NOTE
If you select static BGP, your
application system must have the
disaster recovery capability.
Service
availabilit
y
99%99.95%
Dynamic BGP provides automatic
failover and chooses the optimal
path when a network connection
fails.
When a fault occurs on a carrier's
link, dynamic BGP will quickly
select another optimal path to
take over services, ensuring
service availability.
Currently, carriers in China that
support dynamic BGP routing
include China Telecom, China
Mobile, China Unicom, China
Education and Research Network
(CERNET), National Radio and
Television Administration, and Dr.
Peng Group.
BillingTheir price from least to most expensive: static BGP, dynamic BGP.
For details, see EIP Pricing Details.
For more information about service availability, see Huawei Cloud Service Level
Step 2: Check Whether the Network Conguration of the ECS Is Correct
1.Check whether the ECS NIC has an IP address assigned.
Log in to the ECS, and run the ifcong or ip address command to check the
ECS NIC IP address.
If an ECS runs the Window OS, run the ipcong command.
2.Check whether the virtual IP address is correctly congured on the ECS NIC.
Log in to the ECS, and run the ifcong or ip address command to check the
ECS NIC IP address. If the ECS NIC does not have an IP address congured,
run a command to congure an IP address for the ECS NIC. For example, run
the ip addr add
192.168.1.192/24 for the NIC.
Figure 5-4 Virtual IP address of a NIC
virtual IP address
eth0 command to congure IP address
Check whether the default route exists. If no default route exists, run the ip
route add command to add the default route.
Figure 5-5 Default route
Step 3: Check Whether an EIP Has Been Assigned and Bound to the ECS
Check whether an EIP has been assigned and bound to the ECS. (If the EIP has not
been assigned, assign an EIP and bind it to the ECS.)
The ECS shown in Figure 5-6 has no EIP bound and only has a private IP address
bound.
Figure 5-8 Method of locating the failure to ping an EIP
Table 5-1 Method of locating the failure to ping an EIP
Possible CauseSolution
ICMP access rules
are not added to the
security group.
Ping operations are
prohibited on the
rewall.
Ping operations are
prohibited on the
ECS.
Network ACL is
associated.
A network exception
occurred.
Routes are
incorrectly
congured if
multiple NICs are
used.
Add ICMP access rules to the security group. For details,
see Checking Security Group Rules.
Allow ping operations on the rewall. For details, see
Checking Firewall Settings.
Allow ping operations on the ECS. For details, see
Checking Whether Ping Operations Have Been
Disabled on the ECS.
If the VPC is associated with a network ACL, check the
network ACL rules. For details, see Checking ACL Rules.
Use another ECS in the same region to check whether
the local network is functional. For details, see Checking
Whether the Network Is Functional.
If the network is inaccessible due to an extension NIC,
the fault is generally caused by incorrect route
congurations. To resolve this issue, see Checking the
ECS Route Conguration If Multiple NICs Are Used.
Checking Security Group Rules
The ping operations use the ICMP protocol. Check whether the security group
accommodating the ECS allows ICMP trac in the inbound direction.
1.Log in to the management console.
2.Click in the upper left corner and select the desired region and project.
3.Under Computing, click Elastic Cloud Server.
4.On the Elastic Cloud Server page, click the name of the target ECS.
The page providing details about the ECS is displayed.
Checking Whether Ping Operations Have Been Disabled on the ECS
Windows
Enable ping operations using the CLI.
1.Start the Run dialog box. Enter cmd and press Enter.
2.Run the following command to enable ping operations:
netsh
Linux
Check the ECS kernel parameters.
1.Check the net.ipv4.icmp_echo_ignore_all value in the /etc/sysctl.conf
Value 0 indicates that ping operations are allowed, and value 1 indicates that
ping operations are prohibited.
2.Allow ping operations.
–Run the following command to temporarily allow the ping operations:
–Run the following command to permanently allow the ping operations:
Checking ACL Rules
By default, no ACL is
VPC, check the ACL rules.
1.Check whether the subnet of the ECS has been associated with a network
ACL.
If an ACL name is displayed, the network ACL has been associated with the
ECS.
rewall set icmpsetting 8
le.
#echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all
net.ipv4.icmp_echo_ignore_all=0
congured for a VPC. If a network ACL is associated with a
Checking the ECS Route Conguration If Multiple NICs Are Used
The default route of an OS preferentially selects the primary NIC generally. If an
extension NIC is selected in a route and the network malfunctions, this issue is
generally caused by the incorrect route conguration.
●If the ECS has multiple NICs, check whether the default route is available.
a.Log in to the ECS and run the following command to check whether the
default route is available:
ip route
Figure 5-16 Default route
b.If the route is unavailable, run the following command to add it:
XXXX
ip route add default via
dev eth0
In the preceding command,
XXXX
species a gateway IP address.
●If the ECS has multiple NICs and the EIP is bound to an extension NIC,
congure policy routing on the ECS for network communication with the
extension NIC.
For details, see How Do I Congure Policy-Based Routing for ECSs with
Multiple NICs?
Checking Domain Name Resolution If the Domain Name Cannot Be Pinged
If the EIP can be pinged but the domain name cannot be pinged, the possible
cause is that the domain name has not obtained an ICP
occurred in domain name.
1.Check the ICP
ling of the domain name.
According to the Regulation on Internet Information Service of the People's
Republic of China released by the Ministry of Industry and Information
Technology (MIIT), publicly accessed websites cannot be hosted on servers in
the Chinese Mainland until an ICP
ling number from the MIIT is obtained.
–If you want to use a server in the Chinese mainland to provide Internet
services, you need to submit an ICP ling request to the server provider to
obtain an ICP
ling number for the domain name.
–If you use a server outside the Chinese mainland to provide Internet
services, no ICP ling is required.
2.Check the domain name resolution.
If your domain name has obtained an ICP ling number but the domain name
resolution is not correctly congured, the domain name may fail to be pinged.
Switch to the DNS management console to view details about the domain
name resolution.