[ovs-discuss] Testing GRE Tunneling in OVS

Ben Pfaff blp at nicira.com
Wed May 6 17:41:22 UTC 2015


On Wed, May 06, 2015 at 01:32:07AM -0400, Venkata Ravichandra Cherukuri wrote:
> Hi all,
> 
>     I have configured GRE Tunnel between two switches using the following
> command. The simulator that I am using is GENI hence, I won't be able to
> use the eth0 interface.
> 
> S1 (eth1 192.168.1.10/24) ---------- S2 (eth1 192.168.1.1/24)
> 
> S1 Configuration:
> 
> /* (For OVS Installation) */
> apt-get install openvswitch-switch
> apt-get update
> 
> /* (For GRE Tunnel Creation) */
> ovs-vsctl add-br br0
> ovs-vsctl add-port br0 gre0 -- set interface gre0 type=gre
> options:remote_ip=192.168.1.1
> 
> S2 Configuration:
> apt-get install openvswitch-switch
> apt-get update
> ovs-vsctl add-br br0
> ovs-vsctl add-port br0 gre0 -- set interface gre0 type=gre
> options:remote_ip=192.168.1.10
> 
> After completion I have tried pinging the two switches and they are able to
> communicate successfully but when I take the pcap file of the communication
> between the switches (tcpdump -i eth1 -w testing.pcap) *I am not able to
> see the GRE encapsulation over packets. *I have used wire-shark to analyze
> the packets.

What did you use to direct traffic into the tunnels?



More information about the discuss mailing list