|
|
The ``IP address'' identifies and differentiates a given machine from all others on the network. It consists of a 32-bit binary number that is usually displayed as four octets expressed in decimal and separated by periods. You must have a unique IP address for each machine on the network. In addition, if your machine serves as a router to another network (it contains two or more network adapters and belongs to two or more networks), you must assign each adapter a unique IP address on the appropriate network.
The IP address consists of two parts: a network address that identifies the network and a host address that identifies the particular host, or node.
IP address derivation
binary (32-bit) | 1 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 | |||
---|---|---|---|---|
binary (octets) | 1 0 0 0 0 1 0 0 | 1 0 0 0 1 1 1 1 | 0 0 0 0 0 0 1 0 | 0 0 0 0 0 0 1 0 |
decimal octets | 10 | 0 | 2 | 2 |
IP address (in standard notation) = 10.0.2.2 |
Internet address classes
Class | Available Hosts | Valid Address | |
---|---|---|---|
per Network | Ranges | ||
A | 16777216 | 1.0.0.1 through 126.255.255.254 | |
B | 65534 | 128.0.0.1 through 191.255.255.254 | |
C | 254 | 192.0.0.1 through 222.255.255.254 | |
Reserved | 224.0.0.0 through 255.255.255.254 |
If you are creating an entirely new network
and you want to connect to the Internet,
you need to contact the Network Information Center (NIC)
to have a network address assigned;
see
``Domain name''
for the Network Information Center address.
If you do not want to connect to an outside network,
you can choose any network address
that conforms to the syntax shown previously.
In either case, once you determine the network address, you can then
create the unique host address.
When you determine the IP address, remember: