Difference and connection between gateways and Routers

Source: Internet
Author: User
From: http://www.kelenao8.cn/u/space.php? Uid = 3 & Do = Blog & id = 26 gateway refers to the communication interface device and Program Is an important part of the network connection device, It not only provides routing functions, but also converts between two different protocol sets. To interconnect different networks. For example, a Netware LAN can access the ibm sna network through a gateway, so that a PC using the IPX protocol can communicate with an IBM host on the SNA network. Router (router) refers to such interface devices and programs. Network : Work , therefore, a gateway is an access point connecting a network to another network. in my opinion, the router is also a gateway at the access point level. In my opinion, this is also the "Default Gateway (Default Gateway) " not" default router.

although a vro is an example of a gateway, protocol translation gateways are often implemented on routers in the form of software. Therefore, gateways are often a special feature of routers, currently, the gateway and vro can be used for interchange. Because of this and the relationship between "Default Gateway" and "default router", the terms "Gateway and router" are also confusing. .

In addition, in many cases, the firewall and proxy server are installed on the device used as the gateway.

the term "default router" is enclosed in quotation marks because it is actually called the default gateway and the default gateway, "Default route " (default route) concept. the default route entry is a table item in the routing table. The next hop specified in this table item is the default router (Default Gateway ). the "default" indicates that all data packets with no corresponding table items in the routing table are sent to this gateway. in the routing table, you can find the "" Table item by specifying the subnet mask and destination of the IP address of the route table item. The subnet mask of the address is compared. therefore, if you set the subnet mask of the "default route" to 0 (0.0.0.0/0 in the routing table), the "default route" must be the target address ". A gateway is a network device that connects to different communication protocols so that files can be transmitted between these networks. In addition to transmission information, the gateway also converts the information into a form that is accepted by the protocol used by the receiving network. It is closely related to the vro.

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.