0% found this document useful (0 votes)
13 views6 pages

Solutions for IP Address Exhaustion

Chapter 3 discusses internetworking, which connects individual networks into a single large network, addressing challenges like isolated LANs and resource duplication. It covers the Network layer's role in data exchange, including addressing and routing, along with various network layer protocols such as IPv4 and IPv6. Additionally, it explains subnetting, CIDR, private IP addresses, loopback addresses, and link-local addresses, highlighting the evolution from IPv4 to IPv6.

Uploaded by

belayneh asrat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views6 pages

Solutions for IP Address Exhaustion

Chapter 3 discusses internetworking, which connects individual networks into a single large network, addressing challenges like isolated LANs and resource duplication. It covers the Network layer's role in data exchange, including addressing and routing, along with various network layer protocols such as IPv4 and IPv6. Additionally, it explains subnetting, CIDR, private IP addresses, loopback addresses, and link-local addresses, highlighting the evolution from IPv4 to IPv6.

Uploaded by

belayneh asrat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CHAPTER 3

 Internetworking
o An internetwork is a collection of individual networks, connected by intermediate networking devices, that
functions as a single large network.
o Internetworking refers to the industry, products, and procedures that meet the challenge of creating and
administering internetworks.
o Address heterogeneity of networks
o Address rapid growth of Internet (scalability issues)
o Figure 1 illustrates some different kinds of network technologies that can be interconnected by routers and
other networking devices to create an internetwork

Figure 1 Different network technologies can be connected to create an internetwork


o Internetworking evolved as a solution to three key problems: isolated LANs, duplication of resources, and a
lack of network management.
o Isolated LANS made electronic communication between different offices or departments impossible.
o Duplication of resources meant that the same hardware and software had to be supplied to each office or
department, as did a separate support staff.
o This lack of network management meant that no centralized method of managing and troubleshooting networks
existed.
o Challenges :
- Implementing a functional internetwork is no simple task. Many challenges must be faced, especially in the
areas of connectivity, reliability, network management, and flexibility.
- The challenge when connecting various systems is to support communication between disparate
technologies. Different sites, for example, may use different types of media, or they might operate at
varying speeds.
- Another essential consideration, reliable service, must be maintained in any internetwork. Individual users
and entire organizations depend on consistent, reliable access to network resources.
- Furthermore, network management must provide centralized support and troubleshooting capabilities in an
internetwork. Configuration, security, performance, and other issues must be adequately addressed for the
internetwork to function smoothly.
- Flexibility, the final concern, is necessary for network expansion and new applications and services, among
other factors.
 Network Layer
- The Network layer, or OSI Layer 3, provides services to exchange the individual pieces of data over the
network between identified end devices.
- To accomplish this end-to-end transport, Layer 3 uses the following basic processes:
 Addressing
o If individual pieces of data are to be directed to an end device, that device must have a unique
address.
o When an address is added to a device, the device is referred to as a host.
 Routing
o During the routing through an internetwork, the packet may traverse many intermediary
devices.
o If the source and destination hosts are not connected to the same network.
o The Network layer must provide services to direct these packets to their destination host.
o Intermediary devices that connect the networks are called routers.
o The role of the router is to select paths for and direct packets toward their destination.
 Network layer protocols
- Protocols implemented at the Network layer that carry user data include:
1. Internet Protocol version 4 (IPv4)
2. Internet Protocol version 6 (IPv6)
3. Novell Internetwork Packet Exchange (IPX)
4. Connectionless Network Service (CLNS)
- The Internet Protocol (IPv4 and IPv6) is the most widely-used Layer 3 data carrying protocol and will be
the focus of this course.
1. Internet Protocol version 4 (IPv4)
- Each device on a network must be uniquely defined.
- The packets of the communication need to be identified with the source and destination addresses of
the two end systems
- IPv4 is 32 bits in length and difficult for human to remember. Therefore, represent IPv4 addresses
using dotted decimal format.
- 10101100.00010000.00000100.00010100 - ([Link]).
- The 32 bits IP address dived into four octet separated by dot.
- The IP address has network and host part.

- IPv4 is two types --


I. Classful addressing
 Fixed number of bits for network and host portions
 IP addresses are split up into several different categories, including Class A, B, C, D
(Multicast), and E (Reserved).
 Address classes are defined, in part, based on the number of bits that make up the network
portion of the address.
 Left for the definition of individual host addresses.
 Class A addresses:
 The first octet is the network portion.
 The first bit of the first octet is always set to 0 (zero).
- Thus the first octet ranges from 1– 127, i.e.

-
Class A addresses only include IP starting from 1.x.x.x to 126.x.x.x only.
-
The IP range 127.x.x.x is reserved for loopback IP addresses.
-
The default subnet mask for Class A IP address is [Link] which implies that Class A
addressing can have 126 networks (27-2) and 16777214 hosts (224-2).
- Class A IP address format is thus:
[Link]
 Class B Address:
- The first two octets are the network portion.
- An IP address which belongs to class B has the first two bits in the first octet set to 10,i.e.

- Class B IP Addresses range from 128.0.x.x to 191.255.x.x. The default subnet mask for
- Class B is 255.255.x.x.
- Class B has 16384 (214) Network addresses and 65534 (216-2) Host addresses.
- Class B IP address format is: [Link]
 Class C address:
- The first 3 octets are the network portion.
- The first octet of Class C IP address has its first 3 bits set to 110, that is:

- Class C IP addresses range from 192.0.0.x to 223.255.255.x. The default subnet mask for
Class C is 255.255.255.x.
- Class C gives 2097152 (221) Network addresses and 254 (28-2) Host addresses.
- Class C IP address format is: [Link]
 Class D address:
- Very first four bits of the first octet in Class D IP addresses are set to 1110, giving a range of:

- Class D has IP address rage from [Link] to [Link]. Class D is reserved for
Multicasting.
- In multicasting data is not destined for a particular host, that is why there is no need to extract
host address from the IP address, and Class D does not have any subnet mask.
 Class E address:
- This IP Class is reserved for experimental purposes only for R&D or Study.
- IP addresses in this class ranges from [Link] to [Link].
- Like Class D, this class too is not equipped with any subnet mask.

Sub netting
- To define the network and host portions of an address, the devices use a separate 32-bit
pattern called a subnet mask.
- Ex: [Link] (11111111.11111111.11111111.00000000) 1 represents network portion
and 0 represents hosts.
- Routers use Subnet Mask, which is as long as the size of the network address in the IP
address.
- If the IP address in binary is ANDed with its Subnet Mask, the result yields the Network
address.
- For example, say the IP Address is [Link] and the Subnet Mask is [Link] then:

- This way the Subnet Mask helps extract the Network ID and the Host from an IP Address.
- It can be identified now that [Link] is the Network number and [Link] is the host
on that network.
II. CIDR: Classless Inter Domain Routing
- The limitation of classful allocation of address is space often wasted many
addresses, which exhausted the availability of IPv4 addresses.
- Ex: a company that had a network with 260 hosts would need to be given
a class B address with more than 65,000 addresses.
- So the system that we currently use is referred to as classless addressing.
With the classless system, address blocks appropriate to the number of
hosts are assigned to companies or organizations without regard to the
unicast class.
- So CIDR is also called Variable Length Subnet Mask (VLSM).
- We can use network prefix to represent the same thing. EX: /24
- So the network portion of address of arbitrary length address format: a.b.c.d/x, where x is the
number of leading bits in network portion of address.
- For example, an administrator has [Link]/24 network. The suffix /24 (pronounced as
"slash 24") tells the number of bits used for network address. In this example, the
administrator has three different departments with different number of hosts. Sales department
has 100 computers, Purchase department has 50 computers, Accounts has 25 computers and
Management has 5 computers. In CIDR, the subnets are of fixed size.
- Using the same methodology the administrator cannot fulfill all the requirements of the
network.
- The following procedure shows how VLSM can be used in order to allocate department wise
IP addresses as mentioned in the example.
Step - 1

Step - 2
- Sort the requirements of IPs in descending order (Highest to Lowest).
 Sales 100
 Purchase 50
 Accounts 25
 Management 5
Step – 3
- Allocate the highest range of IPs to the highest requirement, so let's assign [Link]/25
([Link]) to the Sales department. This IP subnet with Network number [Link]
has 126 valid Host IP addresses which satisfy the requirement of the Sales department.
- The subnet mask used for this subnet has 10000000 as the last octet.
Step - 4
- Allocate the next highest range, so let's assign [Link] /26 ([Link]) to the
Purchase department. This IP subnet with Network number [Link] has 62 valid Host
IP Addresses which can be easily assigned to all the PCs of the Purchase department.
- The subnet mask used has 11000000 in the last octet.
Step - 5
- Allocate the next highest range, i.e. Accounts. The requirement of 25 IPs can be fulfilled with
[Link] /27 ([Link]) IP subnet, which contains 30 valid host IPs.
- The network number of Accounts department will be [Link]. The last octet of subnet
mask is 11100000.
Step - 6
- Allocate the next highest range to Management. The Management department contains only 5
computers. The subnet [Link] /29 with the Mask [Link] has exactly 6 valid
host IP addresses.
- So this can be assigned to Management. The last octet of the subnet mask will contain
11111000.
- By using VLSM, the administrator can subnet the IP subnet in such a way that least number
of IP addresses are wasted. Even after assigning IPs to every department, the administrator, in
this example, is still left with plenty of IP addresses which was not possible if he has used
CIDR.
There are a few reserved IPv4 address spaces which cannot be used on the internet.
These addresses serve special purpose and cannot be routed outside the Local Area Network.
 Private IP Addresses
- Every class of IP, (A, B & C) has some addresses reserved as Private IP addresses.
- These IPs can be used within a network, campus, company and are private to it.
- These addresses cannot be routed on the Internet, so packets containing these private
addresses are dropped by the Routers.

- In order to communicate with the outside world, these IP addresses must have to be translated
to some public IP addresses using NAT process, or Web Proxy server can be used.
- The sole purpose to create a separate range of private addresses is to control assignment of
already-limited IPv4 address pool. By using a private address range within LAN, the
requirement of IPv4 addresses has globally decreased significantly.
- It has also helped delaying the IPv4 address exhaustion.
- IP class, while using private address range, can be chosen as per the size and requirement of
the organization.
- Larger organizations may choose class A private IP address range where smaller
organizations may opt for class C.
- These IP addresses can be further sub-netted and assigned to departments within an
organization.
 Loopback IP Addresses
- The IP address range [Link] – [Link] is reserved for loopback, i.e. a Host’s self-
address, also known as localhost address.
- This loopback IP address is managed entirely by and within the operating system.
- Loopback addresses enable the Server and Client processes on a single system to
communicate with each other.
- When a process creates a packet with destination address as loopback address, the operating
system loops it back to itself without having any interference of NIC.
- Data sent on loopback is forwarded by the operating system to a virtual network interface
within operating system.
- This address is mostly used for testing purposes like client-server architecture on a single
machine.
- Other than that, if a host machine can successfully ping [Link] or any IP from loopback
range, implies that the TCP/IP software stack on the machine is successfully loaded and
working.
 Link-local Addresses
- In case a host is not able to acquire an IP address from the DHCP server and it has not been
assigned any IP address manually, the host can assign itself an IP address from a range of
reserved Link-local addresses. Link-local address ranges from [Link] –
[Link].
- Assume a network segment where all systems are configured to acquire IP addresses from a
DHCP server connected to the same network segment.
- If the DHCP server is not available, no host on the segment will be able to communicate to
any other.
- Windows (98 or later), and Mac OS (8.0 or later) supports this functionality of self-
configuration of Link-local IP address.
- In absence of DHCP server, every host machine randomly chooses an IP address from the
above mentioned range and then checks to ascertain by means of ARP, if some other host also
has not configured itself with the same IP address.
- Once all hosts are using link local addresses of same range, they can communicate with each
other.
- These IP addresses cannot help system to communicate when they do not belong to the same
physical or logical segment.
- These IPs are also not routable.
2. Internet Protocol version 6 (IPv6)
- IETF (Internet Engineering Task Force) has redesigned IP addresses to mitigate the drawbacks of
IPv4.
- The new IP address is version 6 which is 128-bit address, by which every single inch of the earth can
be given millions of IP addresses.
- Today majority of devices running on Internet are using IPv4 and it is not possible to shift them to
IPv6 in the coming days. There are mechanisms provided by IPv6, by which IPv4 and IPv6 can co-
exist unless the Internet entirely shifts to IPv6:
 Dual IP Stack
 Tunneling (6to4 and 4to6)
 NAT Protocol Translation
 Types of Communication
In an IPv4 network, the hosts can communicate one of three different ways:
Unicast:
- The process of sending a packet from one host to an individual host.
Broadcast:
- The process of sending a packet from one host to all hosts in the network using broadcast address.
- Broadcast transmission is used for the location of special services/devices for which the address is not
known or when a host needs to provide information to all the hosts on the network.
Multicast:
- It is designed to conserve the bandwidth of the IPv4 network. It reduces traffic by allowing a host to
send a single packet to a selected set of hosts
- Ex of multicast transmission: Video and audio broadcasts, Routing information exchange by routing
protocols, Distribution of software, News feeds
- Multicast clients need to subscribe to a multicast group using multicast address ([Link] to
[Link])

Common questions

Powered by AI

CIDR (Classless Inter-Domain Routing) overcomes the limitations of classful addressing by allowing more flexible and efficient allocation of IP addresses. Unlike classful addressing, which uses fixed blocks, CIDR assigns address blocks based on exact needs without adhering to class restrictions, using a notation like a.b.c.d/x where x indicates the number of bits for the network portion . CIDR uses Variable Length Subnet Masking (VLSM) to allocate address blocks of sizes appropriate to the number of needed hosts, minimizing wastage and supporting more networks within the same address range . This flexibility prevents the exhaustion of IPv4 addresses by allowing finer control over allocation, significantly improving scalability in larger networks .

Classful addressing in IPv4 organizes IP addresses into specific classes: A, B, C, D, and E. Each class has a defined range and fixed number of bits for the network and host portions. For instance, Class A has a range from 1.0.0.0 to 126.0.0.0, allowing for 126 networks and millions of hosts per network . Classful addressing is limited by its fixed nature, leading to inefficient use of IP space. For example, a network needing only 260 hosts would require a Class B address, which can accommodate over 65,000 addresses, hence wasting a vast number of IPs . This inefficiency contributed to the exhaustion of available IPv4 addresses and motivated the development of classless addressing systems like CIDR .

Subnet masks play a critical role in IP networks by defining which portion of an IP address represents the network and which portion identifies the host. Subnet masks are 32-bit patterns that, when ANDed with an IP address, reveal the network ID, critical for routing packets to the correct network . By distinguishing between network and host segments, subnet masks prevent address waste and enhance network management. They facilitate efficient address allocation within networks through techniques like VLSM, ensuring IPs are not wasted and network resources are optimally utilized . Furthermore, subnet masks enable increased control over network traffic and security by logically segmenting and isolating different network parts .

The primary challenges of internetworking include connectivity, reliability, network management, and flexibility. Connectivity challenges arise due to the need to support communication between disparate technologies, as different network sites might use various media types or speeds . Internetworking protocols such as IPv4 and IPv6 were developed to provide reliable end-to-end communication through addressing and routing . Reliable service is crucial as users and organizations depend on consistent network access . Network management requires centralized support for configuration, security, and performance issues . Finally, flexibility ensures that networks can expand and integrate new applications . These challenges have driven the evolution of networking technologies and protocols to accommodate the rapid growth of the internet and heterogeneity of networks.

The coexistence of IPv4 and IPv6 is enabled through mechanisms like Dual IP Stack, Tunneling (such as 6to4 and 4to6), and NAT Protocol Translation . These mechanisms are crucial because IPv6 adoption is not ubiquitous, and many devices and networks still rely on the older IPv4 protocol. Dual Stack allows devices and networks to run both IPv4 and IPv6, facilitating seamless communication across both protocols . Tunneling encapsulates IPv6 packets within IPv4, allowing IPv6 traffic to traverse IPv4 networks . NAT Protocol Translation bridges the differences between the two protocols, enabling them to interact. This transitional coexistence is essential to ensure that all internet services remain globally accessible and compatible during the gradual shift from IPv4 to IPv6 .

Choosing an IP class for a private address range involves considering the organization's size and network requirements. For large organizations needing many addresses, a Class A private range might be appropriate (e.g., 10.0.0.0/8), providing a vast number of addresses for subnets and hosts . Smaller organizations might choose Class C (e.g., 192.168.0.0/16) for its suitable, more manageable range . This decision affects network design by determining how many subnetworks can be created and how addresses are allocated across departments, influencing both network scalability and complexity. Subnetting strategies must also be considered to optimize address usage and ensure security and efficiency in traffic management .

Private IP addresses are used within organizations or LANs to efficiently manage and conserve public IP space. Entire classes, such as A, B, and C, have specific ranges reserved for private use, which cannot be routed on the Internet . Their primary significance is in internal network communication without consuming globally unique IP addresses, thus controlling the limited IPv4 address pool and delaying exhaustion . Private addresses require Network Address Translation (NAT) to interact with public networks, translating private addresses to a public IP, which is critical for connectivity with external networks . The use of private IPs is vital for security and efficient network management, allowing companies to structure complex internal networks without needing multiple public IP allocations .

Broadcasting in IPv4 networks involves sending a packet from one host to all hosts on the network using a special broadcast address. This method impacts network performance by potentially overwhelming the network segment with unnecessary traffic since all devices must process broadcast packets . However, it serves practical applications such as discovering services and devices like DHCP servers, or disseminating information such as ARP requests, where the recipient's address is initially unknown . Despite its effectiveness in certain scenarios, uncontrolled broadcasting can lead to broadcast storms, hence, network designers often segment broadcast domains to minimize such risks .

Loopback addresses in IP networking are reserved addresses in the 127.0.0.0/8 range that allow a host to send traffic to itself, effectively testing network functions independently of physical network interface hardware . The loopback address is predominantly used for troubleshooting and diagnostics, verifying that the IP stack on a host is functioning correctly . When a packet is sent to a loopback address, the OS processes it locally without sending it over the network hardware, ensuring efficient internal network communication and testing . These addresses simplify testing client-server applications on a single machine by allowing virtual network interface communication .

Link-local addresses serve as a fallback mechanism by allowing hosts to self-assign IP addresses when a DHCP server is unavailable, ensuring local network communication . These addresses, in the 169.254.0.0/16 range, offer a temporary solution enabling devices to join a local network segment without manual configuration . They are automatically assigned and used for peer-to-peer networking, enabling devices on the same link to communicate despite the absence of higher-level network configurations . While link-local addresses cannot facilitate communication outside their segment, they are critical for maintaining basic connectivity and configurations, allowing systems to be properly set up or diagnosed .

You might also like