Static vs Dynamics Routing
Routing is the process of creating a route for data packets. This means selecting a path along which data will be transferred from source to destination. Computer networks consist of two major components:
Nodes: these are the machines being used within the network
Paths or links: these connect nodes to each other
Two types of routing are based on how a router creates its routing tables. A router is a networking device that connects computing devices and networks to other networks. A routing table is a data table stored in a router that lists routes to particular network destinations:
Static Routing
Network administrators manually add routes to the routing table.
Dynamic Routing
Routing tables are created and updated by routers at runtime based on existing network conditions.
| Static Routing | Dynamic Routing |
---|---|---|
Routing Protocol | No protocol | Distance vector protocoles (RIP, IGRP,…) |
Routing Table entries | Network admin has to manually configure the route and make the entry | router use a protocol that was assigned by the network admin and route for data packets is automatically decided |
Network Size | small nework | large network |
Link Failure | failure affects the whole network | does not affect the whole network |
Security | security is high | security if less because it shares complete routing tables accross the network |
Changes in Routes | routes not change automatically | routes change according to the changes in the network |