0% found this document useful (0 votes)
19 views

CSIS296-Lab5-Sol (2)

Uploaded by

beast2k3
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

CSIS296-Lab5-Sol (2)

Uploaded by

beast2k3
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

CSIS296-Lab5-Solution

Problem 1: Given the Class C network of 204.15.5.0/24


255.255.255.0

Subnet the network, in order to create the network in the figure below.

Number of bits borrowed: 2n=5 Subnets


So n is 3
11111111. 11111111. 11111111.11100000
204.15.5.0/27

How many hosts do this support? 25-2 = 30. This meets the requirement.

An example of how you might assign the subnetworks is:

Network Address Host Range Broadcast Address


netA: 204.15.5.0 204.15.5.1 to 204.15.5.30 204.15.5.31
netB: 204.15.5.32 204.15.5.33 to 204.15.5.62 204.15.5.63
netC: 204.15.5.64 204.15.5.65 to 204.15.5.94 204.15.5.95
netD: 204.15.5.96 204.15.5.97 to 204.15.5.126 204.15.5.127
netE: 204.15.5.128 204.15.5.129 to 204.15.5.158 204.15.5.159

Note: we used in each subnet the same number of available host addresses but in most cases,
having the same subnet mask ends up wasting address space. NetA, NetC and NetD have a lot of
unused host addresses space.
It is possible that this was a deliberate design accounting for future growth, but in many cases this
just wasted address space due to the fact the same subnet mask is being used for all the subnets.
Variable Length Subnet Masks (VLSM) allows you to use different masks for each subnet. It
simply means subnetting a subnet.

VLSM will be covered in next session.

1
CSIS296-Lab5-Solution

Problem 2: For a Given IP Address and Subnet Mask, Determine Subnet Information
 Host IP Address 172.25.114.250
 Network Mask 255.255.0.0 (/16)
 Subnet Mask 255.255.255.192 (/26)

a. Translate host IP address and subnet mask into binary notation


IP Address 10101100.00011001.01110010.11111010

Subnet Mask 11111111.11111111.11111111.11000000

b. Determine the network address (or subnet) in Binary where this host address belongs
Network 10101100.00011001.01110010.11000000

Address
Decimal 172.25.114.192

c. Determine which bits in the IP address contain network information and which contain
host information.
Network Prefix 10101100.00011001.01110010.11

Host 111010

d. Determine the broadcast address in Binary and decimal format on this subnet.
Broadcast Address Binary 10101100.00011001.01110010.11111111

Broadcast Address Decimal 172.25.114.255

e. IP Address of First Host on this Subnet


172.25.114.193
f. IP Address of Last Host on this Subnet
172.25.114.254
g. Determine the number of subnets.
210 = 1024 subnets
h. Determine the number usable hosts per subnet.
26 -2= 62 hosts

You might also like