Subnetting in 5 Minute
Subnetting in 5 Minute
To learn subnetting, first learn the three below mentioned tables and the subnetting formula. Table No 1
OCTET
Number of Bit in an OCTET OCTET value
IIIIIIII
8 255
IIIIIIII
8 255 Table No 2 I 3 32 224 Table No 3 I 4 16 240 I 5 8 248
IIIIIIII
8 255
IIIIIIII
8 255
I 1 128 128
I 2 64 192
I 6 4 252
I 7 2 254
I 8 1 255
20 = 1 Power of 2 25 = 32
21 = 2 26 = 64
22 = 4 27 = 128
23 = 8 28 = 256
24 = 16 29 = 512
We can write the subnet mask 255.255.255.0 as /24. We can write the number (count) of network bit after /. For example: - /28 means 255.255.255.240 and 255.255.255.192 means /26 (8+8+8+2). Now IP subnet-zero command is common and it change the formula 2n 2 with 2n. *bit means 0 or 1,Octet means 8 bit If you learned these tables, you learned subnetting. After learning these tables, if anyone asking you to do subnetting, you can do with in one or two minute. How? Have a look. If anybody is asking you to make 5 subnet of IP 130.150.16.0 and the mask is 255.255.0.0 (/16), how we will do. He is asking for 5 subnets only. So first we need to find out the number of bits need to be borrowed from the next octet. n n 3 That means 2 > 5 (2 2 > 5). That means n = 3 (check Table No 3. 6 (8-2) is greater than 5 and it is 2 . So n is 3). So
Rajakrishnan R.G.