📜  私有和公共 IP 地址之间的区别

📅  最后修改于: 2021-09-13 02:50:44             🧑  作者: Mango

系统的私有 IP 地址是用于在同一网络内进行通信的 IP 地址。使用私有 IP 数据或信息可以在同一网络内发送或接收。

系统的公网IP地址是用于与网络外部通信的IP地址。公共IP地址基本上是由ISP(Internet Service Provider)分配的。

私有和公共 IP 地址之间的区别:

PRIVATE IP ADDRESS PUBLIC IP ADDRESS
Scope is local. Scope is global.
It is used to communicate within the network. It is used to communicate outside the network.
Private IP addresses of the systems connected in a network differ in a uniform manner. Public IP may differ in uniform or non-uniform manner.
It works only in LAN. It is used to get internet service.
It is used to load network operating system. It is controlled by ISP.
It is available in free of cost. It is not free of cost.
Private IP can be known by entering “ipconfig” on command prompt. Public IP can be known by searching “what is my ip” on google.
Range:

10.0.0.0 – 10.255.255.255, 
172.16.0.0 – 172.31.255.255, 
192.168.0.0 – 192.168.255.255 
Range:
Besides private IP addresses, rest are public.
Example: 192.168.1.10 Example: 17.5.7.8