Last updated on

[LAB] Calico + MetalLB + BGP ECMP


Here we try to export POD, LB CIDR to VyOS thouth Calico, MetalLB and BGP.

TOPO

image

  • POD CIDR - 10.10.0.0/16

  • LB CIDR - 10.200.0.0/16

VyOS Router

Single network OS for many roles and platforms. VyOS runs on a wide range of hardware from small office routers to large servers, as well as virtual machines and multiple cloud providers.

Install MetalLB

⚠️ Remove Speaker Component

MetalLB IP Address Pool

Calico Default IP Pool

⚠️ Disable NAT

Calico BGP Configuration

VyOS Configuration

https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt

https://lwz322.github.io/2019/11/03/ECMP.html

fib_multipath_use_neigh - BOOLEAN

fib_multipath_hash_policy - INTEGER