What is a router gateway?
Router gateway refers to the IP of the router, which is essentially the IP address from one network to other networks. The IP address of the gateway is the IP address of a device with routing functions. Devices with routing functions include routers, servers with routing protocols enabled (essentially equivalent to a router), and proxy servers (also equivalent to a router).
Gateway is also called an Internet connector and a protocol converter. The default gateway implements network interconnection above the network layer and is the most complex network interconnection device. It is only used for network interconnection between two high-level protocols with different protocols. The structure of a gateway is similar to that of a router, except for the interconnection layer. Gateways can be used for both WAN interconnection and LAN interconnection.
Note: Due to historical reasons, many literatures about TCP/IP once called the router used in the network layer a gateway. Today, many LANs use routing to access the network. Therefore, the gateway usually refers to the IP of the router!
In OSI, there are two types of gateways: one is a connection-oriented gateway, and the other is a connectionless gateway. When there is a certain distance between two subnets, a gateway is often divided into two halves and connected with a link in the middle. We call it a half gateway.
There are many types of gateways according to different classification standards. The gateway in the TCP/IP protocol is the most commonly used. The "gateway" we talk about here refers to the gateway under the TCP/IP protocol.
So what exactly is a gateway?
A gateway is essentially the IP address from one network to other networks. For example, there are network A and network B. The IP address range of network A is "192.168.1.1~192. 168.1.254" and the subnet mask is 255.255.255.0; the IP address range of network B is "192.168.2.1~192.168. 2.254", the subnet mask is 255.255.255.0.
In the absence of a router, TCP/IP communication is not possible between two networks. Even if the two networks are connected to the same switch (or hub), the TCP/IP protocol will If the results of the "AND" operation between the subnet mask (255.255.255.0) and the host's IP address are different, it determines that the hosts in the two networks are in different networks.
To achieve communication between the two networks, it must pass through the gateway. If the host in network A finds that the destination host of the data packet is not in the local network, it forwards the data packet to its own gateway, which then forwards it to the gateway of network B, and the gateway of network B forwards it to someone in network B. Host (as shown in the attached picture). The process of network A forwarding data packets to network B.
So, only by setting the IP address of the gateway, the TCP/IP protocol can realize mutual communication between different networks.
So which machine’s IP address is this IP address? The IP address of the gateway is the IP address of the device with routing function. Devices with routing function include router, server with routing protocol enabled (essentially equivalent to a router), proxy server (also equivalent to a router) ).
In the context of interoperating with Novell NetWare networks, the gateway acts as a bridge between the Server Message Block (SMB) protocol used in Windows networks and the NetWare Core Protocol (NCP) used in NetWare networks. Gateways are also known as IP routers.
For more related knowledge, please visit: PHP Chinese website!
The above is the detailed content of What is a router gateway?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The sys of the router means system operating status indication, and the full name is System; the router uses the sys indicator light to inform the user of the operating status of the device. If the router is faulty or restarting, the indicator light will flash; the indicator light of the router can be divided into power Indicator light, sys system indicator light, LAN indicator light and WAN indicator light.

Can. However, you need to pay attention to some issues: 1. Placing the router upside down may have a certain impact on heat dissipation, causing heat to accumulate at the bottom of the router, affecting the heat dissipation effect. Long-term overheating may reduce the performance of the router and adversely affect its lifespan. ; 2. Placing the router upside down may affect the operation and management of the device, and the indicator lights and interfaces may be blocked or inconvenient to operate; 3. Placing the router upside down may also have a certain impact on network security, and the default user name and password may cause This information is more susceptible to prying eyes.

In routers, sn stands for "Serial Number", which means "serial number" and refers to the factory number of the router. The router serial number (SN) and physical address are both hardware identifiers, which are unique; the router will be under warranty only if the router's serial number is kept intact. The router serial number SN can be seen directly in the manual and on the back of the router.

Students who know computers all know that if our computer wants to connect to the network, it must have an IP address. This IP address can be manually configured, such as 172.16.19.20; it can also be automatically obtained by the DHCP server of the computer network card, such as 192.168.1.100 etc. These IP addresses are what we often call IPV4 addresses, and the corresponding IPV6 is also a type of IP address. What is IPV6 IPV6 is a new IP address that emerged in response to the exhaustion of IPV4 address resources. Its full name is "Internet Protocol Version 6", and its Chinese name is the sixth generation of Internet Protocol. The number of IPv6 addresses is theoretically 2^128

The first light is on, indicating that the router is powered on. Which port is plugged in, the light of which port is on, and flashing means data is being transmitted. Wireless routers usually have three indicator lights: SYS, LAN and WAN. When the wireless router is powered on, the SYS light will light up. When the wireless router is connected to the network modem, the WAN light will light up. The LAN light corresponds to each interface of the wireless router. As long as the network cable is inserted into the corresponding interface, the corresponding LAN light will light up. 1. If it keeps flashing, it means it is transmitted by data, and the router settings should be normal. 2. If you have always been able to access the Internet, but you can't get online recently; it is probably a problem with the external line, that is, a problem with the operator (usually there is a problem with the line, causing the data signal to attenuate too much, although the line is good)

The difference between gateway WiFi and router WiFi is mainly reflected in three aspects: function, number of terminals that support Internet access, and WiFi signal coverage. Gateway WiFi is a combination of optical modem and router. It has more functions, but it supports fewer Internet devices and the WiFi signal coverage is not as good as router WiFi.

Reasons why the router is connected but cannot access the Internet: 1. Internet service provider problem; 2. Router setting problem; 3. LAN problem; 4. WiFi signal problem; 5. Router hardware problem; 6. DNS problem; 7. Network cache problem ; 8. Firewall and security software issues; 9. Operator restrictions; 10. Equipment failure. Detailed introduction: 1. Internet service provider problems. This is a common reason. Internet service providers may have problems, such as network interruption or service interruption; 2. Router setting problems, etc.

The network cannot ping, what's going on? In fact, this is a very common problem. It is mainly divided into two situations: pinging fails on the same network segment and pinging fails on different network segments. Let’s take a look at the details below. There are usually two reasons why the ping command cannot connect to the same network segment: one is an IP address that cannot be pinged in the same network segment, and the other is an IP address that cannot be pinged in a different network segment. These two situations have different solutions. First, let’s discuss the situation where ping fails within the same network segment. 1. Ping fails on the same network segment, and the result is "Unable to access the target host." The destination IP and source IP are on the same network segment, and the ping result is &l