[lxc-users] LXC network interfaces

Fajar A. Nugraha list at fajar.net
Thu Apr 24 00:41:33 UTC 2014


On Thu, Apr 24, 2014 at 1:20 AM, Thouraya TH <thouraya87 at gmail.com> wrote:

> Hello,
>
> My container has these interfaces:
> http://imgur.com/Mv0J1dC
>
> i'd like to add another interface like this:
> http://imgur.com/pUT5F4c
> (bridge)
> How can i do this please ?
>
>
Assuming you use the lxc userland tools and config files to create the
container, you can add another block of lxc.network.* to your config file
and it will create a new interface. You can use lxc.network.name to set the
interface name as seen inside the container (e.g. if you want "eth2"
instead of "eth1").

If you use other method of container creation (e.g. libvirt), read their
respective manual.

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140424/9fe495f2/attachment.html>


More information about the lxc-users mailing list