[NTLUG:Discuss] Setting the default GW at boot

Tom McDonald tom at compuclaim.com
Wed Dec 27 15:15:07 CST 2000


Phil Carinhas wrote:
> 
> On Tue, Dec 26, 2000 at 11:50:07PM -0600, Jason Fortezzo wrote:
> > At 10:32 PM 12/26/2000, you wrote:
> >  >
> >  >  I thought we were talking about Linux, ROUTE(8), and not the RFC's !?
> >
> > My apologies, to me it seemed you were making a blanket statement about
> > only one default route being possible period, anywhere.
> 
>  Actually I wish Linux DID have multiple Default Gateways because
>  that would make dynamic routing much easier. It seems like even
>  the new IP tools in 2.2 kernels has only one default route.
> 
>  What happens when your default route dies? I suppose you could be
>   connected to a real router with multple default routes, but this
>   prevents you from doing it directly. Also if the NIC in your Linux
>   server goes, you will still have a headache.
> 
>   The only thing I can see that would work in Linux is a load
>   sharing setup like in
> http://www.ds9a.nl/2.4Routing/HOWTO//cvs/2.4routing/output/2.4routing-8.html#ss8.5
> 
>  but its not straight forward (to me).
> --
> 
>   -Phil C.
> .---------------------------------------------------------
> | P. A. Carinhas, Ph.D.        |  pac at fortuitous.com      |
> | Fortuitous Technologies Inc. |  http://fortuitous.com   |
> | Linux Training Services      |  Tel : 1-512 467-2154    |
> | Contract, In-house, & Onsite |  800 : 1-877 467-2154    |
>  ---------------------------------------------------------
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss


I've personally setup multiple GW's on Linux (with only one default GW.)
Admin of multiple GW's can get messy but it is possible.

You might want to Check out this article on tcl/tk for setting different
default GW's - This might be able to be adapted for your needs. 

http://linux.com/news/articles.phtml?sid=93&aid=11459



-- 
Tom McDonald    <tom at compuclaim.com>

Anarchy may not be a better form of government, but it's better than no
government at all.



More information about the Discuss mailing list