All Exams Test series for 1 year @ ₹349 only
Question

Consider the routing table of an organization’s router as shown in the table given below

Subnet NumberSubnet MaskNext Hop
12.20.164.0255.255.252.0R1
12.20.170.0255.255.254.0R2
12.20.168.00255.255.254.0Interface 0
12.20.166.0255.255.254.0Interface 1
DefaultR3

Which of the following prefixes in CIDR Notation can be collectively used to correctly aggregate all of the subnets in the routing table?

A. 12.20.164.0/20

B. 12.20.164.0/22

C. 12.20.164.0/21

D. 12.20.168.0/22

Choose the correct answer from the options given below:

This question was previously asked in
UGC NET 2022 Paper 1 Question Paper (22-Oct-2022) (Shift 2)
The correct answer is

B and D Only

Route aggregation (supernetting) replaces several contiguous subnets by fewer CIDR prefixes. A prefix a.b.c.d/n is valid only if the host bits beyond n are zero, and it covers a block of \(2^{32-n}\) addresses.

Step 1 — Convert the entries: 12.20.164.0 with 255.255.252.0 is /22, covering third octet 164–167; 12.20.170.0/23 covers 170–171; 12.20.168.0/23 covers 168–169; 12.20.166.0/23 covers 166–167 (already inside 164–167). Together the subnets span third octets 164 to 171.

Step 2 — B: 12.20.164.0/22 is valid (164 is a multiple of 4) and covers 164–167. D: 12.20.168.0/22 is valid (168 is a multiple of 4) and covers 168–171. Together they cover exactly 164–171 and nothing else.

Step 3 — C: a /21 block must start at a multiple of 8 in the third octet; 164 is not, so 12.20.164.0/21 is not a proper prefix (its block is 160–167, which also misses 168–171). A: a /20 block must start at a multiple of 16; 164 is not, so 12.20.164.0/20 is not a proper prefix either (its block 160–175 would also pull in addresses the organization does not own).

Pairs containing A or C use an invalid prefix with host bits set, so the only correct aggregation is the pair of /22 prefixes.

B and D Only option is correct.

Was this answer helpful?

Similar Questions

  1. In a classful addressing, first four bits in Class D IP address is

  2. In a classful addressing, the IP addresses with 0 (zero) as network number :

  3. Which of the following fields in IPv 4 datagram is not related to fragmentation ?

  4. Which of the following is/are restriction(s) in classless addressing ?

  5. What is the size of the ‘total length’ field in IPv 4 datagram ?

  6. A network on the Internet has a subnet mask of 255.255.240.0. What is the maximum number of hosts it can handle ?

  7. Which of the following is used in the options field of IPv4 ?

  8. Match List - I with List - II.

    List - I (IP Address)List - II (Class)
    (A) 10.20.30.40(I) Class E
    (B) 210.20.30.3(II) Class B
    (C) 180.30.100.10(III) Class A
    (D) 252.5.15.11(IV) Class C

    Choose the correct answer from the options given below :

  9. Host A (on TCP/IPv4 Networks) send an IP Datagram D to host B (also on TCP/IPv4 network). Assume that no error occured during transmission of D, when D reaches B. Which of following header field may differ from that of original datagram D ?

    (A) TTL

    (B) Checksum

    (C) Fragment offset

    (D) Source IP

    (E) Destination IP

    Choose the correct answer from the options given below :

  10. (A) In IPv4 addressing, a block of address can be define as x.y.z.t/n in which x.y.z.t define one of the address and /n define the mask

    (B) The first address in the block can be found by setting the rightmost 32-n bits to 0s

    (C) Address of class C is used for multicast communication

    (D) There are five classes in IPv4 address

    (E) Supernetting combine several networks into one large network

    Choose the correct answer from the options given below :


Important Questions from IPv4

  1. Suppose a message of size 15000 bytes is transmitted from a source to a destination using IPv4 protocol via two routers as shown in the figure. Each router has a defined maximum transmission unit (MTU) as shown in the figure, including IP header. The number of fragments that will be delivered to the destination is ________ . (Answer in integer)

  2. A machine receives an IPv4 datagram. The protocol field of the IPv4 header has the protocol number of a protocol X.
    Which ONE of the following is NOT a possible candidate for X?
  3. Consider a network that uses Ethernet and IPv4. Assume that IPv4 headers do not use any options field. Each Ethernet frame can carry a maximum of 1500 bytes in its data field. A UDP segment is transmitted. The payload (data) in the UDP segment is 7488 bytes.
    Which ONE of the following choices has the CORRECT total number of fragments transmitted and the size of the last fragment including IPv4 header?
  4. Which class of IPv4 addresses supports the largest number of host addresses in a computer network?

  5. What is the maximum value that can be assigned to one quad (octet) of an address in an IPv4 addressing system?
Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) 2026 Mock Test Series
796 Tests 2 Tests Free
120 Attempts
4.4(42)
English
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App