Static Routing:

Routers forward packets using either route information from route table entries that configured manually or the route information that is calculated using dynamic routing algorithms.

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.

Static routes are used in environments where network traffic is predictable and where the network design is simple. You should not use static routes in large, constantly changing networks because static routes cannot react to network changes. Most networks use dynamic routes to communicate between routers but might have one or two static routes configured for special cases. Static routes are also useful for specifying a gateway of last resort (a default router to which all unroutable packets are sent).


How to Setup Static Routes

Create a scenario as per the screenshot above and set TCP disable in all nodes. Run simulation for 10 seconds and open packet animation.


Static routing: 

Open Router A properties->Network_Layer. Click on configure Static Route IP and set the properties as per the screenshot below and click on Add.



For Router B


For Router C


For Router D


After configuring the router properties, run simulation for 10 seconds and observe packet animation. Packets will reach destination through Router A -> Router B -> Router C -> Router D.  If TCP is enabled, please ensure to set the reverse path.

By default, OSPF is enabled and the packets reach destination via Router E.