Can't make connection away from home

moliver-fC0AHe2n+mcIvw5+aKnW+Pd9D2ou9A/h at public.gmane.org moliver-fC0AHe2n+mcIvw5+aKnW+Pd9D2ou9A/h at public.gmane.org
Fri Dec 16 03:33:57 UTC 2005


Quoting Tim Writer <tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org>:

> 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

Thanks, that worked.  Not with 70.137.191.254 of course, but rather
with the new IP it came up with this time.  Any way I can make this
automatic, preferably in a way I can easily reverse when I go
back to T.O.?  I'm afraid I didn't really understand the advice
about adding defaultroute to the ppp configuration or not configuring
eth0.

Mike

--
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