2nd default gateway [updated]
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
Quoted 12 lines · Gery
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?
Quoted 7 lines
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