You would need tunnel endpoints to complete tunnel setup.
add-port br0 tep0 -- set interface tep0 type=internal (in each switch)
Assign a private subnet IP on tep0 (different than 192.168.1.x) and then
you would see GRE encapsulated packets
on pinging tep0.
Regards,
Gowrishankar
On Wednesday 06 May 2015 11:15 PM, 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 <[email protected]
<mailto:[email protected]>> 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 <http://192.168.1.10/24>) ---------- S2
(eth1 192.168.1.1/24 <http://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?
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss
--
Regards,
Gowrishankar M
Linux Networking
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss