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

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

This question was previously asked in
UGC NET 2014 Paper 1 Question Paper (28-Dec-2014)
The correct answer is

4096

255.255.240.0 in binary has \(8 + 8 + 4 = 20\) ones, leaving \(32 - 20 = 12\) host bits.

Host address space \(= 2^{12} = 4096\) addresses.

Of these, the all-zeros and all-ones addresses are reserved, leaving \(4096 - 2 = 4094\) usable host addresses, so the address block is sized for 4096.

Check: the third octet 240 = 11110000 keeps 4 host bits, and the fourth octet adds 8 more.

Hence, 4096.

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. Which of the following is used in the options field of IPv4 ?

  7. 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 :

  8. 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 :

  9. (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 :

  10. Consider two hosts P and Q are connected through a router R. The maximum transfer unit (MTU) value of the link between P and R is 1500 bytes and between R and Q is 820 bytes. A TCP segment of size of 1400 bytes is transferred from P to Q through R with IP identification value of 0x12334. Assume that IP header size is 20 bytes. Further the packet is allowed to be fragmented that is Don’t Fragment (DF) flag in the IP Header is not set by P.

    Which of the following statement is/are not true?

    A. Two fragments are created at R and IP datagram size carrying the second fragment is 620 bytes

    B. If the second fragment is lost then R resend the fragment with IP Identification value of 0x1234

    C. If the second fragment lost then P required to resend the entire TCP segment

    D. TCP destination port can be determined by analyzing the second fragment only

    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