...
One interesting limitation I encountered is that other containers cannot resolve to the Additional Public IP. Not sure why and looking into fixing this.
I also believe you You must have,
- 1 macvlan mapped to 1 container interface
- each interface must have different static IP addresses
...
macvlan
...
macvlan mac address
The first thing to do is to create a mac address for the macvlan interface we will create on the host.
...
Connect Container to macvlan on Host
Now one ore more containers one container may connect to the mvlan0 interface on the host and they will get their IPs directly from the same network connected to the host (if DHCP) or you can assign static IPs inside the container that are reserved for you.
...