Alerts
Wishlist
Cart
Sign In
Categories
Current Affairs & GK
Current Affairs
Show All Current Affairs & GK
eBooks
General Aptitude
Arithmetic Aptitude
Data Interpretation
Show All General Aptitude
General Knowledge
Basic General Knowledge
General Science
Show All General Knowledge
Medical Science
Anatomy
Biochemical Engineering
Biochemistry
Biotechnology
Microbiology
Show All Medical Science
Technical
Database
Digital Electronics
Electronics
Networking
Show All Technical
Verbal and Reasoning
Logical Reasoning
Verbal Ability
Verbal Reasoning
Show All Verbal and Reasoning
What is the total number of hosts in a subnet with a /18 subnet mask?
Practice Questions
Q1
What is the total number of hosts in a subnet with a /18 subnet mask?
16382
16384
8190
8192
Questions & Step-by-Step Solutions
What is the total number of hosts in a subnet with a /18 subnet mask?
Steps
Concepts
Step 1: Understand what a /18 subnet mask means. The '/18' indicates that the first 18 bits of the IP address are used for the network part.
Step 2: Know that an IP address is 32 bits long in total.
Step 3: Calculate the number of bits available for hosts by subtracting the network bits from the total bits: 32 - 18 = 14 bits.
Step 4: Use the formula 2^(number of host bits) to find the total number of addresses. Here, it is 2^14.
Step 5: Calculate 2^14, which equals 16384 total addresses in the subnet.
Step 6: Remember that in each subnet, 2 addresses are reserved: one for the network address and one for the broadcast address.
Step 7: Subtract the 2 reserved addresses from the total addresses: 16384 - 2 = 16382 usable addresses for hosts.
No concepts available.
‹
Biology (School & UG)
Chemistry (School & UG)
Civil Engineering
Commerce & Accountancy
Computer Science & IT
Current Affairs & GK
Data Structures & Algorithms
eBooks
Electrical & Electronics Engineering
English (School)
General Aptitude
General Knowledge
General Knowledge & Current Affairs
Languages & Literature
Law & Legal Studies
Major Competitive Exams
Mathematics (School)
Mechanical Engineering
Medical Science
Physics (School & Undergraduate)
Quantitative Aptitude & Reasoning
Social Science (School)
Technical
Verbal and Reasoning
Vocational & Skill Development
›
Soulshift Feedback
×
On a scale of 0–10, how likely are you to recommend
The Soulshift Academy
?
0
1
2
3
4
5
6
7
8
9
10
Not likely
Very likely
✕
↑