Explain the classes of IP addresses. Why do we need them?Class A:
Range: from 0.0.0.0 to 127.255.255.255.
Leftmost bit: 0.
First 8 bits: netid.
Remaining 24 bits: hostid.
Range: from 188.8.131.52 to 184.108.40.206.
Leftmost 2 bits: 10
First 16 bits: netid
Last 16 bits: the hostid
Range: from 192.0.0.0 to 220.127.116.11.
Class C networks use the first 24 bits to determine the netid.
Leftmost 3 bits: 110
The next 21 bits define network.
8 bits define the hostid.
First 4 bits: 1110
The remaining 28 bits define multicast addresses.
No netid or hostid in a class D address.
Addresses is used for multicasting.
First 4 bits: 1111
Addresses reserved for special use on the Internet.
There is no netid or hostid in a class E address.