Setting up a static IP

Jussi Lehtola jussilehtola at fedoraproject.org
Sun Aug 9 22:10:14 UTC 2009


On Sun, 2009-08-09 at 23:04 +0100, Paul wrote:
> Hi,
> 
> I really should know this one...
> 
> Setting up a static IP using s-c-network
> 
> I've set the IP for my box to be 192.168.0.200, put in the subnetmask as
> 255.255.255.0 and gateway as 192.168.0.1 (address of my router, netstat
> has this as it's last entry IIRC).

> /etc/init.d/network restart does the the network restart and that's it.
> The network is set fine (/sbin/ifconfig eth0 shows the IP, netmask etc
> are set correctly), but the outside world is not reachable. 
> 
> How do I set up a static IP which allows access to the outside world?

Stupid question: did you try accessing outside IP addresses or domain
names? You need to set the name servers as well if you want domain names
to work.
-- 
Jussi Lehtola
Fedora Project Contributor
jussilehtola at fedoraproject.org




More information about the fedora-list mailing list