[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] pppd and defaultroute
- Subject: [ale] pppd and defaultroute
- From: joe at madewell.com (Joe Steele)
- Date: Sat, 7 Sep 2002 18:39:29 -0400
On Friday, September 06, 2002 10:03 AM, cfowler wrote:
> I've been playing around with pppd and have an issue with the default
> route parameter. If I do not have a default route specified for eth0
> then pppd will grab the one from Mondspring. If I do have a defroute
> specified for eth0 then pppd refuses to replace it. Is there a way to
> force pppd to replace the default route?
Yes -- use the /etc/ppp/ip-up and ip-down scripts. These scripts are
called with positional parameter $5 set to the remote IP address of the
PPP peer. Use the IP address to reconfigure your routing as needed on
PPP startup and shutdown.
--Joe
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.