First timer... Need to configure static IP address and add DNS servers

2 replies [Last post]
wdevilliers
User offline. Last seen 51 weeks 1 day ago. Offline
Joined: 07/14/2009

Hi there

I just installed my first FC9 server. I need to configure my NIC. I must assign a static IP and I need to enter our DNS servers IP addresses. Where do I do this?

Ali Ross
User offline. Last seen 8 weeks 6 days ago. Offline
Joined: 08/09/2008

I would advise you use the IP address given by DHCP from your router so you don't have to set up your IP address, but if you must set up a static IP then go into the System Menu and look for the networking setup control there. You can supply the IP address, subnet mask, DNS and gateway IP in there.

wdevilliers
User offline. Last seen 51 weeks 1 day ago. Offline
Joined: 07/14/2009

It must all be done in text mode...

I did the /sbin/ifconfig eth1 xxx.xxx.xxx.xxx netmask 255.255.0.0 broadcast xxx.xxx.xxx.255

After restarting the network service, the IP is still on DHCP...? I disabled DHCP in etc/sysconfig/network-scripts/ifcfg-eth1.