-
MAC VLAN?
- Why: To simplify port mapping.
- How:
- Method 1: defined in docker-compose.yaml (Preferred. See the attached snippet).
- Method 2: created in OMV compose GUI. (Not recommended since it only support IPv6).
- what the limiation?
- the new ip from mac vlan can only be accessed from other local devices on the same LAN but not from the docker host. That means local request forwarding is possible by other services like Caddy.
-
How to support IPv6?
- Add an IPv6 address in the MAC VLAN, define its gateway and subset.
- Preferr to the publich
sudo ip link add mac0 link ens18 type macvlan mode bridge
sudo ip addr add 192.168.0.99/24 brd + dev mac0
sudo ip link set mac0 up
Issue (7/3/2025): still can't ping the adguard host (192.168.0.86/24)