[plug] Initialisation and default routes

John Breen jbreen at wn.com.au
Thu Aug 3 09:44:33 WST 2000



---- Original Message ----
From: vk6ksj at iinet.net.au
To: plug at plug.linux.org.au, 
Subject: Re: [plug] Initialisation and default routes
Date: Thu, 3 Aug 2000 09:38:58 +0800

Yeah, but you need to remove the default route through eth0 first,
with

route del default eth0

The point is, I don't want that default route to be created, just a
(more sensible) route to my local network.

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