Home > System Tutorial > LINUX > Steps to set up NAT network connection for CentOS system in VMware

Steps to set up NAT network connection for CentOS system in VMware

WBOY
Release: 2023-12-30 18:49:30
forward
747 people have browsed it

In Minimal of Centos 6, the network card defaults to onboot="no", and the option that depends on NetworkManager is set, NM_CONTROLLED="yes", because the network management tool NetworkManger provided by the system by default is not installed in minimal. So we need to change it to:

ONBOOT="yes" MM_Controlled="no".

Manually edit the configuration file of the network card (vi /etc/sysconfig/network-script/ifcfg-eth0) in the following format:

Steps to set up NAT network connection for CentOS system in VMware

Here we can set it to dhcp according to the default setting

# service network restart

VMware Setup NAT Network Connection

The above is the detailed content of Steps to set up NAT network connection for CentOS system in VMware. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
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