I have a Ubuntu 18.04 LXC container running on Proxmox 5.3-11 that likes to pickup the wrong gateway, essentially the container won't be able to access the internet and I'll find it's default route is pointing at 10.xxx.xxx.254 instead of 10.xxx.xxx.1
However in the networking config for the container it's set to 10.xxx.xxx.1, now in my network .254 is one of the routers however in this case it's not the active router (Corosync cluster, the VIP is .1) so it tends to break things as for instance my site2site vpn's are not landing on that router.
I assume that something is trying to be clever and set the gateway following an ICMP redirect or some such, is this the case?
However in the networking config for the container it's set to 10.xxx.xxx.1, now in my network .254 is one of the routers however in this case it's not the active router (Corosync cluster, the VIP is .1) so it tends to break things as for instance my site2site vpn's are not landing on that router.
I assume that something is trying to be clever and set the gateway following an ICMP redirect or some such, is this the case?