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

A class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet ?

This question was previously asked in
UGC NET 2024 Management Question Paper (02-Sep-2024) (Shift 2)
The correct answer is

2046

The number of usable hosts in a subnet is \(2^{h} - 2\), where h is the number of host bits (zeros in the mask). The all-zeros host part is the subnet address and the all-ones host part is the directed broadcast address, so both are excluded.

Step 1 — 248 = 11111000, so the third octet has 3 host bits and the fourth octet (0) has 8 host bits: h = 3 + 8 = 11.

Step 2 — Usable hosts = \(2^{11} - 2 = 2048 - 2 = 2046\).

2047 subtracts only one reserved address; 1022 and 1023 correspond to 10 host bits, which would be the mask 255.255.252.0, not 255.255.248.0.

2046 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