SUBNET MASK
Subnet Mask
A subnet mask is a 32-bit binary
number used in modern network
addressing schemes to differentiate
between a network's location and the
specific location of a host or device on
that network. A subnet mask is one
part of a network address and is
always used with an Internet Protocol
address (IP address) to determine the
precise destination for each
network packet.
Representation of Subnet masks
Subnetting is a vital concept in
modern networking. Networks
can be large and complex
constructs. Pinging every packet
to every device on a large
modern network for the IP
address can congest the
network and impair network
performance.
Representation of Subnet masks
The term mask is used because the subnet mask is
not part of a network address -- the IP address is.
Instead, the binary digits used in a subnet mask
perform a logical operation with the IP address to
determine the correct subnet to direct a packet.
Network traffic routed to one network subnet will
not be duplicated to other subnets, reducing
unneeded bandwidth use.
An IP address uniquely identifies every device on a
network. A traditional IPv4 address class uses 32
binary bits and can identify more than four billion
unique combinations. By comparison, current IPv6
addressing uses 128 binary bits, but IPv4 remains
popular and is easier to understand.
IPv4 IP addresses are denoted as four sets of eight bits
-- four octets -- with each octet ranging from 0 to 255
(corresponding to binary representations ranging from
00000000 to 11111111). A typical IP address found in a
home network might be shown as [Link]. This is
referred to as dotted decimal which is far easier for
humans to read. IPv6 addressing uses a more
sophisticated series of hexadecimal numbers separated
by a colon such as 3FFE:23A7:00.
IP CLASS VS SUBNET MASK
Network IP addressing is broken
down into a series of broad-size
ranges called classes. Each class
uses a distinct range of IP
addresses, along with a distinctive
subnet mask. There are five
standard IP address classes
labeled A through E:
IP CLASS VS SUBNET MASK
• Class A networks use an IP
address with 0 to 127 as the first
octet, and a default subnet mask
of [Link]. These are typically
some of the largest networks
because the subnet mask allows
for three octets worth of host
addresses (and only one octet of
network address).
IP CLASS VS SUBNET MASK
• Class B networks use an IP
address with 128 to 191 as
the first octet, and a default
subnet mask of [Link].
This allows midsize networks
with two octets of the subnet
mask to be available to handle
host addresses (and two
octets of network addresses).
IP CLASS VS SUBNET MASK
• Class D networks are typically
reserved for multicasting.
• Class E networks are typically
reserved for use by the Internet
Engineering Task Force.
IP CLASS VS SUBNET MASK
• Class D networks are typically
reserved for multicasting.
• Class E networks are typically
reserved for use by the Internet
Engineering Task Force.