[radvd-devel-l] Solicited Router Advertisements not coming when the test asks for them.

Ninad ninad.adi at elitecore.com
Thu Jul 30 08:00:05 EDT 2009


Hi,

Yes , I am getting the same problem even with radvd1.2 and radvd1.1,

i.e I am not getting solicited router advertisements even with
    radvd1.2 and radvd1.1

 Plz refer to my conf file , if there is any problem from my side.

Thanks
Ninad.


-----Original Message-----
From: Pekka Savola [mailto:pekkas at netcore.fi] 
Sent: Thursday, July 30, 2009 5:17 PM
To: Ninad
Subject: RE: [radvd-devel-l] Solicited Router Advertisements not coming when
the test asks for them.

On Thu, 30 Jul 2009, Ninad wrote:
> radvd 1.2 as well as radvd 1.1 does not give me
> Solicited router advertisements.

Not sure what you're saying: that you still see the same problem, or 
don't?

I noticed that there was an unintentional change to this in radvd 1.3.

I'll reply with more detail on the list.

Pekka
> -----Original Message-----
> From: Pekka Savola [mailto:pekkas at netcore.fi]
> Sent: Thursday, July 30, 2009 1:06 PM
> To: radvd Development Discussion
> Cc: Ninad
> Subject: Re: [radvd-devel-l] Solicited Router Advertisements not coming
when
> the test asks for them.
>
> Hello,
>
> Could you clarify which radvd version you're testing?  There were
> changes to this behaviour in 1.3; if you tested this, do you see the
> same behaviour with 1.2?
>
> On Thu, 30 Jul 2009, Ninad wrote:
>> I am running radvd daemon for ipv6 ready tests,
>>
>> but I am not getting radvd solicited router advertisements.
>>
>>  
>>
>> I debugged the code in gdb and found that the problem was
>>
>> the destination address was not getting set to à all nodes/hosts
multicast
> address i.e
>> ff02::1.
>>
>>  
>>
>> The problem I faced is à
>>
>> In the file send.c  , in the routine send_ra() Line 114/115
>>
>>  
>>
>> There is one condition
>>
>>  
>>
>> if ( dest == NULL )
>>
>>     115         {
>>
>>     116                 struct timeval tv;
>>
>>     117
>>
>>     118                 dest = (struct in6_addr *)all_hosts_addr;
>>
>>     119                 gettimeofday(&tv, NULL);
>>
>>     120
>>
>>     121                 iface->last_multicast_sec = tv.tv_sec;
>>
>>     122                 iface->last_multicast_usec = tv.tv_usec;
>>
>>     123         }
>>
>>  
>>
>> Even if my dest. is NULL and source address is unspecified( :: )  
>>
>> This condition is not fulfilled and so solicited router advertisements
are
> not sent.
>>
>>  
>>
>> I changed the condition to
>>
>> if ( dest == NULL || dest != NULL )
>>
>> for specific tests which were depending on solicited router
advertisements
>>
>> and the things started working fine. My Tests are passing.
>>
>>  
>>
>>  
>>
>> But the question is First of all why I need to change the code and get
> solicited router
>> advertisements.
>>
>>  
>>
>> Why the original condition was not getting satisfied ?
>>
>>  
>>
>> Thanks
>>
>> Ninad.
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>>
>>
>
>

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings




More information about the radvd-devel-l mailing list