Re: 2nd default gateway

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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.
> 

To my understanding no, that won't work since the default gw is a match
anything solution. Thus if you put two default gws into your routing
table the second one will never be looked at (if sorting stays the same).

HTH

Carsten
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux