488 views
1 votes
1 votes
Which classful subnet mask is useful for need of subnet a network that has 5 subnet each with at least 20 hosts.

A.255.255.255.192

B.255.255.255.248

C.255.255.255.240

D.255.255.255.224

1 Answer

1 votes
1 votes
Here, we can assume that this is a Class C address and not bother about the first three blocks of the IP.

Since we need 20 hosts here, we'll need five bits reserved for the host ID. This is because $2^5$ is the smallest number which can accommodate 20 hosts.

Now, we need to create five subnets - for which we'll borrow 3 bits from the host ID. This is because each borrowed bit divides the network into 2 parts, so 3 borrowed bits will divide it into $2^3 = 8$ parts.

Hence, we are able to create 8 subnets which contain 32 hosts each.

Related questions

1 votes
1 votes
1 answer
1
Jeetmoni saikia asked Nov 4, 2022
518 views
The underlying Transport layer protocol used by SMTP is ________(a) TCP(b) UDP(c) Either TCP or UDP
0 votes
0 votes
2 answers
3
tusharb asked Jan 22, 2022
775 views
Can the header length of IPV4 change at the router? If yes, then why?