Question Details

An ISP having an address block 202.16.0.0/15 assigns a block of 6000 IP addresses to a client, using the classless internet domain routing (CIDR) super netting approach. Which of the following address blocks can be assigned by the ISP?

Options

A

202.16.0.0/19

B

202.17.64.0/19

C

202.16.32.0/19

D

202.17.24.0/19

Show Answer
Correct Answer
B 202.17.64.0/19
C 202.16.32.0/19
B 202.17.64.0/19
C 202.16.32.0/19
A 202.16.0.0/19
B 202.17.64.0/19
C 202.16.32.0/19

Solution :

The correct options that can be assigned are 202.16.0.0/19, 202.16.32.0/19, and 202.17.64.0/19.

Here is the step-by-step logical reasoning and calculation to find the valid CIDR address blocks:

Step 1: Determine the block size required for 6000 IP addresses
In CIDR supernetting/subnetting, block sizes must always be powers of 2. We need to find the smallest power of 2 that can accommodate at least 6000 IP addresses.
- 212=4096 (which is not enough)
- 213=8192 (which is sufficient)

Therefore, the client must be allocated a block of 8192 IP addresses. This requires 13 bits for the host ID portion.

Step 2: Find the CIDR prefix length (subnet mask)
An IPv4 address consists of 32 bits. The subnet mask length is calculated by subtracting the host bits from the total bits:
32-13=19 bits.

Hence, any valid allocated block must have a mask of /19.

Step 3: Analyze the ISP's address block range
The ISP owns the address block 202.16.0.0/15.
- A prefix length of 15 means the first 15 bits of the address block are fixed.
- The first octet (8 bits) is fixed at 202.
- The second octet (next 7 bits) is fixed as 0001000 in binary. The 8th bit of the second octet is variable (either 0 or 1).
- This allows the second octet to range from 16 (binary 00010000) to 17 (binary 00010001).

Thus, the ISP can only allocate blocks whose second octet is either 16 or 17.

Step 4: Determine the valid starting addresses for a /19 block
For any /19 block:
- The first 16 bits cover the first two octets (which must begin with 202.16 or 202.17).
- The next 3 bits of the prefix belong to the third octet, leaving the remaining 5 bits of the third octet as host bits (which must be 0 for the network address).
- Since the 5 least significant bits of the third octet must be 0, the value of the third octet must be a multiple of:
25=32.

Therefore, the third octet of any valid /19 block must be one of the following multiples of 32:
0, 32, 64, 96, 128, 160, 192, 224.

Step 5: Verify the given options
- 202.16.0.0/19: Second octet is 16 (valid), third octet is 0 (valid multiple of 32). This is a valid block.
- 202.16.32.0/19: Second octet is 16 (valid), third octet is 32 (valid multiple of 32). This is a valid block.
- 202.17.64.0/19: Second octet is 17 (valid), third octet is 64 (valid multiple of 32). This is a valid block.
- 202.17.24.0/19: Second octet is 17 (valid), but the third octet is 24, which is not a multiple of 32. This is invalid.

Transparent Access on Mindyard

Built for Learners & Educators Alike

Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.

FREE FOR STUDENTS

Practice & Learn Free for Students

Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.

  • Unlimited mock tests & question bank practice
  • Full access to curated study library & formula notes
  • 100% free for students • No credit card required
2 MONTHS FREE TRIAL

Educators & Coaching Institutes

Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.

  • AI question uploader & rapid test generator
  • Anti-cheating tab proctoring & performance reports
  • Full Pro access free for 60 days • No upfront commitment
Discover more resources

You may also like

Mock Tests

View All
  • GATE
  • beginner
  • 3 hours
  • civil engineering

Prepare for GATE 2026 Civil Engineering with the latest question papers, previous year papers, detailed solutions, syllabus, exam pattern, preparation tips, mock tests, and subject-wise study material. Download GATE 2026 CE question papers with solutions in PDF format and boost your preparation for top engineering institutes and PSU recruitment.

  • GATE
  • beginner
  • 3 hours
  • electronics and communication engineering

Prepare effectively for GATE 2026 Electronics & Communication Engineering (EC) with this comprehensive Question Paper with Solutions. This resource includes detailed explanations, concept-wise solutions, previous year paper analysis, and exam-oriented practice to help aspirants strengthen core subjects like Electronic Devices, Analog Circuits, Digital Circuits, Signals & Systems, Network Theory, Control Systems, Electromagnetics, Communications, and more. Perfect for revision, self-assessment, and boosting your GATE 2026 EC preparation strategy.

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...
Ask your own doubt or choose a quick prompt: