A brief understanding of the Routing Protocol

Source: Internet
Author: User

As a qualified network administrator, our understanding of the routing protocol is essential. Now let's explain in detail what is the routing protocol and some types and applications of it. The mechanism for learning and maintaining network topology knowledge is considered a routing function. The process in which data passes through the router and is transferred to the outbound interface is another independent function, which is considered as the exchange/forwarding function. A routing device must have both the routing and switching functions to act as a valid relay device. For routing, the router must know the following three items:

1. the router must determine whether it has activated support for the Protocol group;

2. the router must know the destination network;

3. the router must know which outbound interface is the best route to the destination.

The routing protocol determines the Optimal Path to the destination through the measurement value. A small metric value indicates the preferred path. If two or more paths have the same small metric value, all these paths will be shared equally. Traffic Distribution through multiple paths is called load balancing to the destination. The default Management Distance pre-allocation principle is: manually set route entry priority is higher than dynamic learned route entries, the metric Value algorithm complex route selection protocol priority is higher than the metric Value algorithm SIMPLE route selection protocol.

Generally, the router selects a path with the minimum measurement value. If multiple paths with the lowest measurement value and the same value appear in the IP address environment of the CISCO router, load Balancing will be enabled on these multiple paths. c isco supports four paths with the same measurement value by default, you can use the "maximum-paths" command to identify that a CISCO router supports up to six paths with the same measurement value. RIP is a routing protocol used in small to medium-sized TCP/IP networks. It uses the number of hops as the metric value, and its load balancing function is enabled by default, when RIP decides the optimal path, bandwidth is not taken into account!

IGRP is a routing selection protocol used in medium to large TCP/IP networks. It uses a composite metric value, it takes into account bandwidth, latency, reliability, load, and maximum transmission unit m tu), but uses the bandwidth and latency value by default. IGRP can also be used for load balancing.

After the router is started, it immediately tries to establish a routing relationship with its adjacent routing device. The initial communication aims to identify adjacent devices and Start Communication and learn the network phase structure. The method for establishing the adjacent relationship and the initial learning of the topology vary with the route selection protocol. The route selection protocol exchanges regular HELLO messages or regular route update packets, to maintain communication between adjacent devices, after understanding the network topology structure and the routing table contains the Optimal Path to the known network, you can start forwarding data to these destinations.

Route Selection Protocol

Classful routing (classful routing) is an overview of classful routing protocols that do not send subnet mask information with network addresses) when the classless routing protocol is used, the same subnet mask must be used for all subnetworks that belong to the same primary network (class A, Class B, and class C. A router running a route selection protocol with a category route selection protocol performs one of the following operations to determine the routing network section: if the route update information is about the same primary network configured on the receiving interface, the router uses the subnet mask configured on the interface; if the route update is about the networks of different primary classes configured on the receiving interface, the router uses the default subnet mask according to the address category.

Classless routing Overview

Classless routing protocols include Open Shortest Path First (OSPF), OSPF, RIPV2, intermediate system to intermediate system IS-IS), and Border Gateway Protocol version 4BGP4 ), the subnet mask VLSM with different mask lengths is called variable lengths in the same primary network ).

The classless routing (classless Routing) protocol supports VLSM. Therefore, you can set a subnet mask more effectively to meet the needs of different subnets for different numbers of hosts and make full use of host addresses, most regular and routine route Updates generated by the distance vector routing selection protocol are transmitted only to directly connected routing devices. In a pure distance vector routing environment, route updates include a complete route table. By receiving the full route table of neighboring devices, the route can check all known routes and then modify the local route table based on the received update information.

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.