<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>No problem. You must create network bridge with local network
adapter and bridging lxc containers to it.</p>
<p>For example network subsystem for LXD manager:</p>
<p>auto lxd-cluser-01<br>
iface lxd-cluser-01 inet static<br>
bridge_ports eth0<br>
address 192.168.0.232<br>
netmask 255.255.255.0</p>
<p>Default container config to network bridge:</p>
<p>lxc network attach-profile lxd-cluser-01 default eth0<br>
</p>
<div class="moz-cite-prefix">30.03.2019 14:41, Carmelo Ingrao пишет:<br>
</div>
<blockquote type="cite"
cite="mid:CACDuy9V79yBioJ4S6SF_pL5gYYSGf8ppwPiA__-a6c-Y1L70gQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello !
<div><br>
</div>
<div>I'm new to this mailing list. I'm using LXD since a few
months, but until now, my conainters were bridged in their own
network.</div>
<div><br>
</div>
<div>Now, I want the containers can obtain IP adresses on the
same subnet than the LXD manager, and other devices in my home
network.</div>
<div><br>
</div>
<div>So : </div>
<div><br>
</div>
<div>Home router : 192.168.0.219</div>
<div>Desktop computer : 192.168.0.100</div>
<div>Domotic solution : 192.168.0.200</div>
<div>LXD "manager" : 192.168.0.232</div>
<div><br>
</div>
<div>I want the containers with IP like 192.168.0.240-250, and
be able to be seen and see the orher devices.</div>
<div><br>
</div>
<div>Thanks :)</div>
<div><br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div><br>
</div>
Carmelo Ingrao</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a>
</pre>
</blockquote>
</body>
</html>