What Does a Subnet Mask Do?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What Does a Subnet Mask Do?
Answer: The subnet mask can split the Ip address into parts, one portion is used to determine the host computer and the other portions determine the network the IP address is from.
In an IPv4 and IPv6, the subnet mask is used by both of them to locate the host part and network part .in in IPv4 three subnet masks are available related to the three IP address classes. total three ways available to display the subnet mask of IPv4: you can display it in the dotted-decimal form, binary form, or the CIDR (classless interdomain routing). binary form for class A might be shown as 11111111.00000000.00000000. 00000000 and CIDR use slash and then the bits number which is needed in the mask, the CIDR for IPv4 of class A is /8, for B it is /16 and for C it is /24.
The subnet mask consists of for octet number that can determine the IP address (IPv4 and IPv6).it is needed on all class networks, even for those who are not subnetted. the default subnet mask is used on the network which has no further subdivision. If the network is not based on a subnet mask that it has to be related to the corresponding IP address class subnet mask. The dotted form of the default subnet mask is:
As we know class A uses the first octet for the network address and the default subnet of the first octet is 1 (255 in dotted decimal) .it is known that network ID is never set to all 1, that’s why when you use the logical AND with class, a and default subnet mask the class a network ID will quit. Let’s take a look at the example for network ID 66. x.y.z in the binary form it is 01000010. x.y.z while the subnet mask is 11111111. x.y.z then by performing the local AND it is represented as 01000010. x.y.z.