FromManyNodes.seq - Ping from Many Many node
Host and Router
FromManyNodes.seq [nodes=num]
NONE
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.
Node #N send a ICMP Echo Request Packet to NUT.
[Node #N] ------> [NUT] request
If NUT send a NS packet to Node #N, reply NA.
[Node #N] <------ [NUT] NS
[Node #N] ------> [NUT] NA
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.
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.
NONE
perldoc V6evalTool