Setting up a static IP
Craig White
craigwhite at azapple.com
Sun Aug 9 22:23:46 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).
>
> 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?
----
that seems correct to me - what is output of?
ifconfig
cat /etc/resolv.conf
Craig
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the fedora-list
mailing list