LXC Containers are configured with their own networking, so require a
bridging device like what Michael describes. If you wanted to share
networking with the Host you could setup a chroot instead.

Port(and IP) Forwarding should be enabled, but that by itself is typically
insufficient.

After you have your networking configured properly, you should then verify
your FW isn't blocking and in some cases also verify the transparent bridge
filters are disabled, typically at

/proc/sys/net/bridge

Which might all need to be set to zero, on my machine I configured in the
sysctl.conf instead of writing directly to the /proc files.

Tony
On Aug 12, 2013 10:26 PM, "Dan Kegel" <d...@kegel.com> wrote:

> On Mon, Aug 12, 2013 at 10:14 PM, Michael Fox <micha...@heimic.net> wrote:
> > Not sure it will help. But below is my notes on how I do it on Ubuntu
> 12.04
> > and use a bridge interface for my containers.
> >
> > http://heimic.net/2013/08/07/ubuntu-12-04-2-lts-and-lxc-continued/
>
> Thanks, I may try bridging if I can't get simple port forwarding to work.
>
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to