SlideShare a Scribd company logo
1 of 28
Version 3.1
Module 6
Routing & Routing
Protocols
Version 3.1
Routing
• The process that a router uses to forward packets
toward the destination network.
• A router makes this decision based on the destination
IP address
• If dynamic routing is used, routers have to learn
routes from other routers.
• If static routing is used, the administrator configures
this information into the router manually
o So, you might say that updates to a routing table
are made by the administrator.
Version 3.1
Configuring Static Routes
with Outgoing Interface
Administrative
distance of 1 -
default
Outgoing
interface
Version 3.1
Configuring Static Routes
with Next-hop IP Address
Administrative
distance of 1 -
default
Next hop
interface
Version 3.1
Configuring Static Routes
• An administrator actually enters static routes into the routing
table.
• That makes them static route entries – because the router is not
“discovering” those routes.
• If for some reason that outgoing interface goes down or is not
available for some reason, then at that time the route will be
removed from the routing table.
show ip route shows the routing table.
The route would still be in the configuration (because it was entered
globally), but that route could now no longer be used by the router
because the interface it refers to is down for some reason.
Version 3.1
Administrative Distance
• What is the default for a outgoing interface?
• What is the default for the next-hop address?
• Defaults can always be changed.
• Just make it higher if you want it to be a
“backup” route (lower numbers are preferred)
ip route 192.168.2.0 255.255.255.0 192.188.4.1 120
Version 3.1
Router A Router B Router C
S0
192.168.2.1/24
S1
192.168.2.2/24
S0
192.168.4.1/24
S1
192.168.4.2/24
192.168.1.0/24 192.168.3.0/24 192.168.5.0/24
What would you enter to configure a static route from
Router C to the LAN on Router A using outgoing
interface?
The LAN on Router B from Router A using next-hop?
Version 3.1
Static Default Routes
• A router should be configured with a special type of
static route – a default route.
• This default route routes packets with destinations
that do not match any of the other routes in the routing
table
• It is a “gateway of last resort” that allows the router
to forward “destination unknown” packets out a
particular interface
ip route 0.0.0.0 0.0.0.0 [next-hop-address | outgoing
interface]
Version 3.1
Default Route on non-directly connected
networks
Version 3.1
Verifying a Default Route
• To verify a default route, use the following
commands:
o show run to make sure you typed it in correctly
o show ip route to make sure the router placed it in
the routing table.
Version 3.1
Examine the show ip route Command
[Administrative distance / Hop count]
Version 3.1
Troubleshooting static route configuration
• Ping and traceroute should be used to test basic
connectivity.
• But before using ping and traceroute, it is a good
idea just to see if the physical interface is “up”.
• show interfaces
• show interface s0
• show interface s1
• show ip interface brief
Version 3.1
Routed VS. Routing
• Routed protocols
are protocols that are
routed over an
Internetwork (IP,
AppleTalk, IPX)
• Routing protocols
use algorithms to
route routed protocols
through the
Internetwork (RIP,
IGRP, OSPF)
• Routed protocols are used BETWEEN routers to direct traffic
• Routing protocols allow routers to share information about
known networks with other networks (their purpose)
Version 3.1
Routing Protocol and Autonomous
System
• An autonomous system (AS) is a collection of networks
under a common administration sharing a common routing
strategy.
• The goal of a routing protocol is to build and maintain the
routing table.
• A routers learns about routes to a network by:
o Gathering information from its own configuration
regarding directly connected networks.
o Other routers forward information about known
networks.
o Manually entered routes by a network administrator.
Version 3.1
Convergence
• When all routers in an Internetwork are operating with the
same knowledge, the Internetwork is said to have
converged.
• Fast convergence is desirable because it reduces the
period of time in which routers would continue to make
incorrect routing decisions.
• In routers that use dynamic routing protocols, it is
important to have fast convergence because routers could
make incorrect forwarding decisions until the network has
fully converged.
• A network has converged when the routers in the network
are operating with consistent routing knowledge.
Version 3.1
Router A Router B Router C
S0
S1
S0
S1
192.168.1.0/24 192.168.3.0/24 192.168.5.0/24
The routing table on these routers would be changed if
something happened to the links BETWEEN the routers (a serial
interface goes down for some reason). Anything that happens
to the Ethernet interfaces would not affect the routing tables.
Routing takes place between routers.
E0
E0 E0
Version 3.1
Distance Vector Routing
Neighbor to
neighbor
ONLY
Version 3.1
Distance Vector Routing
Version 3.1
Topology Changes (distance vector)
Routing table updates
take place when the
topology changes.
Router to router
(neighbor tells
neighbor)
Distance vector – each
router sends its entire
routing table to
neighbor table
Version 3.1
Link-state Routing
• Shortest Path First (SPF)
• Flood routing information about it’s OWN links
• Analyze incoming routing update messages
• If the message indicates that a network change has
occurred, the routing software recalculates routes and
sends out new routing update messages
• These messages permeate the network, stimulating
routers to rerun their algorithms and change their
routing tables accordingly.
• After the initial flood, it passes small event-triggered
updates to all other routers
Version 3.1
In Order to Converge, a Router in a Link-
State network must:
• Remember its neighbor’s name, when it’s link is up or down
(status), and the cost of the path to that router.
• Create an LSP (link-state packet) that lists its neighbor’s
name and relative costs.
• Send the newly created LSP to all other routers participating
in the link-state network.
• Receive LSPs from other routers and update its own
database. (Particularly when there are changes in the network)
• Build a complete map of the Internetwork’s topology from all
the LSPs received, then compute the best route to each
network destination.
Version 3.1
Link-State Concerns
• Processor overhead
• Memory requirements (use more router resources
initially when flooding info)
• Bandwidth Consumption on initial flood
All of these are considerations when selecting a
routing protocol to be used over an enterprise
network.
Version 3.1
The Routing Process
• The physical
address (MAC)
changes at each hop.
192.168.1.56
01-00-A5-C3-26-6B
192.168.1.56
34-7E-33-12-C9-20
192.168.1.56
6A-5F-0D-09-8B-AA
192.168.1.56
BC-48-03-8F-FF-AA
• The protocol
address (IP) always
remains the same.
Version 3.1
Routing Decisions
• The router uses the
network portion of the
address to choose the
best path
• Router “switches” the
packet to the best port
for forwarding using path
determination
Version 3.1
Configuring a Router to Route
1. Specify routing protocol
• Router(config)#router rip
• or
• Router(config)#router igrp 200
• Next, use the network command to tell the router which
networks are directly connected to it.
• Router(config-router)#network 192.10.10.0
• Router(config-router)#network 192.10.5.0
• Notice that these network numbers are major
networks, not subnets.
Version 3.1
Routing Protocols
• RIP
o Distance vector
o Uses hop count as its only metric (15)
o Broadcasts routing updates every 30 seconds
• IGRP
o Proprietary to Cisco, still a distance vector protocol
o Uses bandwidth, load, reliability, & delay as its metrics
o Broadcasts routing updates every 90 seconds
• EIGRP
o Cisco’s advanced distance vector interior routing protocol
o Uses some distance vector and some link-state principles
Version 3.1
Routing Protocols
• OSPF (initially advertisements are flooded)
o Link-state routing protocol
o Routing updates occur when there are topology changes
o All routers in a OSPF domain would then adjust their routes
• BGP
o A distance vector exterior routing protocol
o Routes traffic between 2 autonomous systems
Version 3.1
Border Gateway Protocol & Autonomous
Systems
Autonomous systems have an identifying number, which is assigned
to it by the American Registry of Internet Numbers (ARIN) or a
provider. This autonomous system number is a 16-bit number.

More Related Content

Similar to ccna2_mod6_Routing & Routing Protocols.pptx

Day 2 IP ROUTING
Day 2 IP ROUTINGDay 2 IP ROUTING
Day 2 IP ROUTINGanilinvns
 
ROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxAayushMishra89
 
2008118090324 hk
2008118090324 hk2008118090324 hk
2008118090324 hkVivek Singh
 
Lecture number 5 Theory.pdf(machine learning)
Lecture  number  5 Theory.pdf(machine learning)Lecture  number  5 Theory.pdf(machine learning)
Lecture number 5 Theory.pdf(machine learning)ZainabShahzad9
 
Routing Protocols.pptx
Routing Protocols.pptxRouting Protocols.pptx
Routing Protocols.pptxsazia7
 
Ccna 2 chapter 10 v4.0 answers 2011
Ccna 2 chapter 10 v4.0 answers 2011Ccna 2 chapter 10 v4.0 answers 2011
Ccna 2 chapter 10 v4.0 answers 2011Dân Chơi
 
Day 8 2 distance vector routing
Day 8 2 distance vector routingDay 8 2 distance vector routing
Day 8 2 distance vector routingCYBERINTELLIGENTS
 
Lesson.7: Configuring IP Routing A
Lesson.7: Configuring IP Routing ALesson.7: Configuring IP Routing A
Lesson.7: Configuring IP Routing AMahmmoud Mahdi
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layerNitesh Singh
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routingphanleson
 
All in one q & ans
All in one q & ansAll in one q & ans
All in one q & ansRavi Kodoli
 
Exploration Routing Chapter 4
Exploration Routing Chapter 4Exploration Routing Chapter 4
Exploration Routing Chapter 4thanh cong
 
Et3003 sem2-1314-9 network layers vi (routing protocols)
Et3003 sem2-1314-9 network layers vi (routing protocols)Et3003 sem2-1314-9 network layers vi (routing protocols)
Et3003 sem2-1314-9 network layers vi (routing protocols)Tutun Juhana
 
Distance Vector Routing
Distance Vector RoutingDistance Vector Routing
Distance Vector RoutingShouvikDhali
 

Similar to ccna2_mod6_Routing & Routing Protocols.pptx (20)

IP ROUTING
IP ROUTINGIP ROUTING
IP ROUTING
 
Day 2 IP ROUTING
Day 2 IP ROUTINGDay 2 IP ROUTING
Day 2 IP ROUTING
 
ROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptx
 
Chapter07
Chapter07Chapter07
Chapter07
 
2008118090324 hk
2008118090324 hk2008118090324 hk
2008118090324 hk
 
Lecture number 5 Theory.pdf(machine learning)
Lecture  number  5 Theory.pdf(machine learning)Lecture  number  5 Theory.pdf(machine learning)
Lecture number 5 Theory.pdf(machine learning)
 
routing
routingrouting
routing
 
Routing Protocols.pptx
Routing Protocols.pptxRouting Protocols.pptx
Routing Protocols.pptx
 
Ccna 2 chapter 10 v4.0 answers 2011
Ccna 2 chapter 10 v4.0 answers 2011Ccna 2 chapter 10 v4.0 answers 2011
Ccna 2 chapter 10 v4.0 answers 2011
 
Qs.pptx
Qs.pptxQs.pptx
Qs.pptx
 
Day 8 2 distance vector routing
Day 8 2 distance vector routingDay 8 2 distance vector routing
Day 8 2 distance vector routing
 
Lesson.7: Configuring IP Routing A
Lesson.7: Configuring IP Routing ALesson.7: Configuring IP Routing A
Lesson.7: Configuring IP Routing A
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
 
All in one q & ans
All in one q & ansAll in one q & ans
All in one q & ans
 
IP essentials
IP essentialsIP essentials
IP essentials
 
Exploration Routing Chapter 4
Exploration Routing Chapter 4Exploration Routing Chapter 4
Exploration Routing Chapter 4
 
Et3003 sem2-1314-9 network layers vi (routing protocols)
Et3003 sem2-1314-9 network layers vi (routing protocols)Et3003 sem2-1314-9 network layers vi (routing protocols)
Et3003 sem2-1314-9 network layers vi (routing protocols)
 
Distance Vector Routing
Distance Vector RoutingDistance Vector Routing
Distance Vector Routing
 
Routing algorithms
Routing algorithmsRouting algorithms
Routing algorithms
 

Recently uploaded

AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 

Recently uploaded (20)

AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 

ccna2_mod6_Routing & Routing Protocols.pptx

  • 1. Version 3.1 Module 6 Routing & Routing Protocols
  • 2. Version 3.1 Routing • The process that a router uses to forward packets toward the destination network. • A router makes this decision based on the destination IP address • If dynamic routing is used, routers have to learn routes from other routers. • If static routing is used, the administrator configures this information into the router manually o So, you might say that updates to a routing table are made by the administrator.
  • 3. Version 3.1 Configuring Static Routes with Outgoing Interface Administrative distance of 1 - default Outgoing interface
  • 4. Version 3.1 Configuring Static Routes with Next-hop IP Address Administrative distance of 1 - default Next hop interface
  • 5. Version 3.1 Configuring Static Routes • An administrator actually enters static routes into the routing table. • That makes them static route entries – because the router is not “discovering” those routes. • If for some reason that outgoing interface goes down or is not available for some reason, then at that time the route will be removed from the routing table. show ip route shows the routing table. The route would still be in the configuration (because it was entered globally), but that route could now no longer be used by the router because the interface it refers to is down for some reason.
  • 6. Version 3.1 Administrative Distance • What is the default for a outgoing interface? • What is the default for the next-hop address? • Defaults can always be changed. • Just make it higher if you want it to be a “backup” route (lower numbers are preferred) ip route 192.168.2.0 255.255.255.0 192.188.4.1 120
  • 7. Version 3.1 Router A Router B Router C S0 192.168.2.1/24 S1 192.168.2.2/24 S0 192.168.4.1/24 S1 192.168.4.2/24 192.168.1.0/24 192.168.3.0/24 192.168.5.0/24 What would you enter to configure a static route from Router C to the LAN on Router A using outgoing interface? The LAN on Router B from Router A using next-hop?
  • 8. Version 3.1 Static Default Routes • A router should be configured with a special type of static route – a default route. • This default route routes packets with destinations that do not match any of the other routes in the routing table • It is a “gateway of last resort” that allows the router to forward “destination unknown” packets out a particular interface ip route 0.0.0.0 0.0.0.0 [next-hop-address | outgoing interface]
  • 9. Version 3.1 Default Route on non-directly connected networks
  • 10. Version 3.1 Verifying a Default Route • To verify a default route, use the following commands: o show run to make sure you typed it in correctly o show ip route to make sure the router placed it in the routing table.
  • 11. Version 3.1 Examine the show ip route Command [Administrative distance / Hop count]
  • 12. Version 3.1 Troubleshooting static route configuration • Ping and traceroute should be used to test basic connectivity. • But before using ping and traceroute, it is a good idea just to see if the physical interface is “up”. • show interfaces • show interface s0 • show interface s1 • show ip interface brief
  • 13. Version 3.1 Routed VS. Routing • Routed protocols are protocols that are routed over an Internetwork (IP, AppleTalk, IPX) • Routing protocols use algorithms to route routed protocols through the Internetwork (RIP, IGRP, OSPF) • Routed protocols are used BETWEEN routers to direct traffic • Routing protocols allow routers to share information about known networks with other networks (their purpose)
  • 14. Version 3.1 Routing Protocol and Autonomous System • An autonomous system (AS) is a collection of networks under a common administration sharing a common routing strategy. • The goal of a routing protocol is to build and maintain the routing table. • A routers learns about routes to a network by: o Gathering information from its own configuration regarding directly connected networks. o Other routers forward information about known networks. o Manually entered routes by a network administrator.
  • 15. Version 3.1 Convergence • When all routers in an Internetwork are operating with the same knowledge, the Internetwork is said to have converged. • Fast convergence is desirable because it reduces the period of time in which routers would continue to make incorrect routing decisions. • In routers that use dynamic routing protocols, it is important to have fast convergence because routers could make incorrect forwarding decisions until the network has fully converged. • A network has converged when the routers in the network are operating with consistent routing knowledge.
  • 16. Version 3.1 Router A Router B Router C S0 S1 S0 S1 192.168.1.0/24 192.168.3.0/24 192.168.5.0/24 The routing table on these routers would be changed if something happened to the links BETWEEN the routers (a serial interface goes down for some reason). Anything that happens to the Ethernet interfaces would not affect the routing tables. Routing takes place between routers. E0 E0 E0
  • 17. Version 3.1 Distance Vector Routing Neighbor to neighbor ONLY
  • 19. Version 3.1 Topology Changes (distance vector) Routing table updates take place when the topology changes. Router to router (neighbor tells neighbor) Distance vector – each router sends its entire routing table to neighbor table
  • 20. Version 3.1 Link-state Routing • Shortest Path First (SPF) • Flood routing information about it’s OWN links • Analyze incoming routing update messages • If the message indicates that a network change has occurred, the routing software recalculates routes and sends out new routing update messages • These messages permeate the network, stimulating routers to rerun their algorithms and change their routing tables accordingly. • After the initial flood, it passes small event-triggered updates to all other routers
  • 21. Version 3.1 In Order to Converge, a Router in a Link- State network must: • Remember its neighbor’s name, when it’s link is up or down (status), and the cost of the path to that router. • Create an LSP (link-state packet) that lists its neighbor’s name and relative costs. • Send the newly created LSP to all other routers participating in the link-state network. • Receive LSPs from other routers and update its own database. (Particularly when there are changes in the network) • Build a complete map of the Internetwork’s topology from all the LSPs received, then compute the best route to each network destination.
  • 22. Version 3.1 Link-State Concerns • Processor overhead • Memory requirements (use more router resources initially when flooding info) • Bandwidth Consumption on initial flood All of these are considerations when selecting a routing protocol to be used over an enterprise network.
  • 23. Version 3.1 The Routing Process • The physical address (MAC) changes at each hop. 192.168.1.56 01-00-A5-C3-26-6B 192.168.1.56 34-7E-33-12-C9-20 192.168.1.56 6A-5F-0D-09-8B-AA 192.168.1.56 BC-48-03-8F-FF-AA • The protocol address (IP) always remains the same.
  • 24. Version 3.1 Routing Decisions • The router uses the network portion of the address to choose the best path • Router “switches” the packet to the best port for forwarding using path determination
  • 25. Version 3.1 Configuring a Router to Route 1. Specify routing protocol • Router(config)#router rip • or • Router(config)#router igrp 200 • Next, use the network command to tell the router which networks are directly connected to it. • Router(config-router)#network 192.10.10.0 • Router(config-router)#network 192.10.5.0 • Notice that these network numbers are major networks, not subnets.
  • 26. Version 3.1 Routing Protocols • RIP o Distance vector o Uses hop count as its only metric (15) o Broadcasts routing updates every 30 seconds • IGRP o Proprietary to Cisco, still a distance vector protocol o Uses bandwidth, load, reliability, & delay as its metrics o Broadcasts routing updates every 90 seconds • EIGRP o Cisco’s advanced distance vector interior routing protocol o Uses some distance vector and some link-state principles
  • 27. Version 3.1 Routing Protocols • OSPF (initially advertisements are flooded) o Link-state routing protocol o Routing updates occur when there are topology changes o All routers in a OSPF domain would then adjust their routes • BGP o A distance vector exterior routing protocol o Routes traffic between 2 autonomous systems
  • 28. Version 3.1 Border Gateway Protocol & Autonomous Systems Autonomous systems have an identifying number, which is assigned to it by the American Registry of Internet Numbers (ARIN) or a provider. This autonomous system number is a 16-bit number.