This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] HVM network interface question

To: Jeroen Groenewegen van der Weyden <groen692@xxxxxxxxx>
Subject: Re: [Xen-users] HVM network interface question
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Wed, 14 Oct 2009 17:00:28 +0700
Cc: "xen-users-request@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 14 Oct 2009 03:01:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4AD59E47.3090609@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4AD59E47.3090609@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>