<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 24, 2014 at 1:20 AM, Thouraya TH <span dir="ltr"><<a href="mailto:thouraya87@gmail.com" target="_blank">thouraya87@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>Hello,<br><br></div>My container has these interfaces:<br>
<a href="http://imgur.com/Mv0J1dC" target="_blank">http://imgur.com/Mv0J1dC</a><br><br>i'd like to add another interface like this:<br><a href="http://imgur.com/pUT5F4c" target="_blank">http://imgur.com/pUT5F4c</a><br>
</div>(bridge)<br><div><div>How can i do this please ?<br></div><div><br></div></div></div></blockquote><div><br></div><div>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 <a href="http://lxc.network.name">lxc.network.name</a> to set the interface name as seen inside the container (e.g. if you want "eth2" instead of "eth1").</div>
<div><br></div><div>If you use other method of container creation (e.g. libvirt), read their respective manual.</div><div><br></div><div>-- </div><div>Fajar</div></div></div></div>