GateAI
IPv4, CIDR and NAT

GATE CSE 2012 · Q23

MCQ1 markEasy

Time

In the IPv4 addressing format, the number of networks allowed under Class C addresses is

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: C) 221

IPv4, CIDR and NAT

In 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 24−3=2124 - 3 = 21 bits.

Therefore, the number of possible Class C networks is 2212^{21}.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

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

Where do you stand for GATE?

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.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

IPv4, CIDR and NAT in GATE CSE

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 NAT

More from GATE CSE 2012

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2012 · Q23 · MCQ

In the IPv4 addressing format, the number of networks allowed under Class C addresses is

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.