[ovs-discuss] Testing GRE Tunneling in OVS

Ben Pfaff blp at nicira.com
Wed May 6 17:48:49 UTC 2015


That doesn't direct traffic into the tunnel.

You would normally use an OpenFlow flow to direct traffic to the tunnel.

On Wed, May 06, 2015 at 01:45:21PM -0400, Venkata Ravichandra Cherukuri wrote:
> Hi Ben,
> 
>     I have used normal "ping" to generate traffic.
> 
> From S1 I tried to ping S2 using "ping 192,168.1.1"
> 
> Best Regards,
> Venkata Ravichandra Cherukuri,
> Student, MS in Computer Networks,
> North Carolina State University, Raleigh, NC.
> 
> On Wed, May 6, 2015 at 1:41 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
> > 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