Those flows don't output to the tunnel, they input from it. You can't expect to receive traffic from a tunnel if nothing ever sends traffic on it.
On Wed, May 06, 2015 at 02:00:22PM -0400, Venkata Ravichandra Cherukuri wrote: > Please correct me if I am wrong. > > I have added flows already ( sorry for not mentioning it earlier.) > > S1: > ovs-ofctl add-flow br0 in_port=1,actions=output:2 (where my logical port 1 > is gre0 and logical 2 is eth1). > > S2: > ovs-ofctl add-flow br0 in_port=1,actions=output:2 (where my logical port 1 > is gre0 and logical 2 is eth1). > > I am sure that this is not the perfect flow but this should atleast give me > partial result when I analyze the pcap. > > Thanks for the quick revert. > > > Best Regards, > Venkata Ravichandra Cherukuri, > Student, MS in Computer Networks, > North Carolina State University, Raleigh, NC. > +1 919 590 2168 > > On Wed, May 6, 2015 at 1:48 PM, Ben Pfaff <[email protected]> wrote: > > > 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 <[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) ---------- 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? > > > > > > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
