What to do if the host cannot be pinged under centos

王林
Release: 2020-03-26 16:48:28
Original
6327 people have browsed it

What to do if the host cannot be pinged under centos

1. Enter the directory of the IP configuration file

cd /etc/sysconfig/network-scripts/
Copy after login

Enter the configuration file vi ifcfg-ens33

What to do if the host cannot be pinged under centos

corresponding to the network card name

(Recommended tutorial: centos tutorial)

Modify the following picture:

What to do if the host cannot be pinged under centos

2. Restart the network card

Command:

service network restart
Copy after login

What to do if the host cannot be pinged under centos

## Recommended related video tutorials:

linux video tutorial

The above is the detailed content of What to do if the host 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