Name:
Index No:
Understanding IP Addressing
Understanding IP Addressing – Practice Exercises
1. Classful IP Addressing
1. Complete the following table which provides practice in converting a number from binary
notation to decimal format.
2. Complete the following table which provides practice in converting a number from decimal
notation to binary format.
3. Express [Link] in binary format and identify the address class:
__________________________________________________________________
4. Express [Link] in binary format and identify the address class:
__________________________________________________________________
5. Express [Link] in binary format and identify the address class:
__________________________________________________________________
2. Subnetting
Subnetting Exercise #1
Assume that you have been assigned the [Link]/16 network block. You need to establish eight
subnets
1. __________ binary digits are required to define eight subnets.
2. Specify the extended-network-prefix that allows the creation of 8 subnets.
__________________________________________________________________
3. Express the subnets in binary format and dotted decimal notation:
CS2030: Data Communications Page 1 of 7
Understanding IP Addressing
#0 ________________________________________________________________
#1 ________________________________________________________________
#2 ________________________________________________________________
#3 ________________________________________________________________
#4 ________________________________________________________________
#5 ________________________________________________________________
#6 ________________________________________________________________
#7 ________________________________________________________________
4. List the range of host addresses that can be assigned to Subnet #3 ([Link]/19).
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
5. What is the broadcast address for Subnet #3 ([Link]/19).
__________________________________________________________________
Subnetting Exercise #2
1. Assume that you have been assigned the [Link]/24 network block. Define an extended-
network-prefix that allows the creation of 20 hosts on each subnet.
__________________________________________________________________
2. What is the maximum number of hosts that can be assigned to each subnet?
__________________________________________________________________
3. What is the maximum number of subnets that can be defined?
__________________________________________________________________
4. Specify the subnets of [Link]/24 in binary format and dotted decimal notation.
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
CS2030: Data Communications Page 2 of 7
Understanding IP Addressing
__________________________________________________________________
__________________________________________________________________
5. List range of host addresses that can be assigned to Subnet #6 ([Link]/27)
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
6. What is the broadcast address for subnet [Link]/27?
__________________________________________________________________
3. VLSM
Given
An organization has been assigned the network number [Link]/16 and it plans to deploy
VLSM.
To arrive at this design, the first step of the subnetting process divides the base network address
into 8 equal-sized address blocks. Then Subnet #1 is divided it into 32 equal-sized address blocks
and Subnet #6 is divided into 16 equal-sized address blocks. Finally, Subnet #6-14 is divided into
8 equal-sized address blocks.
1. Specify the eight subnets of [Link]/16:
#0 ________________________________________________________________
#1 ________________________________________________________________
#2 ________________________________________________________________
#3 ________________________________________________________________
#4 ________________________________________________________________
#5 ________________________________________________________________
#6 ________________________________________________________________
#7 ________________________________________________________________
2. List the host addresses that can be assigned to Subnet #3 ([Link]):
__________________________________________________________________
CS2030: Data Communications Page 3 of 7
Understanding IP Addressing
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
3. Identify the broadcast address for Subnet #3 ([Link]):
__________________________________________________________________
4. Specify the 16 subnets of Subnet #6 ([Link]/19):
#6-0_______________________________________________________________
#6-1_______________________________________________________________
#6-2_______________________________________________________________
#6-3_______________________________________________________________
#6-4_______________________________________________________________
#6-5_______________________________________________________________
#6-6_______________________________________________________________
#6-7_______________________________________________________________
#6-8_______________________________________________________________
#6-9_______________________________________________________________
#6-10______________________________________________________________
#6-11______________________________________________________________
#6-12______________________________________________________________
#6-13______________________________________________________________
#6-14______________________________________________________________
#6-15______________________________________________________________
5. List the host addresses that can be assigned to Subnet #6-3 ([Link]/23):
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
6. Identify the broadcast address for Subnet #6-3 ([Link]/23):
__________________________________________________________________
CS2030: Data Communications Page 4 of 7
Understanding IP Addressing
7. Specify the eight subnets of Subnet #6-14 ([Link]/23):
#6-14-0 ____________________________________________________________
#6-14-1 ____________________________________________________________
#6-14-2 ____________________________________________________________
#6-14-3 ____________________________________________________________
#6-14-4 ____________________________________________________________
#6-14-5 ____________________________________________________________
#6-14-6 ____________________________________________________________
#6-14-7 ____________________________________________________________
8. List the host addresses that can be assigned to Subnet #6-14-2 ([Link]/26):
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
9. Identify the broadcast address for Subnet #6-14-2 ([Link]/26):
__________________________________________________________________
4. CIDR
1. List the individual /24 networks defined by the CIDR block [Link]/21.
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
2. List the individual /16 networks defined by the CIDR block 195.24/13.
__________________________________________________________________
__________________________________________________________________
CS2030: Data Communications Page 5 of 7
Understanding IP Addressing
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
3. Aggregate the following set of (4) IP /24 network addresses to the highest degree possible.
[Link]/24
[Link]/24
[Link]/24
[Link]/24
__________________________________________________________________
4. Aggregate the following set of (4) IP /24 network addresses to the highest degree possible.
[Link]/24
[Link]/24
[Link]/24
[Link]/24
__________________________________________________________________
5. Aggregate the following set of (64) IP /24 network addresses to the highest degree possible.
[Link]/24
[Link]/24
[Link]/24
:
[Link]/24
[Link]/24
[Link]/24
[Link]/24
:
[Link]/24
[Link]/24
__________________________________________________________________
6. How would you express the entire Class A address space as a single CIDR advertisement?
__________________________________________________________________
7. How would you express the entire Class B address space as a single CIDR advertisement?
__________________________________________________________________
CS2030: Data Communications Page 6 of 7
Understanding IP Addressing
8. How would you express the entire Class C address space as a single CIDR advertisement?
__________________________________________________________________
CS2030: Data Communications Page 7 of 7