GATE CS 2022 | Question 55

Computer Networks › Network Layer · MSQ · 2 marks · Answer: B, D

  1. Question 55Computer Networksmsq2 marks
    Routing table subnets: 12.20.164.0/22 (R1), 12.20.170.0/23 (R2), 12.20.168.0/23 (Interface 0), 12.20.166.0/23 (Interface 1), default (R3). Which CIDR prefixes can collectively aggregate all these subnets?
    • A.
      12.20.164.0/20
    • B.
      12.20.164.0/22
      ✓
    • C.
      12.20.164.0/21
    • D.
      12.20.168.0/22
      ✓

    Answer: B, D

    Solution

    Answer: (B) and (D) The subnets span 12.20.164.0 through 12.20.171.255. The clean aggregates are 12.20.164.0/22 (covers 164-167) and 12.20.168.0/22 (covers 168-171); together (B) and (D) exactly cover 164-171. Option (C) 12.20.164.0/21 actually aligns to 160.0/21 (covering 160-175), over-covering addresses outside the table, so it is not a correct tight aggregate.

More GATE PYQ on Network Layer

All GATE CS Computer Networks PYQ →

Attempt GATE CS 2022 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →