> For the complete documentation index, see [llms.txt](https://devops-3.gitbook.io/devops/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devops-3.gitbook.io/devops/docs/module-2-network-basics/public-and-private-ip.md).

# Public and Private IP

### Public IP

* The Public IP Address of a system is the IP address that is used to communicate outside the network. A public IP address is basically assigned by the ISP (Internet Service Provider).&#x20;
* Public IP Addresses can be traced back to the Internet Service Provider that can easily trace the geographical location.

#### Public IP Types

1. Static IP

Static Addresses are those addresses that do not change with time.

2. Dynamic IP

Dynamic IP Addresses are addresses that change over time.

### Private IP

* The Private IP Address of a system is the IP address that is used to communicate within the same network.&#x20;
* Using private IP data or information can be sent or received within the same network.&#x20;
* The router basically assigns these types of addresses to the device.&#x20;
* These things make Private IP Addresses more secure than Public IP Addresses.
* we can trace Private IP Addresses, but this happens only by using other devices on the local network.&#x20;
* Devices that are connected to the local network has private IP Address and this can only be visible to the devices that are connected within that network.&#x20;
* But it can’t be seen online as it happens in public IP Addresses.

<figure><img src="/files/EKVFqdfOz8C22l7RWpG8" alt=""><figcaption><p>Public and Private IP</p></figcaption></figure>
