---
title: "IP Addresses"
canonical: "https://www.ellwoodevidence.com/space/External/974848947/IP+Addresses"
format: markdown
---
An Internet Protocol (**IP**) address is the unique identifying string of numbers and sometimes letters assigned to every device connected to the internet. An IP address definition is an alphanumeric label assigned to devices that use the internet to communicate. Computers communicate over the internet or via local networks share information using IP addresses.

IP addresses have two distinct standards.

The Internet Protocol version 4 (IPv4) address is the older of the two, which has space for up to 4 billion IP addresses and is assigned to all computers.

The more recent Internet Protocol version 6 (IPv6) has space for trillions of IP addresses, which accounts for the many new types of devices that require connection to the internet.

Every device with an internet connection is assigned an IP address, whether it's a computer, laptop, appliances, vehicles or even toys.

An IP address allows each device to be reached over the internet – a computer can package data for a remote system and affix the remote system’s IP address to this package (a 'packet’). Internet infrastructure reads the outside label and routes each packet to a system closer to the destination, until it reaches the intended system.

An IP address is not random. The Internet Assigned Numbers Authority (IANA) delegates the authority to assign ranges within the range of available addresses to regional agencies and local Internet Service Providers.

There are two dominant kinds of IP addresses, different versions of the Internet Protocol.

## IPv4

IPv4 is the fourth version of the IP.

It is one of the core protocols of the standards-based methods used to interconnect the internet and other networks. It is still used to route most internet traffic despite the existence of IPv6.

IPv4 is currently assigned to all computers. An IPv4 address uses 32-bit binary numbers to form a unique IP address. It takes the format of four sets of numbers, each of which ranges from 0 to 255 and represents an eight-digit binary number, separated by a period point.

An example of an IPv4 address is 104.28.240.123.

## IPv4 vs IPv6

IPv4 has not been able to cope with the dramatic increase in the quantity and range of internet-connected devices (mobile phones, desktop computers, laptops, cameras, toys, etc.). The IPv4 address format was not able to handle the number of IP addresses being created.

IPv6 was introduced. This new standard operates a hexadecimal format that means trillions of unique IP addresses can now be created. As a result, the IPv4 system that could support up to around 4.3 billion unique numbers has been replaced by an alternative that offers a much great space for addresses.

The IPv6 address space contains 300 trillion, trillion, trillion addresses ( 340,282,366,920,938,463,463,374,607,431,768,211,456).

The earth is about 4.5 billion years old. If we had been assigning IPv6 addresses at a rate of 1 billion per second since the earth was formed, we would have by now used up less than one trillionth of the address space.[[1]](#)

It is so large because an IPv6 IP address consists of eight groups that contain four hexadecimal digits, which use 16 distinct symbols of 0 to 9 followed by A to F to represent values of 10 to 15.

An example of a global IPv6 address is 2001:0db8:85a3:0000:0000:8a2e:0370:7334.

This address space is typically subdivided into three main elements:

·       Network Prefix

o   Network ID: Defined by the Network Provider / ISP

o   Subnet ID: logical separation of a Network

·       Interface ID: Defined by the internet-connected device (phone, laptop, etc.)

![Figure 1 250123 1825.png](media://fce55cc5-1151-407a-a80b-76df756c6810)

The Interface ID component is typically determined by the device connected to the internet (using Stateless Address Auto-Configuration - SLAAC[[3]](#)), in one of two ways.

·       Extended Unique Identifier (EUI) uses physical serial number characteristics of the connected device provided by the manufacturer[[4]](#)

·       Random Number Generation was introduced because of the privacy concerns associated with associated a fixed hardware ID with all internet requests.[[5]](#)

Before a computer assumes its chosen IPv6 address, it will check on the network using Duplicate Address Detection (DAD) to ensure that the intended address is not already in use.

Some enterprise environments have deployed a Dynamic Host Configuration Protocol server for IPv6 (DHCPv6) to manage these IP address assignments. This is not the established best practice, not widely deployed residentially.

### How likely is it that two different computers will get the same address?

If we assume that the ISP gives each residential customer a /64 prefix, per discussions online[[6]](#) then the number of available addresses is 2<sup>64</sup>.

When generating a random Interface ID, this means there are 2<sup>64</sup> = 18,446,744,073,709,551,616 possible randomly-generated Interface IDs which could be randomly picked.

The likelihood that two different computer systems would randomly generate the same Interface ID is thus **1 chance in 18,446,744,073,709,551,616.** Exceptionally unlikely.


---

[[1]](#) Thanks to [The TCP/IP Guide - IPv6 Address Size and Address Space](http://tcpipguide.com/free/t_IPv6AddressSizeandAddressSpace-2.htm) for the example. [http://tcpipguide.com/free/t_IPv6AddressSizeandAddressSpace-2.htm](http://tcpipguide.com/free/t_IPv6AddressSizeandAddressSpace-2.htm) 

[[2]](#) Image credit: [http://ipcisco.com](http://ipcisco.com) . [IPv6 Subnetting | IPv6 Subnetting Examples ⋆ IPCisco](https://ipcisco.com/lesson/subnetting-in-ipv6/), [https://ipcisco.com/lesson/subnetting-in-ipv6/](https://ipcisco.com/lesson/subnetting-in-ipv6/) 

[[3]](#) See further SLAAC details: [IPv6 Stateless Address Auto-configuration (SLAAC) | NetworkAcademy.io](https://www.networkacademy.io/ccna/ipv6/stateless-address-autoconfiguration-slaac), [https://www.networkacademy.io/ccna/ipv6/stateless-address-autoconfiguration-slaac](https://www.networkacademy.io/ccna/ipv6/stateless-address-autoconfiguration-slaac) 

[[4]](#) For more details, see [Understanding IPv6 EUI-64 Bit Address - Cisco Community](https://community.cisco.com/t5/networking-knowledge-base/understanding-ipv6-eui-64-bit-address/ta-p/3116953), [https://community.cisco.com/t5/networking-knowledge-base/understanding-ipv6-eui-64-bit-address/ta-p/3116953](https://community.cisco.com/t5/networking-knowledge-base/understanding-ipv6-eui-64-bit-address/ta-p/3116953)

[[5]](#) For further discussion on this randomization process: IPv6 on Windows | [http://NetworkAcademy.io](http://NetworkAcademy.io) , [https://www.networkacademy.io/ccna/ipv6/ipv6-on-windows](https://www.networkacademy.io/ccna/ipv6/ipv6-on-windows) 

[[6]](#) See Roger’s support forum discussions: [Re: IPv6 Prefix on Fiber - Page 4 - Rogers Community](https://communityforums.rogers.com/t5/Internet/IPv6-Prefix-on-Fiber/m-p/539340), [https://communityforums.rogers.com/t5/Internet/IPv6-Prefix-on-Fiber/m-p/539340](https://communityforums.rogers.com/t5/Internet/IPv6-Prefix-on-Fiber/m-p/539340)