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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux