[ovs-discuss] send mirror traffic to gre tunnel

Anna Giannakou anna.giannakou at inria.fr
Thu Oct 23 13:36:52 UTC 2014


Hello, 

I am quite new to ovs and i have the following question. I have set up a mirror port to br-int using the command : 
ovs-vsctl add-port br-int snooper -- set interface snooper type=internal -- --id=@p get port snooper -- --id=@m create mirror name=m0 select-all=true output-port=@p -- set bridge br-int mirrors=@m 
Now, I want to send this traffic to another host through a gre tunnel (gre mirror) that i have set up. 
my set up on the node is like this: 
Bridge br-int 
fail_mode: secure 
Port patch-tun 
Interface patch-tun 
type: patch 
options: {peer=patch-int} 
Port "qvoe8c77d3e-de" 
tag: 1 
Interface "qvoe8c77d3e-de" 
Port br-int 
Interface br-int 
type: internal 
Port "qvo9370efb0-8f" 
tag: 1 
Interface "qvo9370efb0-8f" 
Port snooper 
Interface snooper 
type: internal 
Bridge br-tun 
Port "gre-0a188503" 
Interface "gre-0a188503" 
type: gre 
options: {df_default="true", in_key=flow, local_ip="10.24.133.2", out_key=flow, remote_ip="x.x.x.3"} 
Port gremirror 
Interface gremirror 
type: gre 
options: {remote_ip="x.x.x.6"} 
Port patch-int 
Interface patch-int 
type: patch 
options: {peer=patch-tun} 
Port "gre-0a188501" 
Interface "gre-0a188501" 
type: gre 
options: {df_default="true", in_key=flow, local_ip="10.24.133.2", out_key=flow, remote_ip="x.x.x.1"} 
Port br-tun 
Interface br-tun 
type: internal 
ovs_version: "1.4.6" 
Can you please give me some hints on how to do that? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20141023/12134077/attachment-0002.html>


More information about the discuss mailing list