I’m testing out the new WAN load balancing in VyOS 1.5, and I’m not sure how to get it to impact containers that are using host networking.
I’ve added enable-local-traffic and to test created a inbound-interface lo rule with a destination of 1.1.1.1.
But if I ping 1.1.1.1 from inside the container, the counters in show wan-load-balance status do not climb at all.
That would work. Unfortunately I need my container to run on the host network as it does some layer 2 stuff.
@16again the packets do not cross the lo interface, they only hit the WAN interface. So that rule is probably completely useless.
I’m not sure about the enable-local-traffic and how that’s supposed to work. The current version of WAN load balancing — VyOS 1.5.x (circinus) documentation does not even mention it, despite it still existing in the config system.
Edit: it looks like the solution might be to use protocols failover route. Will test it out when I have a minute.