I’m running Ubuntu 18.04 on a RPi 4 with Docker 19.03.6. The Pi is wired into on vlan on eth0 and on another vlan with wlan0. The host can ping both gateways. Docker has both networks created as follows:
docker network create -d macvlan --subnet=192.168.0.0/24 --gateway=192.168.0.1 -o parent=eth0 lan
docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 -o parent=wlan0 iot
I’ve tried a few different containers and none of them can ping the wlan0 gateway, but can ping the eth0 gateway. Any suggestions?