IP Addresses

Content

IP Addresses
Terms
IPv4 Addresses
Special-Purpose IPv4 Addresses
IPv6 Addresses
Special-Purpose IPv6 Addresses

IP Addresses

Similar to a postal address, the IP address is used to transport data from the sender to the recipient.

An IP address is used for the unique technical addressing of data in a network, such as the Internet or a local area network (LAN). Several IP addresses can be assigned to one computer. Likewise, an IP address can also designate several computers (see broadcast, multicast).

IP addresses in a network are divided into a network part and a host part. The first bits of the binary IP address form the network part and identify the network, such as the address range of an Internet provider, a company network, or your own private LAN. The remaining bits of the binary IP address form the host part and identifies the host (computer, router, printer, etc.) within the network. The separation between network part and host part can be specified e.g. as netmask, as wildcard mask or in the CIDR notation.

Example

For the IP address 198.51.100.0/24, the breakdown is as follows:

1. Octet2. Octet3. Octet4. Octet
Decimal IP:198511001
Binary IP:11000110001100110110010000000001
Network Part (= Subnet)Host Part
Decimal Netmask:2552552550
Binary Netmask:11111111111111111111111100000000
CIDR:/24 = 24 Bit Network Part8 Bit Host Part

This results in the network address 198.51.100.0, the netmask 255.255.255.0 and the broadcast address 198.51.100.255. The addresses 198.51.100.1 - 198.51.100.254 can be assigned to the hosts.

Did you like my page, one of my freeware applications or online tools?

Then, please donate via PayPal in order to help keeping its content free - each amount is welcome!

Read more about support options...

Terms

Network Address

The network address is the first address in a network or subnet. Routers use this address to forward traffic to the appropriate network.

Broadcast Address

The broadcast address allows one computer to send data to all other computers on the same network or subnet simultaneously. The broadcast address is the last address in the subnet. For example, in the network 198.51.100.0/24, the broadcast address is 198.51.100.255.

Multicast

With IP multicast the data is transmitted to several specific recipients simultaneously. This is done via special multicast addresses. These are 224.0.0.0 - 239.255.255.255 for IPv4 and FF00::/8 for IPv6.

Host Addresses

In a network or subnet, the IP addresses between the network address and the broadcast address are available for the hosts. In the network 198.51.100.0/24 these would be the addresses 198.51.100.1 - 198.51.100.254.

Net-Mask

Specifying the netmask or subnet-mask is one way of defining the network part of an IP address. All bits belonging to the network part of the address are set to 1 and all bits in the host part are set to 0.

Wildcard Mask

The wildcard mask is the netmask with inverted bits.

Classless Inter-Domain Routing (CIDR)

The size of a network or subnet can also be specified with the number of bits set to 1 in the network mask instead of with a network mask. This number between 0 and 32 for IPv4 or 128 for IPv6 is given after the IP address, separated by a slash. 198.51.100.0/24 is equivalent to 198.51.100.0/255.255.255.0.

rDNS / in-addr.arpa

The domain in-addr.arpa is a special domain for reverse DNS lookups (rDNS). This can be used to determine the host name for an IP address. For the request, the bytes/octets of the IP address are inserted in reverse order in front of ".in-addr.arpa". Example for IP address 198.51.100.1: 1.100.51.198.in-arr.arpa

IPv4-mapped IPv6 Address

Hybrid dual-stack IPv6/IPv4 implementations (network interfaces that can handle IPv4 and IPv6 data packets) use special IP addresses to map an IPv4 address to an IPv6 address. This is done by prefixing the IPv4 address with a 96-bit prefix consisting of 80 bits of zeros and 16 bits of ones. Example: ::ffff:c633:6401 or also ::ffff:198.51.100.0

IPv6 over IPv4 / 6over4

IPv6 over IPv4 is used to transport IPv6 data packets to IPv4 networks. A link-local IPv6 address is generated from an IPv4 address. For this purpose, the IPv4 address is prefixed with the string "fe80::". Example for IP address 198.51.100.1: fe80::c633:6401

IPv4 Address

IPv4 addresses have a length of 32 bits = 4 bytes, also called octets. These are usually represented as decimal numbers from 0-255 separated by dots. This notation is also called dotted decimal notation.

Example: 198.51.100.25

With IPv4, 232 or 4,294,967,296 different addresses can be represented.

Special-Purpose IPv4 Addresses

Address blockFirst AddressLast AddressName / Description
0.0.0.0/320.0.0.00.0.0.0This host on this network
0.0.0.0/80.0.0.00.255.255.255This network
10.0.0.0/810.0.0.010.255.255.255Private-Use
100.64.0.0/10100.64.0.0100.127.255.255Shared Address Space
127.0.0.0/8127.0.0.0127.255.255.255Loopback
169.254.0.0/16169.254.0.0169.254.255.255Link Local
172.16.0.0/12172.16.0.0172.31.255.255Private-Use
192.0.0.0/24192.0.0.0192.0.0.255IETF Protocol Assignments
192.0.2.0/24192.0.2.0192.0.2.255Documentation (TEST-NET-1)
192.31.196.0/24192.31.196.0192.31.196.255AS112-v4
192.52.193.0/24192.52.193.0192.52.193.255AMT
192.88.99.0/24192.88.99.0192.88.99.255Deprecated (6to4 Relay Anycast)
192.168.0.0/16192.168.0.0192.168.255.255Private-Use
192.175.48.0/24192.175.48.0192.175.48.255Direct Delegation AS112 Service
198.18.0.0/15198.18.0.0198.19.255.255Benchmarking
198.51.100.0/24198.51.100.0198.51.100.255Documentation (TEST-NET-2)
203.0.113.0/24203.0.113.0203.0.113.255Documentation (TEST-NET-3)
224.0.0.0/4224.0.0.0239.255.255.255IP Multicast
255.255.255.255/32255.255.255.255255.255.255.255Limited Broadcast
240.0.0.0/4240.0.0.0255.255.255.255Reserved

IPv6 Address

IPv6 addresses have a length of 128 bits = 16 bytes. These are represented in hexadecimal notation, with 2 bytes each separated by a colon. Several consecutive blocks with 0 byte each can be abbreviated with two colons. However, only one abbreviation is allowed in one IP.

Example with the same IP in full and abbreviated notations:
2001:db8:000c:0065:0000:0000:0000:01b3
2001:db8:c:65:0:0:0:1b3
2001:db8:c:65::1b3

With IPv6, 2128 or 340,282,366,920,938,463,463,374,607,431,768,211,456 different addresses can be represented.

Special-Purpose IPv6 Addresses

Address blockFirst AddressLast AddressName / Description
::/128::::Unspecified Address
::1/128::1::1Loopback Address
::ffff:0:0/96::ffff:0.0.0.0::ffff:255.255.255.255IPv4-mapped Address
64:ff9b::/9664:ff9b::0.0.0.064:ff9b::255.255.255.255IPv4-IPv6 Translation
64:ff9b:1::/4864:ff9b:1::0.0.0.064:ff9b:1:ffff:ffff:ffff:255.255.255.255Local-Use IPv4-IPv6 Translation
100::/64100::100::ffff:ffff:ffff:ffffDiscard-Only Address Block
2001:0:/322001::2001::ffff:ffff:ffff:ffff:ffff:ffffTEREDO (Tunneling IPv6 over UDP through NATs)
2001:1::1/1282001:1::12001:1::1Port Control Protocol Anycast
2001:1::2/1282001:1::22001:1::2Traversal Using Relays around NAT Anycast
2001:2::/482001:2::2001:2::ffff:ffff:ffff:ffff:ffffBenchmarking
2001:3::/322001:3::2001:3:ffff:ffff:ffff:ffff:ffff:ffffAMT
2001:4:112::/482001:4:112::2001:4:0112:ffff:ffff:ffff:ffff:ffffAS112-v6
2001:10::/282001:10::2001:1f:ffff:ffff:ffff:ffff:ffff:ffffDeprecated (previously ORCHID)
2001:20::/282001:20::2001:2f:ffff:ffff:ffff:ffff:ffff:ffffORCHIDv2
2001:30::/282001:30::2001:3f:ffff:ffff:ffff:ffff:ffff:ffffDrone Remote ID Protocol Entity Tags (DETs) Prefix
2001:db8::/322001:db8::2001:db8:ffff:ffff:ffff:ffff:ffff:ffffDocumentation
2002::/162002::2002:ffff:ffff:ffff:ffff:ffff:ffff:ffff6to4 (deprecated)
2620:4f:8000::/482620:4f:8000::2620:4f:8000:ffff:ffff:ffff:ffff:ffffDirect Delegation AS112 Service
fc00::/7fc00::fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffffUnique-Local
fe80::/10fe80::fe80::ffff:ffff:ffff:ffffLink-Local Unicast
ff00::/8ff00::ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffffMulticast Address

Did you like my page, one of my freeware applications or online tools?

Then, please donate via PayPal in order to help keeping its content free - each amount is welcome!

Read more about support options...




This website use cookies and process data. Information on data processing and the possibility of refusing it can be found in the privacy policy. Ok