Virtual Switch:
Container Network (br-656dddb1c5d3)
IP Address:
192.168.0.1
Physical:
Virtual:
Unifi-OS-Server_Virtual Adapter 1
Member:
Container Station
I stumped getting this working. I don’t know if the problem lies in the docker compose settings or the virtual switch is getting setup wrong. Anyone here can help?
Hi, @Hypnosis4u2nv The following information comes from our RD team.
Whether to use qnet over macvlan depends on your requirements.
macvlan is sufficient if your only goal is to make the container accessible via a static LAN IP from other devices on the network.
However, if you also need the QNAP host system or other containers on the same NAS to communicate with the deployed container, qnet is the correct choice — macvlan has a known limitation where the host cannot reach containers on the macvlan interface.
Thanks for the explanation of the differences between the two drivers. Seeing as I only need Unifi OS Server to communicate with the other Unifi devices on my network (inform/adoption) and nothing else within the QNAP host/containers, I’ll stick with the macvlan setting.
Your using a static IP of 192.168.1.23 but your defined network subnet is 192.168.0.0/23?
My subnet config also defines the CIDR as /24 versus /23 that you set. I don’t know what affect that has with my setup using the macvlan driver, but I see in the QNAP documents for qnet driver using that /23 annotation.