8 Subnettingl8 - 103322
8 Subnettingl8 - 103322
SUBNETTING
SUBNETTING
Subnetting is the process of stealing bits from the HOST part of an IP address
in order to divide the larger network into smaller sub-networks called
subnets. After subnetting, we end up with NETWORK SUBNET HOST fields.
We always reserve an IP address to identify the subnet and another one to
identify the broadcast address within the subnet. In the following sections
you will find out how all this is possible.
SUBNET MASK
Subnet mask is the number that defines a range of IP address that can be
used in network. Subnet mask divides/separates the IP address in to network
id and host id.
Structure of classfull addressing default subnet mask
/24 255.255.255.0 0
/25 255.255.255.128 1
/26 255.255.255.192 2
/27 255.255.255.224 3
/28 255.255.255.240 4
/29 255.255.255.248 5
/30 255.255.255.252 6
/31 255.255.255.254 7
/32 255.255.255.255 8
EXAMPLE
b) Calculate
i. Number of subnet
ii. Number of host
iii. Total number of valid host
iv. Find range of the given address
Solution
a) Subnet mask
Given IP address 192.168.10.40/28
Default Subnet mask for class C is 255.255.255.0 and this show no
bits is borrow and.
From the given address 192.168.10.40/28 four bits are borrowed
therefore the subnet mask is 255.255.255.240
b) i. Number of subnet = 2n where n is equal to number of
borrowed bits
= 24 = 16
ii. Number of host = 2n where n is equal to number of host
= 24 = 16
iii. Number of valid host = 2n - 2 24 – 2
= 16 – 2
= 14
iv. Range of subnet
Exercise