Jump to content

Host address

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Mindmatrix (talk | contribs) at 17:09, 2 September 2016 (Reverted edits by 64.254.67.146 (talk) to last version by 203.206.128.247). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In network addressing, the host address, or the host ID portion of an IP address, is the portion of the address used to identify hosts (any device requiring a Network Interface Card, such as a PC or networked printer) on the network. The network ID, by contrast, is the portion of the address that refers to the network itself.

Example:

Your local network has an address of 192.168.1.0 /30 (using CIDR notation for this subnet or in other words with subnet mask 255.255.255.252).

Your network ID is the first 30 bits, in bold below. The host ID portion is the last two bits. By changing those two bits, you can create the following IP addresses:

11000000.10101000.00000001.000000 00 (192.168.1.0, the network address)
11000000.10101000.00000001.000000 01 (192.168.1.1, the first usable address in the subnet)
11000000.10101000.00000001.000000 10 (192.168.1.2, the last usable address in the subnet)
11000000.10101000.00000001.000000 11 (192.168.1.3, the broadcast address for the subnet)

See also