[ovs-discuss] OVS does not decapsulate GRE packet

Dimitris Mavrommatis dimitris at opennetworking.org
Thu Sep 7 22:11:23 UTC 2017


Hi all,

I have two OVS 2.8.0 switches on different ASes with this configuration:

*Topology:*
     h1 (10.0.0.100) <--> (eth0) OVS1 (eth1) <--> (5.5.5.2) Router 
(6.6.6.2) <--> (eth1) OVS2 (eth0) <--> (20.0.0.100) h2

*OVS1:*
     Bridge "br0":
         Port "br0"
             Interface "br0"
                 type: internal
         Port "eth0"
             Interface "eth0"
         Port "eth1"
             Interface "eth1"
         Port gre-int
             Interface gre-int
                 type: gre
                 options: {remote_ip="6.6.6.1"}

Only br0 has IP assigned to 5.5.5.1. All the ARP requests are handled 
from the controller and there is a default gateway to reach 6.6.6.1. 
Also the flows are set correctly.

*OVS1:*
     Bridge "br0":
         Port "br0"
             Interface "br0"
                 type: internal
         Port "eth0"
             Interface "eth0"
         Port "eth1"
             Interface "eth1"
         Port gre-int
             Interface gre-int
                 type: gre
                 options: {remote_ip="5.5.5.1"}

Same as OVS1.

So now when I am pinging from h1 to h2 the ICMP packet get encapsulated 
from OVS1 and received at OVS2. OVS2 has the destination IP of the GRE 
packet (on br0 interface) but it does not decapsulate it. Instead it 
sends it as a packet in to the controller. Any idea why the GRE packet 
is not getting decapsulated?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170907/22019cc2/attachment-0001.html>


More information about the discuss mailing list