[MIP6D-NG Support] Error in running mobile node conf file

Neha Patel 14pgce030 at charusat.edu.in
Sat Nov 28 07:16:33 CET 2015


Hello,

Thank you for your support.
But we are not able to get global ipv6 as our campus has only ipv4
addresses enabled.So we have tried to add static global ipv6 address but we
are still having the same error.the output of ifconfig is as follow:

wlan0     Link encap:Ethernet  HWaddr 8c:a9:82:5e:86:04
          inet addr:10.10.0.4  Bcast:10.10.0.255  Mask:255.255.255.0
          inet6 addr: 2001:db8:ffff::1/128 Scope:Global
          inet6 addr: fe80::8ea9:82ff:fe5e:8604/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4185 errors:0 dropped:0 overruns:0 frame:0
          TX packets:256 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:453726 (453.7 KB)  TX bytes:38880 (38.8 KB)

mobile node conf file is as follow:

loglevel = 2
interfaces = { "wlan0" }
md-delete-delay = 8

mn {
    home-address = "2001:db8:ffff::1"
    ha-address =   "2001:db8:ffff::1000"
    lifetime = 40
}

bid-pri wlan0 {
    priority = 10
}

log file is as follow:


neha at neha-Inspiron-N5010:~$ sudo /home/mip6d-ng/bin/mip6d-ng -c
/home/mip6d-ng/bin/mip6d-ng-mn.conf -m /home/mip6d-ng/etc/mip6d-ng/modules
[DBG] 20151128 114248.326 |_env-c09655b7| Initializing module: environment
[DBG] 20151128 114248.327 |_api-c09655b7| Initializing module: api
[DBG] 20151128 114248.327 |_api-c09655b7| API listening address is
unspecified: using in6addr_any
[DBG] 20151128 114248.327 |_api-40fb30b6| IPv6/TCP accept thread started on
[::]:1234
[DBG] 20151128 114248.327 |_md_-c09655b7| Initializing module: MD
[INF] 20151128 114248.327 |_md_-c09655b7| Interface added: wlan0 3
[DBG] 20151128 114248.327 |ccom-c09655b7| Initializing module: core-comm
[DBG] 20151128 114248.327 |ctrl-c09655b7| Initializing module: control
[DBG] 20151128 114248.328 |ctrl-c09655b7| Initializing node: MN
[DBG] 20151128 114248.328 |ctrl-c09655b7| Home-address:
2001:0db8:ffff:0000:0000:0000:0000:0001
[DBG] 20151128 114248.328 |ctrl-c09655b7| HA address:
2001:0db8:ffff:0000:0000:0000:0000:1000
RTNETLINK answers: File exists
[ERR] 20151128 114248.329 |_env-40ebb0b5| Unable to add state!
     [17] File exists
[ERR] 20151128 114248.329 |ctrl-c09655b7| Unable to create IP6IP6 XFRM
tunnel
     [0] Success
[DBG] 20151128 114248.329 |_api-40ebb0b5| New API command registered:
CTRL_GET_HAA [4 1]
[DBG] 20151128 114248.329 |_api-40fb1fb4| New API command registered:
CTRL_GET_HOA [4 0]
[DBG] 20151128 114248.329 |data-c09655b7| Initializing module: data
[DBG] 20151128 114248.329 |_api-40ebb0b5| New API command registered:
DATA_GET_BUL [5 0]
[DBG] 20151128 114248.329 |mcoa-c09655b7| Initializing module: mcoa
[DBG] 20151128 114248.330 |mcoa-c09655b7| MCoA interface 3: bid 1
preference 254
[DBG] 20151128 114248.331 |_api-40ebb0b5| New API command registered:
MCOA_GET_BUL [6 0]
[DBG] 20151128 114248.331 |flob-c09655b7| Initializing module: flowb
[DBG] 20151128 114248.331 |mcoa-40ebb0b5| Set MCoA 3 interface preference
to 10
[DBG] 20151128 114248.332 |_api-40eb9fb3| New API command registered:
FLOWB_REGISTER [7 0]
[DBG] 20151128 114248.332 |_api-40ebb0b5| New API command registered:
FLOWB_UPDATE [7 1]
[DBG] 20151128 114248.332 |_api-40eb9fb3| New API command registered:
FLOWB_DELETE [7 2]
[DBG] 20151128 114248.332 |ctrl-c09655b7| Start module: Control
[DBG] 20151128 114248.332 |_md_-c09655b7| Start module: MD simple
[DBG] 20151128 114248.332 |_md_-c09655b7| Interface wlan0 3 is UP


Any help will be greatly appreciated.

Thanks and regards,
Neha




On Thu, Nov 26, 2015 at 3:55 PM, Norbert Varga <varga.norbert89 at gmail.com>
wrote:

> Hi Neha,
>
> you should not use link-local IPv6 addresses as a HA address and home
> address. Every network interface (under ubuntu distribution) includes only
> one link-local address, so maybe this is the reason why the RTNELINK cannot
> add another link-lokal address to your interface ("File Exists" message
> error).
>
> Please check the relevant part of our MN config file:
>
> loglevel = 2
>
> interfaces = { "eth1", "eth2" }
> md-delete-delay = 8
>
> mn {
> 	home-address = "2001:470:7210:10::1"  <- use here global IPv6 instead of link-local
> 	ha-address   = "2001:470:7210:10::1000" <- use here global IPv6 instead of link-local
>
> 	lifetime = 40
> }......
>
> Br,
> Norbi
>
> 2015-11-26 10:24 GMT+01:00 Neha Patel <14pgce030 at charusat.edu.in>:
>
>> Hello,
>>
>> here is my log of mip6d-ng while running mobile node.
>>
>>
>> rucha at rucha-HP-630-Notebook-PC:~$ sudo /home/mip6d-ng/bin/mip6d-ng -c
>> /home/mip6d-ng//bin/mip6d-ng-mn.conf -m /home/mip6d-ng/etc/mip6d-ng/modules
>> [DBG] 20151126 143943.139 |_api-c0a651b7| Initializing module: api
>> [DBG] 20151126 143943.139 |_api-c0a651b7| API listening address is
>> unspecified: using in6addr_any
>> [DBG] 20151126 143943.139 |_api-40abacb6| IPv6/TCP accept thread started
>> on [::]:1234
>> [DBG] 20151126 143943.139 |_env-c0a651b7| Initializing module: environment
>> [DBG] 20151126 143943.140 |_md_-c0a651b7| Initializing module: MD
>> [INF] 20151126 143943.140 |_md_-c0a651b7| Interface added: eth0 2
>> [DBG] 20151126 143943.140 |ccom-c0a651b7| Initializing module: core-comm
>> [DBG] 20151126 143943.140 |ctrl-c0a651b7| Initializing module: control
>> [DBG] 20151126 143943.140 |ctrl-c0a651b7| Initializing node: MN
>> [DBG] 20151126 143943.140 |ctrl-c0a651b7| Home-address:
>> fe80:0000:0000:0000:ca3a:35ff:feca:79c0
>> [DBG] 20151126 143943.140 |ctrl-c0a651b7| HA address:
>> fe80:0000:0000:0000:99a3:c4dc:8ed1:d380
>> RTNETLINK answers: File exists
>> [ERR] 20151126 143943.191 |_env-406bacb4| Unable to add state!
>>        [17] File exists
>> [ERR] 20151126 143943.191 |ctrl-c0a651b7| Unable to create IP6IP6 XFRM
>> tunnel
>>        [0] Success
>> [DBG] 20151126 143943.192 |_api-406bacb4| New API command registered:
>> CTRL_GET_HAA [4 1]
>> [DBG] 20151126 143943.192 |_api-40fb0fb4| New API command registered:
>> CTRL_GET_HOA [4 0]
>> [DBG] 20151126 143943.192 |data-c0a651b7| Initializing module: data
>> [DBG] 20151126 143943.192 |_api-406bacb4| New API command registered:
>> DATA_GET_BUL [5 0]
>> [DBG] 20151126 143943.192 |mcoa-c0a651b7| Initializing module: mcoa
>> [DBG] 20151126 143943.193 |mcoa-c0a651b7| MCoA interface 2: bid 1
>> preference 254
>> [DBG] 20151126 143943.212 |_api-406bacb4| New API command registered:
>> MCOA_GET_BUL [6 0]
>> [DBG] 20151126 143943.213 |flob-c0a651b7| Initializing module: flowb
>> [DBG] 20151126 143943.213 |mcoa-406bacb4| Set MCoA 2 interface preference
>> to 10
>> [DBG] 20151126 143943.213 |_api-406bacb4| New API command registered:
>> FLOWB_REGISTER [7 0]
>> [DBG] 20151126 143943.213 |_api-40fb0fb4| New API command registered:
>> FLOWB_UPDATE [7 1]
>> [DBG] 20151126 143943.213 |_api-406bacb4| New API command registered:
>> FLOWB_DELETE [7 2]
>> [DBG] 20151126 143943.213 |ctrl-c0a651b7| Start module: Control
>> [DBG] 20151126 143943.214 |_md_-c0a651b7| Start module: MD simple
>> [DBG] 20151126 143943.214 |_md_-c0a651b7| Interface eth0 2 is UP
>>
>> On Thu, Nov 26, 2015 at 2:33 PM, Norbert Varga <varga.norbert89 at gmail.com
>> > wrote:
>>
>>> Hi Neha,
>>>
>>> please send us the entire mip6d-ng log file.
>>>
>>> Br,
>>> Norbi
>>>
>>> 2015-11-26 8:53 GMT+01:00 Neha Patel <14pgce030 at charusat.edu.in>:
>>>
>>>> hello,
>>>>
>>>> I am doing research in which I really need to implement mobile IP. I
>>>> have executed Home agent configuration file. which is working properly. But
>>>> while executing Mobile node configuration file following errors encountered:
>>>>
>>>> [ERR] 20151126 131522.299 |_env-40dbabb4| Unable to add state!
>>>>        [17] File exists
>>>> [ERR] 20151126 131522.299 |ctrl-c01651b7| Unable to create IP6IP6 XFRM
>>>> tunnel
>>>>        [0] Success
>>>>
>>>> Config file of Mobile node is as follow
>>>>
>>>> loglevel = 2
>>>> interfaces = { "eth0" }
>>>> md-delete-delay = 8
>>>> mn {
>>>> home-address = "fe80::ca3a:35ff:feca:79c0"
>>>> ha-address
>>>> = "fe80::99a3:c4dc:8ed1:d380"
>>>> lifetime = 40
>>>> }
>>>> bid-pri eth0 {
>>>> # Lower value indicates higher priority
>>>> priority = 10
>>>> }
>>>> api {
>>>> listening_port = 1234
>>>> }
>>>>
>>>>
>>>> kindly reply me where i am wrong as soon as possible.
>>>>
>>>> Thanks and Regards,
>>>> Neha
>>>>
>>>>
>>>> _______________________________________________
>>>> Support mailing list
>>>> Support at mip6d-ng.net
>>>> http://mcl.hu/mailman/listinfo/support
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mcl.hu/pipermail/support/attachments/20151128/2c25939a/attachment.html>


More information about the Support mailing list