Static Routes

In this article we will discuss Static Routes, will make brief discussion on Static Routes, In last article we discuss about Directly Connected Interfaces.

Static routes, which define explicit paths between two routers, cannot be automatically updated; you must manually reconfigure static routes when network changes occur. Static routes use less bandwidth than dynamic routes. No CPU cycles are used to calculate and analyze routing updates.

After directly connected interfaces are configured and added to the routing table, then static or dynamic routing can be implemented.

Static routes are manually configured. They define an explicit path between two networking devices. Unlike a dynamic routing protocol, static routes are not automatically updated and must be manually reconfigured if the network topology changes. The benefits of using static routes include improved security and resource efficiency. Static routes use less bandwidth than dynamic routing protocols, and no CPU cycles are used to calculate and communicate routes. The main disadvantage to using static routes is the lack of automatic reconfiguration if the network topology changes.

There are two common types of static routes in the routing table:

  • Static route to a specific network
  • Default static route

A static route can be configured to reach a specific remote network. IPv4 static routes are configured using the following command:

Router(config)# ip route network masknext-hop-ip | exit-intf }

A static route is identified in the routing table with the code ‘S’.

A default static route is similar to a default gateway on a host. The default static route specifies the exit point to use when the routing table does not contain a path for the destination network. A default static route is useful when a router has only one exit point to another router, such as when the router connects to a central router or service provider.

To configure an IPv4 default static route, use the following command:

Router(config)# ip route { exit-intf | next-hop-ip }

The figure provides a simple scenario of how default and static routes can be applied.

Add a Comment

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