Understanding
Static Routing
A Fundamental Concept in Computer Networking
Godfrey M. Raut
What is Routing?
• 🔹 The process of forwarding packets from one network to another.
What is Static Routing?
• 🔹 A manually configured route that does not change unless modified
by an administrator.
Dynamic vs. Static Routing
Feature Static Routing Dynamic Routing
Configuration Manually configured Learned automatically
Suitable for small
Scalability Best for large networks
networks
Low CPU/memory
Overhead Higher resource usage
usage
Cannot adapt to Adapts to network
Adaptability
changes changes
How Static Routing Works
Administrator manually enters routes in the router’s routing table.
•The router forwards packets based on these predefined routes.
•Example:
•ip route [Link] [Link] [Link]
Advantages of Static Routing
• Simple and easy to configure.
• No additional CPU or memory overhead.
• Provides predictable network behavior.
• More secure since routes are manually set.
Configuring Static Routes
• Router(config)# ip route <destination_network> <subnet_mask> <next_hop_ip>
• Router(config)# ip route [Link] [Link] [Link]
Practical Scenario
Scenario:
• Network A ([Link]/24) and Network B ([Link]/24) are connected via a
router.
• Router needs a static route to send traffic from A to B.
Diagram
Router_A Config
• Router_A(config)# ip route [Link] [Link] [Link]
Router_B Config
• Router_B(config)# ip route [Link] [Link] [Link]
Verifying Static Routes
• Router# show ip route
• Router# show running-config
Expected Output: Static routes listed with an "S" in the routing table.
Summary
Static routing is manually configured and does not change dynamically.
It is best for small, stable networks.
Requires administrative effort but provides security and control.