Study Unit 6 - IP Addressing
Study Unit 6 - IP Addressing
Study IP Addressing
Unit 6
Introduction
This Study Unit introduces the various classes and versions of
Study Session the IP addressing. It also carefully presents examples of IP
Outline address division known as subnets. A flash of binary number
conversion is intended to be treated.
IP addressing
IP Classes
Learning Outcomes of Study Unit 6
Forms of IP
Upon completion of this study unit, you should be able to:
6.2 List the classes of IPv4 address and state their uses.
Study Session
6.3 Demonstrate how to subnet a network.
Duration
6.4 Illustrate the different types of network topology.
This Study Session requires a 2
6.5 Design simple topologies for Local Area Networks (LAN)
hours of formal study time.
Terminologies
You may spend an additional 2-
3 hours for revision
IP Internet Protocols
6.1 IP ADDRESSING
Managing Internet Protocol (IP) Addresses is an integral part of Computer Networks. It is a global
or private identifier that grants a computer access on a Network.
As we said in layer architecture, every computer/device in a network (public or private) must have
an IP address to send and receive messages.
An IP address can be defined as a numerical representation that uniquely identifies a
computer/device in a network. A device can be a smartphone or any digital device that can connect
to a computer network.
Figure 1: IP in Bits
Computer Science Level 1 (CS1)
Introduction to Computer Networks
Ipv4
Ipv4 is made up of 32-bit number structure. The total number of IPv4 addresses are 2^32 =
4,294,967,296. The address space is limited to 4,294,967,296 IP addresses; this was why Ipv6 was
developed.
Among these billions of addresses, 18 million addresses were reserved for private networks, while
270 million was reserved for multicast addresses.
E.g., 10.6.111.231 is an IP address. The computer takes 10.6.111.231 which is in decimal (base
10) and converts it to machine-readable format in base 2. This is how the computer sees the above
IP address
00001010.00000110.01101111.11100111
Table 1: Classes of IP
Computer Science Level 1 (CS1)
Introduction to Computer Networks
Among these IP addresses, some are reserved for special purposes, while other are used for public
and private networks. We will learn about them later.
When assigning IP Addresses, the network part does not change. For instance, the Class
A network 14.0.0.0, the 14 which is the network part does not change when assigning IP
addresses. The addresses will start with 14.0.0.1, 14.0.0.67, 14.0.3.4…14.255.255.255.
Only the network part does not change.
Class A - first 8 bits is the network part; the remaining 24 bits is the network part. E.g.,
10.0.0.0. The network part does not change. Also, class A networks have a total of
16,777,216 IP addresses per network. For instance, the Class A network 13.0.0.0/8 (/8 is
the CIDR notation), has a total IP address of 16,777,216. Can you list them? 13.0.0.1,
13.0.0.255, 13.0.1.0, 13.0.1.255, and so forth
Computer Science Level 1 (CS1)
Introduction to Computer Networks
Class C - first 24 bits is the network part; the remaining 8 bits is the network part. E.g.,
192.168.1.0
Note 192.168.0.0 is a class C address. The first 24 bits is the network part. The IP addresses in
this network will count from 192.168.0.0, 192.168.0.1, 192.168.0.2...192.168.0.254,
192.168.0.255
Source: https://www.ibm.com/docs/vi/zos/2.3.0?topic=considerations-special-ip-addresses
Computer Science Level 1 (CS1)
Introduction to Computer Networks
Three address blocks (see Table 4), are reserved for communication with a LAN, namely
10.0.0.0/8, 172.16.0.0/16 and 192.168.0.0/24
Table 2: IP Ranges
Public address
These are IP addresses assigned by a router for a host computer or device to communicate
with the internet.
Static address is typed manually into your computer when you connect to a network using
a LAN cable like UTP, STP, and Coaxial Cable. Dynamic addressing is managed by the
router which uses a protocol called Dynamic Host Configuration Protocol (DHCP) for
dynamic IP address allocation.
The Figure in 33, illustrates in detail the forms of communication with various IP addresses.
6.2 IPv6
As a network administrator in a network, each arrangement has its advantages and disadvantages.
The topology used in a network will determine how the network will be effectively managed, (for
example troubleshooting a network can be made easier by its topology), and the resources required
to setup the network.
A network topology can be physical or logical. Physical topology refers to the real connections
that can be seen. For e.g., the actual physical location of routers, switches, computers, cabling, are
seen in a physical topology.
A logical topology gives a high-level view of how a network is arranged. It gives an overview of
physical resources.
Computer Science Level 1 (CS1)
Introduction to Computer Networks
Star Topology
Bus or Line
Computer Science Level 1 (CS1)
Introduction to Computer Networks
Bus Topology
Ring Topology
Mesh Topology
Computer Science Level 1 (CS1)
Introduction to Computer Networks
1.The network can hardly go down because there are different paths packets can be
routed for successful data transmission.
In this topology, every node in a network is linked to a central hub, also two nodes can
only be connected to one mutual node. It creates a tree connection (parent-child
relationship). This allows for scalability and easy network administration.