Can't make connection away from home
Tim Writer
tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org
Fri Dec 16 00:47:14 UTC 2005
moliver-fC0AHe2n+mcIvw5+aKnW+Pd9D2ou9A/h at public.gmane.org writes:
> Quoting Joseph Kubik <josephkubik-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>:
>
> > 63.201.39.254 is your default router.
> > On linux, when you run route -n what is the default route set to?
> > Can you ping the default route?
>
> On linux, here's the output:
> Destination Gateway Genmask Flags ... Iface
> 70.137.191.254 0.0.0.0 255.255.255.255 UH ppp0
> 192.168.0.0 0.0.0.0 255.255.255.0 U eth0
> 0.0.0.0 192.168.0.1 0.0.0.0 UG eth0
There's your problem. Your default gateway is set to 192.168.0.1, meaning all
traffic to destinations not directly connected to eth0 or ppp0 are sent via
192.168.0.1. Do this:
# route del -net default gw 192.168.0.1
# route add -net default gw 70.137.191.254
> I can ping 70.137.191.254 (this address changes each time I try it).
> If I try to ping 192.168.0.0 it asks me if I want to ping broadcast,
> and suggests "ping -b". I can't ping 192.168.0.1; response is
>
> From 192.168.0.6 icmp_seq=1 Destination Host Unreachable
>
> The address 192.168.0.6 is the one currently hardcoded in my KDE
> "Networking" applet as the manual IP address for eth0.
If you don't need your local LAN, i.e. if you're only connecting to the
Internet and nothing else, it would be simpler not to configure eth0.
Alternatively, add the defaultroute option to your ppp configuration. This
will make pppd add the default route when you bring up your Internet
connection.
--
tim writer <tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org> starnix inc.
647.722.5301 toronto, ontario, canada
http://www.starnix.com professional linux services & products
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list