static IP in centos 4.5

Issues related to configuring your network
Post Reply
Posts: 4
Joined: 2006/02/12 13:41:55

static IP in centos 4.5

Post by gramberto » 2008/06/29 02:47:13

I am on a Mac and using VMWare Fusion with Centos 4.5 running as the guest OS. I have a dlink 624 router. I am using an ethernet connection. I am using bridged connection in vmware. I can get internet access if I use dhcp.

My router has IP address to set as available.

in the GUI I use system settings -> network gui.

I edit eth0

change to static IP. I pick an IP that I am not using
subnet mask
default gateway (address of my router).

I deactivate and reactivate my connection.

no internet access.

What am I doing wrong?

Posts: 161
Joined: 2007/06/20 13:31:05
Location: Northeast Ohio

Re: static IP in centos 4.5

Post by kentyler » 2008/08/12 19:58:06

You need to edit the /etc/resolv.conf file to add the dns servers.

vim /etc/resolv.conf

#add the following:
nameserver ip.of.dns.server

Post Reply

Return to “CentOS 4 - Networking Support”