The solution of being unable to communicate with ping in linux external Network
How to solve the problem that linux can't communicate with ping in external network? I believe there are many people do not understand, today, in order to let you know more about the linux external network can not ping solution, so give you a summary of the following content, let's look down.
The solution is as follows:
Method 1:
Modify resolv.conf
Vi / etc/resolv.conf
Add the following:
Nameserver 114.114.114.114 (DNS of Telecom) nameserver 8.8.8.8 (DNS of googel)
You can achieve ping access to the extranet.
Method 2:
Ip an or ifconfig check the network card used, then go to / etc/sysconfig/network-scripts and find the corresponding network card to modify.
Vi / etc/sysconfig/network-scripts/ifcfg-ethx
Restart the network card
Service network restart
On the linux external network can not ping solutions to share here, I hope that the above content can have a certain reference value, you can learn to apply. If you like this article, you might as well share it for more people to see.