Current-Users archive

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

Re: Xen - port mirroring - Open vSwitch?

On Tue, Nov 06, 2012 at 07:16:28PM +0100, Johan Ihrén wrote:
> Hi,
> I need to do port mirroring to capture traffic between DOMUs. Or, rather, I 
> need to be able to capture the traffic somehow, be it port mirroring or 
> something else.
> As far as I can tell the NetBSD bridge device has no support for this. 

And it's not really needed: the traffic you want is present on at last
one ethernet interface (virtual or real) as the traffic accross the
bridge has to come from somewhere (and eventually goes somewhere).
So just run tcpdump on the right interface. To capture a domU traffic,
run tcpdump on the corresponding xvifx-y interface in dom0.

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index