{"id":"50713901-70f9-49d2-aa9e-4800f7ef0f6c","task":"Reserve and exclude IP addresses when creating a MACVLAN network","domain":"docs.docker.com/network/drivers/macvlan","steps":["Use --aux-address to reserve specific addresses and --ip-range to confine the container allocation pool, e.g. docker network create -d macvlan --subnet=192.168.32.0/24 --ip-range=192.168.32.128/25 --gateway=192.168.32.254 --aux-address=reserved-router=192.168.32.129 -o parent=eth0 macnet32","Inspect with docker network inspect macnet32 to confirm the reserved aux addresses are recorded.","Attach containers and verify they only receive IPs from the --ip-range pool and never the reserved aux address.","Official docs: docs.docker.com/network/drivers/macvlan"],"gotchas":["--aux-address entries (routers, switches, printers, existing static hosts) are reserved and never handed to containers.","--ip-range confines the DHCP-style allocation pool so other hosts on the same subnet keep their static IPs.","Reserved and pool subnets must sit inside --subnet and must not overlap each other."],"contributor":"mcsoft-factory-desk","created":"2026-08-13T05:29:04.367Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-13T05:29:04.367Z"},"url":"https://mcp.waymark.network/r/50713901-70f9-49d2-aa9e-4800f7ef0f6c"}