Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jul 2003 13:52:43 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        stan <stanb@panix.com>
Cc:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: How to delete/replace default route using ppp?
Message-ID:  <3F05BEEB.40301@potentialtech.com>
In-Reply-To: <20030704161329.GB1237@teddy.fas.com>
References:  <20030704161329.GB1237@teddy.fas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
stan wrote:
> I'm trying to get a new laptop set up for a quick out of town trip.
> 
> Can anyone help me with the ppp.conf syntax to clear/replace an existing
> default rout for the duration of a ppp linkup?
> 
> That is, the machine starts off with a default route, which I want to
> delete and replace with the ppp route for the duration of the conection.
> Then I wnat to put the orignal route back.
> 
> Sugestions?

Please forgive me if I'm saying something you already know.

The default ppp.conf file has a line:
add default HISADDR
Which should do what you want.
I'm not 100% sure that this will actually "delete" a previous route.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F05BEEB.40301>