Thursday, February 25, 2016

Static vs Dynamic Routing

In static routing, network administrator manually enters entries to the routing tables. But in dynamic routing, network administrator does not have to enter any entries as the entries are auto generated.

• For static routing, the action is to just do a lookup on a table and hence does not need any processing making the hardware less costly. But, dynamic routing algorithms involves a lot of calculations. Hence, it requires much processing capabilities. As a result, the hardware would be costly. 

 In dynamic routing, routing entries are generated using complex routing algorithms. In static routing, no such algorithms are involved.

• In static routing, routers do not advertize or broadcast any information about the links to other routers. But, in dynamic routing, tables are generated using such information advertised by routers.

In static Routing need to set destination network in routing table with gateway.
 



   Router configuration( Static Routing):
   
   R1
   ******
   #configure terminal
   #ip route 192.168.3.0 255.255.255.0 192.168.2.2

   R2
   ******
   #configure terminal
   #ip route 192.168.1.0 255.255.255.0 192.168.2.1

   Router configuration( Dynamic Routing RIP):
   R1
   ******
   #configure terminal
   #router rip
   #version 2
   #network 192.168.1.0   
   #network 192.168.2.0

   R2
   ******
   #configure terminal
   #router rip
   #version 2
   #network 192.168.3.0
   #network 192.168.2.0

In Dynamic Routing We just entry the connected network to share with other router.


In Dynamic Routing no need to set destination network in routing table. Dynamic Routing Protocols
help the network administrator manage the time-consuming and exacting process of configuring and
maintaining static routes.



1 comment: