Setting up a static IP

Paul paul at all-the-johnsons.co.uk
Sun Aug 9 22:04:50 UTC 2009


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).

netstat -nr reports

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0
eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0
eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0
eth0


/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?

TTFN

Paul

-- 
Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20090809/c3db6b09/attachment-0001.bin 


More information about the users mailing list