TCP IP MODULE 2
TCP IP MODULE 2
Each IPv6 header contains a NEXT HEADER field that specifies the type of the
header that follows. The final header uses the NEXT HEADER field to specify the
type of the payload.
IPv6 Base Header Format
Each IPv6 datagram begins with a 40-octet base header. twice as large as a
typical IPv4 datagram header, the IPv6 base header contains less information
because fragmentation information has been moved to extension headers.
• Version: The size of the Version field is 4 bits. The Version field shows the
version of IP and is set to 6.
• Traffic Class: The size of Traffic Class field is 8 bits. Traffic Class field is similar to
the IPv4 Type of Service (ToS) field. The Traffic Class field indicates the IPv6
packet’s class or priority.
• Flow Label: The size of Flow Label field is 20 bits. The Flow Label field provide
additional support for real-time datagram delivery and quality of service features.
The purpose of Flow Label field is to indicate that this packet belongs to a specific
sequence of packets between a source and destination and can be used to
prioritized delivery of packets for services like voice.
• Payload Length: The size of the Payload Length field is 16 bits. The Payload
Length field shows the length of the IPv6 payload, including the extension
headers and the upper layer protocol data
• Next Header: The size of the Next Header field is 8 bits. The Next Header field
shows either the type of the first extension (if any extension header is available)
or the protocol in the upper layer such as TCP, UDP, or ICMPv6.
• Hop Limit: The size of the Hop Limit field is 8 bits The Hop Limit field shows the
maximum number of routers the IPv6 packet can travel. This Hop Limit field is
similar to IPv4 Time to Live (TTL) field.
Informally called Type Of Service (TOS), the 8-bit SERVICE TYPE field in an IPv4
header and the TRAFFIC CLASS field in an IPv6 header specify how the datagram
should be handled.
For example, a router might be configured with a voice service, a video service, a
network management service, and a normal data service.
We regard the service type specification as a hint to the forwarding algorithm
that helps it choose among various paths to a destination based on local policies
and its knowledge of the hardware technologies available on those paths. An
internet does not guarantee to provide any particular type of service.
Datagram Encapsulation
The idea of carrying one datagram in one network frame is called encapsulation,
and is used with both IPv4 and IPv6.
To the underlying network, a datagram is like any other message sent from one
machine to another, the network hardware does not recognize the datagram
format, nor does it understand the IP destination address.
IPv4 uses the PROTOCOL field in the datagram header as a type field. When an
ICMP message is carried in the payload area of an IPv4 datagram, the
PROTOCOL field is set to 1.
IPv6 uses the NEXT HEADER field to specify the type of the item being carried.
Conceptual Layering
ICMP represents an important exception. Although each ICMP message is
encapsulated in an IP datagram, ICMP is not considered a higher-level protocol.
Instead, ICMP is a required part of IP, which means ICMP is classified as a Layer
3 protocol.
ICMP must send error reports to the original source, so an ICMP message must
travel across multiple underlying networks to reach its final destination. Thus,
ICMP messages cannot be delivered by a Layer 2 transport alone.
ICMP Message Format
The standards define two sets of ICMP messages: a set for IPv4 and a larger set
for IPv6. In both versions of IP, each ICMP message has its own format.
However, all ICMP messages begin with the same three fields.