Subnet mask, Subnet mask . . . . . . . . . . . . . . . . a-9, Figure a-6 default subnet masks for ip classes – Comtech EF Data CDD-56X Series Vipersat User Manual
Page 97
Appendix
A -
Network Addressing
A-9
MN/22137, rev 1
IP Addressing
In the process of subnetting, bits are borrowed from the host ID portion of an IP
address and are then given to the network ID. Then a “Subnet Mask” gets
assigned to the host along with the IP address.
Subnetting is required if the network is segmented.
Subnet Mask
The Subnet Mask is used by the host to determine if a destination IP address is
on the local or on a remote network segment. The table in Figure A-6 shows the
default subnet mask used for each class of IP address.
Figure A-6 Default Subnet Masks for IP Classes
The IP address and subnet mask work with each other to identify a network
element or device. The subnet mask, like an IP address, contains 4 octets sepa-
rated by a dot (.) and looks similar to an IP address.
The subnet mask determines what bits in the IP address are being used to deter-
mine the network ID by using the Boolean math operator and in a process
called anding. Anding compares each bit value in the IP address with the bit
value in the subnet mask. The result of the anding process determines which
subnet the IP address is on. The Boolean and operator works as follows:
0 and 0 = 0
1 and 0 = 0
1 and 1 = 1
The table shown in Figure A-7 shows the anding of two binary values and the
corresponding decimal equivalents for each of the values.
11111111.11111111.11111111.00000000
255.255.255.0
Class C
11111111.11111111.00000000.00000000
255.255.0.0
Class B
11111111.00000000.00000000.00000000
255.0.0.0
Class A
Mask Binary Value
Mask Decimal Value
Address Class
11111111.11111111.11111111.00000000
255.255.255.0
Class C
11111111.11111111.00000000.00000000
255.255.0.0
Class B
11111111.00000000.00000000.00000000
255.0.0.0
Class A
Mask Binary Value
Mask Decimal Value
Address Class
CLASS A
CLASS B
CLASS C