Este conteúdo foi traduzido por máquina para sua conveniência e a Huawei Cloud não pode garantir que o conteúdo foi traduzido com precisão. Para exibir o conteúdo original, use o link no canto superior direito para mudar para a página em inglês.
Computação
Elastic Cloud Server
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Redes
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Gerenciamento e governança
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
Cloud Operations Center
Resource Governance Center
Migração
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Análises
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
IoT
IoT Device Access
Outros
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Segurança e conformidade
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Serviços de mídia
Media Processing Center
Video On Demand
Live
SparkRTC
Armazenamento
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Cloud Server Backup Service
Storage Disaster Recovery Service
Scalable File Service
Volume Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Bancos de dados
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Aplicações de negócios
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Data Lake Factory
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Distribuição de conteúdo e computação de borda
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Soluções
SAP Cloud
High Performance Computing
Serviços para desenvolvedore
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
Cloud Application Engine
MacroVerse aPaaS
KooPhone
KooDrive
Central de ajuda/ Virtual Private Cloud/ Perguntas frequentes/ Conectividade/ Por que meu ECS não consegue obter um endereço IP?

Por que meu ECS não consegue obter um endereço IP?

Atualizado em 2023-12-29 GMT+08:00

Sintoma

Não foi possível obter o endereço IP privado do ECS.

Solução de problemas

Localize a falha com base no procedimento a seguir.

Figura 1 Processo de solução de problemas
  1. Verificar se o DHCP está habilitado
  2. Verificar se o processo dhclient existe
  3. Verificar logs do ECS

Verificar se o DHCP está habilitado

Verifique se a função DHCP da sub-rede está ativada (ativada por padrão).

Alterne para a página de detalhes da sub-rede. Se o DHCP estiver desabilitado, você deverá configurar manualmente um endereço IP estático para o ECS consultando a etapa 3.

Verificar se o processo dhclient existe

  1. Verifique se o processo dhclient existe:

    ps -ef | grep dhclient

  2. Se o processo dhclient não existir, efetue logon no ECS e reinicie a NIC do ECS ou envie uma solicitação DHCP.
    • Linux:

      Execute o comando dhclient ethx. Se os comandos dhclient forem suportados, execute o comando ifdown ethx;ifup ethx. No comando, ethx indica a NIC do ECS, por exemplo, eth0 e eth1.

    • Windows:

      Desconecte a conexão de rede e conecte-a.

  3. Se o cliente de DHCP não enviar solicitações por um longo período de tempo, por exemplo, a falha ocorrer novamente após o reinício da NIC, você poderá usar o seguinte método para configurar o endereço IP estático.
    • Linux:
      1. Execute o seguinte comando para abrir o arquivo /etc/sysconfig/network-scripts/ifcfg-eth0:

        vi /etc/sysconfig/network-scripts/ifcfg-eth0

      2. Modifique os seguintes itens de configuração no arquivo /etc/sysconfig/network-scripts/ifcfg-eth0.

        BOOTPROTO=static

        IPADDR=192.168.1.100 #IP address

        NETMASK=255.255.255.0 #Subnet mask

        GATEWAY=192.168.1.1 #Gateway address

      3. Execute o seguinte comando para reiniciar o serviço da rede:

        service network restart

    • Windows:

      Na guia Local Area Connection Status, clique em Properties. Na área exibida, selecione Internet Protocol Version 4 (TCP/IPv4) e clique em Properties. Na área exibida, insira o endereço IP, a máscara de sub-rede e o endereço de gateway padrão.

Verificar logs do ECS

Verifique o log de messages do ECS no diretório /var/log/messages.

Procure o endereço MAC da NIC e verifique se há algum processo que cause falhas na obtenção de endereços IP por DHCP.

Enviar um tíquete de serviço

Se o problema persistir, envie um tíquete de serviço.

Forneça ao atendimento ao cliente o ID do ECS, o ID da sub-rede usada pelo ECS e o ID da VPC usada pelo ECS.

Usamos cookies para aprimorar nosso site e sua experiência. Ao continuar a navegar em nosso site, você aceita nossa política de cookies. Saiba mais

Feedback

Feedback

Feedback

0/500

Conteúdo selecionado

Envie o conteúdo selecionado com o feedback