of 43
8/17/2019 Discovery 2_ Chapter 6 2012
1/43
Fundamentals of NetworkingDiscovery 2, Chapter 6
Routing
8/17/2019 Discovery 2_ Chapter 6 2012
2/43
O!ectives
• Descrie the purpose and function ofdynamic routing"
• Con#gure R$%v2 dynamic routing"
• Descrie the use of e&terior routingprotocols across the $nternet"
• 'nale ()% on a customer router"
8/17/2019 Discovery 2_ Chapter 6 2012
3/43
(asics
• Routers can e used to reak networksmaller▫ *unet
• +o go from router to router▫ Routing tale
▫
Finds route to other networks▫ *tatically set
▫ Dynamically learned
8/17/2019 Discovery 2_ Chapter 6 2012
4/43
+he Routing +ale
• Router looks at destination $% *-▫ .NDing the destination $% *-
Result is a network /
0ooks in tale for the match forwards it outthat interface
No match1 default route, if set
• Routing +ale has list of networks paths
8/17/2019 Discovery 2_ Chapter 6 2012
5/43
+he Routing +ale
8/17/2019 Discovery 2_ Chapter 6 2012
6/43
Static
Routes
8/17/2019 Discovery 2_ Chapter 6 2012
7/43
8/17/2019 Discovery 2_ Chapter 6 2012
8/43
Dynamic
Routes
Distance Vector
8/17/2019 Discovery 2_ Chapter 6 2012
9/43
8/17/2019 Discovery 2_ Chapter 6 2012
10/43
Distance :ector Routing• %asses updates every so often to
connected neighors•
Distance Direction▫ -etric 3hops, speed, reliaility, etc4
8/17/2019 Discovery 2_ Chapter 6 2012
11/43
Distance :ector Routing 0a• $nterface that leads to the connected network has a
distance 3metric4 of 7
• Neighors update each other add on how far away it is
Star is 0
away
Star is 1
away
Star is 2
away
Star is 2
away
8/17/2019 Discovery 2_ Chapter 6 2012
12/43
%ractice
• 6""2";▫ .ctivity for Routing +ale
• 6""2"8 0a▫ Create a topology ased on Routing +ale
8/17/2019 Discovery 2_ Chapter 6 2012
13/43
RIP:
Distance Vector
8/17/2019 Discovery 2_ Chapter 6 2012
14/43
R$%< Routing $nformation %rotocol• D:
• -etric is =ops▫
Only8 -a&> 6 is unreachale (D)• ?pdates every @7 seconds y default
▫ *ends entire routing tale (D)
▫ $f change, update sent immediately 3triggered4
▫ *low to converge whole network (D)
• .dministrative Distance is 27
8/17/2019 Discovery 2_ Chapter 6 2012
15/43
R$%
• R$%v▫ DoesnAt send sunet mask in updates
▫ Classfull sunetting
• R$%v2▫ Classless sunetting
8/17/2019 Discovery 2_ Chapter 6 2012
16/43
8/17/2019 Discovery 2_ Chapter 6 2012
17/43
EIGRP:Distance Vector
8/17/2019 Discovery 2_ Chapter 6 2012
18/43
'$)R%• 'nhanced $nterior )ateway Routing %rotocol
▫ Cisco proprietary D: 3mi& 0* D:4
▫ .D of 57
▫ -any metrics 3andwidth, delay, load,reliaility4
▫ ?p to 22; hops
▫ Routing +ale, Neighor +ale, +opology +ale
▫ ?pdates on start of router only when achange happens
▫
:0*- *upport
8/17/2019 Discovery 2_ Chapter 6 2012
19/43
'$)R% +ales• Neighor +ale
▫ =as info aout neighor direct connect routers
• +opology +ale▫ (uilt from advertisements of its neighors
▫ Contains .00 routes advertised y neighor routers
▫ D?.0 calculates the shortest path to a destination
and installs it into the routing tale▫ $s ale to #nd the est alternate path Buickly when
a network change occurs
▫ $f no alternate route e&ists it asks its neighors to#nd a new path to the destination
8/17/2019 Discovery 2_ Chapter 6 2012
20/43
Dynamic
Routes
Link State
8/17/2019 Discovery 2_ Chapter 6 2012
21/43
0ink *tate Routing• nows routes further away
• 0*.
• +opological dataase▫ $nfo from 0*.s
• *%F▫
'ach change causes new calc dataaseupdate
▫ -ap of network from point of view of therouter
▫ $nfo in tree is used to uild the routing tale
8/17/2019 Discovery 2_ Chapter 6 2012
22/43
O*%F•
.D of 7• -etric is cost• ?ses *%F• *ends updates only when the topology
changes▫ Does not send periodic updates of the entire
routing tale• Fast convergence
• *upports :0*-• %rovides route authentication
8/17/2019 Discovery 2_ Chapter 6 2012
23/43
9hich to ?se
8/17/2019 Discovery 2_ Chapter 6 2012
24/43
D: vs" 0ink *tate
8/17/2019 Discovery 2_ Chapter 6 2012
25/43
*ummary of Routing %rotocols
Protocol DV or L !D "etric #eatures
R$P %1 DV 12& 'o(s15 ho(s)a*
R$P %2 DV 12& 'o(s15 )a*+
VL"
,$-RPDV'/brid 0&
andwidth
Load Dela/Reliabilit/
3isco’s+
VL"
4P# L 11& 3ost
"ulti%endor+
VL"
8/17/2019 Discovery 2_ Chapter 6 2012
26/43
Routing• -ay e multiple routes to same path
▫ ?se .D 3metrics4 to pick est path
▫ 0owest .D is est
8/17/2019 Discovery 2_ Chapter 6 2012
27/43
Configuring RIP
8/17/2019 Discovery 2_ Chapter 6 2012
28/43
Con#gure R$%• Router3con#g4/router rip• Router 3con#g
8/17/2019 Discovery 2_ Chapter 6 2012
29/43
:erifying R$%• %ing
• *how ip route
•
*how ip protocols• Deug ip rip
• PT 6.1.5.
• Lab 6.1.5.
8/17/2019 Discovery 2_ Chapter 6 2012
30/43
Show ip protocols output
8/17/2019 Discovery 2_ Chapter 6 2012
31/43
Show ip route output
Administratie Distance!metric" #ower AD to a networ$%more trustwort&y route
8/17/2019 Discovery 2_ Chapter 6 2012
32/43
%rolems with R$%
8/17/2019 Discovery 2_ Chapter 6 2012
33/43
E'terior RoutingProtoco#s
8/17/2019 Discovery 2_ Chapter 6 2012
34/43
.utonomous *ystems• . set of networks under one
administration▫ .n $*% its customers
▫ =as one routing policy in the .*
▫ 'ach has uniBue .*/ 0arge usinesses register their own .*
8/17/2019 Discovery 2_ Chapter 6 2012
35/43
.ctivity
8/17/2019 Discovery 2_ Chapter 6 2012
36/43
Routing (etween .*• $)% runs within your network etween
your routers▫ R$%, '$)R%, O*%F
• ')% runs etween diEerent .*▫ -ost common is ()%
▫
Runs on order gateway routers +he router at the end of an .*
▫ Finds the est path etween .*
8/17/2019 Discovery 2_ Chapter 6 2012
37/43
.*< 0ink
http://bgp.potaroo.net/cidr/autnums.htmlhttp://bgp.potaroo.net/cidr/autnums.html
8/17/2019 Discovery 2_ Chapter 6 2012
38/43
Routing .cross $nternet
8/17/2019 Discovery 2_ Chapter 6 2012
39/43
=elp from the $*%• eep the $nternet connection availale
• $*% provides ackup routes routers
• $*% advertises routes to other .*▫
$f route fails, sends an update with a ackuproute
8/17/2019 Discovery 2_ Chapter 6 2012
40/43
$*% =andling of +rac< 0ink• 0ocal trac
▫ *tays within the .*
• +ransit trac▫ Outside of .* to go inGthrough .*
▫ 0ike detouring trac from Rt"88 onto +anyard Rd" Could cause overHow of trac
CanAt handle that much
.* may or may not allow this trac
http://logbud.com/visual_tracehttp://logbud.com/visual_trace
8/17/2019 Discovery 2_ Chapter 6 2012
41/43
8/17/2019 Discovery 2_ Chapter 6 2012
42/43
Review< @ Iuestions
8/17/2019 Discovery 2_ Chapter 6 2012
43/43
Fundamentals of NetworkingDiscovery 2, Chapter 6
Routing