Classification of static routes

Source: Internet
Author: User

Routing tables are divided into static routes and dynamic routes in two ways, depending on how they are generated.


Static Routing: Routing table entries, which are manually configured by an administrator, are called static routes, are simple to configure, fast to handle, efficient, and reliable, and the disadvantage is that routers cannot change automatically when the network topology changes.


Classification of static routes: Static routes, default routes (default routes), default gateways


Static routing: usually refers to the route that we manually configure on the router to other network segments, and tells the router to go to other non-direct-connected network segment path information.


Default route: Also called the default route. As a special form of static routing, when a router receives a packet that is not in the routing table, the packet is sent all the way to the next hop specified by the default route as a final processing of the unknown address packet.


There are three ways to configure the router to generate a default route:

1,IP route 0.0.0.0 0.0.0.0 0.0.0.0 When the routing function is on, you can configure the default gateway for the router, but it is not automatically passed to the neighbor by the dynamic routing protocol.

2,IP default-gateway In addition to the destination address in the network segment of the packet sent directly to the destination, all other packets will be sent to the gateway processing, the command only in the case of router shutdown routing function (no IP routing) use.

3,IP default-network This command can also achieve the same purpose. The difference is that the IP Default-gateway only works in non-routed mode, and the IP default-network can work in routing mode and be automatically passed to the neighbor by the dynamic routing protocol.

Classification of static routes

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.