<br clear="all">Hi all:<div> I use macvlan as the network configuration for my LXC VMs.</div><div><br></div><div> Here is my configuration for LXC VMs:</div><div><br><div> lxc.network.type = macvlan</div>
<div> lxc.network.macvlan.mode = vepa</div><div> lxc.network.flags = up</div><div> lxc.network.link = tap0</div><div><br></div><div> and I config 4 virtual eth in this VMs, each has the tap0 as its network link.</div>
<div><br></div><div> I use a tap device as the link for the macvlan, and I run a process to read and write this tap device.</div><div> when I write a ARP quest to the tap device, the macvlan didn't broadcast the packet to the network interface in the VM.</div>
<div><br></div><div> I put some debug code in the macvlan.c and runs this test. and I find the skb did not even enter the macvlan_handle_frame function.</div><div> </div><div> Could someone tell me is there any thing wrong in my config?</div>
<div><br></div><div> thx~~</div><div><br></div><div><br></div><div><br>-- <br><div><br></div>hepeng<br>ICT<br>
</div></div>