Home  >  Article  >  System Tutorial  >  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
WBOYforward
2023-12-30 18:49:30705browse

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!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete