how to make a permanent routing entry?
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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
Quoted 28 lines · On Thu, 2002-06-13 at 06:28, [email protected] 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.2then i add a routing entry
ex: ip route default gw 10.2.2.2 table testif 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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Signature · 13 lines
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 _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/