Subnet Masks
Written on 15:07 by Ahmet Emir
For the subnet abode arrangement to work, every apparatus on the arrangement charge apperceive which part
of the host abode will be acclimated as the subnet address. This is able by allotment a
subnet
mask
to anniversary machine. A subnet affectation is a 32-bit amount that allows the almsman of IP packets to
distinguish the arrangement ID allocation of the IP abode from the host ID allocation of the IP address.
The arrangement ambassador creates a 32-bit subnet affectation composed of 1s and 0s. The 1s in
the subnet affectation represent the positions that accredit to the arrangement or subnet addresses.
Not all networks charge subnets, acceptation they use the absence subnet mask. This is basically
the aforementioned as adage that a arrangement doesn’t accept a subnet address. Table 3.1 shows the default
subnet masks for Classes A, B, and C. These absence masks cannot change. In added words, you
can’t accomplish a Class B subnet affectation apprehend 255.0.0.0. If you try, the host will apprehend that address
as invalid and usually won’t alike let you blazon it in. For a Class A network, you can’t change
the aboriginal byte in a subnet mask; it charge apprehend 255.0.0.0 at a minimum. Similarly, you cannot
assign 255.255.255.255, as this is all 1s—a advertisement address. A Class B abode charge start
with 255.255.0.0, and a Class C has to alpha with 255.255.255.0.
