Computer Science - Networking - Discussion

Discussion Forum : Networking - Section 7 (Q.No. 2)
2.
You are working with a network that is 172.16.0.0 and would like to support 600 hosts per subnet. What subnet mask should you use?
255.255.192.0
255.255.224.0
255.255.240.0
255.255.248.0
255.255.252.0
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
4 comments Page 1 of 1.

Shruti said:   9 years ago
Thanks @Rohit Singh.

Rohit Singh said:   9 years ago
Total 16 bits available for representing subnets and hosts since Class B address has 2 octets available.
No. of hosts = 600.
No. of bits needed to represent 600 hosts = round( log(600) to the base (2) ) = 10.
Hence, no. of bits available to represent subnets = 16 - 10 = 6.
From the right end, first host bits are taken then subnet bits.
The subnet mask is when all subnet bits are set to 1 and remaining host bits are set to 0 (in the available octets).

Hence, subnet mask = 11111100.00000000 = 252.0 (Remaining portion will remain the same, i.e., 255.255).

Final mask = 255.255.252.0.

Harsha said:   1 decade ago
No. of hosts=2^n-2.

So, 2^n=602, Approx. n=10.

The subnet mask will be:
11111111.11111111.11111100.00000000 (255.255.252.0).

Mahesh said:   1 decade ago
Ans: Its a class B IP.
No. of host= 2^n-1=600 (where n=numbers of zeros)
So, 2^n=601. Approx. n=10

the subnet mask will be:
11111111.11111111.11111100.00000000 (255.255.252.0)

Post your comments here:

Your comments will be displayed after verification.