![]()
|
|
|
Search ITS | User Guides | | Services | | Policies | | Forms | | Help | | Home | |
|
TNS Services
|
Variable-Length Subnet MasksThe following table shows how an 8-bit address range (3 octets) can be broken up into smaller subnets. The numbers in each column are the values possible for the fourth octet of a subnet under the stipulation that the subnet mask consists of contiguous ones.
For example, the 10-bit subnets possible in the 8-bit range X.Y.Z are: X.Y.Z.0, X.Y.Z.64, X.Y.Z.128, or X.Y.Z.192 The mask for a 10-bit subnet is 255.255.255.192. (The inverse mask is the ones-complement of the mask, and is used in some cases in routers.) The row "# Addresses" indicates the total number of addresses in a subnet. However, three addresses are not available:
Note: If the subnet is the last in the column, the broadcast address is 255. So, for example, a 14-bit subnet has only one assignable address in addition to the router address.
Example:
An 8-bit range can be divided into different subnet sizes. Although this example starts with smaller subnets at the bottom of the range, this is not required. However, for contiguous-ones masks, each subnet must be specified only with a fourth octet chosen from the numbers in the column of the chosen subnet size. For example, if the 14-bit subnet X.Y.Z.0 (255.255.255.252) were already assigned, and a 12-bit subnet were then needed, the next available subnet is X.Y.Z.16. X.Y.Z.4 must be used as a 14-bit subnet. The space between 8 and 16 could be used as one 13-bit subnet or two 14-bit subnets.
Phil Devan
|
|
The Pennsylvania State University © 2004. All rights reserved.
Alternative Media Statement and Nondiscrimination Policy
|
|