[ovs-discuss] LISP tunnel between ovs and an openLISP router

Diego Montero dmontero at ac.upc.edu
Wed May 21 17:04:47 UTC 2014


Hi everyone,
I am working with ovs tunneling using lisp. I am able to configure a tunnel 
between two ovs (each in a different host) and it works perfectly. I followed 
the README-lisp document. Now, I am trying to configure the tunnel between an 
ovs and an openLISP router.  The topology is depicted below.

vm1: 192.168.1.1 /24
host1: 192.168.2.1 /24

ovs1 ip: 172.16.76.1
openLISP ip: 172.16.76.2

               +---+                               +----+
               |VM1|                               |host1|
               +---+                               +----+
                 |                                   |
            +--[vnet0]--+                      +--[eth1]---+
            |          |                       |           |
        [lisp0] OVS1 [eth0]-----------------[eth0] OpenLISP|
            |          |                       |           |
            +----------+                       +-----------+

OpenLISP is configured as an xTR with static map-cache: 192.168.1.1 -> 
172.16.76.1 and the encapsulation in dataplane works.  From the other side, I 
setup the lisp0 port with "type=lisp options:remote_ip=flow options:key=flow", 
and the ovs of (openflow) rules are as follows:

ovs-ofctl add-flow br0 
"priority=1,in_port=7,dl_type=0x0800,vlan_tci=0,nw_src=192.168.1.1,action=set_field:172.16.76.2>tun_dst,output:8"

ovs-ofctl add-flow br0 "priority=0,action=NORMAL"

ovs-ofctl add-flow br0 "priority=2,in_port=7,dl_type=0x0806,action=NORMAL"

ovs-ofctl add-flow br0 
"priority=3,dl_type=0x0800,nw_proto=17,nw_dst=172.16.76.1,tp_dst=4341,action=output:7"

The of ports are as follows:
 8	lisp0
 7 vnet0

I took care of the arp resolution within vm1 by configuring static MAC 
addresses. Now, the problem is that I am not able to see the encapsulation of 
the packets when vm1 tries to contact to host1 (with ping). On the other hand, 
the packets coming from host1 to vm1 reach the ovs1, but they are not 
decapsulated and forwarded to vm1. I am wondering if first, is this scenario 
feasible? and which openflow rules should be configured?

Many thanks.

Regards,
Diego Montero.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140521/a4069307/attachment-0002.html>


More information about the discuss mailing list