Hi Stefan, First of all, thank you for your interest in LISPmob!
Everything seems fine in your configuration, I'm a bit puzzled why it is not working. We use Ubuntu 12.04 too for our tests, so it's not a problem of the OS. Let me ask you to perform a few steps to try to figure out what's happening. Just to be sure, check if rp_filter option is disabled before running LISPmob: sysctl net.ipv4.conf.eth0.rp_filter. If it is enabled, please disable it with: sudo sysctl net.ipv4.conf.eth0.rp_filter=0 Try querying the Mapping System with "lig" to see if you can get any Map-Reply in your vm. Compile it from https://github.com/LISPmob/lig and run it with "./lig -m [map-resolver] [EID]". You should see something like this: root@lisp-mob10:/home/lisp/lig# ./lig -m 149.20.48.61 141.1.1.1 Send map-request to 149.20.48.61 for 141.1.1.1 ... Received map-reply from 149.20.48.61 with rtt 0.18500 secs Mapping entry for EID '141.1.1.1': 128.0.0.0/4, instance ID: 0, via map-reply, record ttl: 4, not auth, not mobile Negative cache entry, action: forward-native You can also try to run LISPmob with the highest debug level (lispd -d 3) and forward us the output (beware, with data traffic that will provide a huge amount of output :P). We'll be waiting for your reply! Best, Alberto On 20 February 2013 11:23, Stefan Sachse <[email protected]> wrote: > Hello to all, > I am quite exited about this project. > Last week Lori was so kind to grant me access to the beta-network. > So for Testing I set up a vm with > Ubuntu 12.04.2 LTS > Gave it a routeable public IP from Kabel-Deutschland on my eth0 > > eth0 Link encap:Ethernet Hardware Adresse 00:0c:29:X:X:X > inet Adresse:X.X.157.X Bcast:X.X.157.255 Maske:255.255.254.0 > UP BROADCAST RUNNING MULTICAST MTU:576 Metrik:1 > RX packets:7588 errors:0 dropped:0 overruns:0 frame:0 > TX packets:21 errors:0 dropped:0 overruns:0 carrier:0 > Kollisionen:0 Sendewarteschlangenlänge:1000 > RX-Bytes:505127 (505.1 KB) TX-Bytes:2564 (2.5 KB) > > > My /etc/lispd.conf is following > > # > # lispd config > # > debug = 2 # Debug level [0..3] > map-request-retries = 4 # send 2 before giving up > > # > # LISP Config > # > > # Encapsulated Map-Requests are sent to this map resolver > #map-resolver = 217.8.98.42 # intouch-ams-mr-ms > #map-resolver = 195.50.116.18 # intouch-ams-mr-ms > #map-resolver = 173.36.254.164 # intouch-ams-mr-ms > map-resolver = 149.20.48.61 # intouch-ams-mr-ms > > # Register to this map server > map-server { > address = 217.8.97.6 # intouch-mn-rtr > key-type = 1 # SHA1 > key = XXXXXXX # intentionally blanked ;-) > proxy-reply = on # ask ms to proxy reply > } > > # Encapsulate packets for non-LISP sites to this Proxy-ETR > proxy-etr { > #address = 217.8.98.33 # intouch-pxtr-1 > address = 149.20.48.60 # intouch-pxtr-1 > priority = 1 > weight = 100 > } > > # IPv4 EID of the mobile node > database-mapping { > eid-prefix = XXXXXXXXXXXXXX > interface = eth0 > priority_v4 = 1 > weight_v4 = 100 > priority_v6 = 1 > weight_v6 = 100 > } > > # IPv6 EID of the mobile node > database-mapping { > eid-prefix = XXXXXXXXXXXXXX > interface = eth0 > priority_v4 = 1 > weight_v4 = 100 > priority_v6 = 1 > weight_v6 = 100 > } > > # 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 > } > > There is no firewall active ! > > As soon as I start > udo lispd -f /etc/lispd.conf > > I have following route entries > > stefan@lisp-router:~$ ip route > 0.0.0.0/1 dev lispTun0 proto static > default via X.X.157.254 dev eth0 metric 100 > X.X.156.0/23 dev eth0 proto kernel scope link src X.X.157.X > 128.0.0.0/1 dev lispTun0 proto static > > The lispTun0 is up and running And gets registered on the map-server > > But > > lispTun0 Link encap:UNSPEC Hardware Adresse > 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 > inet Adresse:XXXXXX P-z-P:XXXXXXX Maske:255.255.255.255 > UP PUNKTZUPUNKT RUNNING MTU:1450 Metrik:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 > Kollisionen:0 Sendewarteschlangenlänge:500 > RX-Bytes:0 (0.0 B) TX-Bytes:196 (196.0 B) > > Does not receive any packets ! > > I can ping lispTun0 from the localhost, but not from another ..... > As soon as I try to ping another IP, like > 141.1.1.1 > I get those debug messages > EBUG: Sent Map-Request packet for 141.1.1.1/32 > DEBUG: Sent Map-Request packet for 141.1.1.1/32 > DEBUG: Retransmiting Map Request for EID: 141.1.1.1 > DEBUG: Sent Map-Request packet for 141.1.1.1/32 > DEBUG: No Map Reply fot EID 141.1.1.1/32 after 2 retries. Removing map > cache entry ... > DEBUG-2: Deleting map cache EID entry 141.1.1.1/32 > DEBUG: No map cache retrieved for eid 141.1.1.1 > DEBUG-2: Added map cache entry for EID: 141.1.1.1/32 > DEBUG: Sent Map-Request packet for 141.1.1.1/32 > DEBUG: Sent Map-Request packet for 141.1.1.1/32 > DEBUG: Retransmiting Map Request for EID: 141.1.1.1 > DEBUG: Sent Map-Request packet for 141.1.1.1/32 > DEBUG: No Map Reply fot EID 141.1.1.1/32 after 2 retries. Removing map > cache entry ... > > And lispTun0 never receives any packet !! > > I guess I just missed some routing but I don't have any Idea what I could > have missed ..... > As soon as I shutdown lispd everything works again like expected ..... > Its reachable via its public IP and I can ping any address from localhost > > > Thanks for your help > > Stefan Sachse > > >
