[ovs-discuss] How to create mirror packet over GRE on OVS+DPDK

Guoshuai Li ligs at dtdream.com
Mon Sep 25 05:37:20 UTC 2017


I think you may have caught the tunnel inner package.

Is the tunnel outbound from interface dpdk0? how about caught dpdk0 with 
mirror?

Or use dpdk-pdump?

> Hi
>
> How do I configure mirroring of all traffic to a GRE tunnel on OVS+DPDK?
>
> I have a OVS+DPDK setip as below.
>
> # ovs-vsctl show
> 9fe3ef4d-7f29-4a21-80ea-62a705f5d934
>      Bridge "g1"
>          Port "g1"
>              Interface "g1"
>                  type: internal
>          Port "dpdk0"
>              Interface "dpdk0"
>                  type: dpdk
>                  options: {dpdk-devargs="0000:00:09.0"}
>
> I tried to create gre tunnel for packet mirroring
>
> #ovs-vsctl add-port g1 gre0 -- set interface gre0 type=gre
> options:remote_ip=192.1.2.159 -- --id=@p get port gre0 -- --id=@m
> create mirror name=m0 select-all=true output-port=@p -- set bridge g1
> mirrors=@m
>
> I cannot find any packet arrive on 192.1.2.159, any idea?
>
> I have tried to use the same command in an OVS setup without DPDK
> enabled, it works.
>
> please help
>
> - RBK
>
>
> On Mon, Sep 25, 2017 at 1:26 PM, Sun Paul <paulrbk at gmail.com> wrote:
>> Hi
>>
>> How do I configure mirroring of all traffic to a GRE tunnel on OVS+DPDK?
>>
>>
>> I have a OVS+DPDK setip as below.
>>
>> # ovs-vsctl show
>> 9fe3ef4d-7f29-4a21-80ea-62a705f5d934
>>      Bridge "g1"
>>          Port "g1"
>>              Interface "g1"
>>                  type: internal
>>          Port "dpdk0"
>>              Interface "dpdk0"
>>                  type: dpdk
>>                  options: {dpdk-devargs="0000:00:09.0"}
>>
>> I tried to create gre tunnel for packet mirroring
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss



More information about the discuss mailing list