What to do if the gateway cannot be pinged under centos

王林
Release: 2020-03-26 16:30:43
Original
8553 people have browsed it

What to do if the gateway cannot be pinged under centos

1. Close the network port ens33, and then reopen it

[root@ctos110 ~]# ifdown ens33  #关闭网络
Device 'ens33' successfully disconnected.
[root@ctos110 ~]# ifup ens33  #启动网络
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/2)
Copy after login

(Recommended tutorial: centos tutorial)

2. Then reload the network card program, as follows:

/etc/init.d/network reload
Copy after login

Complete!

Recommended related video tutorials: linux video tutorial

The above is the detailed content of What to do if the gateway cannot be pinged under centos. 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!