[ovs-discuss] Create a GRE interface

Lee, Jeongkeun jklee at hp.com
Wed Apr 28 21:33:53 UTC 2010


Hi Jesse,

I'm trying to create a GRE interface with the latest master branch, in which the new vport GRE is integrated. So, I assume I can skip the first two steps from the instructions you gave before.

1. Unload the Linux ip_gre module if it already loaded
2. Load the OVS GRE module (ip_gre_mod.ko in the same directory as the main OVS module).
3. Create an interface of type "gre" using the config protocol.  The options field on the interface has several GRE specific choices such as remote_ip, local_ip, key, etc.
4. Connect the interface to a bridge and use it like a normal port.

To do the step 3, create an interface of type "gre", I tried ovs-vsctl:

ovs-vsctl create interface type=gre name=gre0 options="remote_ip=x.x.x.x"

which created a corresponding record in the interface DB.

Then, calling 'ovs-vsctl add-port br0 gre0' failed with the errors saying there is no such device with a name gre0. Seems like the OVSDB wire protocol (used by ovs-vsctl and ovsdb-client) does not really configure OVS but just makes DB transactions.

Can you please describe a little bit more about the step 3 and 4?

Thank you.
-- JK


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100428/a1acfa90/attachment-0001.html>


More information about the discuss mailing list