Introduction to Routing in Computer Networks

Introduction to Routing in Computer Networks

Routing is an important function in computer networking that involves directing data packets from one device to another across a network. It ensures that information reaches its destination efficiently and accurately. Routers are the key devices responsible for making routing decisions in a network. A detailed tutorial can be found here.

Routing is divided into two categories.

  1. Static Routing
  2. Dynamic Routing
Types of routing

Understanding Static Routing

Static routing is a routing method where network administrators manually configure the routing table on a router. In this approach, the routing decisions are predetermined and do not change unless modified by the administrator. Static routing is straightforward and suitable for small networks with a relatively simple topology.

How Static Routing Works

Static routing


Network administrators manually enter routing information into the router’s configuration. This includes specifying the destination IP addresses and the corresponding next-hop routers.

Routing Table

The router builds a static routing table based on the configured information. This table is used to determine the appropriate path for forwarding data packets.

No Adaptability

One drawback of static routing is its lack of adaptability. If there are changes in the network topology, such as the addition of new devices or alternate routes, administrators must update the routing configuration manually.

Advantages and Disadvantages of Static Routing


  • Simplicity: Static routing is simple to configure and easy to understand.
  • Low Overhead: It has lower overhead on router resources since there’s no dynamic routing protocol running.


  • Lack of Adaptability: Static routing doesn’t adapt well to changes in network topology.
  • Maintenance Challenges: Manual updates are required for any network changes.

Dynamic Routing

Dynamic routing

Dynamic routing is a more adaptive approach to routing, where routers communicate with each other using routing protocols to dynamically update and share routing information. This allows routers to automatically adjust to changes in the network, making it suitable for larger and more complex network environments.

How Dynamic Routing Works

Routing Protocols

Dynamic routing protocols, such as OSPF (Open Shortest Path First), RIP (Routing Information Protocol), and BGP (Border Gateway Protocol), facilitate communication between routers.

Exchange of Routing Information

Routers share information about the network’s topology, and each router builds and maintains its routing table based on this dynamically acquired information.


Dynamic routing adapts to changes in the network, such as link failures or the addition of new devices, without manual intervention.

Efficient Path Selection

Dynamic routing protocols use algorithms to determine the most efficient path for data packets, considering factors like link cost and network congestion.

Advantages and Disadvantages of Dynamic Routing


  • Adaptability: Dynamic routing adapts to changes in network topology without manual intervention.
  • Efficiency: It can find the most efficient path based on real-time network conditions.


  • Complexity: Dynamic routing protocols can be complex to configure and manage.
  • Resource Overhead: Dynamic routing protocols consume more router resources compared to static routing.

Understanding routing, static routing, and dynamic routing is fundamental to designing and maintaining efficient computer networks. The choice between static and dynamic routing depends on factors such as network size, complexity, and the need for adaptability. Each approach has its advantages and disadvantages, and network administrators must carefully consider these factors when implementing routing solutions in their networks.


The presentation slides can be downloaded here.

Self Assessment

  • What do you know about routing on computer networks?
  • What is the difference between static and dynamic routing?
  • You are asked to create a small network for an organization, which routing would you prefer to use and why?

37 thoughts on “Introduction to Routing in Computer Networks

  1. Hmm is anyone else encountering problems with the pictures on this blog loading? I’m trying to figure out if its a problem on my end or if it’s the blog. Any responses would be greatly appreciated.

  2. Thanks for sharing superb informations. Your web site is so cool. I am impressed by the details that you’ve on this website. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for extra articles. You, my pal, ROCK! I found simply the info I already searched everywhere and just could not come across. What a great web site.

  3. What Is Java Burn? Java Burn is a natural health supplement that is formulated using clinically backed ingredients that promote healthy weight loss.

  4. Hello, i feel that i saw you visited my website so i came to “go back the choose”.I’m attempting to in finding issues to improve my web site!I assume its ok to use some of your ideas!!

  5. Good day very nice web site!! Man .. Excellent .. Amazing .. I’ll bookmark your website and take the feeds also?KI am glad to seek out so many useful info here in the publish, we’d like develop more techniques in this regard, thanks for sharing. . . . . .

  6. Hey there! I know this is kind of off topic but I was wondering if you knew where I could find a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one? Thanks a lot!

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this:
Verified by MonsterInsights