JN0-102 · Question #287
What is the purpose of a network mask?
The correct answer is B. It is used to define which parts of the IP address are allocated to host addresses and network prefixes. The network mask is a fundamental component of IP addressing, delineating which bits represent the network prefix and which are reserved for host addresses within an IP address.
Question
What is the purpose of a network mask?
Options
- AIt is used in conjunction with the wildcard mask to determine the number of hosts on a network.
- BIt is used to define which parts of the IP address are allocated to host addresses and network prefixes.
- CIt is used to hide subnets from external networks by masking the subnets with NAT.
- DIt is used to differentiate a network as a classful network or a classless network.
How the community answered
(33 responses)- A3% (1)
- B88% (29)
- C3% (1)
- D6% (2)
Why each option
The network mask is a fundamental component of IP addressing, delineating which bits represent the network prefix and which are reserved for host addresses within an IP address.
While a network mask helps determine the number of hosts, it is not used in conjunction with a wildcard mask for this specific purpose; wildcard masks are primarily used in Access Control Lists (ACLs).
The primary purpose of a network mask is to logically divide an IP address into two distinct components: the network portion (prefix) and the host portion, allowing devices to determine if a destination is on the local network or requires routing.
The network mask itself does not hide subnets; Network Address Translation (NAT) is the mechanism used to translate private IP addresses to public ones, thereby obscuring internal network structure from external networks.
While network masks are integral to both classful and classless networking, their purpose is not to differentiate between these historical classifications, but rather to define network and host bits regardless of class.
Concept tested: IP address structure and network mask function
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dns/configuration/xe-3s/iad-xe-3s-book/iad-ipv4-addr-cfg.html
Topics
Community Discussion
No community discussion yet for this question.