Docker VM and VLANs

user_001

New Member
Sep 23, 2024
6
3
3
Hi,

I have a weird issue and I am scratching my head around it.
Background:

I have a docker app that runs inside a LXC (I know this is not recommended but I am resource constrained :) )
When I run it in a host using vmbr0, no problem at all.

Now I want to create a VLAN where the gateway is pfsense.
I can create the machine, run it.
I can ping it from within the VLAN
I can ping from the LXC both 8.8.8.8 and the gateway of the VLAN
I can ping from the docker container 8.8.8.8 when it is outside the VLAN
But when I move the LXC within the VLAN I cannot ping 8.8.8.8 (nor the gateway) from the container.

I dont know if this is a proxmox setup I am missing or a docker one.
What is weird is I have another container with exactly the same config, but I don't have the issue.
So my guess is I am missing something in proxmox

Can somebody have any idea?

Thanks
 
After further testing, it happens with any container within the VXLAN.
I can ping the machines, but I cannot reach the docker machines running within the VM.
It looks like there is a routing issue somewhere.
The port of the container is well forwarded. I even changed the bridging port ffrom 80 to 8888 for example, but no luck.

Any takers?