What is IP Routing? (original) (raw)

Last Updated : 23 Jul, 2025

IP routing is the process that defines the shortest path through which data travels to reach from source to destination. It determines the shortest path to send the data from one computer to another computer in the same or different network. Routing uses different protocols for the different networks to find the path that data follows. It defines the path through which data travel across multiple networks from one computer to others. Forwarding the packets from source to destination via different routers is called routing. The routing decision is taken by the routers.

IP-Routing

IP Routing

Importance of IP Routing

IP routing is important because it helps data travel from one device to another across different networks, like from your home network to the internet. It makes sure the data takes the quickest and most efficient route, which helps everything work faster. If one path stops working, IP routing automatically finds another way to send the data, keeping things running smoothly. It also helps manage network traffic so things don't get too crowded, and it prioritizes important data like voice or video calls to keep them clear.

Types of Routing

There are three different types of routing:

Types-of-Routing

Types of Routing

  1. **Static Routing: It is also known as nonadaptive routing. In this type of routing the routing table is updated by the network administrator manually and routing decisions are not based on topology or condition of network.
  2. **Dynamic Routing: It is also known as **adaptive routing. In this type of routing the routing table is automatically updated using routing protocols. In response to changes in condition or topology of network, router adds a new route in the routing table.
  3. **Default Routing: In this type of routing the router is configured to send all the data towards a specific router. The default route is chosen only when specific route is not mentioned in the routing table. This routing is generally used with the stub routers.

Read in detail about Difference between Static and Dynamic Routing

How does IP Routing Work

When the data is sent from the source to the destination the TCP and other protocols of the source work and form an IP packet that is sent to the network. When an IP packet is sent to the network from the source it has to pass through multiple routers to reach the destination. The router in the network gets the destination address from the packet and through its routing table identifies the next router information to which the data packet has to be passed. The routing table of the router includes various information about the next router, its cost, and other necessary information. The router takes the routing decision with the help of routing protocols and a routing table to which next router the packet has to be sent to find the best route to reach the destination. Different packets can be sent through different paths but all the packets reach their intended destination. When the packets reach the destination through different routers it sends them to the TCP for further processing.

Types of Routing Protocols

For taking routing decisions router needs various routing protocols and a routing table. The routing protocols are divided into two domains:

Types of Routing Protocol

**Interdomain Routing Protocols

This routing is used among autonomous networks and it includes **Path Vector Routing(PVR).

**Path Vector Routing

Intra domain Routing Protocols

This routing is used within the autonomous networks and it includes two types of routing:Distance Vector Routing(DVR) and Link State Routing(LSR).

Distance Vector Routing

Read more about Differences between Intradomain and Interdomain Routing

Advantages of IP Routing

Disadvantages of IP Routing

Application of IP Routing