Understanding static and dynamic routing

In this digital world, almost everything is connected over a network. Here routers fight very importantly to transfer data from one site to another to forward data from one router to another, they use information from manually entered tables or information from computed tables based on routing information. In this article, we will discuss the meaning of static and dynamic routing in detail.

routing definition

Routing is the process of determining the best path to use to send packets to the destination host or hosts and then this routing decision is made by special network devices called routers that forward packets to that host. Routing can also be interpreted as the process of merging several networks to forward data packets from one network to another.

How does routing work?

Routing occurs at the network layer (layer 3) of the OSI reference model (OSIIt is a network architecture developed by the International Organization for Standardization.ISO). On a TCP/IP interface, this means that routing involves sending packets to the destination IP address on the interface.

The first and most important part of the routing process consists of defining the path that the packet will take from the sending or originating host to the receiving host or destination. The second part of the process involves having router switch packets from one consecutive segment, or “hop” from the path forward until the packet reaches its destination. Routers are devices that join subnets, which are separate, distinct networks that make up an Internet.

A router maintains an internal table called a routing table, which contains information about the presence of a network, whether it is directly connected networks or remote networks. This table also contains information about how the router accesses the network. This routing is very important because the router is used as a guide to send every data packet it receives.

The information in a routing table is in the form of rows of network addresses called entry paths. In each route entry there is also information about the interface that the router can use to send data packets. If the router receives a data packet, the router will check the destination IP address (destination address) of the packet. Then the router matches it to the network address in each entry in the routing table.

If there is a suitable entry, the router will forward the packet to the interface used to send the packet, and the interface used to forward the packet is called the out interface or the outgoing interface, but if there is no suitable input, the router will discard the packet.

Read also: How do routers work?

Steering type

fixed rotation

Static slewing (fixed steer) It is a router that has a fixed routing table that is set manually by network administrators. Static routing is the simplest routing setting that can be made on a computer network. Using pure static routing in a network means filling in every entry in the forwarding table on every router on the network.

Using static routing in a small network is certainly not a problem, only a few entries need to be filled in the forwarding table on each router. But of course you can imagine what if you had to complete the forwarding table on each router, which is not small in a large network.

Advantages of using static routing

  1. Lighten router processor performance
  2. No bandwidth is used to exchange information from the routing table of contents at the time of packet delivery
  3. Static routing is safer than dynamic routing
  4. Static routing is immune to any hacker attempts to circumvent traffic hijacking

Disadvantages of using static routing

  1. The network administrator must know all the information about each router used
  2. Can only be used for small size networks
  3. Management is very complicated compared to dynamic routing, especially if many routers have to be configured manually
  4. Prone to errors during manual static guidance data entry

dynamic steering

dynamic steering It is a router that owns and creates a routing table automatically, by listening for network traffic and also by communicating with other routers. The routing protocol organizes routers so that they can communicate with each other and provide information to each other and provide routing information to each other which can change the contents of the forwarding table, depending on the state of the network.

In this way, the routers know the current state of the network and are able to forward the data in the correct direction. In other words, dynamic steering The process of automatically populating the routing data in the routing table.

If a network has more than one possible path to the same destination, then dynamic routing is necessary. Dynamic routing is based on information collected by the routing protocol. This protocol is designed to dynamically distribute information after changing network conditions. Routing protocols handle complex routing situations quickly and accurately.

The routing protocol is designed not only to change to a backup route if the master route does not work, but it is also designed to determine the best route to reach that destination.

The routing table is not manually populated and maintained by the administrator. Routers exchange routing information in order to know the destination address and receive the routing table. The route is maintained based on the shortest distance between the transmitter and the destination device.

Types of dynamic routing protocols

The routing protocol will be used by routers that use dynamic routing. The routing protocol will exchange routing tables with other routers that use dynamic routing. So if there is a change in the network, this protocol will automatically notify all the routers on the network. There are several types of routing protocols:

  • RIP (Routing Information Protocol)
  • IGRP (Internal Gateway Routing Protocol)
  • OSPF (Open Short Path First)
  • EIGRP (Enhanced Internal Gateway Routing Protocol)
  • BGP (Border Gateway Protocol)
  • Intermediate to Intermediate System (IS-IS)

Advantages of using dynamic routing

  1. Suitable for large / spacious spaces
  2. Provides only addresses directly connected to the router
  3. When adding a new network, it is not necessary to configure all routers, only related routers
  4. Routers share information automatically
  5. The routing table is created dynamically
  6. No need to know all current network addresses
  7. The official does not interfere

Disadvantages of using dynamic routing

  1. The workload of the router becomes heavier because it always updates the IP table at any time
  2. The IP table recognition speed and completeness is very long because the router broadcasts to all other routers until there is a match, so after configuring, you have to wait a while for each router to get all the existing IP addresses.


So mentoring is a process for choosing the best path forward
packets from one network to another. Steering is also divided into 2
types, namely static and dynamic routing. Here is the table of differences for the two types of routing:

Steering fixed dynamic steering
It works on the IP protocol It works on the internal routing protocol
The router cannot share routing information Routers share routing information automatically
Routing tables are created and deleted manually Routing tables are created and deleted automatically
Do not use routing protocol There is a routing protocol, such as RIP or OSPF
It does not consume a lot of router resources. It consumes more router resources.

Lots of articles Understand static and dynamic routing. Look forward to other interesting articles and don’t forget to share this article with your friends. Thank you…

Leave a Comment

/* */