Issue when setup a specific VLAN

I’m try to run a container in a specific VLAN (Host = Raspberry Pi 4)

I’m keep getting issue with my config.

my network info :

Gateway IP/Subnet 192.168.3.1/24

DHCP Range 192.168.3.6-192.168.3.254

DNS Server 192.168.1.49 (another VLAN)

  • I’m not sure to understand what my IP range is, assuming is 192.168.3.6/31 ?

host network card :

ifconfig |grep eth

ether 02:XX:XX:XX:XX:ee txqueuelen 0 (Ethernet)

ether 02:XX:XX:XX:XX:35 txqueuelen 0 (Ethernet)

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

ether dc:XX:XX:XX:XX:aa txqueuelen 1000 (Ethernet)

veth28c49f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

ether d2:XX:XX:XX:91:be txqueuelen 0 (Ethernet)

I can see some new Mac address on the VLAN but without IP allocation

docker run --init -d --name=“home-assistant” -e “TZ=Europe/Dublin” -v /home/pi/homeassistant:/config–net=host --network macvlannetwork --dns 1.1.1.1homeassistant/raspberrypi4-homeassistant:stable