routerRecvRs - Verifying that NUT responds valid RSs
Router Only
routerRecvRs.seq [-tooloption ...] -p routerRecvRs.def
Clear NC state for TN.
routerRecvRs verifies that NUT responds valid RSs and ignores invalid RSs.
TN NUT ---------------------- State: NONCE (for TN)
==== valid/invalid RS ===>
<=== RA ====
Wait for MIN_DELAY_BETWEEN_RAS sec.
1. NUT must send a valid RA when received a valid RS.
========================================+================= RS | Expected RA ========================================+================= RS w/o SLL, src=unspecific | sending RA ----------------------------------------+----------------- RS w/o SLL, src=link-local | sending RA ----------------------------------------+----------------- RS w/ SLL, src=link-local | sending RA ----------------------------------------+----------------- RS w/o SLL, hop *limit!=255 (INVALID) | NOT sending RA ----------------------------------------+----------------- RS w/o SLL, *invalid checksum (INVALID) | NOT sending RA ----------------------------------------+----------------- RS w/o SLL, *icmp code!=0( INVALID) | NOT sending RA ----------------------------------------+----------------- RS *w/ SLL, *src=unspecified (INVALID) | NOT sending RA ========================================+=================
2. NUT sends the following RA that was configured by the previous test.
3. The received RA may have - Source link-layer address option - MUT option - Prefix option
N/A
N/A
RFC2461
4.3. Neighbor Solicitation Message Format IP Fields:
Source Address Either an address assigned to the interface from which this message is sent or (if Duplicate Address Detection is in progress [ADDRCONF]) the unspecified address.
Destination Address Either the solicited-node multicast address corresponding to the target address, or the target address.
Hop Limit 255
Authentication Header If a Security Association for the IP Authentication Header exists between the sender and the destination address, then the sender SHOULD include this header.
ICMP Fields:
Type 135
Code 0
Checksum The ICMP checksum. See [ICMPv6].
Reserved This field is unused. It MUST be initialized to zero by the sender and MUST be ignored by the receiver.
Target Address The IP address of the target of the solicitation. It MUST NOT be a multicast address.
Possible options:
Source link-layer address The link-layer address for the sender. MUST NOT be included when the source IP address is the unspecified address. Otherwise, on link layers that have addresses this option MUST be included in multicast solicitations and SHOULD be included in unicast solicitations.
perldoc V6evalTool perldoc V6evalRemote