IP Address

32-bits IP address ( 4 bytes, each bytes contains 8 bits (0,1) )

00001010 00000000 00000000 00000001

is written in dotted decimal as

10.0.0.1

each bytes value= minimum of 0 to a maximum of 255. Therefore,

Full range addresses is from 0.0.0.0 through 255.255.255.255.
That represents a total of 4,294,967,296 possible IP addreses.

 

IP Classes

 
A(large org)
B(medium org)
C(relatively small)
D(multi-cast)
E (exp)
High-bit
0
1,0
1,1,0
1,1,1,0
1,1,1,1

eg. 172.31.1.2 = 172 is between 128-192(128+64). So 10 is highest bit, Class B