Wednesday, February 24, 2010

Subnet NEtworking

It not just easy,But not difficult too....

First Plan your requirement,i.e how many sub networks you need 2,3,4 according how many machine in each network. if you want around 60 machine in each network of 4 subnetwork. it very simple.

How calculation work

eg:
Decide the range of IP and Class of Network you wand A,B,C,D

Here i am taking the Range of Class " C" IP i.e 192.198.1.0-255
so my Subnet mask calculation will work like:
(255.255.255.0 - Standard Subnet mask)
Its converted into binary of eight decimal i.e 11111111.11111111.11111111.00000000(255.255.255.0)

The formula for figuring out the number of 'host' bits in a subnet mask is
2^n=(number of nodes ) (2^n means '2' to the power of 'n')
Since you know the number of nodes, you need to find 'n'.

Because you want 64 node(s), you want to leave 6 - '0' bits in the subnet mask since 64 = 2 ^ 6 (2x2x2x2x2x2).
This will give you the following subnet mask:

subnet mask: 11111111.11111111.11111111.11000000
Which is referred to as /26 or in dotted decimal notation as 255.255.255.192

So my SUBNET 1 will have IP Ranging from 192.168.0-63 were 0 is transmission ID and 63 Broadcast ID.
SUBNET 2 will have IP Ranging from 192.168. 64-127 were 64 is transmission ID and 127 Broadcast ID.
SUBNET 3 will have IP Ranging from 192.168.128-191 were 128 is transmission ID and 191 Broadcast ID.
SUBNET 4 will have IP Ranging from 192.168. 192-255 were 192 is transmission ID and 255 Broadcast ID.



easy online way to calculate:
http://www.t1shopper.com/tools/calculate/ip-subnet/

No comments: