[plug] Initialisation and default routes

Kai vk6ksj at iinet.net.au
Thu Aug 3 09:38:58 WST 2000


Hi John,

I had the same problem for a short while.....try this as root:
route add default [device]
so if you wanna go through ppp0
route add default ppp0
sounds to simple, but it works !!!

/Kai

----- Original Message -----
From: "John Breen" <jbreen at wn.com.au>
To: <plug at plug.linux.org.au>
Sent: Thursday, August 03, 2000 8:53 AM
Subject: [plug] Initialisation and default routes


> I'm setting up a linux box (yes, ANOTHER one) to connect to the
> internet.  I've got the dialup working fine with chat and pppd.  Moreor
less.
>
> What happens is that pppd comes up "not replacing existing default
> route..."  It seems that the startup scripts, in their infinite
> wisdom, add a default route through my ethernet card, which pppd
> simply can't replace with the new default route to my ISP.  This is
> mentioned in the ppp-howto, with notes to the effect that somewhere
> in the startup scripts will be the line
>
> route add default gw 192.168.1.254 eth0
>
> or something very similar.  Not, I suspect (after searching), under
> RH.  So, the question I have is how do I stop the startup making the
> default route out through my ethernet card, and instead get it to put
> in something more sensible, like a route to my local network?
> |
> | John Breen
> |
> | jbreen at wn.com.au
> | john at fairport.com.au
> |
> | "Do not worry, Arthur Dent.  Be afraid.  Be VERY afraid."
> | Agrajag, "Life, the Universe and Everything"
> |
>
>
>




More information about the plug mailing list