Hello,

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.

I've thought about adding a route... statement to a script that ends the
PPP session (like ip-down), but would prefer it take place on the trigger
of the pppd process ending.

I've considered a cron job to do this, but can't help thinking there might
be a better a way.

Anyone have any ideas?  Also, feel free to comment on the above
configuration - it quite simply is the only way I could get everything to
work together.

Thanks,
Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to