Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What does the router gateway in the computer refer to?

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

What does this article share with you about what the router gateway in the computer means? The content of. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The router gateway refers to the IP of the router, which is essentially the IP address of one network to other networks. The IP address of the gateway is the IP address of the device with routing function. The devices with routing function include router, server with routing protocol enabled (essentially equivalent to a router), proxy server (also equivalent to a router).

Gateway (Gateway) is also called inter-network connector and protocol converter. The default gateway implements network interconnection above the network layer and is the most complex network interconnection device, which is only used for the interconnection of two networks with different high-level protocols. The structure of the gateway is similar to that of the router, except for the interconnection layer. Gateways can be used for both WAN interconnection and local area network interconnection.

Explanation: due to historical reasons, many literatures about TCP/IP once called the router used in the network layer as the gateway. Today, many Lans use routing to access the network, so the gateway usually refers to the IP of the router!

In OSI, there are two kinds of gateways: one is connection-oriented gateway, the other is connectionless gateway. When there is a certain distance between two subnets, a gateway is often divided into two halves, and the middle is connected by a link, which is called a semi-gateway.

According to different classification standards, there are many kinds of gateways. The gateway in the TCP/IP protocol is the most commonly used, and the "gateway" we are talking about here refers to the gateway under the TCP/IP protocol.

So what exactly is a gateway?

A gateway is essentially an IP address from one network to other networks. For example, there are network An and network B. the IP address range of network An is "192.168.1.1" 192. 168.1.254 "with a subnet mask of 255.255.255.0, and the IP address range of network B is" 192.168.2.1 "192.168.2.254" with a subnet mask of 255.255.255.0.

Without a router, there is no TCP/IP communication between the two networks. Even if the two networks are connected to the same switch (or hub), the TCP/IP protocol will determine that the hosts in the two networks are in different networks according to the result of the "and" operation between the subnet mask (255.255.255.0) and the IP address of the host.

In order to realize the communication between the two networks, it must be through the gateway. If the host in network A finds that the destination host of the packet is not in the local network, it forwards the packet to its own gateway, which forwards it to the gateway of network B. the gateway of network B then forwards it to a host of network B (as shown in the attached figure). The process by which network A forwards packets to network B.

Therefore, only by setting the IP address of the gateway can TCP/IP protocol realize the 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. The 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 interacting with the Novell NetWare network, the server information block (SMB) protocol used by the gateway in the Windows network and the NetWare core protocol (NCP) used in the NetWare network act as a bridge. Gateways are also known as IP routers.

Thank you for reading! About "what does the router gateway in the computer refer to?" This is the end of this article, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, you can share it for more people to see it!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 279

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report