Tuesday, 17 December 2013

SUBNETING EXAMPLES


Q, 192.168.1.0 /25
ANS :

1. SUBNET
2. CIDR
3. NO: OF NETWORKS
4. NO OF HOSTS

STEP 1:

SUBNET
HERE IN QUESTIONIT IS GIVEN THAT THE CIDR IS 25
SO PUT 25 ONES OUT OF 32 BIT S AND THE REST WITH ZEROS

11111111 . 11111111 . 11111111 . 10000000
CONVERT IT INTO BINARY
128+64+32+16+8+4+2+1  . 128+64+32+16+8+4+2+1 . 128+64+32+16+8+4+2+1 . 128+0+0+0+0+0+0+0

255 . 255 . 255 . 128

SO THE SUBNET IS 255.255.255.128

STEP 2;

CIDR
IN THE QUESTION ITSELF IT IS GIVEN THAT THE CISR IS 25
CIDR = 25


 STEP :3

NO:NETWORKS 
                                   = 2N
                                   = 2 (NO: OF ONE IN HOST PORTION OF CIDR’S BINARY VALUE)
                                    = 21
                                                       = 2NETWORKS


 STEP 4:


NO OF HOSTS
                   = 2N – 2
                   = 2 (NUMBER OF ZEROS IN HOST PORTION OF BINARY VALUE OF CIDR)- 2
                   =2 7-2
                   =128-2
                   =126 HOST IN EACH NETWORK





HERE COMPUTER WITH THE IP ADDRESS NETWORK 1 WILL NOT COMMUNICATE WITH NETWORK 2