I am building HAProxy on a vm running Ubuntu 20.04.
I want to have use two nics, on two separate subnets so I can have a management IP address that is not on the same network as my frontend vips.
I can reach both management nic and the nic that is on the vip network. But when I try to source ping from the nic on the vip network to the backend servers it doesn’t work. All my traffic wants to use the management network interface as its gateway.
Has anyone been able to do this on Ubuntu 20.04 using Netplan?
Below is my netplan config, the 10.99.20.0/24 is management and 10.10.111.10 is for the vip side
- to: 10.99.20.0/24
- from: 10.99.20.135/24
- to: 10.10.111.0/24
- from: 10.10.111.10/24