IP ADDRESS CLASS ADD CLASS
IP RANGE
SUBNET MASK
NETWORK HOST BITS/ ID BITS /ID
Class A
1-126
255.0.0.0
08
24
Class B
128-191
255.255.0.0
16
16
Class C
192-223
255.255.255.0
24
08
Class D
224-239
(MULTICAST)
Class E
240-254
(RESEARCH)
Note: - 127.0.0.1 reserved for loopback tests. List of all possible valid network numbers. Description
Class A
Class B
Class C
First Octet Range
1 to 126
128 to 191
192 to 223
Valid Network Numbers
1.0.0.0 to 126.0.0.0
128.1.0.0 to 191.254.0.0
192.0.1.0 to 223.255.254.0
Number of Networks of This class
126 16382 (2*7-2 = 126) (2*14-2 =16382)
2097150 (2*21-2 =2091750)
Number of Hosts per Networks
16777198
65534
254
Calculation of Hosts
2*24-2 =16777198
2*16-2= 65534
2*8-2=254
PRIVATE IP ADDRESS: (V.I.M.P) ADDRESS CLASS
RESERVED ADD SPACE
CLASS A
10.0.0.0 THROUGH 10.255.255.255
CLASS B
172.16.0.0 THROUGH 172.31.255.255
CLASS C
192.168.0.0 THROUGH 192.168.255.255
CIDR VALUES (CLASSLESS INTER-DOMAIN ROUTING) SUBNET MASK CIDR VALUE 255.0.0.0 /8 255.128.0.0
/9
255.192.0.0
/10
255.224.0.0
/11
255.240.0.0
/12
255.248.0.0
/13
255.252.0.0
/14
255.254.0.0
/15
255.255.0.0
/16
255.255.128.0
/17
255.255.192.0
/18
255.255.224.0
/19
255.255.240.0
/20
255.255.248.0
/21
255.255.252.0
/22
255.255.254.0
/23
255.255.255.0
/24
255.255.255.128
/25
255.255.255.192
/26
255.255.255.224
/27
255.255.255.240
/28
255.255.255.248
/29
255.255.255.252
/30
IP Subnetting logic: 2n-2formula: 1) 2) 3) 4) 5) 6) 7) 8)
2n-1 = 2 2n-2 = 4 2n-3 = 8 2n-4 = 16 2n-5 = 32 2n-6 = 64 2n-7 = 128 2n-8 = 256
(2 x 1 = 2) (2 x 2 = 4) (2 x 2 x 2 = 8) (2 x 2 x 2 x 2 = 16) (2 x 2 x 2 x 2 x 2 = 32) (2 x 2 x 2 x 2 x 2 x 2 = 64) (2 x 2 x 2 x 2 x 2 x 2 x 2 = 128) (2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 = 256)
Binary to Decimal conversion formula: (V.I.M.P) 128
64
32
16
8
4
2
1
Total = 255