Lesson 3 IPV4 IPV6 in IP Addressing Mechanism.
Lesson 3 IPV4 IPV6 in IP Addressing Mechanism.
What is IP Addressing?
IP Addressing is the method of assigning a unique identifier to each device connected to a
network that uses the Internet Protocol for communication. An IP address serves two main
functions: identifying the host or network interface and providing the location of the device
in the network.
Types of IP Addresses
1. IPv4:
Subnetting
Definition: The process of dividing a larger network into smaller, manageable sub-
networks (subnets).
Purpose: Improves network performance and security, and helps in efficient IP address
management.
Significance of IP Addressing in Networking
1. Unique Identification:
o Each device on a network must have a unique IP address to communicate
effectively. This uniqueness prevents conflicts and ensures reliable data
transmission.
2. Routing:
o Routers use IP addresses to determine the best path for data packets to travel
across networks. Proper addressing is crucial for efficient routing and delivery
of data.
3. Network Management:
Page 1 of 9
o Understanding IP addressing aids in managing and troubleshooting networks.
Network administrators can identify devices, monitor traffic, and configure
network settings based on IP addresses.
4. Security:
o IP addressing plays a role in network security. Firewalls and security policies
often rely on IP addresses to allow or deny traffic. Proper management can help
mitigate unauthorized access.
5. Scalability:
o Knowledge of IP addressing is essential for designing scalable networks. As
organizations grow, effective IP address management ensures that new devices
can be integrated without issues.
6. Communication:
o IP addressing is fundamental to how devices communicate over the internet. It
enables various applications, services, and devices to connect and interact
seamlessly.
Understanding IP Addressing
1. Classes of IP Addresses
IP addresses are divided into classes based on their range and purpose:
Class A:
o Range: 1.0.0.0 to 126.0.0.0
Page 2 of 9
o Used for small networks.
o Example: 192.168.1.0 (private range).
Subnetting
1. Subnetting Basics
Page 3 of 9
2. Subnet Masks
A subnet mask defines the network and host portions of an IP address.
Example: 255.255.255.0 (/24) means the first 24 bits are for the network.
o Subnets:
192.168.1.0/26 (Hosts: 192.168.1.1 to 192.168.1.62)
192.168.1.64/26 (Hosts: 192.168.1.65 to 192.168.1.126)
192.168.1.128/26 (Hosts: 192.168.1.129 to 192.168.1.190)
192.168.1.192/26 (Hosts: 192.168.1.193 to 192.168.1.254)
o Subnets:
Subnet 1: 100 hosts (192.168.1.0/25)
Subnet 2: 50 hosts (192.168.1.128/26)
Subnet 3: 10 hosts (192.168.1.192/28)
What is IPv6 in Networking?
IPv6 (Internet Protocol version 6) is the most recent version of the Internet Protocol, designed
to replace IPv4 (Internet Protocol version 4). It was developed to address the limitations of
Page 4 of 9
IPv4, particularly the exhaustion of available IP addresses due to the rapid growth of the
internet and connected devices.
Key Features of IPv6
1. Larger Address Space:
o IPv6 uses a 128-bit address format, allowing for approximately 340 undecillion
unique addresses (2^128). This is a significant increase from the 32-bit address
space of IPv4, which supports about 4.3 billion addresses.
2. Address Format:
3. Simplified Addressing:
o IPv6 supports various types of addressing, including:
Unicast: One-to-one communication.
Multicast: One-to-many communication.
Anycast: One-to-nearest communication.
o IPv6 includes features that enhance support for mobile devices, allowing for
seamless connectivity as devices move between networks.
Why is IPv6 Important?
Page 5 of 9
Address Exhaustion: With the growth of the Internet of Things (IoT) and the increasing
number of internet-connected devices, the need for a larger address space has
become critical.
Future-Proofing: As IPv4 addresses run out, transitioning to IPv6 is essential for
ensuring the continued growth and functionality of the internet.
Enhanced Performance: The improvements in routing, security, and efficiency make
IPv6 a necessary evolution for modern networking.
Importance of Learning IPv6 Addressing in Networks
1. Address Space Exhaustion
IPv4 Limitations: With only about 4.3 billion unique addresses, the IPv4 space has
been exhausted due to the rapid growth of devices connected to the internet.
IPv6 Solution: IPv6 provides a vastly larger address space (approximately 340
undecillion addresses), ensuring that there are enough IP addresses for the
foreseeable future.
2. Improved Routing Efficiency
Page 6 of 9
Emerging Technologies: Many modern applications and services, including IoT
(Internet of Things) devices, are designed to work with IPv6. Familiarity with this
addressing scheme is essential for working with these technologies.
8. Transition Strategies
Dual-Stack Networks: Many organizations are currently running dual-stack networks
(supporting both IPv4 and IPv6). Understanding IPv6 is critical for managing these
transitional environments.
Solution:
1. Department Subnets:
Page 7 of 9
192.168.1.64/26 (Hosts: 192.168.1.65 to 192.168.1.126)
2. Server Subnet:
o Subnet Mask: /28 (16 hosts per subnet).
IPv6 addresses can be compressed by removing leading zeros and using double colons (::) to
denote consecutive sections of zeros.
Page 8 of 9
o Remove leading zeros: 2001:db8:1234:0:0:abcd:1:1
o Replace consecutive zeros: 2001:db8:1234:0:abcd:1:1
o Final compressed form: 2001:db8:1234::abcd:1:1
Summary of Answers
1. Network Portion: 2001:0db8:1234:0000
Host Portion: 0000:abcd:0001:0001
2. Compressed Form: 2001:db8:1234::abcd:1:1
3. Total Possible Addresses: 18,446,744,073,709,551,616
Further Reading Materials for IPv6
https://www.uobabylon.edu.iq/eprints/publication_3_30615_1425.pdf
https://www.routeralley.com/guides/ipv6.pdf
https://www.youtube.com/watch?v=RPTa_752jhw
IPv6 Addresses Explained | Cisco CCNA 200-301
https://www.youtube.com/watch?v=irhS0ASkvy8
Page 9 of 9