MultiBird on L2 - A crazy idea for Fail Over y and Load Balancing

Grant Taylor gtaylor at tnetconsulting.net
Tue Jan 19 18:12:34 CET 2021


On 1/19/21 8:22 AM, Alexander Zubkov wrote:
> You can also try to bind several birds to a single address in linux 
> (probably little patchin is required to set socket options) and linux 
> will balance sessions between them.

You might be able to get away with running the different instances of 
BIRD on different ports and rely on IPTables to redirect traffic to & 
from the alternate port.  Thus likely eliminating the need to patch the 
source code.

If you're doing the redirecting, I'd be more inclined to redirect to an 
alternate IP and run each BIRD instance in it's own network namespace on 
the default ports.

You may actually be able to redirect based on PBR routes and anycast the 
same IP in the network namespaces.  --  This might also allow you to 
configure the PBR such that there is a preferred network namespace / 
BIRD instance while allowing fall back to an alternate network namespace 
/ BIRD instance.



-- 
Grant. . . .
unix || die

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4013 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20210119/6588686d/attachment.p7s>


More information about the Bird-users mailing list