You should understand the following special addresses:
Address |
Consideration |
Network |
The first octet(s) in an address range is used to identify the network itself. For the network address, the host portion of the address contains all 0's. For example:
0.0.0.0 is the network address used by routers to specify the "default" route. Using a generic value reduces the number of routing table entries. Some older routers use this address as a broadcast address. |
Host |
The range of IP addresses available to be assigned to network hosts is identified by the subnet mask and/or the address class. For example:
Note: A special way to identify a host on a network is by setting the network portion of the address to all 0's. For example, the address 0.0.64.128 means "host 64.128 on this network." |
Broadcast |
The last address in the range is used as the broadcast address and is used to send messages to all hosts on the network. In binary form, the broadcast address has all 1's in the host portion of the address. For example, assuming the default subnet masks are used:
Two other formats you might see for the broadcast address:
|
Local host |
Addresses in the 127.0.0.0 range are reserved for the local host (in other words "this" host or the host you're currently working at). The most commonly-used address is 127.0.0.1 which is the loopback address. |
Private use |
The following address ranges have been reserved for private use:
Use addresses in these ranges for your private networks. Routers connected to the Internet typically filter messages within these ranges and prevent them from being propagated to the Internet. |
ไม่มีความเห็น