Networking - Subnetting - Discussion

Discussion Forum : Subnetting - Subnetting (Q.No. 4)
4.
What is the maximum number of IP addresses that can be assigned to hosts on a local subnet that uses the 255.255.255.224 subnet mask?
14
15
16
30
Answer: Option
Explanation:
A /27 (255.255.255.224) is 3 bits on and 5 bits off. This provides 8 subnets, each with 30 hosts. Does it matter if this mask is used with a Class A, B, or C network address? Not at all. The number of host bits would never change.
Discussion:
23 comments Page 3 of 3.

Pratik said:   1 decade ago
Thanks @Nikhil but can you explain that binary conversions till 255?

Rahul said:   1 decade ago
Simple.

= 256-224 = 32.

And here first add is network add and last one is broadcast so we are supposed to subtract these two add from 32. So max host we will connect = 30.

Nikhil said:   1 decade ago
255.255.255.224 i.e Binary of 255 is 11111111 and Binary number of 224 is 11100000.

Here 1 Represent On bit and 0 represents Off bit.
Then how to calculate Host Id.

See Here,

Formula Host Id = 2^off bit - 2 i.e 2^5 = 32 - 2 = 30.
And Net Id is = 2^on bit = 2^3 = 8.
That's why Answer is 30.


Post your comments here:

Your comments will be displayed after verification.