Home Web Front-end HTML Tutorial A brief explanation of internal network, external network, and dynamic IP

A brief explanation of internal network, external network, and dynamic IP

Sep 18, 2017 am 10:17 AM
dynamic Simple explain

Everyone knows that China is a country with a serious shortage of IPV4 addresses, so our dial-up broadband has always been a dynamic IP, not a fixed IP. Later, what was even more outrageous was that many cities had intranet IPs, and all our secondary IP addresses All broadband ISPs provide are intranet IPs. Intranet IPs appear more and more in our lives, so we have derived DDNS, intranet penetration, etc.
Let’s try to use a picture to illustrate the difference between internal network IP and external network IP.

A brief explanation of internal network, external network, and dynamic IP

What is an external network IP?

Our Internet is like a wide road, with various websites on the Internet providing The service IDC is like the various low-end businesses on the roadside. Everyone knows that retail stores are opened directly on the side of the road. Their doors face the road directly to facilitate customers' entry and exit for shopping and consumption. The house numbers 1, 2, 3 on the road... are like the external IPs. When we want to go somewhere, we can just press the house number to find it. This is the so-called external IP. For example, McDonald's on the left, 7-11 supermarket, etc.

What is dynamic IP?

Later, this road became more and more lively, and the space on the left was full (a lot of IPV4 addresses were allocated, but it was found that there were not enough ), more and more people come to this road, some do shopping and some do small business, but there are too many people and there are not so many places. What should we do? Since these people are very mobile, in order to facilitate management, we have reserved places 2 and 4 on the right side, telling those who do small business with push carts that you can only go to places 2 and 4. You are not allowed to go to other places, first come first served, there are no fixed stalls. (This is the so-called dynamic IP, first dial, first served IP, not fixed). Later, there were too many small businesses, and two seats were not enough. I often came late and found that there were no seats, so I went back. (In the early dial-up period, you could not dial a number because there was no IP address assigned to you). When a person closes his stall, a spot becomes vacant, and another stall holder happens to come, so he takes this spot and continues doing business. (When a person goes offline, the IP is freed and given to new dial-up users so that the IP address can be reused), and so on, over and over again.

What is an intranet IP?

But then the economy developed and there were so many people who wanted to do business, but there was only one spot left, No. 6, what should I do? Woolen cloth? For the sake of economic development, we build office buildings. Everyone will work in the office buildings, one room per person, and the house numbers are 101, 102, 103, 104. . . . . , These house numbers are the so-called intranet IPs.

Disadvantages of intranet IP:

As we all know, most businesses wait for people to come to their door instead of actively going to the street to attract customers, so these The businessman of the intranet IP started to advertise. I am in 101, I am engaged in beauty, and the other one is in 102, I am engaged in loans. Come quickly. (We told our friends the intranet IP and asked them to access it), but after waiting for a long time, no one came. What happened? In fact, many people who saw the advertisement were very interested, but after searching on the street for a long time, they could not find the so-called 101,102, so they had to go home. (When we directly access an intranet IP, the address cannot be found, so the packet is lost). The biggest disadvantage of the intranet is that the address cannot be found and cannot be accessed directly.

What is port forwarding?

The people in the office building looked at it and thought, this is not possible, business still needs to be done, what should I do? So I hired a receptionist and told her that if someone asks you where the beauty salon is, tell them it's 101. (Start setting up port forwarding). So I advertised again, and my business was opened. Beauty salon No. 6 on the backbone network, beauty salon No. 6 on the backbone network.

IP Address : : Port

Backbone Network No. 6 : Beauty Salon
201.113.233.111 : 80

So people arrived at No. 6 and said I was going to the beauty salon. The girl at the front desk said, go to Room 101. (The router port is forwarded to the corresponding port). If port forwarding is not set, it is like a person shouting on the 6th, I want to go to the beauty salon, I want to go to the beauty salon, I want to go to the beauty salon, no one pays attention to him, and he goes home (access failed, packet loss . )

What is port 80 blocked?

Slowly, people know that beauty salons make money, and in the future they will open a beauty salon as long as they build an office building (WEB) Server), since the original beauty salon was in Room 101, people assumed that Room 101 was the beauty salon, and no special explanation was needed. (Port 80 is the default access port for the web). However, because some people were playing tricks in the beauty salon, the administrator saw that this was no good and wanted to make things worse, so he issued an order saying that from now on, all rooms in Room 101 of the office building were not allowed to open the door, and those who wanted to open the door must undergo a review. (Port 80 is forced to be blocked, audit system is in place), and business in other rooms is normal.

How to determine whether you are using the public network or the intranet?

Check whether the local IP is consistent with the IP displayed on the website.
Consistency indicates that it is a public network IP. Inconsistency indicates that your network has been forwarded or is an intranet!

Why do you need an external IP address?

According to the poster's explanation, the office in the office building can theoretically be found, but if the front desk takes leave or goes on strike, others will not be able to find you (the intranet IP packet loss rate is high, telecommunications The provider does not provide port forwarding)

Why is it still so slow even though I have an external IP?

Having an external IP is only the first step. There are two situations that are holding us back:

In the first situation, there are people coming and going on the road, and all kinds of people. etc. In order to protect us from harm, the relevant departments set up checkpoints at every exit from the city and conducted interrogations on everyone leaving the city (the existence of the wall). Because you have to queue up for inspection, everyone's speed of leaving the city is slow (ping delay is high), and sometimes the inspector will even refuse your request to leave the city without reason (irregular packet loss increases) when the inspector sees you unhappy.

The second situation is that on specific market days, everyone rushes out of the city to buy things. The roads outside the city are not wide enough, and there are so many people that they naturally squeeze in and out, and the traffic speed slows down ( The overall international export bandwidth is insufficient, and delays increase at night and during peak periods on holidays)

So how to improve the connection speed?

Regarding the first situation, people found that the prosecutor at the exit of the city did not check all trips one by one. For example, when the neighbor Lao Wang pulled a carriage to deliver goods to the next city, he could directly let them go. pass. So you paid a little money to Lao Wang, hid in the carriage and left the city, increasing the traffic speed (corresponding to ss and other tools that cannot be described in 1000 words)

In response to the second situation, the road builder specially opened a highway Only those who can afford the high tolls can take this road, so the road is wide and there are few people. So rich people paid a lot of money to travel to and from other cities faster than usual (xx boutique network). But since I still have to pass the exit level, I still can't do some indescribable things.

The above is the detailed content of A brief explanation of internal network, external network, and dynamic IP. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

The easiest way to query the hard drive serial number The easiest way to query the hard drive serial number Feb 26, 2024 pm 02:24 PM

The hard disk serial number is an important identifier of the hard disk and is usually used to uniquely identify the hard disk and identify the hardware. In some cases, we may need to query the hard drive serial number, such as when installing an operating system, finding the correct device driver, or performing hard drive repairs. This article will introduce some simple methods to help you check the hard drive serial number. Method 1: Use Windows Command Prompt to open the command prompt. In Windows system, press Win+R keys, enter "cmd" and press Enter key to open the command

Convert VirtualBox fixed disk to dynamic disk and vice versa Convert VirtualBox fixed disk to dynamic disk and vice versa Mar 25, 2024 am 09:36 AM

When creating a virtual machine, you will be asked to select a disk type, you can select fixed disk or dynamic disk. What if you choose fixed disks and later realize you need dynamic disks, or vice versa? Good! You can convert one to the other. In this post, we will see how to convert VirtualBox fixed disk to dynamic disk and vice versa. A dynamic disk is a virtual hard disk that initially has a small size and grows in size as you store data in the virtual machine. Dynamic disks are very efficient at saving storage space because they only take up as much host storage space as needed. However, as disk capacity expands, your computer's performance may be slightly affected. Fixed disks and dynamic disks are commonly used in virtual machines

How to convert dynamic disk to basic disk on Windows 11 How to convert dynamic disk to basic disk on Windows 11 Sep 23, 2023 pm 11:33 PM

If you want to convert a dynamic disk to a basic disk in Windows 11, you should create a backup first as the process will erase all data in it. Why should you convert dynamic disk to basic disk in Windows 11? According to Microsoft, dynamic disks have been deprecated from Windows and their use is no longer recommended. Additionally, Windows Home Edition does not support dynamic disks, so you will not be able to access these logical drives. If you want to combine more disks into a larger volume, it is recommended to use Basic Disks or Storage Spaces. In this article, we will show you how to convert dynamic disk to basic disk on Windows 11 How to convert dynamic disk to basic disk in Windows 11? In the beginning

What is the analysis of 2.8k screen? What is the analysis of 2.8k screen? Jan 02, 2024 pm 12:21 PM

We often see the introduction of how many K screens we have when buying TVs, computers or mobile phones, such as 2.8K screens. At this time, there will be friends who don’t know much about electronic devices and will be curious about what this 2.8K screen means and what the resolution is. What does 2.8k screen mean? Answer: 2.8k screen means that the screen resolution is 2880*18002K, which means the number of horizontal pixels is greater than 2000. For the same size screen, the higher the resolution, the better the picture quality. Introduction to resolution 1. Since the points, lines and surfaces on the screen are all composed of pixels, the more pixels the monitor can display, the finer the picture, and the more information can be displayed in the same screen area. 2. The higher the resolution, the greater the number of pixels, and the sharper the sensed image.

How to write a simple student performance report generator using Java? How to write a simple student performance report generator using Java? Nov 03, 2023 pm 02:57 PM

How to write a simple student performance report generator using Java? Student Performance Report Generator is a tool that helps teachers or educators quickly generate student performance reports. This article will introduce how to use Java to write a simple student performance report generator. First, we need to define the student object and student grade object. The student object contains basic information such as the student's name and student number, while the student score object contains information such as the student's subject scores and average grade. The following is the definition of a simple student object: public

How to write a simple online reservation system through PHP How to write a simple online reservation system through PHP Sep 26, 2023 pm 09:55 PM

How to write a simple online reservation system through PHP. With the popularity of the Internet and users' pursuit of convenience, online reservation systems are becoming more and more popular. Whether it is a restaurant, hospital, beauty salon or other service industry, a simple online reservation system can improve efficiency and provide users with a better service experience. This article will introduce how to use PHP to write a simple online reservation system and provide specific code examples. Create database and tables First, we need to create a database to store reservation information. In MyS

How to disable dynamic display of folders and files to prevent quick access in Windows 10 and 11? How to disable dynamic display of folders and files to prevent quick access in Windows 10 and 11? May 06, 2023 pm 04:58 PM

Microsoft introduced Quick Access in Windows 10 and retained the feature in the recently released Windows 11 operating system. Quick Access replaces the Favorites system in File Explorer. One of the core differences between the two features is that Quick Access adds a dynamic component to its list. Some folders appear permanently, while others appear based on usage. Fixed folders are displayed with a pin icon, while dynamic folders do not have such an icon. You can see a comparison between My Favorites and Quick Access here for more details. Quick Access is more powerful than Favorites, but dynamic folder lists add an element of clutter to it. Files that are useless or should not be highlighted in File Explorer may be displayed

Quick Start: Use Go language functions to implement a simple library management system Quick Start: Use Go language functions to implement a simple library management system Jul 30, 2023 am 09:18 AM

Quick Start: Implementing a Simple Library Management System Using Go Language Functions Introduction: With the continuous development of the field of computer science, the needs of software applications are becoming more and more diverse. As a common management tool, the library management system has also become one of the necessary systems for many libraries, schools and enterprises. In this article, we will use Go language functions to implement a simple library management system. Through this example, readers can learn the basic usage of functions in Go language and how to build a practical program. 1. Design ideas: Let’s first

See all articles