HH_Type10toMC - check Hop-by-Hop Options Header (Type 10) to Multicast Address
Host and Router
HH_Type10toMC.seq [-tooloption ...] -pkt HH_Type10toMC.def -tooloption : v6eval tool option See also HH.def
None
Tester Target | | |-------------------------->| | Echo Request | | | | | |<--------------------------| | Neighbor Solicitation | | | | | |-------------------------->| | Neighbor Advertisement | | | | | |<--------------------------| | ICMP Error | | | | | v v
1. Send Echo Request 2. Wait ICMP Error or NS 3. If NS received then send NA, and wait ICMP Error again 4. Receive ICMP Error
Echo Request Data is:
IPv6 Header Version = 6 Traffic Class = 0 FlowLabel = 0 PayloadLength = 16 NextHeader = 0 (Hop-by-Hop Options Header) SourceAddress = Tester Link Local Address DestinationAddress = Link Local Multicast Address
Hop-by-Hop Options Header NextHeader = 58 (ICMP) HeaderExtLength = 0 OptionType = 0x82 (Unrecognized Option, Type 10) OptDataLength = 4 (for 8 octets alignment) data = {0,0,0,0}
ICMP Echo Request Type = 128 (Echo Request) Code = 0 Checksum = (auto) Identifier = 0xffff SequenceNumber = 1 PayloadData = {1,2,3,4,5,6,7,8}
PASS: ICMP Error Received
IPv6 Header Version = 6 Traffic Class = 0 FlowLabel = 0 PayloadLength = 16 NextHeader = 58 (ICMP) SourceAddress = Target Link Local Address Destination Address = Tester Link Local Address
ICMP Error Type = 4 (Parameter Problem) Code = 2 (unrecognized IPv6 option encounted) Checksum = (auto) Pointer = 42 (Offset to unrecognized option) PayloadData = (Echo Request)
perldoc V6evalTool