Sitemap
Khaled Anter

Khaled Anter

Cyber Security Enthusiast | Bug bounty hunter

Local IP

2 min readAug 29, 2024

Local IP addresses, also known as private IP addresses, are reserved for use within private networks and are not routable on the public internet. These addresses are essential for internal network communication and are defined by the Internet Assigned Numbers Authority (IANA).

IPv4 Private Address Ranges:

1. 10.0.0.0–10.255.255.255

- Address Block: 10.0.0.0/8

- Total Addresses: 16,777,216

- Use Case: Ideal for large organizations requiring extensive subnetting and many devices.

2. 172.16.0.0–172.31.255.255

- Address Block:172.16.0.0/12

- Total Addresses: 1,048,576

- Use Case: Suitable for medium-sized networks, providing a balanced address space.

3. 192.168.0.0–192.168.255.255

- Address Block: 192.168.0.0/16

- Total Addresses: 65,536

- Use Case: Commonly used in home and small office networks.

IPv6 Private Address Range:

Get Khaled Anter’s stories in your inbox

Join Medium for free to get updates from this writer.

In IPv6, private IP addresses are referred to as Unique Local Addresses (ULA):

- fc00::/7

- Prefix: ULAs start with `fc00::/7`, with `fd00::/8` commonly used for local networks.

- Use Case: Utilized for local communications within a site or organization, providing a significantly larger address space due to IPv6’s 128-bit addressing.

Difference Between Private and Public IP Addresses:

- Private IP Addresses:

- Usage: Employed within private networks for internal communication. Devices using private IPs can communicate with each other within the same network but require Network Address Translation (NAT) to access the internet.

- Address Space: Reserved ranges (e.g., 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) that are not routable on the public internet.

- Typical Users: Home networks, small businesses, large enterprises, and isolated network environments.

- Public IP Addresses:

-Usage: Public IP addresses are routable on the global internet and necessary for devices that communicate with external networks or the internet.

- Address Space: Assigned by Internet Service Providers (ISPs) and are globally unique to avoid conflicts.

- Typical Users: Web servers, email servers, and any internet-facing devices that require global connectivity.

Usage:

-Private IP Addresses: Commonly used for internal networking purposes such as connecting devices within a home, office, or corporate environment. Examples include connecting a computer to a printer, setting up a home network with multiple devices, or managing resources within a corporate LAN (Local Area Network).

- Public IP Addresses: Used for devices that need to be accessible from the internet, such as hosting websites, online services, and enabling remote access to internal resources. Public IPs ensure that a device can be uniquely identified on the internet, facilitating communication with other networks and services worldwide.

--

--

Khaled Anter
Khaled Anter

Written by Khaled Anter

Cyber Security Enthusiast | Bug bounty hunter