[ovs-discuss] selective packet mirror

Ben Pfaff blp at ovn.org
Thu Feb 2 21:40:20 UTC 2017


On Thu, Feb 02, 2017 at 01:12:02PM -0800, Joo Yong-Seok wrote:
> Hi,
> 
> I am wondering is it possible to do "selective" packet mirroring. From
> previous question, I learnt how to enable port mirror on OVS port but I
> think that I should do "selective" packet mirroring since performance issue.
> 
> So, basically, I want to enable some sort of "filter" and want to mirror
> only specific filter. (like ARP, DHCP...)
> 
> Basically, I created tap interface by using linux TUN module and want to
> send those packet to tap and make user-space application to listen it.
> 
> Tried "actions" with multiple destination but, what I really want is kind
> of "mirror" type of thing - send an original packet to regular L2
> forwarding module and send a copied packet to "TAP" interface. (Tried
> actions=normal,output:tap0 but doesn't work).

That solution is reasonable and I would expect it to work.  What actual
behavior did you see?


More information about the discuss mailing list