On Tue, Aug 30, 2016 at 11:24 AM, Manish Chopra
<manish.cho...@qlogic.com> wrote:
> Hi Jesse,
>
>
>
> I am trying GENEVE tunneling via OVS bridge port using ovs-vsctl tool on my
> two servers which are connected back to back
>
> and running latest net-next kernel.
>
>
>
> eth1- 192.168.44.44
>
> eth2- 192.168.44.45
>
> br2  [Setup 1] – 192.168.55.44
>
> br2  [Setup 2] -  192.168.55.45
>
>
>
>
>
>                Setup  1
> Setup 2
>
> ##########################
> #########################
>
> OVS br2 -------------- eth1 - ###  ---------------------------------------
> ### - eth2 ---------------OVS br2
>
> ##########################
> #########################
>
>
>
> I have configured OVS using below commands  -
>
>
>
> Setup 1
>
> ovs-vsctl add-br br2
>
> ovs-vsctl add-port br2 gnv0 -- set interface gnv0 type=geneve
> options:remote_ip=192.168.44.45 options:key=01 options:dst_port=4789
>
>
>
> Setup 2
>
> ovs-vsctl add-br br2
>
> ovs-vsctl add-port br2 gnv0 -- set interface gnv0 type=geneve
> options:remote_ip=192.168.44.44 options:key=01 options:dst_port=4789
>
>
>
> When I run traffic between both OVS bridge – I see that it uses geneve
> header of size 8 bytes.
>
> I was wondering if I could use GENEVE with options using OVS ? which would
> have geneve header size more than 8 bytes ?
>
>
>
> I couldn’t find anything about what arguments I should be using with
> ovs-vsctl on both setups to use GENEVE with options ?
>
> Could you please supply necessary configuration/commands which I can try to
> use GENEVE with options while running traffic ??

In order to use options with Geneve tunnels, you'll need to map TLVs
onto a set of tun_metadataXXX fields, which can then be used with any
OVS flow mechanism, such as matches and actions. There is some
information on how to do this in the ovs-ofctl man page:
https://github.com/openvswitch/ovs/blob/v2.5.0/utilities/ovs-ofctl.8.in#L427

You'll need to be using OVS 2.5 or newer to do this.

I also noticed that you're configuring port 4789 for the tunnels. Any
port will work as long as both sides are configured the same way but
this is a bit odd since it is the port assigned to VXLAN. Geneve has
been assigned UDP port 6081 and OVS will use this by default if no
port is explicitly configured.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to