Comment on How to get a unique MAC/DHCP IP for a Docker/Podman container without MACVLAN?
Oisteink@feddit.nl 21 hours agoNo - i would advocate for not using docker if I need a network interface. But thats my opinion, and others will have a different one.
You can use macvlan networking, and if you need host<->container communication you give your host a macvlan interface instead or in addition to the root nic. Macvlan works “on top of” an existing interface, so theres no routing locally between the underlying nic and the macvlan nics.
If the host have several nic’s you can pass one through to a given container