Hi Sonia,

Try this one it should work: as it is working for me.



*         Created bridge br1

*         Add port eth0 to br1

*         Clear eth0 IP address  (ifconfig eth0 0.0.0.0 up),   Kill DHCP client 
on eth0, start dhclient on br0/ or/ assign the static IP to br0, Adjust eth0 
routes to go through br0.

@Host1

ovs-vsctl add-br br0
ovs-vsctl add-br br1
ovs-vsctl add-port br0 eth0
ifconfig eth0 0 && ifconfig br0 192.168.1.10 netmask 255.255.255.0
route add default gw 192.168.1.1 br0
ifconfig br1 10.1.2.10 netmask 255.255.255.0
ovs-vsctl add-port br1 gre1 -- set interface gre1 type=gre 
options:remote_ip=192.168.1.11


@ Host 2
ovs-vsctl add-br br0
ovs-vsctl add-br br1
ovs-vsctl add-port br0 eth0
ifconfig eth0 0 && ifconfig br0 192.168.1.11 netmask 255.255.255.0
route add default gw 192.168.1.1 br0
ifconfig br1 10.1.2.11 netmask 255.255.255.0
ovs-vsctl add-port br1 gre1 -- set interface gre1 type=gre 
options:remote_ip=192.168.1.10

Thanks,
Vivek
From: discuss-boun...@openvswitch.org [mailto:discuss-boun...@openvswitch.org] 
On Behalf Of sonia verma
Sent: Tuesday, December 10, 2013 7:12 PM
To: discuss@openvswitch.org
Subject: [ovs-discuss] OVS with GRE

Hi all,

I need to test GRE with OVS.I'm following below link for this....

http://blog.scottlowe.org/2013/05/07/using-gre-tunnels-with-open-vswitch/
but not able to ping between two VMs.
Can you help regarding this...


Thanks...
Sonia

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

Reply via email to