About the Gateway Understanding

Source: Internet
Author: User

Gateways (Gateway) are also known as inter-network connectors, protocol converters. The gateway realizes network interconnection above the network layer, is the most complex network interconnection device, only for two high-level protocol different network interconnection. Gateways can be used for both WAN interconnection and LAN interconnection. A gateway is a computer system or device that acts as a transformation task. A gateway is a translator that uses a different communication protocol, data format, or language, or even between two systems that have a completely different architecture. Unlike bridges, which simply convey information, the Gateway will repackage the information received to suit the needs of the intended system.

About the gateway say the points:

(1) The Gateway has two identities: internal LAN has an inside IP, external IP (external can be regarded as a public IP network);

(2) gateways, which are not equivalent to called network interfaces, are different concepts:

Gateway: Refers to the Intranet in all needs to access the external IP, all need to pass through this gateway, connected with the outside world. And the outside must go through this port, into the internal network. These two are often not the same address. all the IP in a network segment, there is only one gateway, but there are a lot of "network Interfaces".

Network interface: Generally select the first IP segment of the network as an intranet network segment of all the IP gateway (usually the end is 1, level 192.168.134.1), which is the network interface of the intranet. That is, in this routing table, all IP sent to this network segment is entered into this network segment through this "NET interface". The concept of a general network interface only appears in the "Routing table", and the "network interface" of different network segments in different routing tables must be different.

(3) The default gateway must be the IP address in the computer's own network segment, not the IP address in other network segments

The default gateway, which is all IP that accesses the extranet, is removed by forwarding it to this "gateway".

View current host's: Default gateway, and IP's Universal method:

C:\>route Print

There will be a route:

0.0.0.0 0.0.0.0Default gateway IP interface (machine IP) hop count

About the Gateway Understanding

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.