Hi All

I am trying to build a gre tunnel between the two openvswitches.I am using
ubuntu 12.04.But i am not able to ping between the two vitual machines.
My set up is explained below.

[image: Inline image 1]



I have two openvswitches (ovs1 and ovs2).ovs1 has ip address
192.168.5.94(eth0) and ovs2 is 192.168.5.172(eth0).Both the switches are
directly connected by the eth0 interface. I have two bridges br0 and br1 in
both the switches.I have given ip of eth0 of ovs1 to br0 and br1 is
10.1.1.1 . Similarly in ovs2 br0 has an ip of eth0 and br1 is 10.1.1.2 .
Then i am adding eth0 to the br0 in both the switches.Now i can
successfully ping between the both the br0's. Then i added virtual machines
in br1 in both the switches using KVM utility.so vm1(IP:10.1.1.20 AND
GATEWAY:10.1.1.1)is in br1 in ovs1 and vm2 (IP:10.1.1.30 AND
GATEWAY:10.1.1.2 is in br1 in ovs2. Then i am making a gre tunnel between
the two openvswitches .So that i can ping between the two virtual machines.

Command i am using for gre tunnel IS

OVS1: ovs-vsctl add-port br1 gre0  -- set interface gre0 type=gre
options:remote_ip=192.168.5.172(ip of br0 of ovs2)
OVS2:  ovs-vsctl add-port br1 gre0  -- set interface gre0 type=gre
options:remote_ip=192.168.5.94(ip of br0 of ovs1)

Now i can ping br0 and br1 of ovs1 from vm1 but i am unable to reach br0
and br1 of ovs2 through vm1. Also i can not ping between the two virtual
machines.
Might be my gre tunnel is not working or it can be a kernel version
problem.Is gre tunnel depends on kernel version??

Please help me in this.

Thanks for your help in advance.

Regards

Aman Sharma

<<image.png>>

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to