Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Like the subject says I can ping the internal lan but I can't ping external ip addresses.
I know theres probably something I'm missing here so I'm just gonna post some ouptput. Can someone have a look and tell me whats wrong....
when I try the outside world ping returns this:-
gonzo:/home/stinky# ping google.com
PING google.com (216.239.39.99): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote google.com 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote google.com 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote google.com 64 chars, ret=-1
Linux gonzo 2.2.19 #1 Sun Jan 6 09:37:29 EST 2002 i586 unknown
# automatically added when upgrading
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.6
netmask 255.255.255.0
gateway 192.168.1.1
Is your router hooked up with the wizard? I dunno about your setup mines different i got wireless but you go to 192.186.0.1 something like that and it will hook up your internet for your? im guessing you just installed your router? and your linuxbox is the "host" Maybe some more info about your set up will help!
Ok this server is located inside a network where 192.168.1.1 is a gateway linuxbox and this can see the internet fine. Its just this box that can't see the internet.
OK your routeing table looks weird if i understand your setup....what is your setup by the way.
Ok so your linuxbox sees the internet and can access it but your windows? box doesnt? how is it all set up linuxbox hooked up to router then cable modem then a windows box off of the router?
Anyways this is my setup i have my linuxbox hooked up the router then the cable modem then wireless windows and this is my routeing tab
root@Darkpunk:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
so thats why im saying yours is werid... io may be wrong.... but i would check into how its accessing the internet... a little more about your set up will really help!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.