R_UnrecognizedRoutingTypeIN_RH0 - Unrecognized Routing Type - Intermediate Node (Unrecognized Routing Type 0)
Host and Router
Common Test Setup 1.1
Verify that a node properly processes an IPv6 packet as the intermediate node that contains a Routing header with an unrecognized Routing Type value.
TR NUT
| |
|-------------------------->|
| ICMP Echo Request |
| |
|<--------------------------|
| ICMP Parameter Problem |
| |
v v
1. TR forwards an Echo Request that has a Routing header
with a Routing Type valude of 0 and Segments Left value of 1.
The Echo Request is destined for the NUT.
2. Observe the packets transmitted by the NUT.
Network topology
(Link0)
TN TR
Host1 ------ Router1 ------ Router2 ------ NUT ------ Router3
Global 6 Global 4 Global 0 Global 2
ICMP Echo Request is:
IPv6 Header
Version = 6
Traffic Class = 0
FlowLabel = 0
PayloadLength = 72
NextHeader = 43 (Routing Header)
SourceAddress = Global 6 Address (Host1)
DestinationAddress = NUT's Global 0 Address
Routing Header
NextHeader = 58 (ICMPv6)
HeaderExtLength = 6
RoutingType = 0 (unknown)
SegmentsLeft = 1
Address[1] = Global 6 Address (Router1)
Address[2] = Global 4 Address (Router2)
Address[3] = TR's Global 2 Address
ICMP Echo Request
Type = 128 (Echo Request)
PASS: The NUT must discard the Echo Request and send an ICMP Parameter Problem,
Code 0, message to TN's Global Address.
The Pointer field must be 0x2A(offset of the Routing Type field of the Routing header).
IPv6 Header
Version = 6
Traffic Class = 0
FlowLabel = 0
PayloadLength = 120
NextHeader = 58 (ICMPv6)
SourceAddress = NUT's Clobal 0 Address
DestinationAddress = Global 6 Address (Host1)
ICMP Error
Type = 4 (Parameter Problem)
Code = 0 (Erroneous header field encountered)
Checksum = (auto)
Pointer = 42 (Offset to Routing Type field of the Routing Header)
PayloadData = (Sent Packet)
Common Test Cleanup
perldoc V6evalTool