>>On Thu, 8 Apr 1999, Jeffrey T. West wrote:
>>|I'm trying to automate reestablishing my default route as soon as my PPP
>>|session ends. I'm on a LAN with two segments separated by a router and
>>|occasionally use my Linux workstation to connect to the Internet via
>>|dial-up PPP.
>>|
>>|Through my readings and experimentation, the default route must point to
>>|PPPx in order for PPP to work. So I've configured my workstation to loose
>>|it's default route to the router and add a static route to the router just
>>|before PPP starts.
>>|
>>|And I've successfully configured my workstation to simultaneously connect
>>|to the LAN and the Internet via PPP while being able to resolve both local
>>|and Internet names AND maintain routes to the LAN. (And I don't mind
>>|expressing the joy I feel after having spent 6 days to accomplish this sole
>>|task - thank you very much!)
>>|
>>|So, once pppd has stopped running, I'd like my workstation to automagically
>>|reestablish the default route it had before PPP started.
>>
>>Don't remove the LAN default route and put
>>
>>/sbin/route add default ppp0
>>
>>in /etc/ppp/ip-up. This makes ppp0 the default route for the duration of
>>the connection and the LAN default route will reassert itself when the ppp
>>interface is torn down at the end of the ppp session.
>>
>>---
>>Clifford Kite Not a guru. (tm)
>>[EMAIL PROTECTED] Not even close.
>>
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
>>the body of a message to [EMAIL PROTECTED]
>>
>>
Thanks Clifford, did the trick! Jeff
Astronautics Corporation of America
P.O. Box 523
Milwaukee, Wisconsin 53201-0523 USA
Phone: (414) 447-8200 x254
E-mail 1: [EMAIL PROTECTED]
E-mail 2: [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]