Dynamic Routing (week 10)

Miras Aitkazinov
3 min readDec 21, 2019

--

Hello everyone! In this week, I have learned about Dynamic routing. What is the Dynamic routing, why we use it, what is the difference between static routing and dynamic? I am going to give you the answers for all of this questions.

First of all, let’s start with the dynamic routing. Dynamic routing — a type of routing in which the routing table is edited programmatically. In the case of UNIX systems, routing daemons; in other systems — utility programs, which are called differently, but actually play the same role. Routing daemons exchange information among themselves that allows them to populate the routing table with the most optimal routes. The protocols used to exchange information between daemons are called dynamic routing protocols. To begin with, we’ll deal with the concept of “dynamic routing”. Until now, we have used the so-called static routing, that is, we have written with our hands the routing table on each router. Using routing protocols allows us to avoid this tedious monotonous process and errors associated with the human factor. As the name implies, these protocols are designed to build routing tables themselves, automatically, based on the current network configuration. In general, the thing is necessary, especially when your network is not 3 routers, but 30, for example. In addition to convenience, there are other aspects. For example, fault tolerance. Having a network with static routing, it will be extremely difficult for you to organize backup channels — there is no one to monitor the availability of a particular segment. Although it is important for all routers in the interconnected network to have up-to-date complete knowledge of the routes, maintaining routing tables through a manual static configuration is not always feasible. Therefore, dynamic routing protocols are used. Routing protocols are a set of rules by which routers dynamically exchange their routing information. As soon as routers learn about changes in the networks for which they act as a gateway, or about changes in the connections between routers, this information is transferred to other routers. When a router receives information about new or changed routes, it updates its own routing table and passes information to the other routers in turn. Thus, all routers have accurate routing tables that are updated dynamically and can learn about routes to remote networks that are many hop away. Although routing protocols provide routers with up-to-date routing tables, there are costs. Firstly, sharing route information adds overhead to network bandwidth. These costs can be a problem, especially for low-bandwidth connections between routers. Secondly, the route information that the router receives is processed to a large extent by protocols such as EIGRP and OSPF to record the routing table. This means that routers using these protocols must have sufficient computing power to both implement protocol algorithms and timely route packets and transmit them. Static routing does not incur network overhead and places entries directly in the routing table; it does not require any processing by the router. The cost for static routing is administrative — manual configuration and maintenance of the routing table to ensure efficient and efficient routing. Many interconnected networks use a combination of static, dynamic, and default routes to provide the necessary routes.

--

--