Friday, May 13, 2011

Some might say in the world of networking any subnetting without VLSM (Variable Length Subnetting Masking) is way too easy, Have a look at this one.....

A Company is given Ip Address 145.72.0.0, they have 30 departments in their company and do not know and also do not want to assume which particular department will need more ip addresses or which department will need less ip addresses, so the clever Network Administrator initiates an idea that he would not use VLSM and devide the addresses in equal parts throughout the departments. How would you subnet it? Explain showing each subnet.

Answer:

Needed 30 EQUAL subnets

So, we need to borrow 5 bits from the host portion of the class B (128.0.0.0 - 192.255.255.255) network

but as we have to borrow 5 bits from network portion we will have two extra subnets.

how?
we borrow 1 bit we get two subnets 0 & 1
borrow 2 bits we get four subnets 00,01,10,11
3 gives 8 subnets 000,001,010,100,011,110,111,101
4 bits gives us 16
and 5 bits gives us 32

now back to our problem.

class B default mask: 255.255.0.0 = 11111111.11111111.00000000.00000000

after borrowing 5 bits from host portion (0 portion)

11111111.11111111.11111~000.00000000 = 255.255.248.0 = /21
* After "~" means start of host portion

starting subnet (0th subnet) = 145.72.0.0 - 145.72.7.255
1st subnet = 145.72.8.0 - 145.72.15.255
2nd subnet = 145.72.16.0 - 145.72.23.255
3rd subnet = 145.72.24.0 - 145.72.31.255
4th subnet = 145.72.32.0 - 145.72.39.255
5th subnet = 145.72.40.0 - 145.72.47.255
6th subnet = 145.72.48.0 - 145.72.55.255
7th subnet = 145.72.56..0 - 145.72.63.255
8th subnet = 145.72.64.0 - 145.72.71.255
9th subnet = 145.72.72.0 - 145.72..79.255
10th subnet = 145.72.80.0 - 145.72.87.255
11th subnet = 145.72.88.0 - 145.72.95.255
12th subnet = 145.72.96.0 - 145.72.103.255
13th subnet = 145.72.104.0 - 145.72.111.255
14th subnet = 145.72.112.0 - 145.72.119.255
15th subnet = 145.72.120.0 - 145.72.127.255
16th subnet = 145.72.128.0 - 145.72.135.255
17th subnet = 145.72.136.0 - 145.72.143.255
18th subnet = 145.72.144.0 - 145.72.151.255
19th subnet = 145.72.152.0 - 145.72.159.255
20th subnet = 145.72.160.0 - 145.72.167.255
21th subnet = 145.72.168.0 - 145.72.175.255
22nd subnet = 145.72.176.0 - 145.72.183.255
23rd subnet = 145.72.184.0 - 145.72.191.255
24th subnet = 145.72.192.0 - 145.72.199.255
25th subnet = 145.72.200.0 - 145.72.207.255
26th subnet = 145.72.208.0 - 145.72.217.255
27th subnet = 145.72.218.0 - 145.72.223.255
28th subnet = 145.72.224.0 - 145.72.231.255
29th subnet = 145.72.232.0 - 145.72.239.255
30th subnet = 145.72.240.0 - 145.72.247.255
31th subnet = 145.72.248.0 - 145.72.255.255


And they say this was easy......

No comments: