[ovs-discuss] Testing GRE Tunneling in OVS

Venkata Ravichandra Cherukuri vcheruk2 at ncsu.edu
Wed May 6 05:32:07 UTC 2015


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.

All I am able to see is ICMP request/reply messages.

root at Node1:~# tcpdump -i eth1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
01:28:43.945308 IP 192.168.1.10 > 192.168.1.1: ICMP echo request, id 4322,
seq 10, length 64
01:28:43.945334 IP 192.168.1.1 > 192.168.1.10: ICMP echo reply, id 4322,
seq 10, length 64
01:28:44.945890 IP 192.168.1.10 > 192.168.1.1: ICMP echo request, id 4322,
seq 11, length 64
01:28:44.945907 IP 192.168.1.1 > 192.168.1.10: ICMP echo reply, id 4322,
seq 11, length 64
01:28:45.946464 IP 192.168.1.10 > 192.168.1.1: ICMP echo request, id 4322,
seq 12, length 64


Is this the correct way to test? or
Am I missing something?

Kindly, help.

Thanks,
Venkata Ravichandra Cherukuri,
Student, MS in Computer Networks,
North Carolina State University, Raleigh, NC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150506/8045f9e6/attachment-0002.html>


More information about the discuss mailing list