END SEMESTER – 50 MARKS FULL NOTES (SECTION A, B, C + DIAGRAMS)
SECTION C (Long Answers)
1. IPV6 Structure and Header Format
-----------------------------------
IPv6 is the next-generation Internet Protocol designed to overcome IPv4 limitations like address
exhaustion,
security issues, and routing complexity.
General Header Diagram:
-----------------------
+-----------------------------------------------+
| Version | Traffic Class | Flow Label |
+-----------------------------------------------+
| Payload Length | Next Header | Hop Limit |
+-----------------------------------------------+
| Source Address (128 bits) |
+-----------------------------------------------+
| Destination Address (128 bits) |
+-----------------------------------------------+
Key Fields:
- Version: Always 6
- Traffic Class: Defines QoS
- Flow Label: Handles special routing needs
- Hop Limit: Prevents infinite loops
- Next Header: Identifies extension header
- Payload Length: Size of data
- 128-bit addresses
Benefits:
- Faster routing
- Enhanced security (IPSec)
- No NAT required
- Hierarchical addressing reduces routing table size
2. IPV6 Address Types and Notation
-----------------------------------
Address Types:
- **Unicast**: One-to-one communication
- **Multicast**: One-to-many
- **Anycast**: One-to-nearest
Address Notation:
Example: 2001:0db8:0000:0000:0000:ff00:0042:8329
Compressed: 2001:db8::ff00:42:8329
Prefix Notation:
- Similar to subnet mask
- Example: 2001:db8::/64
Diagram:
--------
Unicast ----> Single Node
Multicast ---> Multiple Nodes
Anycast ----> Nearest Node (based on routing)
3. Security in IPv6 + IPSec Framework
---------------------------------------
IPv6 has built■in support for IPSec, unlike IPv4 where it is optional.
Basic Security Requirements:
- **Confidentiality** (encrypt data)
- **Integrity** (ensure data not modified)
- **Authentication** (verify sender)
IPSec Components:
- **AH (Authentication Header)**: Provides integrity + authentication
- **ESP (Encapsulating Security Payload)**: Provides encryption, integrity, authentication
Diagram:
--------
IPv6 Packet
|-- IPv6 Header --|-- Extension Header --|-- AH/ESP --|-- Data --|
Open Issues in Current Internet:
- DNS vulnerabilities
- Routing attacks
- Transition attacks (IPv4-to-IPv6 tunnels)
4. Quality of Service (QoS) in IPv6
-----------------------------------
IPv6 introduces Flow Label + Traffic Class for better QoS.
QoS Goals:
- Prioritize delay-sensitive traffic (video calls, gaming)
- Guarantee bandwidth
- Reduce jitter & packet loss
Diagram:
--------
Flow Label → Identifies special traffic
Traffic Class → Defines priority & handling
5. ICMPv6 – Error Messages
----------------------------
Used for diagnostics & error reporting (replacement of ICMPv4).
Types of Error Messages:
- **Destination Unreachable**
- **Packet Too Big**
- **Time Exceeded**
- **Parameter Problem**
Example Diagram:
----------------
ICMPv6 Packet
|-- IPv6 Header --|-- ICMPv6 Header --|-- Error Message --|
Common Uses:
- Path MTU discovery
- Neighbor discovery
- Router advertisements