What Is Routing In Computer Network

Forwarding of packets (Data) from one network to another network choosing the best path from the routing table is called routing.so you will learn how it is used in a computer network from this article.

Types of Routing :

  • Static Routing:- Static routing is the best route to choose from the administrator manually.
  • Default Routing:– when no other routes available for destination IP address
  • Dynamic Routing:- Dynamic routing is the best route to choose by router automatically.

Static Routing :

  • Static routing is configured by the administrator manually.
  • Destination network ID is mandatory to configure the static routing.
  • Static routing is secure and fast.
  • Use with small organizations with network ten to fifteen routers.
  • The administrative distance for a static route is 0 & 1.
  • Lower AD(Administrative Distance) define the trustworthiness of routing information, because of lower administrative distance the routing performance is higher.

Advantage of static routing :

  • Because the route is entered by the administrator, the CPU load is less.
  • Adds to security because the routes are added by the administrator manually.

A disadvantage of static routing :

  • Everything needs to be configured manually therefore preferred for a small network.
  • Any network change affects the whole network due to this administrator’s work will increase.
  • In static routing, if any network needs to be removed or any new network comes in then the administrator needs to add manually.

Configure Static Routing :

Router(config)# ip route < destination network ID> <Destination subnet mask> <Next-hope IP address>

Static Routing in computer network
Static routing
  • In static routing,router only know about the directly connected route by default.
  • Once PC find that destination is from a different network, then it will pass to the gateway of the network, that is why we need a gateway to communicate with a different network.
  • Once the packet reaches the gateway router, it will check the routing table entry for the destination address.
  • If the destination route was found in the routing table, then the packet will forward according to a route.
  • And if the router does not found a destination route, the router will simply drop the packet.

Default Routing :

  • A default routing protocol is configured for unknown destinations.
  • Generally, use on the internet where the destinations are unknown.
  • It is the last preferred routing protocol.
  • Default route help in reducing the size of your routing table.
Default routing in computer network
Default routing config syntax
  • If you have a common gateway of any destination you can use default routing.
Default Routing
Default routing
  • RouterX(config)# ip route 0.0.0.0 0.0.0.0 172.16.2.2

so I hope you will be able to know about what is routing in a computer network. so please let me know in the comments section.

Reference topic:

TCP/IP(Transmission Control Protocol/Internet Protocol)

Network Address Translation (NAT)

Fortigate Conserve Mode

Share Knowledge
Scroll to Top