<div dir="ltr"><div><div>Guido:<br></div>And BTW, exactly why would that be so? Because I'm saying VirtualBox, Jails, and Zones are somehow better than LXC? That's not what I'm saying, just that those three alternatives have another easier mechanism to accomplish the bridge. And what generally is the tone of communication on this user mailing list? Helpful and friendly, or contentious and unfriendly?<br></div>RMK<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 19, 2015 at 2:51 PM, Guido Jäkel <span dir="ltr"><<a href="mailto:G.Jaekel@dnb.de" target="_blank">G.Jaekel@dnb.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 19.11.2015 23:04, Robert Koretsky wrote:<br>
</span><span class="">> Again, can anyone tell me why lxcbr0 is configured to start with an IP of<br>
> 10.0.3.1? My Ubuntu 15.10 Desktop machine, which has a container, gets its<br>
> IP via DHCP from a router.<br>
<br>
</span>"Because" <a href="http://10.0.0.0/8" rel="noreferrer" target="_blank">10.0.0.0/8</a> is a reserved private network range like <a href="http://192.168.0.0/16" rel="noreferrer" target="_blank">192.168.0.0/16</a>. And there's a good chance, that it is not used outside the machine used by the developer's PC where LXC is typically used.<br>
<br>
The other "port forwarding" way you mentioned is comparable to a firewall model, here a selected part of traffic at layer 3 in one network is NATed to another network.<br>
<br>
But to clarify again: A IP assigned to the bridge is not related to any Container but to the Host and take over the role of the IP one have assigned to the NIC on the host before it was attached to the bridge.<br>
<br>
If you don't attach the bridge to the NIC, the IP on the bridge have to be used as a L3 routing aim. But then, you have to set up a route to the here used network (say 10.0.3/8) on the other hosts or on the router (say to route 10.0.3/8 via 192.168.0.6).<br>
<br>
<br>
You neither need 100 lines in a script nor I expect that you need to download additional packages (i'm not using Ubuntu) - but you need to understand TCP/IP network basics. And i'm sorry, you'll need it a bit deeper than "I plugged in the cable and the ADSL-router made me connected to the Internet"<br>
<br>
<br>
BTW: It reads to me, that Fajar gets a bit angry. And It takes some bytes to get him there :o<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
greetings<br>
<br>
Guido<br>
<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></div></div></blockquote></div><br></div>