In the IPv4 addressing format, the number of networks allowed under Class C addresses is
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2012 · Q23
Time
Select one answerSingle correct
Solution
Official answer: C) 221
IPv4, CIDR and NATIn IPv4 classful addressing, a Class C address has the first 3 bits fixed as 110.
The network ID part consists of 24 bits (3 octets).
Since the first 3 bits are fixed, the number of available bits for the network ID is bits.
Therefore, the number of possible Class C networks is .
Try the question first, then check your work.
Examiner trap
Class C addresses allocate 24 bits for the network ID, with the leading 3 bits reserved as '110'.
This IPv4, CIDR and NAT previous year question is Q23 of the GATE CSE 2012 paper. Find more GATE CSE PYQs on IPv4, CIDR and NAT in Computer Networks, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related IPv4, CIDR and NAT PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
IPv4, CIDR and NAT has 14 GATE CSE PYQs across 10 papers from 2012 to 2025. 5 of them are 1-mark MCQs like this one, and GATE CSE 2012 has 2.
How GATE tests IPv4, CIDR and NATIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.