[OOR-Users] configuring OOR on ubuntu
Albert López
alopez at ac.upc.edu
Tue Mar 1 08:54:47 CET 2016
Hello,
The problem is that you have configured your client as an xTR when it
should be a mobile node.
You should change the parameter operating-mode of the configuration file
from xTR to MN. The xTR is used when the device is working as a router
with other clients connected to it.
On the other hand, I see that the RLOC of the device is a private
address while the address of the Map Server is a public address. Notice
that current implementation of OOR doesn't support NAT.
Best regards
Albert
On 28/02/16 03:03, vtec support wrote:
> hi
> i am trying to configure OOR on ubuntu 14.04 LTS
> server side
>
> oor.conf
>
> debug = 3
> map-request-retries = 2
> log-file = /var/log/oor.log
>
> operating-mode = MS
> control-iface = eth0
>
> lisp-site {
> eid-prefix = 1.1.1.1/32
> key-type = 1
> key = test123
> # iid = 0
> accept-more-specifics = true
> }
>
> ==========================================================================================
> 2016/2/28 2:56:16] INFO: Open Overlay Router v1.0 compiled for Linux
>
> [2016/2/28 2:56:16] WARNING: Rights: Effective [4294967295] Permitted
> [4294967295]
> [2016/2/28 2:56:16] INFO: Building address to interface hash table
> [2016/2/28 2:56:16] INFO: Control created!
> [2016/2/28 2:56:16] INFO: Log level: High Debug
> [2016/2/28 2:56:16] DEBUG-3: Creating mdb...
> [2016/2/28 2:56:16] DEBUG-3: Creating mdb...
> [2016/2/28 2:56:16] DEBUG: Finished Constructing Map-Server
> [2016/2/28 2:56:16] INFO: Device working in mode Map Server
> registering with control
> [2016/2/28 2:56:16] DEBUG-2: Adding interface eth0 with index 2 to
> iface list
> [2016/2/28 2:56:16] DEBUG-2: Interface eth0 with index 2 added to
> interfaces lists
>
> [2016/2/28 2:56:16] DEBUG-3: open_ip_raw_socket: open socket 5 with afi: 2
> [2016/2/28 2:56:16] DEBUG: bind_socket: Binded socket 5 to source
> address 16.9.8.13 and port 0
> [2016/2/28 2:56:16] DEBUG: add_rule: Add rule -> Send packets with
> source address 16.9.8.13 and destination address _NULL_ to the table 2
> with priority 2.
> [2016/2/28 2:56:16] DEBUG-3: open_ip_raw_socket: open socket 6 with
> afi: 10
> [2016/2/28 2:56:16] DEBUG: bind_socket: Binded socket 6 to source
> address 2a01:4f8:151:208a::2 and port 0
> [2016/2/28 2:56:16] DEBUG: add_rule: Add rule -> Send packets with
> source address 2a01:4f8:151:208a::2 and destination address _NULL_ to
> the table 2 with priority 2.
> [2016/2/28 2:56:16] DEBUG: Adding lisp site prefix 1.1.1.1/32 to the
> lisp-sites database
> [2016/2/28 2:56:16] DEBUG-3: _add_ippref_entry: Added map cache data
> for 1.1.1.1/32
> [2016/2/28 2:56:16] DEBUG-3: mdb_add_entry: inserted 1.1.1.1/32
> [2016/2/28 2:56:16] DEBUG-3: open_udp_datagram_socket: Created socket
> 7 associated to IPv4 addresses
>
> [2016/2/28 2:56:16] DEBUG: bind_socket: Binded socket 7 to source
> address _NULL_ and port 4342
> [2016/2/28 2:56:16] DEBUG-3: open_udp_datagram_socket: Created socket
> 8 associated to IPv6 addresses
>
> [2016/2/28 2:56:16] DEBUG: bind_socket: Binded socket 8 to source
> address _NULL_ and port 4342
> [2016/2/28 2:56:16] DEBUG-2: Default IPv4 control iface eth0: 16.9.8.13
>
> [2016/2/28 2:56:16] DEBUG-2: Default IPv6 control iface eth0:
> 2a01:4f8:151:208a::2
>
> [2016/2/28 2:56:16] DEBUG: Control initialized
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG: tun_update_route: Process new gateway
> associated to the interface eth0: 16.9.8.12
> [2016/2/28 2:56:16] DEBUG: add_route: added route to the system: src
> addr: -, dst prefix:-, gw: 16.9.8.12, table: 2
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: tun_update_route: the extractet address
> from the netlink messages is a local link address: fe80::1 discarded
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG-3: =>process_netlink_msg: Received new route
> message
> [2016/2/28 2:56:16] DEBUG: ****** Summary of the configuration ******
> [2016/2/28 2:56:16] DEBUG: ****************** MS configured prefixes
> **************
>
> [2016/2/28 2:56:16] DEBUG: Prefix: 1.1.1.1/32, accept specifics: on
> merge: off, proxy: off
> [2016/2/28 2:56:16] DEBUG:
> *******************************************************
>
> [2016/2/28 2:56:16] DEBUG: **************** MS registered sites
> ******************
>
> [2016/2/28 2:56:16] DEBUG:
> *******************************************************
>
> [2016/2/28 2:56:16] DEBUG: Starting Map-Server ...
> [2016/2/28 2:56:16] INFO:
>
> Open Overlay Router (v1.0): started...
>
>
> [2016/2/28 2:56:16] DEBUG-3: OOR_API: zmq_ctx_new errno: Success
>
> [2016/2/28 2:56:16] DEBUG-3: OOR_API: zmq_socket: Success
>
> [2016/2/28 2:56:16] DEBUG-2: OOR_API: API server initiated using ZMQ
>
>
> ====================================================================================================
>
>
>
>
> no LISP TUN show up on server side
>
> ifconfig
> eth0 Link encap:Ethernet HWaddr 14:da:e9:ef:6d:02
> inet addr:16.9.8.13 Bcast:16.9.8.159 Mask:255.255.255.224
> inet6 addr: 2a01:4f8:151:208a::2/64 Scope:Global
> inet6 addr: fe80::16da:e9ff:feef:6d02/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:5893552 errors:0 dropped:20 overruns:0 frame:0
> TX packets:2133706 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:7390943067 (7.3 GB) TX bytes:530010168 (530.0 MB)
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:65536 Metric:1
> RX packets:3584 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3584 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:215040 (215.0 KB) TX bytes:215040 (215.0 KB)
>
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 0.0.0.0 16.9.8.12 0.0.0.0 UG 0 0 0 eth0
> 16.9.8.13 16.9.8.12 255.255.255.224 UG 0 0 0 eth0
> 16.9.8.13 0.0.0.0 255.255.255.224 U 0 0 0 ethic
>
>
> client Ubuntu 14.04 LTS
>
> debug = 3
> map-request-retries = 2
> log-file = /var/log/oor.log
>
> operating-mode = xTR
>
> rloc-probing {
> rloc-probe-interval = 30
> rloc-probe-retries = 2
> rloc-probe-retries-interval = 5
>
> map-resolver = {
> 16.9.8.13
> }
>
> map-server {
> address = 16.9.8.13
> key-type = 1
> key = test123
> proxy-reply = on
>
> database-mapping {
> eid-prefix = 1.1.1.1/32
> # iid = 0
> # rloc-address {
> # address = 192.168.8.105
> # priority = 1
> # weight = 50
> # }
> rloc-iface{
> interface = eth0
> ip_version = 4
> priority = 1
> weight = 100
>
>
>
> [2016/2/28 6:49:13] DEBUG: Map-Register -> flags:PirM record-count: 1
> nonce 3bbadfa577d2fa3b, EID: 1.1.1.1/32, MS: 16.9.8.13
> [2016/2/28 6:49:13] DEBUG: Sent control message IP: 192.168.8.105 ->
> 16.9.8.13 UDP: 4342 -> 4342
> [2016/2/28 6:49:13] DEBUG: Sent Map-Register for mapping 1.1.1.1/32 to
> 16.9.8.13
> [2016/2/28 6:49:13] DEBUG: Received Map-Notify-> flags:ir,
> record-count: 1, nonce 3BBADFA577D2FA3B, IP: 16.9.8.13 ->
> 192.168.8.105, UDP: 4342 -> 4342
> [2016/2/28 6:49:13] DEBUG: Mapping-record -> ttl: 10 loc-count: 1
> action: no-action auth: 1 map-version: 0 eid: 1.1.1.1/32
> [2016/2/28 6:49:13] DEBUG: Locator-record -> flags: L=1,p=0,R=1,
> p/w: 1/100 255/0, addr: 192.168.8.105
> [2016/2/28 6:49:13] DEBUG-2: mapping_get_locators_with_afi: List for
> OOR AFI 1 and afi 2 not yet created
> [2016/2/28 6:49:13] DEBUG-2: mapping_add_locator: Added locator
> 192.168.8.105 to the mapping with EID 1.1.1.1/32.
> [2016/2/28 6:49:13] DEBUG: Map-Notify message confirms correct
> registration of 1.1.1.1/32.Programing next Map-Register in 60 seconds
> [2016/2/28 6:49:13] DEBUG-3: xTR: Completed processing of LISP control
> message
> [2016/2/28 6:49:17] DEBUG-3: LMAPI: Data available in API socket
>
> [2016/2/28 6:49:17] DEBUG-3: LMAPI: Bytes read from API socket: -1.
> [2016/2/28 6:49:17] ERR: LMAPI: Error while ZMQ receiving: Resource
> temporarily unavailable
>
> [2016/2/28 6:49:17] ERR: oor_api_loop: Error while trying to retrieve
> API packet
>
> [2016/2/28 6:49:27] DEBUG-3: LMAPI: Data available in API socket
>
> [2016/2/28 6:49:27] DEBUG-3: LMAPI: Bytes read from API socket: -1.
> [2016/2/28 6:49:27] ERR: LMAPI: Error while ZMQ receiving: Resource
> temporarily unavailable
>
> [2016/2/28 6:49:27] ERR: oor_api_loop: Error while trying to retrieve
> API packet
>
>
> eth0 Link encap:Ethernet HWaddr 08:00:27:d2:e3:84
> inet addr:192.168.8.105 Bcast:192.168.8.255 Mask:255.255.255.0
> inet6 addr: fe80::a00:27ff:fed2:e384/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:21720 errors:0 dropped:0 overruns:0 frame:0
> TX packets:14449 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:16039019 (16.0 MB) TX bytes:2328812 (2.3 MB)
>
> lispTun0 Link encap:UNSPEC HWaddr
> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
> UP POINTOPOINT RUNNING MTU:1440 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:500
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:65536 Metric:1
> RX packets:397 errors:0 dropped:0 overruns:0 frame:0
> TX packets:397 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:37532 (37.5 KB) TX bytes:37532 (37.5 KB)
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 0.0.0.0 192.168.8.1 0.0.0.0 UG 0 0 0 eth0
> 192.168.8.0 0.0.0.0 255.255.255.0 U 1 0 0 ethic
>
> NO IP address of LISPTUN0
>
> i don’t know what i am doing wrong please help
>
> Thanks
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openoverlayrouter.org/pipermail/users/attachments/20160301/d8b4dfc1/attachment-0001.html>
More information about the Users
mailing list