[ale] pppd and defaultroute

Joe Steele joe at madewell.com
Sat Sep 7 18:39:29 EDT 2002


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.






More information about the Ale mailing list