The ip address of a host in a subnet is - 192.168.1.10/28. What is the maximum number of hosts that can be present in this subnet?
Answers
The ip address of a host in a subnet is - 192.168.1.10/28. The maximum number of hosts that can be present in this subnet are 2.
Given the CIDR block of 192.169.1.10/28 the Subnet mask is 255.255.255.240.
This is a class C IP address(because 1st octet 192 falls under class C).
Write the subnet mask in binary notation.
255. 255 . 255. 240
11111111 11111111 11111111 1111 0000
We know that class C network has default subnet mask of 255.255.255.0 which means first three octets are dedicated to the network hosts.
Now,
The remaining ones in the subnet mask have to be our subnet bits.
Subnets = 2⁴ = 16.
Now, we have to calculate host bits.
In order to find the valid hosts, we subtract network number and the broadcast number.
Hosts = 2⁴ - 2 = 14.
Therefore, Maximum number of hosts = 14.
Hope it helps!