What are the differences between private IP addresses and public IP addresses?

Source: Internet
Author: User

Public ip
 
The mail system is used as a metaphor. There is a public ip address, which means you have a detailed address. You can write a letter to someone else, or someone else can use this address to communicate with you.

Now let's take a look at the situation where no public ip address is available. This is like living in a large courtyard. all incoming and outgoing emails are transferred by the transfer room. If it is an ordinary email, you can put it in the data transmission room. When the big master of the data transmission room sees you, it will be handed over to you, or you can go to the data transmission room to see it yourself. This is not important. Although it has gone through some twists and turns, you can still see the email. Now let us assume that the post office staff must sign for the registration. The big master of the transfer room said: Sorry, all emails will go through my transit ~. So the post office staff had to bring the mail back ......
 
The actual situation is similar to this. There is no public ip address, that is to say, your machine is not directly connected to the internet, but all communications are forwarded through a proxy (usually transparent gateway, at this time, the problem arises, and some communications cannot proceed smoothly under this mechanism. For example, the hosts of two Internet cafes do not have a public ip address. Generally, two Internet cafes cannot send files to each other through qq. For example, if you do not have a public ip address, you may encounter problems when playing online Combat Games. Other players cannot join the game you have created.

Private ip Address

A private IP address is a part of the ip address allocated internationally. It is not used for internat and can be used for internal lan. Although it has the same functions, it cannot be used on internat. It is a non-registered address and is specially used within the Organization.

The following table lists reserved internal addressing addresses.

Class A 10.0.0.0 8
Class B 172.16.0.0 -- 172.31.0.0
Class C 192.168.0.0 -- 192.168.255.0

View the local IP Address:

Run the command ipconfig: Start-run-Enter command cmd-Enter command ipconfig in the command line window to view the local IP address.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.