Subnetting lets you borrow bits from the host and use them to allow for more networks. When subnetting, separating the network and host requires a special mechanism called a subnet mask. A subnet mask, which contains a binary bit pattern of ones and zeros, is applied to an address to extract the network ID for purposes of determining whether an address is on the local network. If not, the address is switched or routed on.
The function of a subnet mask is to extract the network ID portion of an IP destination address and determine whether an IP address exists on the local network or whether it must be routed outside the local network. If the extracted network ID matches the local network ID, the destination is located on the local network. However, if they don't match, the message must be routed outside the local network. The process used to apply the subnet mask involves Boolean algebra to filter out nonmatching bits.
No comments:
Post a Comment