Home > Article > System Tutorial > Steps to set up NAT network connection for CentOS system in VMware
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:
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!