![]() |
Address Space Concept - Help |
||
|
Help for this subject Other Help Topics |
OverviewIn NetDB2, sets of about 250 addresses were often referred to as "subnets" or "networks". For example, 36.53 or 171.64.3 would be called subnets. As a new feature, NetDB3 supports classless IP addressing, also known as variable length subnet masking. These sets of addresses are called "address spaces". One or many address spaces may be grouped into a Network record which corresponds with an actual network. For example, the Ivory Tower building has one network which contains 2 address spaces--171.64.10.0/24 (the regular address space) and 172.24.10.0/24 (private address space). Address Space
Notation
|
Addresses |
Subnet Mask |
Network Prefix |
|
1024 |
255.255.252.0 |
/22 |
|
512 |
255.255.254.0 |
/23 |
|
256 |
255.255.255.0 |
/24 |
|
128 |
255.255.255.128 |
/25 |
|
64 |
255.255.255.192 |
/26 |
|
32 |
255.255.255.224 |
/27 |
|
16 |
255.255.255.240 |
/28 |
|
8 |
255.255.255.248 |
/29 |
Given subnet mask, figure out address space size:
Given network prefix, figure out address space size:
In binary, 255.255.255.0 = 11111111.11111111.11111111.00000000. Note
that there are 24 ones followed by 8 zeros. The transition between 1's
and 0's marks the division between the network ID and the
host ID. Therefore,
in IP address 36.53.0.2, 36.53.0 is the network ID and 2 is
the host ID.
The first address in this address space is 36.53.0.0 (because it's the
network number). The following addresses are :
36.53.0.1
36.53.0.2
36.53.0.3
..
..
36.53.0.254
36.53.0.255 (as last address, reserved for broadcast address)
Note that the number of addresses in this address space is 256 or 2
to the 8th power. The first address (network
address) and the
last address (broadcast address) are reserved for special
purposes which
leaves 256-2 = 254 addresses for actual computers.
Using the formula above,
Using the formula above,
© 2000 Stanford University. All Rights
Reserved.
|