Re: 2nd default gateway [updated]

kalinix <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <1212660454.18085.12.camel@localhost>
On Thu, 2008-06-05 at 09:03 -0400, Gery wrote:
> Hi All,
> 
> I have Linux machine with 2 ethernet cards in different segments. Like
> 10.2.1.1 and 192.168.1.1
> Do i need 2 default gateways in routing table? Please, give me an
> example when it may happen.
> 
> [update]
> The machine MAY BE connected to separate networks and i mean w/ 2 different 
> routers. Security reasons, for example.
> If such case, demands 2nd gateway?
> 
> Zaphod
> thanks in advance
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


If you look for a setup that enable your linux box to have two gateways
(e.g. Routing for multiple uplinks/providers) you may find an excelent
how-to here:

http://lartc.org/howto/lartc.rpdb.multiple-links.html


HTH



Calin Cosma

=================================================
The computer can't tell you the emotional story. It can give you the
exact mathematical design, but what's missing is the eyebrows. - Frank
Zappa
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.