blank.gif (43 bytes)

Church Of The
Swimming Elephant

Subnet Masks Connected: An Internet Encyclopedia
Subnet Masks

Up: Connected: An Internet Encyclopedia
Up: Programmed Instruction Course
Up: Subnetting and CIDR
Prev: Restriction: Contiguous Subnets
Next: Subnet Masks (cont)

Subnet Masks The subnet mask was the forerunner of the modern IP address prefix length. When configuring a host, both a 32-bit dotted-quad IP address and a 32-bit dotted-quad subnet mask was specified The subnet contains a one bit in every position where the prefix is valid and must match, and a zero bit in every remaining position, where the prefix is ignored. Since 255 is 11111111 (eight ones) in binary, a mask of has sixteen one bits and corresponds exactly to a prefix length of /16.

So, a subnet mask of conveys exactly the same information as a prefix length of /24.

A subnet mask of is equivalent to a prefix length of /28.

It is important to master both forms, since the older mask syntax is quite common, particularly during system administration tasks, though the slash/prefix length style is gaining popularity.

Next: Subnet Masks (cont)

Connected: An Internet Encyclopedia
Subnet Masks


Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

Have you gone to church today?
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609