Sunteți pe pagina 1din 5

PROBLEM STATEMENT

Given a network of 172.16.0.0/16, subnet the network in order to


create nine subnets with host requirements as shown
Civil
40 hosts

CSE
95 hosts

ETC
90 hosts

2 hosts

Electrical
80 hosts

Metallurgy
20 hosts

2 hosts

Chemical
45 hosts

Mechanical
80 hosts

Use Fixed Length Subnet Mask scheme. Determine the network


address, subnet mask, broadcast address and range of IP
addresses assigned to individual subnets.

Description:
Procedure for subnet masking:
Class B network has 16bit of NID (network id) and 16 bit of HID (host id).
And the range of NID for class B network is (1st octet):
From (10000000)2 = (128)10
To (10111111)2 = (191)10
The 1st octet determines the class of the network. The given network is a
class B network. (172 is the first octet).

To divide the network into 9 static subnets, we need to reserve bits for
subnet id.
We can create 2n number of subnets if we reserve n bits from the HID part.
Here, we need 4 bits to be reserved for subnet masking.
So, the subnet ids will be 0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111,
and 1000.
If we reserve 4 bits for subnet mask, the subnet mask for this network will
be, all 1s for NID & SID and all zeroes for HID.
That is,
11111111. 11111111. 11110000. 00000000
In dotted decimal format it will be,
255.255.240.0

- This is the subnet mask for this network

Network address: The first ip address of the range.


Broadcast address: Two types of broadcasting 1) Limited broadcasting, 2)
Directed broadcasting.
Limited broadcasting address 255.255.255.255
Directed broadcasting address The last ip address of the range.

IP address ranges are as follows:


SUBNET 1
10101100. 00010000. 00000000. 00000000

172.16.0.0

To

10101100. 00010000. 00001111.11111111

172.16.15.255

SUBNET 2
10101100. 00010000. 00010000.00000000

172.16.16.0

To

10101100. 00010000. 00011111.11111111

172.16.31.255

SUBNET 3
10101100. 00010000. 00100000.00000000

172.16.32.0

To

10101100. 00010000. 00101111.11111111

172.16.47.255

SUBNET 4
10101100. 00010000. 00110000. 00000000

172.16.48.0

To

10101100. 00010000. 00111111.11111111

172.16.63.255

SUBNET 5
10101100. 00010000. 01000000.00000000

172.16.64.0

To

10101100. 00010000. 01001111.11111111

172.16.79.255

SUBNET 6
10101100. 00010000. 01010000.00000000

172.16.80.0

To

10101100. 00010000. 01011111.11111111

172.16.95.255

SUBNET 7
10101100. 00010000. 01100000. 00000000

172.16.96.0

To

10101100. 00010000. 01101111.11111111

172.16.111.255

SUBNET 8
10101100. 00010000. 01110000.00000000

172.16.112.0

To

10101100. 00010000. 01111111.11111111

172.16.127.255

SUBNET 9
10101100. 00010000. 10000000.00000000

172.16.128.0

To

10101100. 00010000. 10001111.11111111

172.16.143.255

Need for subnet mask:


The computer does the AND operation of the packets destination IP
address and the subnet mask to find the subnet in the network.

Configuring the Network in Cisco Packet Tracer Software as


described above:

SUBNET
NAME

FROM

TO

NETWO
RK
ADDRES
S

HOST IP
ADDRES
S RANGE

BROAD
CAST
ADDRE
SS

SUBNE
T MASK

DHCP
SERVER
ADDRES
S

ETC

172.16.0.0

172.16.15.255

172.16.0.0

172.16.15.255

255.255.240.0

172.16.0.2

CSE

172.16.32.0

172.16.47.255

172.16.32.0

172.16.47.255

255.255.240.0

172.16.32.2

CIVIL

172.16.64.0

172.16.79.255

172.16.64.0

172.16.79.255

255.255.240.0

172.16.64.2

METALLURGY

172.16.80.0

172.16.95.255

172.16.80.0

172.16.95.255

255.255.240.0

172.16.80.2

MECHANICAL

172.16.96.0

172.16.111.255

172.16.96.0

172.16.96.2

172.16.48.0

172.16.63.255

172.16.48.0

172.16.111.25
5
172.16.63.255

255.255.240.0

CHEMICAL

255.255.240.0

172.16.48.2

ELECTRICAL

172.16.16.0

172.16.31.255

172.16.16.0

172.16.31.255

255.255.240.0

172.16.16.2

2 HOSTS (1)

172.16.112.0

172.16.127.255

172.16.112.0

172.16.128.0

172.16.143.255

172.16.128.0

172.16.127.25
5
172.16.143.25
5

255.255.240.0

2 HOSTS (2)

172.16.0.1
172.16.15.254
172.16.32.1
172.16.47.254
172.16.64.1
172.16.79.254
172.16.80.1
172.16.95.254
172.16.96.1
172.16.111.254
172.16.48.1
172.16.63.254
172.16.16.1
172.16.31.254
172.16.112.1
172.16.127.254
172.16.128.1
172.16.143.254

255.255.240.0

After applying the above values, setting up the static routes, DHCP
servers, the whole network looks like as follows. (Host computers
are added one per switch due to space limitation).

S-ar putea să vă placă și