RE: (PM) Subnet question

Chad Scott (chad@txdirect.net)
Mon, 12 Jan 1998 17:17:30 -0600

On Monday, January 12, 1998 4:48 PM, Michael Locke [SMTP:mlocke@akorn.net]
wrote:
> I have noticed that a number is appended on an IP to signify the subnet.
> For example 156.34.245.177/24. What does the "/24 or /27 or /32" mean?
How
> do I use this convention?
>
> Michael Locke
> mlocke@akorn.net

The /<number> indicates the "bitmask" of the subnet. It is the number of
1s that are in the initial part of a subnet mask.

IP space is divided into four "octets" of eight bits each (thus the name
octet). A single host netmask is 255.255.255.255, or 11111111 11111111
11111111 11111111 (32 bits). Thus, you get 123.123.123.123/32. A
"class-c" subnet is 255.255.255.0, or 11111111 11111111 11111111 00000000
(24 bits). Thus you get 123.123.123.123/24. Each time you *increase* the
bitmask by one, the address space you're referring to *halves*. 25 bits is
half of the space of a 24 (128 addresses), 26 is half of a 25 (64
addresses), and so on.

The advantage of this numbering scheme is you can represent a large amount
of information in a relatively small screen space. It's cumbersome to
write 123.123.123.123 255.255.255.0 when you can simply write
123.123.123.123/24 and mean the same thing.

Chad Scott
Network Operations
Internet Direct, Incorporated

-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.