IP Address Classes
IP Address Classes
There are several classes like A, B, C, D, E. Most A, B, C class use for our networks. Class D, E use for Other network-related work and for research.
Class A [0] [0-126/127]
As we write IP in X syntax,
xxxxxxxx.__.__.__
the IP class define in the first octet. The first bit must be 0 in the first octet.
0xxxxxxx.__.__.__
So, we can define below as,
Class A first Address (lowest value in binary) 000000002
Class A first Address (lowest value in decimal) = 0
Class A first Address first IP = 00000000.00000000.00000000.00000000 = 0.0.0.0
Class A last Address (highest value in binary) 011111112
Class A first Address (highest value in decimal) = 127
Class A first Address last IP = 01111111.11111111.11111111.11111111 = 127.255.255.255
Class B [10] [128-191]
The IP class define in the first octet. The first bit must be 10 in the first octet.
10xxxxxx.__.__.__
So, we can define below as,
Class A first Address (lowest value in binary) 100000002
Class A first Address (lowest value in decimal) = 128
Class A first Address first IP = 10000000.00000000.00000000.00000000 = 128.0.0.0
Class A last Address (highest value in binary) 101111112
Class A first Address (highest value in decimal) = 191
Class A first Address last IP = 10111111.11111111.11111111.11111111 = 191.255.255.255
Class C [110] [192-223]
The IP class define in the first octet. The first bit must be 110 in the first octet.
110xxxxx.__.__.__
So, we can define below as,
Class A first Address (lowest value in binary) 110000002
Class A first Address (lowest value in decimal) = 192
Class A first Address first IP = 11000000.00000000.00000000.00000000 = 192.0.0.0
Class A last Address (highest value in binary) 110111112
Class A first Address (highest value in decimal) = 223
Class A first Address last IP = 11011111.11111111.11111111.11111111 = 223.255.255.255
Class D [1110] [224-239]
The IP class define in the first octet. The first bit must be 1110 in the first octet.
1110xxxx.__.__.__
So, we can define below as,
Class A first Address (lowest value in binary) 111000002
Class A first Address (lowest value in decimal) = 224
Class A first Address first IP = 11100000.00000000.00000000.00000000 = 224.0.0.0
Class A last Address (highest value in binary) 111011112
Class A first Address (highest value in decimal) = 239
Class A first Address last IP = 11101111.11111111.11111111.11111111 = 239.255.255.255
Class E [1111] [240-255]
The IP class define in the first octet. The first bit must be 1111 in the first octet.
1111xxxx.__.__.__
So, we can define below as,
Class A first Address (lowest value in binary) 111100002
Class A first Address (lowest value in decimal) = 240
Class A first Address first IP = 11110000.00000000.00000000.00000000 = 240.0.0.0
Class A last Address (highest value in binary) 111111112
Class A first Address (highest value in decimal) = 255
Class A first Address last IP = 11111111.11111111.11111111.11111111 = 255.255.255.255
Comments
Post a Comment