In Minimal of Centos6, the network card defaults to onboot = & quot; no & quot;, and the NetworkManager-dependent option is set. NM_CONTROLLED = & quot; yes & quot ;, in the case of minimal, NetworkManger, the default network management tool provided by the system, is not installed. Therefore, we need to change it to Minimal in ONBOOT = & quot; yes & quot; MM_Control Centos 6, which defaults to onboot = "no" for the NIC and sets the option to depend on NetworkManager, NM_CONTROLLED = "yes" because the default network management tool NetworkManger provided by the system is not installed in the case of minimal. So we need to modify it:
ONBOOT = "yes" MM_Controlled = "no ".
Manually edit the Nic configuration file (vi/etc/sysconfig/network-script/ifcfg-eth0) in the following format:
Here we can use dhcp as the default setting.
# Service network restart
VMware sets NAT network connection