Hi Diego,

On 5/15/14, 8:48 AM, Diego Montero wrote:
Hi,

I'm trying to configure a LISP tunnel between two ovs (each in a different
host), but I found some troubles obtaining 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 used ovs-ofctl show br0 to obtain this information:

$ 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.

If the lisp0 vport doesn't show up in the ovs-ofctl show br0 output it means that it wasn't configured successfully. You should take a look at the output of 'dmesg' or '/var/log/messages' to see if there is some error logged.

Which kernel module are you using? LISP is not part of the upstream Linux openvswitch kernel module, so you need the out-of-tree kernel module that comes with the OVS distribution.

HTH,
-Lori

Many Thanks.

Regards,
Diego Montero.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to