Hi,
I need help with porting old (working) lisp-mn config to the new lispmob.
I have a lisp-mn config which is working properly on an old version of
lispmob
but I am unable to get it working on the current master.
Is there anything wrong with the new config?
--------------------- new lisp-mn config
debug = 3 # Debug level [0..3]
map-request-retries = 2 # send 2 before giving up
map-resolver = {
217.8.97.6, # 217.8.98.42
fd00:100::1
}
# Register to this map server
map-server {
address = 217.8.98.33 # Address of the map server (IPv4 or
IPv6)
key-type = 1 # SHA1
key = *********
proxy-reply = on # ask ms to proxy reply
}
#### unchanged from example config
# Encapsulate packets for non-LISP sites to this Proxy-ETR
proxy-etr {
address = 217.8.98.33
priority = 1
weight = 100
}
# IPv4 EID of the mobile node
database-mapping {
eid-prefix = 153.16.22.196/32
interface = eth0 # Interface containing the RLOCs associated
to this EID
priority_v4 = 1
weight_v4 = 100
priority_v6 = 1
weight_v6 = 100
}
# IPv6 EID of the mobile node
database-mapping {
eid-prefix = 2610:d0:1219:192::4/128
interface = eth0 # Interface containing the RLOCs
associated to this EID
priority_v4 = 1
weight_v4 = 100
priority_v6 = 1
weight_v6 = 100
}
#### unchanged from example config
# Static cache entries
static-map-cache {
eid-prefix = 153.16.10.0/24
rloc = 128.223.156.134
priority = 1
weight = 100
}
# List of PITRs to SMR on handover
proxy-itrs = {
69.31.31.98, # eqx-ash-pxtr
149.20.48.60, # isc-pxtr
198.6.255.37, # asp-pxtr
129.250.1.63, # ntt-amer-pxtr
217.8.98.33, # intouch-pxtr-1
217.8.98.35, # intouch-pxtr-2
193.162.145.46, # tdc-pxtr
158.38.1.92, # uninett-pxtr
203.181.249.172 # apan-pxtr
}
---------------------
----------------- old lisp-mn config
#
# lispd config
#
debug = on
map-request-retries = 2 # send 2 before giving up
#
# LISP Config
#
map-resolver = 217.8.97.6 # intouch-mr-ms-1
proxy-etr {
address = 217.8.98.33 # intouch-pxtr-1
priority = 1
weight = 100
}
map-server {
address = 217.8.97.6 # intouch-isis
key-type = 1 # cleartext
key = ********* #hidden
verify = off # on --> lig(self)
proxy-reply = on # ask ms to proxy reply
}
database-mapping {
eid-prefix = 153.16.22.196/32
interface = eth0
priority = 1
weight = 100
}
database-mapping {
eid-prefix = 2610:d0:1219:192::4/128
interface = eth0
priority = 1
weight = 100
}
proxy-itrs = {
69.31.31.98, # eqx-ash-pxtr
149.20.48.60, # isc-pxtr
198.6.255.37, # asp-pxtr
129.250.1.63, # ntt-amer-pxtr
217.8.98.33, # intouch-pxtr-1
217.8.98.35, # intouch-pxtr-2
193.162.145.46, # tdc-pxtr
158.38.1.92, # uninett-pxtr
203.181.249.172 # apan-pxtr
}
---------------------
#ifconfig output after starting lispd compiled as mobile node
eth0 Link encap:Ethernet HWaddr 00:0d:b9:2a:74:b8
inet addr:217.97.133.68 Bcast:217.97.133.71 Mask:255.255.255.248
inet6 addr: fe80::20d:b9ff:fe2a:74b8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:36112 errors:0 dropped:53 overruns:0 frame:0
TX packets:17393 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10501970 (10.0 MiB) TX bytes:6323860 (6.0 MiB)
Interrupt:10 Base address:0xc000
lispTun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:153.16.22.196 P-t-P:153.16.22.196 Mask:255.255.255.255
inet6 addr: 2610:d0:1219:192::4/128 Scope:Global
UP POINTOPOINT RUNNING MTU:1440 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:2648 (2.5 KiB)
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 0.0.0.0 128.0.0.0 U 0 0 0
lispTun0
0.0.0.0 217.97.133.65 0.0.0.0 UG 0 0 0 eth0
128.0.0.0 0.0.0.0 128.0.0.0 U 0 0 0
lispTun0
217.97.133.64 0.0.0.0 255.255.255.248 U 0 0 0 eth0
The only error in the log is:
ERR: fordward_native: No output interface for afi 10
Here is the relevant part of the log of what happens when I try to ping
8.8.8.8
# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3003ms
-------------------
DEBUG-3: lookup_map_cache_node: The entry 8.8.8.8 is no
t found in the map cache
DEBUG: No map cache retrieved for eid 8.8.8.8
DEBUG-2: Added map cache entry for EID: 8.8.8.8/32
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Request packet for 8.8.8.8/32
DEBUG-3: select_src_rmt_locators_from_balancing_locator
s_vec: src EID: 153.16.22.196, rmt EID: 0.0.0.0, protoc
ol: 1, src port: 0 , dst port: 0 --> src RLOC: 217.97.1
33.68, dst RLOC: 217.8.98.33
DEBUG-3: OUTPUT: Encap src: 217.97.133.68 | Encap dst:
217.8.98.33
DEBUG-3: Fordwarded eid 8.8.8.8 to petr
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 21
7.8.97.6
DEBUG-3: Fordwarding native for destination 217.8.97.6
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Request packet for 8.8.8.8/32
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 21
7.8.97.6
DEBUG-3: Fordwarding native for destination 217.8.97.6
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 153.16.22.196 | Orig dst: 8.
8.8.8
DEBUG-3: select_src_rmt_locators_from_balancing_locator
s_vec: src EID: 153.16.22.196, rmt EID: 0.0.0.0, protoc
ol: 1, src port: 0 , dst port: 0 --> src RLOC: 217.97.1
33.68, dst RLOC: 217.8.98.33
DEBUG-3: OUTPUT: Encap src: 217.97.133.68 | Encap dst:
217.8.98.33
DEBUG-3: Fordwarded eid 8.8.8.8 to petr
DEBUG: Retransmiting Map Request for EID: 8.8.8.8
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Request packet for 8.8.8.8/32
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 21
7.8.97.6
DEBUG-3: Fordwarding native for destination 217.8.97.6
DEBUG-3: Fordwarding native for destination 217.8.97.6
DEBUG: No Map Reply fot EID 8.8.8.8/32 after 2 retries.
Removing map cache entry ...
DEBUG-2: Deleting map cache entry: 8.8.8.8/32
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Register message for 153.16.22.196/32 to maps server
217.8.98.33
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Register message for 2610:d0:1219:192::4/128 to maps server
217.8.98.33
DEBUG: Reprogrammed map register in 60 seconds
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 217.8.98.33
DEBUG-3: Fordwarding native for destination 217.8.98.33
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 217.8.98.33
DEBUG-3: Fordwarding native for destination 217.8.98.33
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Register message for 153.16.22.196/32 to maps server
217.8.98.33
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Register message for 2610:d0:1219:192::4/128 to maps server
217.8.98.33
DEBUG: Reprogrammed map register in 60 seconds
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 217.8.98.33
DEBUG-3: Fordwarding native for destination 217.8.98.33
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 217.8.98.33
DEBUG-3: Fordwarding native for destination 217.8.98.33
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Register message for 153.16.22.196/32 to maps server
217.8.98.33
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Register message for 2610:d0:1219:192::4/128 to maps server
217.8.98.33
DEBUG: Reprogrammed map register in 60 seconds
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 217.8.98.33
DEBUG-3: Fordwarding native for destination 217.8.98.33
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 217.8.98.33
DEBUG: Sent Map-Register message for 153.16.22.196/32 to maps server
217.8.98.33
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Register message for 2610:d0:1219:192::4/128 to maps server
217.8.98.33
DEBUG: Reprogrammed map register in 60 seconds
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 217.8.98.33
DEBUG-3: Fordwarding native for destination 217.8.98.33
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 217.8.98.33
DEBUG-3: Fordwarding native for destination 217.8.98.33
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Register message for 153.16.22.196/32 to maps server
217.8.98.33
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Register message for 2610:d0:1219:192::4/128 to maps server
217.8.98.33
DEBUG: Reprogrammed map register in 60 seconds
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 217.8.98.33
DEBUG-3: Fordwarding native for destination 217.8.98.33
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 217.8.98.33
DEBUG-3: Fordwarding native for destination 217.8.98.33
^[DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Register message for 153.16.22.196/32 to maps server
217.8.98.33
DEBUG-3: open_udp_socket: socket at creation: 14
DEBUG: Sent Map-Register message for 2610:d0:1219:192::4/128 to maps server
217.8.98.33
DEBUG: Reprogrammed map register in 60 seconds
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 217.8.98.33
DEBUG-3: Fordwarding native for destination 217.8.98.33
DEBUG-3: Received packet in the tun buffer
DEBUG-3: OUTPUT: Orig src: 217.97.133.68 | Orig dst: 217.8.98.33
DEBUG-3: Fordwarding native for destination 217.8.98.33
-----------------
Regards,
Artur