Centos7 system cannot automatically obtain IP address through dhcp

王林
Release: 2020-03-16 14:37:13
Original
4731 people have browsed it

Centos7 system cannot automatically obtain IP address through dhcp

Problem:

VMware WorkStation newly created centos7 cannot automatically obtain an IP address through DHCP.

(Recommended tutorial: centos usage tutorial)

Solution:

When VMware’s network configuration NAT is correct, modify

vim /etc/sysconfig/network-scripts/ifcfg-nes33

Change ONBOOT=no, to ONBOOT=yes

Then, execute the following command:

service network restart
Copy after login

After that, check ifconfig to see if the IP address has been automatically obtained.

Recommended related video tutorials: linux video tutorial

The above is the detailed content of Centos7 system cannot automatically obtain IP address through dhcp. 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!