How to solve centos unable to connect to the network

王林
Release: 2020-04-04 10:38:35
Original
6810 people have browsed it

How to solve centos unable to connect to the network

1. Check NAT settings

How to solve centos unable to connect to the network

How to solve centos unable to connect to the network

##2. cd /etc/sysconfig/network -scripts/ Enter this directory and find the network configuration file

How to solve centos unable to connect to the network

3. vi ifcfg-ens33 Enter the file for related configuration

Note: gateway, subnet mask The code must be consistent with the NAT configuration; the gateway and IP address must be in the same network segment as the subnet IP (that is, the first three numbers of the IP, for example: 192.168.152.xx)

How to solve centos unable to connect to the network

4. Restart the network

service network restart
Copy after login

Recommended related tutorials:

centos tutorial

The above is the detailed content of How to solve centos unable to connect to the network. 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