100% found this document useful (1 vote)
750 views2 pages

IP Addressing and Subnetting Exercise

This document contains 15 questions about IP addressing and subnetting. It covers topics like default subnet masks, private IP address ranges, network vs broadcast addresses, extracting network addresses from IP addresses using subnet masks, designing subnet schemes to satisfy a given number of required subnets, and allocating IP address blocks from a larger block.

Uploaded by

sharaz afzal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
750 views2 pages

IP Addressing and Subnetting Exercise

This document contains 15 questions about IP addressing and subnetting. It covers topics like default subnet masks, private IP address ranges, network vs broadcast addresses, extracting network addresses from IP addresses using subnet masks, designing subnet schemes to satisfy a given number of required subnets, and allocating IP address blocks from a larger block.

Uploaded by

sharaz afzal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Punjab University College of Information Technology, University of the Punjab.

IP Addressing and Subnetting


Exercise

1. Write the default subnet Masks for the Class A, Class B and Class C IP addresses.

2. How we can distinguish Class A, Class B, Class C, Class D and Class E IP addresses from each
other. Write the range of first octet in binary and decimal for all the 5 IP address classes

3. Write the default subnet Masks for the following IP addresses:


a. 100.100.225.100
b. 200.0.0.2
c. 190.47.115.0
d. 192.11.39.2
e. 101.7.80.0

4. Write down the three available ranges for assigning Private IP addresses recommended by IANA
(Internet Assigned Number Authority).

5. What do we mean by Loopback address. Write down a Loopback address and its use.

6. What is the difference between a broadcast address and Network address? Why the all zeros
and all ones addresses are usually not assigned as host IP addresses?

7. A mask is used to distinguish how many bits are there in Network ID portion and how many are in
host ID portion. We can extract the Network Address from the given IP address using the mask.
(Assume that no subnetting is done). Extract the network address from the following IP addresses:
a. 139.65.225.4
b. 201.35.20.18
c. 190.47.115.6
d. 192.11.39.2
e. 10.7.80.0

8. A broadcast address is the one that addresses to all the hosts in any network. State that to create a
broadcast address, all the bits of network ID portion, or all the bits of host ID portion are set to 1?
Write down the broadcast addresses of the networks to which the following IP addresses belong.
(No subnetting)
a. 139.65.225.4
b. 201.35.20.18
c. 190.47.115.6
d. 192.11.39.2
e. 10.7.80.0
Note: First of all find network address of each address then find broadcast of that network.

9. In subnetting, we actually borrow some bits of Host ID to be used as Subnet ID. Each Subnet ID
is used to identify a unique subnet and each host ID is used to identify a unique host within a
subnet. If you add more bits to the subnet ID portion, then the hosts per subnet will increase or
decrease?

10. Subnet Mask or Custom mask tells us that how many bits are used for Subnet ID portion and how
many for host ID portion. Remember, that in a subnet mask, we place 1s against all network ID
and subnet ID bits and 0s against all the host ID bits. Identify how many bits are used for
subnetting in the following IP address using its subnet mask:
a. IP Address: 139.65.225.4 Subnet Mask: 255.255.224.0

1/2
Punjab University College of Information Technology, University of the Punjab.

b. IP Address: 139.65.225.4 Subnet Mask: 255.255.248.0


c. IP Address: 201.35.20.18 Subnet Mask: 255.255.255.128
d. IP Address: 201.35.20.18 Subnet Mask: 255.255.255.240
e. IP Address: 190.47.115.6 Subnet Mask: 255.255.128.0
f. IP Address: 190.47.115.6 Subnet Mask: 255.255.252.0
g. IP Address: 192.11.39.2 Subnet Mask: 255.255.255.192
h. IP Address: 192.11.39.2 Subnet Mask: 255.255.255.224
i. IP Address: 10.7.80.0 Subnet Mask: 255.240.0.0
j. IP Address: 10.7.80.0 Subnet Mask: 255.255.128.0

11. Extract the Network Addresses of the given IP addresses in question number 10, using the subnet
masks given with them. (Remember that ANDing the IP address with the Mask extracts the
network address from the given IP address).

12. Specify a suitable Subnet Mask for the following cases: (You have to decided how many bits
should be taken as subnet ID from the host ID portion to satisfy the required number of subnets).
a. Class A Network with 10 subnets
b. Class B Network with 120 subnets
c. Class B Network with 13 subnets
d. Class C Network with 20 subnets
e. Class A Network with 1115 subnets
f. Class A Network with 5000 subnets
g. Class B Network with 500 subnets
h. Class C Network with 21 subnets

13. Suppose you have a class B Network 172.121.225.0. Your task is to design a subnet scheme so
that we can create 130 Network segments (subnets) within this Network.
a. How many bits would you use for the subnet ID?
b. How many bits would you use for the Host ID?
c. How many maximum possible subnets will be there?
d. How many maximum possible hosts will be there in each subnet?
e. Write down the Subnet Mask of your scheme.
f. Write down the first valid IP address, last valid IP address and the broadcast address of
the Third subnet of your scheme.

14. Suppose you have a class C Network 206.94.115.0. Your task is to design a subnet scheme so that
we can create 14 Network segments (subnets) within this Network. Each subnet should support
10-12 hosts.
a. How many bits would you use for the subnet ID?
b. How many bits would you use for the Host ID?
c. How many maximum possible subnets will be there?
d. How many maximum possible hosts will be there in each subnet?
e. Write down the Subnet Mask of your scheme.
f. Write down All the valid IP addresses, the broadcast address of the First subnet of your
scheme.

15. You joined an ISP and your first assignment to distribute the 160.16.0.0 /16 address among these
blocks of customers as follows:
a. The first group has 200 medium size businesses, each needs 128 addresses.
b. The second group has 400 small businesses, each needs 16 addresses.
c. The third group has 2048 households, each needs 4 addresses.

Design the sub blocks and give the slash notation for each sub block. Find out how many addresses are still
available after these allocations.

2/2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy