Recently encountered the problem of Linux DHCP in VMware virtual machine can not get the issue of trouble for a long time finally got the help of the great God solved so immediately to share ~
First determine your own ETHX configuration no problem, I am eth0 DHCP get, configured as follows:
[email protected] network-scripts]# cat Ifcfg-eth0
Device= "eth0"//This is the interface to be set
Bootproto= "DHCP"
Hwaddr= "00:0c:29:54:2b:48"//This is based on your MAC address settings
Ipv6init= "No"
Nm_controlled= "Yes"
onboot= "Yes"
In fact, the configuration of the virtual machine and Linux is not a problem, the problem is my own computer, some VMware services are not enabled.
Here's how: computer > Management Services and Applications services.
Then find VMware related services right-click Enable
Then restart the virtual machine's system
Linux in VMware cannot dynamically obtain DHCP solutions