Quoting Nirmal Guhan (vavat...@gmail.com):
> On Wed, Aug 11, 2010 at 5:06 AM, Serge Hallyn
> <serge.hal...@canonical.com> wrote:
> > Quoting Nirmal Guhan (vavat...@gmail.com):
> >> Hi,
> >>
> >> Want to know if port numbers are virtualized for containers or do the
> >> containers and host share the port space ? Please let me know.
> >
> > Wrong layer.  If the container shares a network namespace with the
> > host, then it shares its networking.  If it has its own network
> > namespace, then it has its own entire network stack.  So no, 'port
> > space' isn't virtualized.vs.shared, but the network devices are.
> >
> Thanks. How do I configure the container to have its own network stack?

I did

cat >> /etc/lxc-basic.conf << EOF
lxc.network.type=veth
lxc.network.link=virbr0
lxc.network.flags=up
EOF

lxc-create -n ubuntu1 -f /etc/lxc-basic.conf -t ubuntu

-serge

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to