Hi Everyone,
Static routing is a routing approach that requires manual configuration and is managed by the Internet Protocol (IP). This routing technique is widely used in situations where constant parameters in the network and surroundings are required. Static routes, unlike dynamic routing, are fixed and do not alter if the network changes or is reconfigured. It utilizes of the pathways that connect the two directions, which cannot be updated automatically. As a result, when the network changes, you must manually reconfigure static routes.
Static routers are most commonly employed in smaller networks with only a few routers or where security is a concern. As static routers do not exchange routing information, each static router must be configured and maintained separately. It can be employed in situations where network traffic is predictable and well-planned. It can't be employed in a large, constantly changing network since it can't react to changes in the network.
How Static Routing Works:
The routing table of a static router must contain a route
for each network in the internetwork for it to function effectively. The
default gateway address of hosts on a network is set to match the IP address of
the local router interface. When a host needs to transmit a packet to another
network, it sends it to the local router, which looks up the packet in its
routing database and decides which route to use.

When to use Static Routing:
Static routing can be used in the following three primary cases:
In smaller networks, that aren't expected to develop significantly, making routing table maintenance easier.
When Stub networks are routed to and from. A stub network is one that can only be accessible via a single route and has only one neighbor.
Using a single default route to represent any network path that does not have a more specific match in the routing database. Traffic is sent to any destination beyond the next upstream router using default routes.

A stub network connection and a default route connection are shown in Figure. It is worth nothing in the diagram that any network connected to R1 would only have one method to reach other destinations, whether they were connected to R2 or not. R1 is a stub router, and network 172.16.3.0 is a stub network. It's a waste of time and resources to run a routing protocol between R2 and R1.
Advantages & Disadvantages of Static Routing
Comparative analysis of the advantages and disadvantages of
Static Routing is shown in the following table
Advantages | Disadvantages |
Implementation is easier in a small network | Ideal for simple topologies or for special purposes like default route |
Quite a secure routing network as unlike dynamic routing protocols, no advertising are sent. | As the network grows, the complexity of the configuration increases substantially. It’s time consuming to manage the static configurations in larger networks |
Since the destination route is always same, it’s predictable | A static route cannot reroute traffic if a link fails. As a result, rerouting traffic necessitates manual intervention. |
Thank You for reading.


