<div dir="ltr"><div>Hi All,</div><div>I'm using lxc in my project, I want to combine lxc with Linux bonding, so I've tried do Linux bonding with <strong>mode=6</strong> on the host, the bonding interface is <strong>bond0</strong>, whose SLAVE are <strong>eth0</strong> and <strong>eth1</strong> of the host. And I use <strong>macvlan</strong> type by the "lxc.network.link = bond0" to link the host and the container.</div>
<div> </div><div>The network part of lxc configuration like this:</div><div> </div><div>lxc.network.type = macvlan</div><div>lxc.network.flags = up</div><div>lxc.network.link = bond0</div><div>lxc.network. name = eth0</div>
<div>lxc.network.mtu = 1500</div><div>...</div><div> </div><div>But, the problem is, when I use <strong>ping</strong> command inside the container, it will lose about 80% packet! And if I change the bonding mode to others(ie. 0,1...) on the host, this problem will not occur any more.</div>
<div> </div><div>Is there any one doing the same or similar thing like I do, and encountered the problem?</div><div>Every helpful comment would be highly appreciated.</div><div> </div><div>Regards,</div><div>Yao</div></div>