Description
IP can ping the gateway, but not the external network. There is no problem in planning, prompting name or service not known.
Environment
Cloud Platform Environment: ZStack Enterprise Version 4.1.3
Network Environment: Public Networks
Storage environment: local storage
Management Node Operating System: ZStack Custom Version 4.1.3 C76 System
Cloud Host System: CentOS 7.6 System
Cause
Can Ping gateway, can'tPing extranet may not have DNS configured
Resolution
1. The Ping gateway can be ping-connected.

(Figure 1 Ping Gateway)
2. When #ping baidu. Com prompts for an error.
![]()
(Figure 2 Ping Baidu)
3. Determine that there is no DNS service configured and check the profile discovery/etc/resolv. Configuration not done in conf

(See/etv/resolv.conf in Figure 3)
4. Configure the DNS file, add the public DNS address 233.5.5.5 and save the exit.
#vim /etc/resolv.conf #nameserver 233.5.5.5

(Figure 4 Edit/etc/resolv.conf file)
5. Execute #ping Baidu again. Com, you can ping the Internet.

(Fig. 5 trying to Ping Baidu)
Comments
0 comments
Please sign in to leave a comment.