How do I set my host to a static IP?
I just installed Fedora Core 9 on my server, and I'm trying to get it to use a static IP address.
I thought I'd configured it to create a static IP during the installation process, when the installer asked me whether to get a DHCP address or use a static IP, gateway, and DNS server. I went through the installation, came up with the IP I expected, everything was fine.
Then I restarted, and nothing could reach my web site. After hacking around for days assuming the IP config was correct, I ran ifconfig -a and discovered that my IP address is not what I expected -- instead, it's an address from within the DHCP range handed by my Linksys router.
How do I set the Fedora box to use a static IP rather than DHCP?