NAME

FromManyNodes.seq - Ping from Many Many node


TARGET

Host and Router


SYNOPSIS

FromManyNodes.seq [nodes=num]


INITIALIZATION

NONE


TEST PROCEDURE

This is one of robustness tests for neighbor cache entry (NCE) and destination cache entry (DCE) memory management.

The test emulate that there are many nodes (the number as specified [nodes=num] option) on a link (Figure .1) and each nodes send ICMP Echo Request to NUT.

    ---+--------+----------+-------------+--- Link0
       |        |          |             |
     +-+-+   +--+---+   +--+---+     +---+--+
     |NUT|   |Node 1|   |Node 2| ... |Node N|
     +---+   +------+   +------+     +------+

                 Figure. 1

Each node send packets as following sequence.

  1. Node #N send a ICMP Echo Request Packet to NUT.

      [Node #N]   ------>  [NUT]
                   request
    
  2. If NUT send a NS packet to Node #N, reply NA.

      [Node #N]   <------  [NUT]
                    NS
    

      [Node #N]   ------>  [NUT]
                    NA
    
  3. Wait a ICMP Echo Reply Packet from NUT.

      [Node #N]   <------  [NUT]
                   Reply
    

In these sequence, NUT makes NCE and DCE for each node. And NUT maybe delete the entry as :

  expire time.
  can't allocate more memory for the cache.

When make the entry, NUT allocate the memory and when delete the entry, free the memory. In the test, NUT is tested whether NUT have a problem of these memory handling.


JUDGMENT

If TN receive echo reply packets for all request, the NUT pass the test, but if NUT can't receive one of echo replies, the script presume NUT have some problem and judged FAIL.


TERMINATION

NONE


SEE ALSO

perldoc V6evalTool