Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Background information: I have a problem installing system-config-network. It appears it cannot find an update to sqlite (checks every mirror and comes back empty handed.) I have tried the skipping broken option and package cleanups from yum-utils.

Since I cannot get it installed, I decided to set an ip manually from console. A quick Google search comes back empty handed as for an easy how-to guide that works. What do I need to do for a currently configured DHCP ip to change it to a Static IP from console.

Thanks, Josh

share|improve this question
up vote 5 down vote accepted

Edit the /etc/sysconfig/network-scripts/ifcfg-eth[num] file like this:


When you are done run /etc/init.d/network restart.

share|improve this answer

Look at the config files in /etc: /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-ethx

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.