About
An IP address is:
- the address
- of the Internet protocol (IP)
- that identifies:
- a single interface with a unicast address
- or set of interfaces with a multicast address
Example
With Ipv4:
192.168.1.10 / 255.255.255.0
where:
- 192.168.1.10 is the Host identifier
- 255.255.255.0 is the mask
Type
Unicast
An Unicast address is an identifier for a single interface. adapter
A packet sent to a unicast address is delivered to the interface identified by that address.
Wildcard
The Wildcard Address indicates the absence of an address.
It's used mostly as the target of bind, which allows a server to accept a client connection on any interface, in case the server host has multiple interfaces.
It's also known as:
- the anylocal
- the Unspecified address.
It must:
- never be assigned to any node.
- not be used as the destination address of an IP packet.
Loopback
The Loopback Addresses is the address assigned to the loopback interface.
Anything sent to this IP address loops around and becomes IP input on the local host.
This address is often used when testing a client.
multicast
A multicast address is an identifier for a set of interfaces (typically belonging to different nodes).
A packet sent to a multicast address is delivered to all interfaces identified by that address.
Syntax
An IP address is comprised of:
- and a mask
All hosts on a subnetwork have the same mask (ie network prefix), unlike the host identifier which is a unique local identification.
Protocols
The IP Address is an attribute of the Internet Protocol (ie tcp or udp packet).
Version
There are 2 version:
The main difference between IPv4 and IPv6 is the number of bytes and therefore the number of possible ip addresses. IPv6 was introduced in 1995 to ensure that the world would not run out anytime soon of IP number.
Relation
- 1 IP Address = One network adapter. An IP address (IP = Internet protocol) is assigned to each network adapter.
- 1 IP address = several IP name (ie DNS Name or host file). An IP address may have several IP name in a name database.
Scope
Public
Public IP are global addresses that are unique across the internet.
See What is a public IP?.
Private
The devices that do not require public access may be assigned a private IP address and make it uniquely identifiable within one organization.
For example, a network printer may be assigned a private IP address to prevent rest of the world from printing from it.
To allow organizations to freely assign private IP addresses, the NIC has reserved certain address blocks for private use. See private
To hostname
See DNS - rDNS - Reverse DNS (lookup|resolution) - from IP to name
Database Owner
You can query a whois database to see the owner of an IP address.
Reference / Architecture
The IP address architecture is defined by: