On Wed, Sep 26, 2012 at 7:59 PM, 宣铭艺 <xuanmin...@gmail.com> wrote: > yes I used static ip. > I seted the static ip 10.0.0.2 in the config file. > It can't ping www.google.com
Read my previous response about "don't know much about networking or bridge". > > Today > I don't set the static ip?Will that use dhcp? Depends on how you create and configure the container. If you use templates, and your host environment and lxc installation is "sane"-enough, and you don't configure any networking settings inside the container, then yes, it will use DHCP. > Now It can ping each other and ping www.google.com > > In containers: > Then I traceroute the packages > I find a gateway.I think it's a dhcp and router That's how dhcp works. -- Fajar ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users