Re: Route fallback issue

Grant Taylor <[email protected]>
Newsgroups org.kernel.vger.lartc
Message-ID <[email protected]>
On 06/19/2018 06:18 AM, Akshat Kakkar wrote:
> I have 2 interfaces
> eno1 : 192.168.1.10/24
> eno2 : 192.168.2.10/24
> 
> I added routes as
> 172.16.0.0/12 via 192.168.1.254 metric 1
> 172.16.0.0/12 via 192.168.2.254 metric 2
> 
> My intention : All traffic to 172.16.0.0/12 should go thru eno1. If
> 192.168.1.254 is not reachable (no arp entry or link down), then it
> should fall back to eno2.
> 
> But this is not working. My box keeps on looking for 192.168.1.254
> (i.e. sending arp requests) and never falls back.
> 
> Can anyone help?

This sounds like Dead Gateway Detection should help.  It's been a long 
time since I've looked at it and don't know it's current status.

Hopefully that will give you something to research.  Ping me if you want 
additional help or me to refresh myself.  Sorry I can't be more specific.



-- 
Grant. . . .
unix || die
smime.p7s (application/pkcs7-signature, 3.9 KB) - not displayed
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.