[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 03584) Re: NDP Test case



PRAMENDRA SINGH wrote:

Hi,

I have got a problem in ND testcase number 8(Self-Test Phase 1). In this testcase TN(Testing Node) sends NS to NUT(Node Under Test). The NUT is supposed to send NA to TN as a reply for the NS. In this test case there are 9 instances, of which in the first 8 TN sends NS with the Link-Layer Address and in the last instance TN sends NS without Link-Layer Address.

I am facing problem with the last instance. I am not receiving NA from NUT. Can anyone please help me with this.

Regards,

Pramendra



<http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3>


Hi PRAMENDRA

You may have been caught by your code's interpretation of RFC2461, if there is no Link-Layer Address in the NS your code might not update anything and be silent :

7.2.3.  Receipt of Neighbor Solicitations

  A valid Neighbor Solicitation that does not meet any the following
  requirements MUST be silently discarded:

   - The Target Address is a "valid" unicast or anycast address
     assigned to the receiving interface [ADDRCONF],

   - The Target Address is a unicast address for which the node is
     offering proxy service, or

   - The Target Address is a "tentative" address on which Duplicate
     Address Detection is being performed [ADDRCONF].

If the Target Address is tentative, the Neighbor Solicitation should
be processed as described in [ADDRCONF]. Otherwise, the following
description applies.


<<If the Source Address is not the unspecified
  address and, on link layers that have addresses, the solicitation
  includes a Source Link-Layer Address option, then the recipient
  SHOULD create or update the Neighbor Cache entry for the IP Source
  Address of the solicitation. >>>

If an entry does not already exist, the
  node SHOULD create a new one and set its reachability state to STALE
  as specified in Section 7.3.3.  If an entry already exists, and the
  cached link-layer address differs from the one in the received Source
  Link-Layer option, the cached address should be replaced by the
  received address and the entry's reachability state MUST be set to
  STALE.

......

After any updates to the Neighbor Cache, the node sends a Neighbor
  Advertisement response as described in the next section.

Tx,
Tim McFadden
--------------------------------------
Interniche Technologies, Inc.
51 East Campbell Avenue, Suite 160
Campbell, CA 95008
408-540-1160x207
tim@xxxxxxxxxx
www.iniche.com
--------------------------------------