100% found this document useful (1 vote)
131 views6 pages

Scenario #1: IP Allocation in A MAN: Bahria University (Karachi Campus)

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 6

BAHRIA UNIVERSITY (KARACHI CAMPUS)

ASSIGNMENT # 2 – FALL SEMESTER – 2021

Data Communication and Networking (CEN-222)

Name: Daniyal Hassan (02-131192-060)

BSE 5B

Question 1 [CLO 3]

Scenario #1: IP Allocation in a MAN


You are tasked by your supervisor with assigning
IP addresses for your new MAN
(Metropolitan Area Network), which consists of 8
different buildings, each building will have
2 5 5 workstations. Your supervisor tells you to
only use as much of the 164.10.0.0 network
as you need. Your supervisor will assign the IP
addresses to the serial interfaces using a
different network. You will need to determine the
following four items for each of the eight
buildings:
A) Subnet masks
B) Network addresses
C) Broadcast address for each subnet
D) Valid host ranges on each subnet

Daniyal Hassan (02-131192-060)


BSE 5B
Scenario #1: IP Allocation in a MAN
You are tasked by your supervisor with assigning
IP addresses for your new MAN
(Metropolitan Area Network), which consists of 8
different buildings, each building will have
2 5 5 workstations. Your supervisor tells you to
only use as much of the 164.10.0.0 network
as you need. Your supervisor will assign the IP
addresses to the serial interfaces using a
different network. You will need to determine the
following four items for each of the eight
buildings:
A) Subnet masks
B) Network addresses
C) Broadcast address for each subnet
D) Valid host ranges on each subnet
Scenario #1: IP Allocation in a MAN
You are tasked by your supervisor with assigning
IP addresses for your new MAN
(Metropolitan Area Network), which consists of 8
different buildings, each building will have
2 5 5 workstations. Your supervisor tells you to
only use as much of the 164.10.0.0 network

Daniyal Hassan (02-131192-060)


BSE 5B
as you need. Your supervisor will assign the IP
addresses to the serial interfaces using a
different network. You will need to determine the
following four items for each of the eight
buildings:
A) Subnet masks
B) Network addresses
C) Broadcast address for each subnet
D) Valid host ranges on each subnet
Scenario #1: IP Allocation in a MAN
You are tasked by your supervisor with assigning
IP addresses for your new MAN
(Metropolitan Area Network), which consists of 8
different buildings, each building will have
2 5 5 workstations. Your supervisor tells you to
only use as much of the 164.10.0.0 network
as you need. Your supervisor will assign the IP
addresses to the serial interfaces using a
different network. You will need to determine the
following four items for each of the eight
buildings:
A) Subnet masks
B) Network addresses
C) Broadcast address for each subnet
Daniyal Hassan (02-131192-060)
BSE 5B
D) Valid host ranges on each subnet

A) Subnet Masks:
255.255.254.0
Explanation:
We need to have 255 workstations on each LAN. A 255.255.255.0 netmask will allow us
only 254 valid hosts on a LAN, reserving one IP address for the network address and one
for the broadcast address. Therefore, we should “borrow” one bit from the previous
octet.164.10.0.0 is a class “B” subnet because the first two bits of 164 are written in
binary as “10”. The default number of subnet bits on a class “B” network is 16. With this
mask we are using a total of 23 masked subnet bits (“1” s), with 9 bits unmasked (“0” s).
we have 7 additional masked subnet bits (23-16=7).2^7-2 = 126. We have a total of 9
unmasked subnet bits. 2^9-2=510. We have a total 512 host Ip address available for each
subnet. To double check your math, add the default subnet bits with the additional subnet
bits and the unmasked subnet bits together to get 32 (16+7+9=32).

B) Network Addresses:
164.10.2.0
164.10.4.0
164.10.6.0
164.10.8.0
164.10.10.0
164.10.12.0
164.10.14.0
164.10.16.0
Explanation:
We are able to do this on cisco router with the addition of “ip subnet-zero” command, but
it is still not a standard usage. Therefore, the first standard subnet is 164.10.2.0. Since
each subnet contains a total of 514 addresses (2^9=512), the subnet must increment in
sets of 512. If the first subnet is 164.10.2.0, the next must be 168.10.4.0. Let’s work it out

Daniyal Hassan (02-131192-060)


BSE 5B
the long way: 164.10.2.0+ 255 = 164.10.2.255. Also , 164.10.2.255+1=164.10.3.0. Next,
164.10.3.0+255=164.10.2.255, and 164.10.3.255+1=164.10.4.0. Finally, 255+1+255+1 =
512.Therefore , 164.10.2.0+512=164.10.4.0.

C) Broadcast address for each subnet:


164.10.3.255
164.10.5.255
164.10.7.255
164.10.9.255
164.10.11.255
164.10.13.255
164.10.15.255
164.10.17.255
Explanation:

Broadcast address are so simple to figure out it will amaze you. Simply take the address
of the next subnet and subtract 1. This equates to all “1” s in the area of the subnet mask
that contain the unmasked bits:
164.10.3.255 = 10100100.00001010.00000011.11111111
255.255.254.0 = 11111111. 11111111. 11111110.00000000
In the 3rd octet of the subnet mask, notice where the masked bits change to unmasked bits.
If all the bits of the Ip address that are over unmasked bits are “1” s, this is a broadcast
address. A network address would have all the “0” s over the unmasked bits.

D) Valid host ranges on each subnet:


164.10.2.1 – 164.10.3.254
164.10.4.1 – 164.10.5.254
164.10.6.1 – 164.10.7.254
164.10.8.1 – 164.10.9.254
164.10.10.1 – 164.10.11.254
164.10.12.1 – 164.10.13.254
164.10.14.1 – 164.10.15.254
164.10.16.1 – 164.10.17.254
Explanation:
to find the valid Ip hosts, simply use the network address and add 1. This is the first valid
host address. Take the broadcast address and subtract 1. This is the last valid host
address.

Daniyal Hassan (02-131192-060)


BSE 5B
Daniyal Hassan (02-131192-060)
BSE 5B

You might also like