[support] UMIP: Config option InitialBindackTimeoutFirstReg ?

Arnaud Ebalard arno at natisbad.org
Sun May 10 20:34:00 JST 2009


Hi Mattias,

Mattias Blomqvist <mattias.blomqvist at gmail.com> writes:

> Hi
>
> On Thu, May 7, 2009 at 1:56 PM, Romain KUNTZ <kuntz at lsiit.u-strasbg.fr> wrote:
>> Hi Mattias,
>>
>> On 2009/04/30, at 17:32, Mattias Blomqvist wrote:
>>>
>>> The configuration option InitialBindackTimeoutFirstReg does not seem
>>> to work. Regardless of what I set it to in the configuration file, it
>>> is set to 1.5 seconds at start.
>>> I can see that there is an implementation of it in the configuration
>>> parsing. But I'm unable find out why it doesn't work.
>>> Is it supposed to work?
>>> What about InitialBindackTimeoutReReg ? It has the same problem.
>>
>> By looking quickly at the code, I'd say this is supposed to work. Could you
>> send the mip6d log of the MN? Especially, are these values correctly
>> displayed in the debug (there are printed at startup)? That would help to
>> know if it is a problem from the parser or later in the code.
>
> It seems to be the parser. Because regardless of what I set the value
> to, the debug output is:
>
> Thu Jan 10 20:44:13 conf_show: InitialBindackTimeoutFirstReg = 1.500000
>
> The same goes for InitialBindackTimeoutReReg.

I finally had some time to take a look at the sources to find the root
of your issue. After 10 minutes scratching my head and not finding
anything in the code, I thought I would try and give the parameter a
different value in the configuration file:

arno at small:~$ cat /etc/mip6d.conf
 NodeConfig MN;
 DebugLevel 0;
 UseMnHaIPsec enabled;
 SendMobPfxSols disabled;
 KeyMngMobCapability enabled;
 DoRouteOptimizationMN disabled;
 InitialBindackTimeoutFirstReg = 3.0;
 ...


And I get the following result:


arno at small:~$ sudo mip6d -d 10 -c /etc/mip6d.conf
 mip6d[19293]: MIPL Mobile IPv6 for Linux v2.0.2-umip-0.4 started (Mobile Node)
 Sun May 10 13:12:57 main: MIPL Mobile IPv6 for Linux started in debug mode, not detaching from terminal
 Sun May 10 13:12:57 conf_show: config_file = /etc/mip6d.conf

  ...

 Sun May 10 13:12:57 conf_show: InitialBindackTimeoutFirstReg = 3.000000
 Sun May 10 13:12:57 conf_show: InitialBindackTimeoutReReg = 1.000000

 ...


Note that I am using the package available on natisbad.org, w/o
additional changes (0.4-14). That should be the one you also have.

It may sounds like a stupid question but is it possible that the
configuration file you modify is not the one which is loaded by UMIP?

Can you post both the debug output and the configuration file which UMIP
uses (the one in the third line or so of the dump output).

Cheers,

a+

ps: Romain, if you have a MN at hand, can you check you have the same
    result I have in the debug output (i.e. a modified value)?



More information about the Support mailing list