How do containers tie to multiple IP's on a NIC?

Daniel Lezcano daniel.lezcano at free.fr
Sun Jul 4 09:51:34 PDT 2010


On 07/04/2010 05:40 AM, Whit Blauvelt wrote:
> Hi,
>
> In the containerless world, I often have multiple IPs assigned to a NIC. The
> scant documentation I can find on running containers only ever speaks of
> single IP assignment schemes. Can I have for example a box with a single NIC
> with 8 IPs assigned to it, where the host gets one IP, or perhaps
> alternately can see all 8 to run iptables across, but each of the containers
> can see only whichever IP or IPs are assigned to it?
>    

What container userspace command are you using ? libvirt ? liblxc ? 
unshare --net ?

Thanks
   -- Daniel




More information about the Containers mailing list