[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] HVM network interface question



On Wed, Oct 14, 2009 at 4:47 PM, Jeroen Groenewegen van der Weyden
<groen692@xxxxxxxxx> wrote:
> Hello,
>
> I'm trying the capture ethnet packets with wireshark insite of a HVM.
> However I do not see all traffic in wireshark in the HVM. when I run
> wireshark inside of dom0 on the network bridge all internet packets can be
> seen.
>
> Here a little overview.
>
> [domU HVM  qemu realtek] -> [ dom0 br0 -> eth0]
>              ^                                             ^
>                                                [dom0  wireshark shows all
> ethernet packets]
> [domu wireshark does not show all ethernet trafic]
>

That's the way Linux bridge works. Similar to a L2 switch. eth0 on
domU will only see :
- packets for it's own MAC address, or
- broadcast/multicast packets
This is different from how a dumb hub works.

In dom0, all traffic needs to go through br0/eth0, which is why you
can see all domU traffic there. This is similar to what happens on an
uplink interface on L2 switch.

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.