Jump to content

Host address

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by CAPTAIN RAJU (talk | contribs) at 18:32, 4 July 2017 (Reverted 1 edit by 2A01:E35:8A5F:A9A0:B16F:81C9:A8FC:C92 identified as test/vandalism using STiki). 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