Slides Set 4
Slides Set 4
DYNAMIC
STATIC
DEFAULT
Distance Vector vs. Link State Routing Protocol
Distance Vector Routing protocols determine the best path to a given destination based on distance. The distance metric is
usually measured in hops. Directly connected neighbors receive the entire routing table sent by distance vector protocols.
RIP (Routing Information Protocol) and IGRP (Internal Gateway Routing Protocol) are two examples of distance vector
protocols. Issue Count to Infinity Problem
Link state determine the best path based on Speed or Cost. Shortest-path-first protocols are another name for Link State
protocols. Protocols that use link state routing have a complete picture of the network topology. As a result, they have a
better understanding of the entire network than any distance vector protocol. All routers in the network receive information
about directly connected links via link state protocols. OSPF (Open Shortest Path First) and IS-IS (Intermediate System to
Intermediate System) are two examples of Link State Routing Protocols. No Count to infinity issue
Routing
Routing refers to taking the packet from one device and sending it
through the network to another device on a different network
Dynamic Routing
A protocol running on 1st router communicate with the same protocol on 2nd
router to complete their routing table.
Static Routing
Route is manually defined by Administrator
Default Routing
All traffic is send to selected route defined by Administrator
Dynamic Routing
RIP (DISTANCE VECTOR ROUTING)
OSPF (LINK STATE ROUTING)
Dynamic Routing
RIP
We run Routing Protocol on both router and they will send their routes to other
router, to converge the network
router rip
network x
Running Routing Protocol
Verification
Static Routing
Static Routing
Configuration
R1> enable
R1# conf t
R1(config)# ip route 30.0.0.0 255.0.0.0 20.0.0.2
Configuration
R2> enable
R2# conf t
R2(config)# ip route 10.0.0.0 255.0.0.0 20.0.0.1
Default Routing
Default Routing
Configuration
R1> enable
R1# conf t
R1(config)# ip route 0.0.0.0 0.0.0.0 20.0.0.2
Configuration
R2> enable
R2# conf t
R2(config)# ip route 0.0.0.0 0.0.0.0 20.0.0.1