静态路由和动态路由都是路由的类型。
静态路由:
静态路由也称为非自适应路由,它不会更改路由表,除非网络管理员手动更改或修改它们。静态路由不使用复杂的路由算法,它提供比动态路由更高或更高的安全性。
动态路由:
动态路由也称为自适应路由,它根据拓扑的变化改变路由表。动态路由使用复杂的路由算法,它不像静态路由那样提供高安全性。当网络发生变化(拓扑)时,它会向路由器发送消息以确保发生变化,然后重新计算路由以发送更新的路由信息。
静态路由和动态路由的区别:
S.NO | Static Routing | Dynamic Routing |
---|---|---|
1. | In static routing routes are user defined. | In dynamic routing, routes are updated according to topology. |
2. | Static routing does not use complex routing algorithms. | Dynamic routing uses complex routing algorithms. |
3. | Static routing provides high or more security. | Dynamic routing provides less security. |
4. | Static routing is manual. | Dynamic routing is automated. |
5. | Static routing is implemented in small networks. | Dynamic routing is implemented in large networks. |
6. | In static routing, additional resources are not required. | In dynamic routing, additional resources are required. |
7. | In static routing, failure of link disrupts the rerouting. | In dynamic routing, failure of link does not interrupt the rerouting. |