No network connection in CentOS 6.3 Minimal under VMWare Player

I’m trying to replicate in VMWare Player the exact same conditions I have under my Dedicated Server for testing purposes.

Now, the thing is that that when I try to install something, or ping, it fails since it has no connection.

what do I do to fix it??


I’m not much of a sys admin, but i’ll get there (This is my first Dedicated Server), I ordered a minimal OS to learn.

Asked By: CoCoMonk


I solved the issue by forcing the interface to get the IP via DHCP

This made the magic:

dhclient -v eth0

For more detail, check the accepted answer: CentOS doesn't know what the internet is

Answered By: CoCoMonk

As root/sudo:

Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add to the bottom:


also change the line that says ONBOOT to read as so:


Now you should run ifup eth0 and/or reboot your machine. It should pull a DHCP address every time now.

Answered By: Jodie C