Re: Setting up a static IP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2009-08-09 at 15:23 -0700, Craig White wrote:
> 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
----
maybe one more thing, can you ping your gateway?

ping -c 4 192.168.0.1

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux