[ovs-discuss] How to set up GRE tunnel on openvswitch?

Justin Pettit jpettit at nicira.com
Mon May 28 07:41:41 UTC 2012


On May 27, 2012, at 6:50 PM, YIMIN CHEN wrote:

> Thank you very much for your help! I had similar configuration on my
> setup. I wanted to add a flow to ovs to forward to the gre0 when
> traffic is going to other host. ovs-ofctl has such command to add
> flow, with set_tunnel option to set the action. However, the option
> takes an 32-bits ID, and I am not sure what ID I should use? "gre0"?


gre0 should now be a port as far as OVS is concerned, and you can treat just like a physical port.  The "set_tunnel" action is if you want to set the GRE key dynamically through OpenFlow actions.  This is described in the ovs-vswitchd.conf.db man page.

--Justin





More information about the discuss mailing list