[ovs-discuss] Re : ip_gre_mod.ko module

DarkBls darkbls at yahoo.com
Mon Jun 21 10:47:57 UTC 2010


I try to make a GRE tunnel between two OvS on two server (phosphorus and sulphur):

I assume that I need two tunnels, one on each OvS isntance:

On Phosphorus:

ovs-vsctl --db=tcp:192.168.93.201:1977 create interface name=gre0 type=gre options:remote_ip=192.168.93.204
e29c391b-2e07-4a2e-95de-99cf6f23158d
ovs-vsctl --db=tcp:192.168.93.201:1977 create port name=gre0 interfaces=[e29c391b-2e07-4a2e-95de-99cf6f23158d]
01c689e2-ecab-4ee6-8902-6aba2efe2deb
ovs-vsctl --db=tcp:192.168.93.201:1977 add bridge br0 ports 01c689e2-ecab-4ee6-8902-6aba2efe2deb


[root at Phosphorus ~]# ovs-vsctl --db=tcp:192.168.93.201:1977 list-ports br0
gre0
tap0

On sulphur:

ovs-vsctl --db=tcp:192.168.93.201:1978 del-port br0 eth1
ovs-vsctl --db=tcp:192.168.93.201:1978 create interface name=gre0 type=gre options:remote_ip=192.168.93.203
8e21e4d9-09e6-46be-85b1-7fe80cb64614
ovs-vsctl --db=tcp:192.168.93.201:1978 create port name=gre0 interfaces=[8e21e4d9-09e6-46be-85b1-7fe80cb64614]
50d15acb-7081-4ee3-8384-72248910b051
ovs-vsctl --db=tcp:192.168.93.201:1978 add bridge br0 ports 50d15acb-7081-4ee3-8384-72248910b051

[root at Sulphur ~]# ovs-vsctl --db=tcp:192.168.93.201:1978 list-ports br0
gre0
tap0


I try to send an arping through tap0 but it doesn't work.

I must have missed something since I don't see any port 47 opened on any server




----- Message d'origine ----
De : Justin Pettit <jpettit at nicira.com>
À : DarkBls <darkbls at yahoo.com>
Cc : discuss at openvswitch.org
Envoyé le : Lun 21 juin 2010, 11h 56min 53s
Objet : Re: [ovs-discuss] ip_gre_mod.ko module

If you are using a 1.0.x release or later, you no longer need to load a separate GRE kernel module.  A new virtual port interface was added to the openvswitch kernel module, and GRE is now implemented through that.  Are you seeing some sort of problem?

--Justin


On Jun 21, 2010, at 2:38 AM, DarkBls wrote:

> Hi,
> 
> I'm trying to make a GRE tunnel between two OvS instance. I don't have ip_gre_mod.ko in my "openvswitch-1.0.1/datapath/linux-2.6/" directory (only brcompat_mod.ko and openvswitch_mod.ko).
> 
> What did I miss in the building process ?
> 
> 
> 
> 
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org


      




More information about the discuss mailing list