Networking - Subnetting - Discussion
Discussion Forum : Subnetting - Subnetting (Q.No. 5)
5.
You need to subnet a network that has 5 subnets, each with at least 16 hosts. Which classful subnet mask would you use?
Answer: Option
Explanation:
You need 5 subnets, each with at least 16 hosts. The mask 255.255.255.240 provides 16 subnets with 14 hosts-this will not work. The mask 255.255.255.224 provides 8 subnets, each with 30 hosts. This is the best answer.
Discussion:
26 comments Page 1 of 3.
Jaffar shaikh said:
1 decade ago
How 255.255.255.224 provides 8 subnets ,each with 30 hosts?
please tell me answer.
please tell me answer.
Safdar dogar said:
1 decade ago
Yes I agree but nobody tell me how we create subnetting?
Mokonnin A lemu said:
1 decade ago
How 255.255.255.224 provides 8 subnets ,each with 30 hosts? how could it be?
Vinay said:
1 decade ago
Network bits = 3.
Host bits = 5.
Formula:
To find number of subnet = 2^n(n = no>of borrowed network bits).
To find no.of host = 2^h-2(h = no>of borrowed host bits).
Host bits = 5.
Formula:
To find number of subnet = 2^n(n = no>of borrowed network bits).
To find no.of host = 2^h-2(h = no>of borrowed host bits).
Tabe rudith ayuk ashu said:
1 decade ago
Is there a possibility of using only the subnets and host values given in the question to get the subnet mask rather than testing the answers one after the other to get a match?
Hagos said:
1 decade ago
255.255.255.224 in binary would be written as:
11111111.11111111.11111111.11100000.
To find number of host:
Starting from the octet consisting both 1 and 0.
Count number of zeros to the end of the subnet mask.
The last octet consist of 5 zeros therefore.
2^h-2 (h = number of zeros) = 2^5-2 = 32 -2 = 30.
To find number of sub nets:
2^n (n = number of ones) 2^3 = 8.
11111111.11111111.11111111.11100000.
To find number of host:
Starting from the octet consisting both 1 and 0.
Count number of zeros to the end of the subnet mask.
The last octet consist of 5 zeros therefore.
2^h-2 (h = number of zeros) = 2^5-2 = 32 -2 = 30.
To find number of sub nets:
2^n (n = number of ones) 2^3 = 8.
Roopa said:
1 decade ago
Host bits required = 16.
By formula, 2^h-2 = 16.
=> 2^h = 18.
Best suited value here for h is 5.
By this sub net we get is 1111 1111.1111 1111.1111 1111.1110 0000.
255.255.255.224.
By formula, 2^h-2 = 16.
=> 2^h = 18.
Best suited value here for h is 5.
By this sub net we get is 1111 1111.1111 1111.1111 1111.1110 0000.
255.255.255.224.
Pratik said:
1 decade ago
224 = 11100000 in binary.
So (2^5)-2 = 32-2 = 30.
So 30 hosts.
So (2^5)-2 = 32-2 = 30.
So 30 hosts.
Mack said:
10 years ago
Please tell me if I'm wrong, but another way to think of it is:
128 64 32 16 8 4 2 1.
1 1 1 0 0 0 0 0.
32 is the smallest bit used so.
32 - 1 (domain) - 1 (server) = 30.
Honestly, I think I remember seeing it this way in a tutorial, so if I'm wrong please correct and/or email me.
128 64 32 16 8 4 2 1.
1 1 1 0 0 0 0 0.
32 is the smallest bit used so.
32 - 1 (domain) - 1 (server) = 30.
Honestly, I think I remember seeing it this way in a tutorial, so if I'm wrong please correct and/or email me.
Mohamed said:
10 years ago
@Vinay and @Hagos explained well Thanks for your valuable inputs, I keep expect from your side.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers