OPNsense + BGP + metallb: not sharing routes to LAN

Started by opensense_ftw_421, February 16, 2025, 06:29:18 PM

Previous topic - Next topic
February 16, 2025, 06:29:18 PM Last Edit: February 16, 2025, 10:42:40 PM by opensense_ftw_421
Hello, I am having some trouble setting up (i)BGP between opnsense and metallb in my multi-node k3s cluster and my local network. The BGP peer is a hardware router running OPNsense, and all devices (k3s cluster plus dedicated switch, laptop) are connected to a network switch on the LAN side of my router.

If I ssh into the router or a k3s node and hit the IP assigned by metallb to a test nginx k8s service, I receive a successful response. However, when I hit the same IP from my laptop on my local network, a path is not established. Any suggestions on how to diagnose which component to dig further into?


EDIT: resolved. Make sure that metalLB's allocated IPs are different than the IPs served via the active layer 2 network.