Network connectivity on a new CentOS installation

I had recently set up a new CentOS VM (v6.2) on my VirtualBox, but had a tough time configuring it to use the internet connectivity from my host machine. Here is a snapshot of the VirtualBox network settings for the VM:

Screen Shot 2013-06-09 at 4.16.50 PM

After quite a bit of troubleshooting, finally it turned out to be a simple config change. By default, CentOS does not configure the network interfaces on a new installation. I just had to execute the following command to configure the ethernet network interface. It acquired a new IP address and the network connectivity issue got resolved.

$ dhclient -v eth0
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: