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

Which class of IPv4 addresses supports the largest number of host addresses in a computer network?

This question was previously asked in
RRB JE 2025 CBT 2 Mechanical and Allied Engg Question Paper English (2-Jul-2026) (Shift-1)
The correct answer is

Class A

In classful IPv4 addressing, the 32-bit address is split into a network portion and a host portion. The number of hosts a single network can hold depends on how many bits are left for the host field: each network reserves two addresses (all-zero host bits = the network address, all-one host bits = the broadcast address), so usable hosts = 2h − 2, where h is the number of host bits.

The more host bits a class allocates, the larger the host capacity per network:

ClassNetwork bitsHost bitsUsable hosts per network
A824224 − 2 = 16,777,214
B1616216 − 2 = 65,534
C24828 − 2 = 254
DReserved for multicast — no host addressing

Because Class A leaves the full 24 bits for hosts, it supports the largest number of host addresses per network — over 16 million. This is why Class A blocks were historically assigned only to very large organizations.

Class B, with 16 host bits, tops out at 65,534 hosts — large, but far below Class A. Class C offers only 254 hosts, suited to small networks. Class D is not a host-addressing class at all; its addresses (224.x.x.x–239.x.x.x) are reserved for multicast group delivery, so it cannot be the answer.

Was this answer helpful?

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. What is the maximum value that can be assigned to one quad (octet) of an address in an IPv4 addressing system?
  5. Which of the following statements are true?

    (a) The fragmentation fields in the base header section of IPv4 have moved to the fragmentation extension header in IPv6.

    (b) The authentication extension header is new in IPv6.

    (c) The record route option is not implemented in IPv6.

Need Expert Advice?
Test Series
RRB JE img
Railways
RRB JE (CBT 1 + CBT 2) 2026 Mock Test Series
1515 Tests 19 Tests Free
1793 Attempts
4.3(162)
English, Hindi

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