[Lxc-users] Seeking advice on appropriate network layout for my LXC setup

James Gallagher james at jamesgallagher.ie
Sat Jan 5 13:07:37 UTC 2013


On Saturday 5 January 2013 at 02:19, Fajar A. Nugraha wrote:
> > I've come back around to looking at simply attaching all containers to
> > lxcbr0. I don't think anything I want to run would have an issue with NAT. I
> > would then port forward connections to the public IP for web onto the nginx
> > container and so on for other services. The nginx container would proxy to
> > the various apache container instances - as they're all connected to lxcbr0
> > i'm assuming from what I've read that's as straightforward as a regular LAN.
> > 
> Basically use whatever works for you.
> 
> I like bridging the real intnerface more, but NAT should work as well.
> Instead of using lxcbr0 though (which comes with dnsmasq by default),
> I'd create my own bridge:
> http://wiki.1tux.org/wiki/Ubuntu/Bridge#Bridge_with_IP_address
> 


Thanks very much Fajar, appreciate your help and pointers. I'm going to go with a NAT arrangement at this time as it sits best with me at the moment as far as my current understanding goes.

Thanks,
James

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130105/daa1aba4/attachment.html>


More information about the lxc-users mailing list