IPV4 and IPV6
IPV4 and IPV6
IPV6
Draw the IPV6 datagram format and explain the fields.
IPv6 (Internet Protocol Version 6) is the sixth version of the Internet Protocol, designed to uniquely
identify devices on a network and enable data transmission. It was developed to overcome IPv4
limitations, providing a larger address space, enhanced security, and better efficiency for modern
networks.
Below are the main fields of the IPv6 datagram header and their functions:
1. Version (4 bits)
Example: If this field has a value of 4, the packet will be rejected because it's not an IPv4
packet.
Helps with Quality of Service (QoS) for real-time applications like video streaming and
gaming.
Example: A video call can be given higher priority than a normal email.
Example: A live video stream can be assigned a flow label so that all packets of the stream
are processed similarly.
Specifies the size of the actual data (payload) inside the packet, excluding the header.
Every router decreases the hop limit by 1, and when it reaches 0, the packet is discarded.
Contains the IPv6 address of the sender (the device that sent the packet).
Example: 2001:0db8:85a3::8a2e:0370:7334.
Contains the IPv6 address of the receiver (the device that will receive the packet).
Example: 2001:0db8:abcd::1.
It can contain application data like web pages, emails, video streams, or file transfers
BY VANSH NEGGI
IPv4 (Internet Protocol Version 4) is the fourth version of the Internet Protocol, used to uniquely
identify devices on a network and enable data transmission. It is the most widely used protocol in
networking today.
The minimum size is 20 bytes, and the maximum is 60 bytes (if options are included).
Helps in QoS (Quality of Service), like prioritizing voice calls over normal browsing.
Represents the entire packet size, including the header and data.
Helps in reassembling fragmented packets when a large packet is split into smaller ones.
Examples:
If an error is detected, the packet is discarded, and the sender must resend it.
Compare and contrast IPv4 and IPv6 header fields. Do they have any fields in
common. Explain.
BY VANSH NEGGI
o IPv4 uses a 32-bit addressing system, providing only 4.3 billion unique addresses.
o Solution in IPv6: IPv6 uses 128-bit addresses, allowing an almost unlimited number
of IPs.
o IPv4 does not have built-in security features like encryption or authentication.
o NAT (Network Address Translation) is needed to extend the address space, but it
complicates real-time communication.
o Solution in IPv6: IPv6 supports auto-configuration (SLAAC), eliminating the need for
DHCP and NAT.
Classes of IP Addressing
4. Class D (Multicasting)
o No subnet mask
5. Class E (Experimental)
o No subnet mask
Limitations
Special IP Ranges