Dynamic Routing
-routing is done
by protocol
Distance vector
routing:
Protocol used in DVR is routing information protocol.it
has two versions
-RIP version 1
-Rip version 2
RIP version 1:
It is a classfull routing
protocol that is support only FLSM and does not support VLSM.
Belmanford algorithm is used in RIP version 1.
If we are using rip version 1 updates are broadcasted one to all.Broadcasting Id is the universal
broadcast ID 255.255.255.255. Maximum hop count is 15.
Metric:
It means the best part to
reach from source to destination.Metric of a RIP is hop count.
RIP Version 2:
RIP version 2 is a
classless Routing protocol and it
support VLSM.maximum RIP version hop count is 15.AD value is 120 and updates
are multicasted.multicast range of RIP version IP is 224.0.0.9
Configuration of RIP version 1:
Router(config)# router rip
-press enter
Router(config-router)# network
<network id>
Router(config-router)# exit
Configuration of RIP version 2:
Router(config)# router rip
Router(config-router)# version 2
Router(config-router)# network <network id>
Router(config-router)# exit
Network id we have to give directly connected networks in a router,which
we configure.
Configuration of this
scenario:
Router1(config)# router rip
Router(config-router)# network
192.168.10.0
Router(config-router)# network 10.0.0.0
Router(config-router)# exit.
Router2(config)# router rip
Router2(config-router)# network 192.168.10.0
Router2(config-router)# network 20.0.0.0
Router(config-router)#exit.
No comments:
Post a Comment