Please can someone explain to me in simple terms what macvlan does?
Here is what I want to achieve;
I want my Raspberry Pi 4 to have the IP address of 192.168.88.5
I want to install docker
I want to set up Pi-hole with DHCP in docker and that must have the IP address of 192.168.88.6
I want to set up MySQL in docker and it must have an IP address of 192.168.88.7
I want to set up XYZ in docker and it must have an IP address of 192.168.88.x
Essentially I want the containers to have their own IP addresses so I can interact with it normally from the other machines on the network and have the RPI 4 to act as a host machine with it's own IP address if I need to interact with it for whatever reason outside of docker.
I believe to achieve this I will need to use macvlan, but for the life of me, it is not "clicking" in my head.
Here is what I want to achieve;
I want my Raspberry Pi 4 to have the IP address of 192.168.88.5
I want to install docker
I want to set up Pi-hole with DHCP in docker and that must have the IP address of 192.168.88.6
I want to set up MySQL in docker and it must have an IP address of 192.168.88.7
I want to set up XYZ in docker and it must have an IP address of 192.168.88.x
Essentially I want the containers to have their own IP addresses so I can interact with it normally from the other machines on the network and have the RPI 4 to act as a host machine with it's own IP address if I need to interact with it for whatever reason outside of docker.
I believe to achieve this I will need to use macvlan, but for the life of me, it is not "clicking" in my head.
Last edited: