Subnetting Question simulation

@atulsharma Sir,

i got below question from some online subnetting simulation.


just want to know
how 192.168.0.128/26 showing 46 hosts. as per this subnet, hosts should be 62.
how 192.168.0.192/27 showing 28 hosts ------------------------------- should be 30
how 192.168.0.224/28 showing 11 hosts ---------------------------------- should be 14
as per my calculation subnet 192.168.0.0/25 will have 126 Hosts.
Kindly explain…

@Umeshkumar >> Yes, for the given subnet 192.168.0.0/25, 7 host bits so 2^7-2= 126 valid host IP’s are there in this subnet ranging 192.168.0.1 to 192.168.0.126.
For 192.168.0.128/26 will have 62 valid hosts (192.168.0.129 to 192.168.0.190),
For 192.168.0.224/28 will have 14 valid hosts (192.168.0.225 to 192.168.0.238),
For 192.168.0.192/27 will have 30 valid hosts (192.168.0.193 to 192.168.0.222),
For 192.168.0.240/30 will have 2 valid hosts (192.168.0.241 to 192.168.0.242) >> these two assigned to connected router interfaces.
In the topology, I think they have mentioned total assigned hosts out of the possible valid hosts in those respective subnets, thus mentioned 46,11 & 28 hosts. Please correct me if I am wrong.

1 Like

@parag_gajpure yes i think they have mentioned hosts in topology either assigned or remaining hosts in those subnet…

Thanks…

1 Like