Network layer: Route selection algorithm (1)--Overview

Source: Internet
Author: User

The purpose of the routing algorithm is to determine the optimal path from sender to receiver through router network, which is the shortest path.

  

Terms:

Default router: The router directly connected to the end system host is called the default router.

SOURCE Router: The default router for the source host.

Destination router: The default router for the destination host.

Optimal path: The lowest cost path for the sender to the receiver through the router network.

Generalized classification of routing algorithms:

1. Differentiate by global or distributed:

Global routing algorithm: With all node connectivity and the cost of all links as input, each node has a complete network of information, the information is passed through the router through the protocol, because each router has a complete and identical information, can guarantee consistency of results. The algorithm used: Link state (link states, LS) algorithm.

Decentralized routing algorithm: calculate the minimum cost path in an iterative and distributed way. The calculation of each node is based on the cost knowledge that is directly connected to it. After the node calculates the information, it gradually converges the cost to the minimum cost, thus calculating the shortest path. Use algorithm: Distance vector (Distance-vector, DV) algorithm.

2. Differentiate according to static or dynamic mode:

Static route selection algorithm: Routing changes slowly, usually manually adjusted.

Dynamic routing algorithm: The change of routing varies with network traffic load or topology, and can be run periodically or respond to changes. But it is easy to get the influence of routing cycle and route oscillation.

3. Differentiate according to load sensitivity or load retardation:

Load-sensitive algorithms: Link costs change dynamically to reflect congestion levels, creating a number of challenges.

The load retardation algorithm, the link cost does not obviously reflect the congestion level, the current Internet route Choice algorithm is the load retardation algorithm.

    

Network layer: Route selection algorithm (1)--Overview

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.