linux - CentOS suddenly cannot connect to the Internet and encounters the following problems.
PHP中文网
PHP中文网 2017-06-07 09:24:03
0
1
754


I’m a little anxious,
Describe the current situation
The centOS minimal version installed
The network card 10.1.14.103 is configured
Can be accessed from the external host Ping the virtual machine,
The virtual machine cannot ping the external host, nor can it ping the Internet,
The virtual machine ssh service has been opened
Port 22 has been set to be open,
the firewall has been closed.


This is displayed when activating the network card.

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
淡淡烟草味

22:12 Continue to answer:

Seeing that the poster updated the description, I know the basic ping situation. But does the description mean that the network card has just been activated? So this is not sudden, right? I thought that the original poster was a good virtual machine, but it may suddenly be unable to connect to the Internet after restarting or powering off (laughing~)

As the original poster added, I have a few suggested procedures (I do this all the time)
Ping 8.8.8.8 (pingIP instead of Host) and take a look at the results. If that doesn't work, check your IP settings to see if they are not on the same network segment, the IP is not configured, or other problems. (I have now made the network card configuration of my virtual machine static).
Please refer to this article for details

If you can ping the external network after modification, the problem is solved.
If it still doesn’t work, activate the network card based on what the poster just said (actually I’m not sure this is an instruction operation), but I had a similar experience when copying a virtual machine before, so I’ll just take notes.

The words are confusing, I just hope it can be helpful. If you have any questions, you can continue to discuss.
————————————————————————
I don’t know much about Linux and I think the description of the question is too vague. I hope I can explain the specific scenarios and possible reasons for the speculation. After all, things don’t happen for no reason.
Give me some ideas, what do you mean by disconnecting the internet?
Can the intranet be pinged?
Can I ping the external network?

Guess the reason: DNS configuration problem? Firewall? Is there a problem with the network card configuration (I copied a virtual machine before and had a similar problem)?

I searched for the key error in the picture below: failed to start lsb:bring up/down
N many results:

I read the first article and it provided many solutions. I wonder if the poster has tried it~
I think it would be easier for the poster to compare his own situation and refer to the experience of previous people. If it still doesn’t work, then he will definitely not ask this question at this time. Described. (It will be very targeted~)

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!