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.
Class B: Range: from 128.0.0.0 to 191.255.255.255. Leftmost 2 bits: 10 First 16 bits: netid Last 16 bits: the hostid
Class C: Range: from 192.0.0.0 to 223.255.255.255. 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.
Class D: 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.
Class E: First 4 bits: 1111 Addresses reserved for special use on the Internet. There is no netid or hostid in a class E address.
|