Midterms - Chapter 8-10 Assignment
Midterms - Chapter 8-10 Assignment
Midterms - Chapter 8-10 Assignment
Explain how the network layer uses IP protocols for reliable communications and
characteristics of the network layer?
The Network Layer
• Provides services to allow end devices to exchange
data
• IP version 4 (IPv4) and IP version 6 (IPv6) are the
principle network layer communication protocols.
• The network layer performs four basic operations:
• Addressing end devices
• Encapsulation
• Routing
• De-encapsulation
IP Encapsulation
• IP encapsulates the transport layer
segment.
• IP can use either an IPv4 or IPv6
packet and not impact the layer 4
segment.
• IP packet will be examined by all
layer 3 devices as it traverses the
network.
• The IP addressing does not change
from source to destination.
Characteristics of IP
IP is meant to have low overhead and may be described as:
• Connectionless
• Best Effort
• Media Independent
3. Explain the role of the major header fields in the IPv6 packet from IPv4?What's the
difference?
IPv4 Packet Header
IPv4 is the primary communication protocol for the network layer.
The network header has many purposes:
• It ensures the packet is sent in the correct direction (to the destination).
• It contains information for network layer processing in various fields.
• The information in the header is used by all layer 3 devices that handle the packet
IPv4 Packet Header Fields
The IPv4 network header characteristics:
• It is in binary.
• Contains several fields of information
• Diagram is read from left to right, 4 bytes per line
• The two most important fields are the source and destination.
Protocols may have may have one or more functions.
IPv4 has three major limitations:
• IPv4 address depletion – We have basically run out of IPv4 addressing.
• Lack of end-to-end connectivity – To make IPv4 survive this long, private addressing and NAT
were created. This ended direct communications with public addressing.
• Increased network complexity – NAT was meant as temporary solution and creates issues on
the network as a side effect of manipulating the network headers addressing. NAT causes
latency and troubleshooting issues.
IPv6 Overview
• IPv6 was developed by Internet
Engineering Task Force (IETF).
• IPv6 overcomes the limitations of IPv4.
• Improvements that IPv6 provides:
• Increased address space – based on 128 bit address, not 32 bits
• Improved packet handling –simplified header with fewer fields
• Eliminates the need for NAT – since there is a huge amount of addressing, there is no need to
use private addressing internally and be mapped to a shared public address IPv4 Packet Header
Fields in the IPv6 Packet Header
• The IPv6 header is simplified, but not smaller.
• The header is fixed at 40 Bytes or octets long.
• Several IPv4 fields were removed to improve performance.
• Some IPv4 fields were removed to improve performance:
• Flag
• Fragment Offset
• Header Checksum
IPv6 Packet Header
IPv6 packet may also contain extension headers (EH).
EH headers characteristics:
• provide optional network layer information
• are optional
• are placed between IPv6 header and the payload
• may be used for fragmentation, security, mobility support, etc.
Note: Unlike IPv4, routers do not fragment IPv6 packets.