NAME

  IP_TC_NonZeroEN - Traffic Class Non-Zero - End Node


TARGET

  Host and Router


SYNOPSIS

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


INITIALIZATION

  None


TEST PROCEDURE

Verify that a node properly processes the Traffic Class field of received packets and generates a valid value in transmitted packets.

   TN                          NUT
    |                           |
    |-------------------------->|
    |   Echo Request            |
    |                           |
    |                           |
    |<--------------------------|
    |   Echo Reply              |
    |                           |
    |                           |
    v                           v
  1. TN transmits an Echo Request with a Traffic Class field of 32, which is non-zero.
  2. Observe the packets transmitted by the NUT.
  Echo Request Data is:
        IPv6 Header
            Version            = 6
            Traffic Class      = 0x20 (8 bit)
            FlowLabel          = 0
            PayloadLength      = 16
            NextHeader         = 58 (ICMPv6)
            SourceAddress      = TN Link Local Address
            DestinationAddress = NUT Link Local Address
        ICMP Echo Request
            Type           = 128 (Echo Request)
            Code           = 0
            Checksum       = (auto)
            Identifier     = 0xffff
            SequenceNumber = 1
            PayloadData    = {1, 2, 3, 4, 5, 6, 7, 8}


JUDGEMENT

  The NUT must generate an Echo Reply. 
  If the NUT supports a specific use of the Traffic Class field, 
  the Traffic Class in the Echo Reply may be non-zero. 
  Otherwise, the Traffic Class field should be zero.
  PASS: Echo Reply Received
        IPv6 Header
            Version             = 6
            Traffic Class       = 0
            FlowLabel           = 0
            PayloadLength       = 16
            NextHeader          = 58 (ICMPv6)
            SourceAddress       = NUT Link Local Address
            Destination Address = TN Link Local Address
        ICMP Echo Reply
            Type           = 129 (Echo Reply)
            Code           = 0
            Checksum       = (auto)
            Identifier     = 0xffff (same as Echo Request)
            SequenceNumber = 1 (same as Echo Request)
            PayloadData    = {1, 2, 3, 4, 5, 6, 7, 8} (same as Echo Request)
        or
  PASS: Echo Reply Received
        IPv6 Header
            Version             = 6
            Traffic Class       = any (8 bit) (Nodes that support a specific use of the Traffic Class)
            FlowLabel           = 0
            PayloadLength       = 16
            NextHeader          = 58 (ICMPv6)
            SourceAddress       = NUT Link Local Address
            Destination Address = TN Link Local Address
        ICMP Echo Reply
            Type           = 129 (Echo Reply)
            Code           = 0
            Checksum       = (auto)
            Identifier     = 0xffff (same as Echo Request)
            SequenceNumber = 1 (same as Echo Request)
            PayloadData    = {1, 2, 3, 4, 5, 6, 7, 8} (same as Echo Request)


CLEANUP

Common Test Cleanup


REFERENCE

RFC 8200 - IPv6 Specification


SEE ALSO

  perldoc V6evalTool