Professional Documents
Culture Documents
Subnetting
Example you were given the IP address 192.1.2.0, three bits borrowed. Bits
borrowed is used for the subnetter to identify the total number of usable
subnets and usable hosts that will later be assigned to different interfaces
and workstations in a given network.
Solution:
The basic formula for usable subnet and host is as follows
2b – 2 = usable subnets
2n – 2 = usable hosts
23 = 8 – 2 = 6 usable subnets
25 = 32 – 2 = 30 usable hosts
This means that from the given IP add we can create 6 sub networks
and 30 usable hosts per subnet.
1
How we get the subnet ID relies on the number of hosts. In our
computation for usable hosts, 2n – 2, we remove two from the result
because these two addresses are reserved for the subnet ID or network
address and the broadcast address for the particular subnet.
In our first usable subnet 192.1.2.32 is the network address, 192.1.2.63 is
the broadcast address and 192.1.2.33 – 192.1.2.62 is the range of the
usable host per subnet.
192.1.2.32 1 address
192.1.2.33 – 192.1.2.62 30 addresses
192.1.2.63 1 address
Total 32 addresses
1. Convert the octet of the host part into binary. The bits borrowed are
represented by 1’s and the remaining bits by 0’s.
192.1.2. [ 1 1 1 0 0 0 0 0 ]
[1 1 1 0 0 0 0 0]
128 64 32 16 8 4 2 1
3. From left, choose the last bit of 1, notice that the corresponding decimal
conversion of it is 32.
[1 1 1 0 0 0 0 0]
128 64 32 16 8 4 2 1
So it means that our network address counts by 32. From there it is easier
to identify the broadcast address and the range of the usable hosts. see
subnetting in page 1.
2
Tricky huh? Maybe you were asking right now… how about in class A or B?
is it applicable? Let’s try it again using a class B address.
25 – 2 = 30 usable subnets
211 – 2 = 2046 usable hosts
What we normally do in this case is to divide the usable hosts by 255 to get
the division of the addresses.
2046 / 255 = 8
[1 1 1 1 1 0 0 0]
128 64 32 16 8 4 2 1
3
Another example 171.3.0.0 10 bits borrowed
Usable Subnets
The number of bits borrowed must be decided before subnetting. Its result
must satisfy the network needs of the company. What we have to consider
mainly is the number of networks. If you only have 5 networks, you will be
given a Class C address. You may borrow a minimum of 3 bits because if
4
we compute using the formula 23 – 2 = 6 usable subnets. Of course 6
subnets can already support 5 networks. Higher bits can also be borrowed
if the network is predicted to increase in a period of time.
Usable Hosts
In our earlier discussion about subnetting the usable hosts is derived from
the formula 2n – 2, where n is the number of bits remaining. We subtract 2
to assign them as subnetwork address and broadcast address.