Computer Networks · TEE · papers

Q1(c) · Classful IPv4

2025-12-05 · 2022-23

Actual paper; 100 marks attempted. Current-syllabus alignment is stated per question.

Q1(c). Explain the classes of IP address. [5 marks]

Answer

An IPv4 address identifies an IP interface. The network prefix selects the destination network; remaining bits identify an address within it. Classful addressing is historical; modern routing uses explicit CIDR prefixes.

ClassFirst octetDefault maskNetwork / host splitPurpose
A1–126 (ordinary unicast)255.0.0.0 (/8)8 / 24 bitsLarge historical unicast networks; 0 and 127 reserved
B128–191255.255.0.0 (/16)16 / 16 bitsMedium historical unicast networks
C192–223255.255.255.0 (/24)24 / 8 bitsSmall historical unicast networks
D224–239No unicast default maskNot network/host class splitMulticast
E240–255No unicast default maskNot normal unicast allocationReserved/experimental; special addresses exist

Example: 114.34.2.8 is class A with network 114.0.0.0 and host portion 34.2.8. Class does not override an explicitly supplied CIDR prefix.