In: Computer Science
Provide the information of IP addresses classes.
There are five IP address classes:
1. Class A
In class A first 8 bits of the total 32 bits address act as the network id, and rest 24 bits are host id's. here the first bit is set to 1. Hence, there are network id's for class A address.
Range of class A address. 0.0.0.0 to 127.255.255.255
2. Class B
In class B first 16 bits out of 32 bits, act as the network id, and rest 16 bits act as host id's.Here first bit is set to 1 and second bit is set to 0. Hence there are network id's for class B address.
Range of class B address 128.0.0.0 to 191.255.255.255
3. Class C
In class C first 24 bits out of 32 bits, act as the network address, and rest 8 bits act as host address. Hence there are network id's for class C address. Here first wo bits are set to 1 and third bit is set to 0. hence it starts with 110.
Range of class C address 192.0.0.0 to 223.255.255.255
4. Class D
In class D address first three bits are set 1 and fourth bit is set to 0. Hence it starts with 1110. here all 32 bits are network addresses and there are no host addresses.
Range of class D address 224.0.0.0 to 239.255.255.255
5. Class E
In class E address first four bits are set to 1, hence it starts with 1111. This class is reserved and its usage are not defined.
Range of Class E address 240.0.0.0 to 255.255.255.255