Sunday, July 14, 2013

IP Address Queries Initially

Internet Protocol is a routed protocol used to Send Packet
Class A     0-126
Class B     128-191
Class C     192-223
Class D     224-239
Class E     240-255


IP Address No. 127 is reserved for Loopback Testing
Default Subnet Mask
A   255.0.0.0
B   255.255.0.0
C   255.255.255.0

Network Means No. of ON Bits(1)
Host Means   No. of OFF bits(0)

Class A => 8/24   i.e. 8 ON & 24 OFF
Class B => 16/16  i.e. 16 ON & 16 OFF
Class C => 24/8   i.e. 24 ON & 8 OFF


SOME QUERIES
Default Network and Host
Class A
7 ON   2^7    (7 is the Power of 2) = 128 Network
24 OFF 2^24-2 (24 is the Power of 2)=16777214 Host

Class B
14 ON   2^14  (14 is the power of 2) =  16384 Network
16 OFF  2^16-2  (I6 is the power of 2)= 65534 Host

Class C
21 ON  2^21 (21 is the power of 2)  = 2097152 Network
8 OFF  2^8-2  (8 is the power of 2) = 254 Host