Professional Documents
Culture Documents
College of Engineering
ELE 17L
Activity 1
Submitted by:
Ramos, Shieva
Tulin, Lavern
BSECE - 5A
Submitted to:
Subnetting is dividing a large block of addresses into several contiguous sub-blocks and assigning
these to different smaller networks.
Network address –
It is the first address in the network and it is used for identification network segment. All the IP
addresses, using the same network address part, are in the same network segment.
Broadcast address
It is the last address in the network, and it is used for addressing all the nodes in the network at
the same time. It means that IP packet, where the destination address is broadcast address, is sent
to all nodes of the IP network.
Subnet Mask –
It is a 32-bit number that masks an IP address, and divides the IP address into network address
and host address. Subnet Mask is made by setting network bits to all "1"s and setting host bits to
all "0"s.
1. By Host Requirement
a. Host
b. Bits
c. NSM
d. Binary format
e. Decimal format
f. Increment
g. Range
h. AN
i. UH
j. Total UIP
1. By Network Requirement
a. Network
b. Bits
c. NSM
d. Binary format
e. Decimal format
f. Increment
g. Range
h. AN
i. UH
j. Total UIP
i. 185.185.0.0 - 185.255.255.255
ii. 186.185.0.0 - 186.255.255.255
iii. Continue until you reach 255.255.255.255
h. AN = 2bits = 24 = 16
i. UH = 232-NSM-2 = 232-8-2 =16777214
j. Total UIP = ANxUH = 16x16777214 = 268,435,424
2. Example No. 1
40.180.200.17/8 (Class A)
Given: 111 Hosts, 50 Hosts, 25 Hosts, 2x2 Hosts (Highest to lowest host)
b. Host = 50 (110010)
i. Bits = 6
ii. NSM = 32 - bits, 32 - 6 = 26
iii. Binary = 11111111. 11111111. 11111111. 11000000
iv. Decimal = 255.255.255.192
v. Increment = i(64)
vi. Range
1. 40.180.200.145 - 40.180.200.208 2
2. 40.180.200.209
c. Host = 25 (11001)
i. Bits = 5
ii. NSM = 32 - bits, 32 - 5 = 27
iii. Binary = 11111111. 11111111. 11111111. 11100000
iv. Decimal = 255.255.255.224
v. Increment = i(32)
vi. Range
1. 40.180.200.209 - 40.180.200.240 3
2. 40.180.200.241
d. Host = 2 (10)
i. Bits = 2
ii. NSM = 32 - bits, 32 - 2 = 30
iii. Binary = 11111111. 11111111. 11111111. 11111100
iv. Decimal = 255.255.255.252
v. Increment = i(4)
vi. Range
1. 40.180.200.241 - 40.180.200.244 4
2. 40.180.200.245 - 40.180.200.248 5
3. 40.180.200.249
3. Example No. 2
170.10.190.97/16 (Class B)
a. Host = 50 (110010)
i. Bits = 6
ii. NSM = 32 - bits, 32 - 6 = 26
iii. Binary = 11111111. 11111111. 11111111. 11000000
iv. Decimal = 255.255.255.192
v. Increment = i(64)
vi. Range
1. 170.10.190.97 - 170.10.190.160 1
2. 170.10.190.161
b. Host = 24 (11000)
i. Bits = 5
ii. NSM = 32 - bits, 32 - 5 = 27
iii. Binary = 11111111. 11111111. 11111111. 11100000
iv. Decimal = 255.255.255.224
v. Increment = i(32)
vi. Range
1. 170.10.190.161 - 170.10.190.192 2
2. 170.10.190.193
c. Host = 8 (1000)
i. Bits = 4
ii. NSM = 32 - bits, 32 - 4 = 28
iii. Binary = 11111111. 11111111. 11111111. 11110000
iv. Decimal = 255.255.255.240
v. Increment = i(16)
vi. Range
1. 170.10.190.193 - 170.10.190.208 3
2. 170.10.190.209
d. Host = 2 (10)
i. Bits = 2
ii. NSM = 32 - bits, 32 - 2 = 30
iii. Binary = 11111111. 11111111. 11111111. 11111100
iv. Decimal = 255.255.255.252
v. Increment = i(4)
vi. Range
1. 170.10.190.209 - 170.10.190.212 4
2. 170.10.190.213 - 170.10.190.216 5
3. 170.10.190.217 - 170.10.190.220 6
4. 170.10.190.221
4. Example No. 3
199.80.70.30/24 (Class C)
Given: 50 hosts, 27 hosts, 12x2 hosts, 2x4 hosts (Highest to lowest host)
a. Host = 50 (110010)
i. Bits = 6
ii. NSM = 32 - bits, 32 - 6 = 26
iii. Binary = 11111111. 11111111. 11111111. 11000000
iv. Decimal = 255.255.255.192
v. Increment = i(64)
vi. Range
1. 199.80.70.30 - 199.80.70.93 1
2. 199.80.70.94
b. Host = 27 (11011)
i. Bits = 5
ii. NSM = 32 - bits, 32 - 5 = 27
iii. Binary = 11111111. 11111111. 11111111. 11100000
iv. Decimal = 255.255.255.224
v. Increment = i(32)
vi. Range
1. 199.80.70.94 - 199.80.70.125 2
2. 199.80.70.126
c. Host = 12 (1100)
i. Bits = 4
ii. NSM = 32 - bits, 32 - 4 = 28
iii. Binary = 11111111. 11111111. 11111111. 11110000
iv. Decimal = 255.255.255.240
v. Increment = i(16)
vi. Range
1. 199.80.70.126 - 199.80.70.141 3
2. 199.80.70.142 - 199.80.70.157 4
3. 199.80.70.158
d. Host = 2 (10)
i. Bits = 2
ii. NSM = 32 - bits, 32 - 2 = 30
iii. Binary = 11111111. 11111111. 11111111. 11111100
iv. Decimal = 255.255.255.252
v. Increment = i(4)
vi. Range
1. 199.80.70.158 - 199.80.70.161 5
2. 199.80.70.162 - 199.80.70.165 6
3. 199.80.70.166 - 199.80.70.169 7
4. 199.80.70.170 - 199.80.70.173 8
5. 199.80.70.174