[ovs-discuss] LISP tunneling - port type=lisp, how to get the port number?

Diego Montero dmontero at ac.upc.edu
Wed May 14 18:48:18 UTC 2014


Hi,

I'm trying to configure a LISP tunnel between two ovs (each in a different 
host), but I found some troubles defining the port number once I add a port 
type=lisp.
According to the README-lisp, first I add the lisp port without problems (also 
the other required ports).

$ ovs-vsctl add-port br0 lisp0 -- set Interface lisp0 type=lisp 
options:remote_ip=flow options:key=flow

$ ovs-vsctl show
dc921bc7-88f5-42e8-baeb-b397fe321fa2
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
        Port "eth2"
            Interface "eth2"
        Port "lisp0"
            Interface "lisp0"
                type: lisp
                options: {key=flow, remote_ip=flow}
        Port "tap0"
            Interface "tap0"
    ovs_version: "2.1.2"

Now, I need to identify the port number that is assigned to 'lisp0' to 
configure the flows. I use ovs-ofctl show br0:

$ ovs-ofctl show br0
OFPT_FEATURES_REPLY (xid=0x2): dpid:00001cc1de073834
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST 
SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(eth2): addr:1c:c1:de:07:38:34
     config:     0
     state:      0
     current:    1GB-FD COPPER AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD AUTO_NEG
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     speed: 1000 Mbps now, 1000 Mbps max
 LOCAL(br0): addr:1c:c1:de:07:38:34
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

It shows that eth2 is in port 1 but there is no info regarding lisp0. 

I hope anyone can provide me some clues.
Many Thanks.

Regards,
Diego Montero.






More information about the discuss mailing list