Hello!
I am trying to build a simple network that consists of two docker containers and one router. Router is distributing wi-fi connections: 2.4GHz and 5 GHz frequency. Both containers should be connected to router via WIFI. The should get their addresses from router’s dhcp-server, again, via WIFI. At first i tried setting this network with types of docker networks like macvlan and ipvlan that are based on real interfaces. But I didn’t succeed because container saw this interfaces as wired. I also tried to use “host”-network but my OS seems to drop address from second connected interface so there’s no point in doing that. The question: is it even possible to create wi-fi only docker network? Should I use ipvlan then?
WLAN does not handle packages for any other mac than its own.
If you used a wired LAN connection instead, macvlan and ipvlan would work right away.
1 Like
Understood, no wlan connections then, thank you
I should have mentioned as well, that it only works with a wired connecrion and the Docker Engine. It does not work with Docker Desktop, because it runs its engine in a utility vm.
My previous “virtual networks” were built exactly this way, with Docker Engine and macvlan via wired connection. Tried to switch to wireless and got this problem ![]()