Network Technology Learning Note 4-Routing

Source: Internet
Author: User

A router is a layer-3 device that connects different subnets.

Generally, a vro has a WAN port and a LAN port. Therefore, the corresponding vro has two addresses: one is the address of the same network segment as the LAN, and the other is the external address.

The router must be used in pairs, that is, the LAN port of the router is connected to the host of the LAN, and the WAN port is connected to the outside router. When you access the Internet, your request is forwarded to another vro through your vro,

The other router then forwards your request to the destination based on the route table.

So what is a route table? The route table is equivalent to a guide card, which indicates where to go and where to go. Each router will have a route table under maintenance.

On Windows, you can run the route print command to display the route table of the local machine.

Default route: 0.0.0.0 indicates any address. The last route entry is the path not specified in the route table. In the routing table printed by the route print command, you can see this one,

The corresponding gateway is the gateway that you usually use to access the Internet. (If you have wireless or wired Internet access, there will be two default routes. Which port does it go through? You can check the value of metric, who is the minimum)

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.