[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Set the default route?



On Wed, Oct 17, 2001 at 08:59:43AM -0500, Mike Missett wrote:
> I seem to be having the same problem as some other people in
> the mailing lists, namely, that the defaultroute for ppp is going
> to eth0 when that's not my connection.  Advising somebody a
> week or so ago John Hasler suggested:
> 
> "You probably have a defaultroute pointing to eth0 and pppd won't
> replace
> it.  Remove that defaultroute and ppp shoul work."
> 
> I think this is what I need to do, my question is, how do I do it?
> I haven't figured it out from the lists, experimentation, or the
> man page (although I probably should be able to from there if
> I were a little less ignorant).  Any help would be most appreciated.

Do you have a "gateway" directive within the eth0 stanza in
/etc/network/interfaces?  If so, comment it out.  When networking is
restarted, a default route on eth0 will not be added.

Another post already detailed how to remove the default route now
(though it will come back when networking is restarted).

Regards,

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgp3Vydx86zmA.pgp
Description: PGP signature


Reply to: