Computer Science - Networking - Discussion
Discussion Forum : Networking - Section 1 (Q.No. 8)
8.
What is the default subnet mask for a class C network?
Discussion:
11 comments Page 2 of 2.
Sam said:
3 years ago
Class A/B/C are for selecting the number of Hosts in your network(size of the network)(you can call it a number of users) in a single network.
A: First part is fixed, so it provides 256*256*256 hosts, similarly;
B: Two parts fixed provides 256*256*256 hosts and.
C. provides 256 hosts in each network.
Now mask is for obtaining the host Id from the whole I'd, we take bitwise OR with 255 for the fixed parts, and then do negation of each bit, so what remains is only host Id.
A: First part is fixed, so it provides 256*256*256 hosts, similarly;
B: Two parts fixed provides 256*256*256 hosts and.
C. provides 256 hosts in each network.
Now mask is for obtaining the host Id from the whole I'd, we take bitwise OR with 255 for the fixed parts, and then do negation of each bit, so what remains is only host Id.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers