Static Routes and Dynamic Routes
Differences Between Static Routes and Dynamic Routes
- Direct routes: are discovered by link layer protocols.
- Static routes: are manually configured by network administrators.
- Dynamic routes: are discovered by dynamic routing protocols.
Static routes are easy to configure, have low system requirements, and apply to simple, stable, and small networks. The disadvantage of static routes is that they require subsequent maintenance as they cannot automatically adapt to network topology changes.
Dynamic routing protocols have routing algorithms. Therefore dynamic routes can automatically adapt to network topology changes and apply to networks on which Layer 3 devices are deployed. The disadvantages of dynamic routes are that they are complex to configure, have higher system requirements than static ones, and consume network and system resources.
Classification of Dynamic Routing Protocols
Dynamic routing protocols are classified into types based on the following two criteria.
According to the application range, dynamic routing protocols are classified into the following types:
Interior Gateway Protocols (IGPs)
Run inside an autonomous system (AS), including RIP, OSPF, and IS-IS.
Exterior Gateway Protocols (EGPs)
Run between ASs, including BGP.
According to the type of algorithm they use, dynamic routing protocols are classified into the following types:
Distance-vector routing protocols
Include RIP and BGP. BGP is also called a path-vector protocol.
Link-state routing protocols
Include OSPF and IS-IS.
The preceding algorithms differ mainly in route discovery and calculation methods.