On Mon, 2012-09-24 at 14:48 +0800, 宣铭艺 wrote: > Hi guys > I have a host machine and want to create 3 containers on it. > Containers should can ping each other,but can't communicate with the host. > All containers shoud surf the Internet. > Should I use macvlan bridge mode?And how to set the host's and containers' > network environment
Geeze, this sounds like an OLD problem. What distribution and what version? What version of the kernel? What version of lxc (which really shouldn't matter - it's a kernel problem). I honestly don't know if it's been ever fixed but macvlan use to always have this problem and I finally threw up my hands and went straight bridging. I have not looked back or tested macvlan on any containers since. Regards, Mike > the goal blow > My Host: > eth0 192.168.1.23 gateway 192.168.1.1 It connects to the Internet > > lxcbr0?? bridge? need it? > > Containers: > c1: 192.168.2.45 ? how to configure > c2: 192.168.2.46 ? how to configure > c3: 192.168.2.47 ? how to configure > > > Thanks > -- > 樱宝宝: http://www.xuanmingyi.com > > ------------------------------------------------------------------------------ > 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 -- Michael H. Warfield (AI4NB) | (770) 985-6132 | m...@wittsend.com /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users