Re: Failover route

Linux Advanced Routing and Traffic Control

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

 



On 3/16/19 10:33 AM, Erik Auerswald wrote:
Hi,

Hi,

BFD echo mode does not require support from the other side.

Full Stop!  What‽

…reading hiatus…

Very interesting.

It works by sending an IP packet destined to the sending interface out an interface. The upstream side is supposed to send this packet back through the same interface (this is IP, not Ethernet).

I guess BFD Echo Mode is really just an IP packet that exercises the remote forwarding engine.

It should work on any type of link where you can send a packet addressed to yourself (that happens to be from yourself) and sent out a link to a device that that should forward traffic destined to your local IP address.

I wonder if µRPF would interfere with this at all. I doubt it, because the source IP would be coming in an interface that is an outgoing route to said IP as a destination.

I can see how some additional checking above and beyond µRPF might take objection to traffic coming in an interface and immediately going back out the same interface. As in why is that traffic coming in said interface in the first place. But that's not µRPF as I understand it.

I have not yet tried this on Linux, but BFD echo modes is used for short failure detection times in larger networks, because often the line card (or port ASIC) can generate and check the packets without CPU processing. A BFD control session is still usually used between adjacent devices, but it is not strictly necessary.

I'm very intrigued by the idea of using (what I'm going to call) BFD-EM /without/ BFD control sessions. I think this means that BFD-EM will work against any device that will forward packets back to you.

Very interesting.

Thank you for sharing Erik.



--
Grant. . . .
unix || die

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux