[Lxc-users] Routing from lxc guest to a directly connected network to host.

Tony Su tonysu at su-networking.com
Thu Jul 25 17:29:09 UTC 2013


Claudio,
I think NAT is already configured from what was posted, AFAIK he was
expecting to exit his network by broadcast instead of specifying the IP
address of the DG explicitly

Tony
On Jul 25, 2013 9:17 AM, "Claudio Kuenzler" <ck at claudiokuenzler.com> wrote:

> Ok, I just figured out what's going on.. The network 192.168.1.0 doesn't
>> have a route to known the hosts in the network 192.168.5.0.
>>
>> Is it possible to NAT all the lxc network to route to the 192.168.1.0?
>>
>
> You can create iptables NAT postrouting for the internal (192.168.5.0)
> addresses to use the "public" address of the physical host (192.168.1.x).
> See
> http://www.centos.org/docs/4/4.5/System_Administration_Guide/postrouting-ipmasquerading.html
>
> - sorry, forgot to CC lxc-users
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130725/60179928/attachment.html>


More information about the lxc-users mailing list