NAME

    EX_NH_UnrecognizedEN - Unrecognized Next Header in Extension Header - End Node (Multiple Values)


TARGET

    Host and Router


SYNOPSIS

    EX_NH_UnrecognizedEN.seq [-tooloption ...] -pkt EX_NH_UnrecognizedEN.def
        -tooloption: v6eval tool option
    


INITIALIZATION

    None


TEST PROCEDURE

Verify that a node discards a packet with an unrecognized next header in an extension header and transmits an ICMPv6 Parameter Problem message to the source of the packet.

   TN                          NUT
    |                           |
    |-------------------------->|
    |   Echo Request (invalid)  |
    |                           |
    |                           | 
    |<--------------------------|
    |   ICMP Error              |
    |                           |
    |                           | 
    |-------------------------->|
    |   Echo Request (valid)    |
    |                           |
    |                           | 
    |<--------------------------|
    |   Echo Reply              |
    |                           |
    v                           v
    1. TN transmits Test packet, which has a Destinatin Options header with a Next Header field of 138.
    2. TN transmits a valid Echo Request to the NUT.
    3. Repeat Steps1 and 2 with all unrecognized Next Header values between 139 and 252 in Step 1.
    4. Observe the Packets transmitted by the NUT.
    Test packet is:
        IPv6 Header
            Version            = 6
            Traffic Class      = 0
            FlowLabel          = 0
            PayloadLength      = 8
            NextHeader         = 60 (Destination Options)
            HopLimit           = 64
            SourceAddress      = TN Link Local Address
            DestinationAddress = NUT Link Local Address
        Destination Options
            NextHeader         = 138 - 252 (be increased for each packets.)
            HeaderExtLength    = 0
            Opt_PadN
                OptionType     = 1
                OptDataLength  = 4
                pad            = {0, 0, 0, 0}


JUDGEMENT

    PASS : The NUT should send an ICMPv6 Parameter Problem message to TN1.
           The ICMPv6 Code field should be 1(unrecognized Next Header type encountered).
           The ICMPv6 Pointer field should be 0x28(offset of the Next Header field).
           The NUT should send an Echo Reply in response to the Echo Request sent by TN in Step 3.


CLEANUP

Common Test Cleanup


REFERENCE

RFC 8200 - IPv6 Specification


SEE ALSO

    perldoc V6evalTool