I believe this is also a problem solved by Julian''s Patches
http://www.linuxvirtualserver.org/~julian/#routes
You need true static entries that will persist when the connection goes
down. You may ba able to simple add proto static
For example
ip route default gw 10.2.2.2 proto static table test
On Thu, 2002-06-13 at 06:28, tbsky@greenware.com.tw
wrote:> hi:
> i use adsl and pppoe to connect to internet,
> and i got a ppp connection, like 10.1.1.1 -> 10.2.2.2
>
> then i add a routing entry
> ex: ip route default gw 10.2.2.2 table test
>
> if for some reason the connection is broken,
> the ppp0 interface will gone, so that routing entry
> will gone also.
> raspppoe will try to connect again automatically, so
> after a while, ppp0 & connection are back again,
> but the routing entry will not come back.
>
> so, can i make that routing entry work forever even ppp0 is gone?
> thanks for advice!!!
>
> Regards,
> tbsky
>
>
>
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
--
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios Inc.
439 Amber Way
Petaluma, Ca. 94952
Phone 707.766.9509
Fax 707.766.8989
http://www.obsidian-studios.com