What to do if Linux cannot ping the gateway

藏色散人
Release: 2019-11-13 09:18:08
Original
8451 people have browsed it

What to do if Linux cannot ping the gateway

What should I do if Linux cannot ping the gateway?

I installed CentOS6.5 in VMWare, using the bridge connection mode. I used to be able to access the external network, but then I couldn’t. I could ping the host, but I couldn’t ping the gateway. I found one online. It still cannot be solved for a long time.

Finally, I changed the bridge connection to NAT, reconfigured the IP, gateway, etc. of ipcfg-eth0, restarted the network, and finally connected.

No problem pinging the host, gateway, and external network!

Summary:

Don’t be stubborn, why do you have to hold down the bridge connection? Change it, and everything will be OK!

Recommended: "Linux Tutorial"

The above is the detailed content of What to do if Linux cannot ping the gateway. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!