SlideShare a Scribd company logo
1 of 23
IP Routing
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
– So, you might say that updates to a routing table
are made by the administrator.
Configuring Static Routes
with Outgoing Interface
Administrative
distance of 1 -
default
Outgoing
interface
Configuring Static Routes
with Next-hop IP Address
Administrative
distance of 1 -
default
Next hop
interface
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.
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
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?
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]
Default Route on non-directly connected
networks
Verifying a Default Route
• To verify a default route, use the following
commands:
– show run to make sure you typed it in correctly
– show ip route to make sure the router placed it
in the routing table.
Examine the show ip route Command
[Administrative distance / Hop count]
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
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)
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:
– Gathering information from its own configuration
regarding directly connected networks.
– Other routers forward information about known
networks.
– Manually entered routes by a network administrator.
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.
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
Distance Vector Routing
Neighbor to
neighbor
ONLY
Distance Vector Routing
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
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
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.
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.
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

More Related Content

What's hot

Routing ppt
Routing pptRouting ppt
Routing pptArpiSaxena1
 
Day 8 1 introducing routing n
Day 8 1 introducing routing nDay 8 1 introducing routing n
Day 8 1 introducing routing nCYBERINTELLIGENTS
 
Routing Techniques
Routing TechniquesRouting Techniques
Routing TechniquesNishant Munjal
 
Routing table
Routing tableRouting table
Routing tableobadahamdan
 
Lan switching technologies
Lan switching technologiesLan switching technologies
Lan switching technologiesMohammedseleim
 
BASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKSBASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKSKABILESH RAMAR
 
Lan Switching[1]
Lan Switching[1]Lan Switching[1]
Lan Switching[1]sarvodaya2001
 
11 routing
11 routing11 routing
11 routingshefali84
 
2008118090324 hk
2008118090324 hk2008118090324 hk
2008118090324 hkVivek Singh
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithmBasit Hussain
 
Networkdevices by Jetarvind kumar madhukar
Networkdevices by Jetarvind kumar madhukarNetworkdevices by Jetarvind kumar madhukar
Networkdevices by Jetarvind kumar madhukarALLCAD Services Pvt Limited
 
Routing algorithms
Routing algorithmsRouting algorithms
Routing algorithmsMoctardOLOULADE
 
Day 8 1 introducing routing
Day 8 1 introducing routingDay 8 1 introducing routing
Day 8 1 introducing routingCYBERINTELLIGENTS
 
M4 san features-4.3.1
M4 san features-4.3.1M4 san features-4.3.1
M4 san features-4.3.1MrudulaJoshi10
 

What's hot (20)

Routing ppt
Routing pptRouting ppt
Routing ppt
 
Day 8 1 introducing routing n
Day 8 1 introducing routing nDay 8 1 introducing routing n
Day 8 1 introducing routing n
 
routing
 routing routing
routing
 
Routing
RoutingRouting
Routing
 
Day 10 rip (2)
Day 10 rip (2)Day 10 rip (2)
Day 10 rip (2)
 
Routing Techniques
Routing TechniquesRouting Techniques
Routing Techniques
 
Routing table
Routing tableRouting table
Routing table
 
Lan switching technologies
Lan switching technologiesLan switching technologies
Lan switching technologies
 
BASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKSBASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKS
 
Lan Switching[1]
Lan Switching[1]Lan Switching[1]
Lan Switching[1]
 
11 routing
11 routing11 routing
11 routing
 
2008118090324 hk
2008118090324 hk2008118090324 hk
2008118090324 hk
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithm
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
Networkdevices by Jetarvind kumar madhukar
Networkdevices by Jetarvind kumar madhukarNetworkdevices by Jetarvind kumar madhukar
Networkdevices by Jetarvind kumar madhukar
 
Routing algorithms
Routing algorithmsRouting algorithms
Routing algorithms
 
Day 8 1 introducing routing
Day 8 1 introducing routingDay 8 1 introducing routing
Day 8 1 introducing routing
 
M4 san features-4.3.1
M4 san features-4.3.1M4 san features-4.3.1
M4 san features-4.3.1
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Hdlc
HdlcHdlc
Hdlc
 

Viewers also liked

Lecture 11 14. Adhoc routing protocols cont..
Lecture 11 14. Adhoc  routing protocols cont..Lecture 11 14. Adhoc  routing protocols cont..
Lecture 11 14. Adhoc routing protocols cont..Chandra Meena
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routingphanleson
 
Mobile ad hoc network
Mobile ad hoc networkMobile ad hoc network
Mobile ad hoc networkskobu
 
Lecture 5 6 .ad hoc network
Lecture 5 6 .ad hoc networkLecture 5 6 .ad hoc network
Lecture 5 6 .ad hoc networkChandra Meena
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configurationyasir1122
 
Mobile Ad hoc Networks
Mobile Ad hoc NetworksMobile Ad hoc Networks
Mobile Ad hoc NetworksJagdeep Singh
 

Viewers also liked (17)

Routing
RoutingRouting
Routing
 
Lecture22
Lecture22Lecture22
Lecture22
 
Ad hoc Networks
Ad hoc NetworksAd hoc Networks
Ad hoc Networks
 
Unit 7
Unit 7Unit 7
Unit 7
 
Lecture 11 14. Adhoc routing protocols cont..
Lecture 11 14. Adhoc  routing protocols cont..Lecture 11 14. Adhoc  routing protocols cont..
Lecture 11 14. Adhoc routing protocols cont..
 
Ad-HOc presentation
Ad-HOc presentationAd-HOc presentation
Ad-HOc presentation
 
Ad hoc networks
Ad hoc networksAd hoc networks
Ad hoc networks
 
MANET
MANETMANET
MANET
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
 
Mobile ad hoc network
Mobile ad hoc networkMobile ad hoc network
Mobile ad hoc network
 
Lecture 5 6 .ad hoc network
Lecture 5 6 .ad hoc networkLecture 5 6 .ad hoc network
Lecture 5 6 .ad hoc network
 
Routing
RoutingRouting
Routing
 
Presentation on router
Presentation on routerPresentation on router
Presentation on router
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 
Ad-Hoc Networks
Ad-Hoc NetworksAd-Hoc Networks
Ad-Hoc Networks
 
Mobile Ad hoc Networks
Mobile Ad hoc NetworksMobile Ad hoc Networks
Mobile Ad hoc Networks
 
Manet
ManetManet
Manet
 

Similar to Day 9 routing

ccna2_mod6_Routing & Routing Protocols.pptx
ccna2_mod6_Routing & Routing Protocols.pptxccna2_mod6_Routing & Routing Protocols.pptx
ccna2_mod6_Routing & Routing Protocols.pptxsumankumar770546
 
Day 10 loops+ rip+ igrp
Day 10 loops+  rip+ igrpDay 10 loops+  rip+ igrp
Day 10 loops+ rip+ igrpCYBERINTELLIGENTS
 
IP ROUTING
IP ROUTINGIP ROUTING
IP ROUTINGanilinvns
 
Day 2 IP ROUTING
Day 2 IP ROUTINGDay 2 IP ROUTING
Day 2 IP ROUTINGanilinvns
 
routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)Shanza Sohail
 
15 coms 525 tcpip - border gateway protocols
15    coms 525 tcpip - border gateway protocols15    coms 525 tcpip - border gateway protocols
15 coms 525 tcpip - border gateway protocolsPalanivel Kuppusamy
 
ROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxAayushMishra89
 
Tcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptxTcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptxVINAYTANWAR18
 
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
 
Module 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptModule 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptanushaj46
 
Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Mugabo4
 
CCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptx
CCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptxCCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptx
CCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptxManishkumarSharma338257
 
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.pptx
Routing Protocols.pptxRouting Protocols.pptx
Routing Protocols.pptxsazia7
 
routing
routingrouting
routingtumetr1
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layerNitesh Singh
 

Similar to Day 9 routing (20)

ccna2_mod6_Routing & Routing Protocols.pptx
ccna2_mod6_Routing & Routing Protocols.pptxccna2_mod6_Routing & Routing Protocols.pptx
ccna2_mod6_Routing & Routing Protocols.pptx
 
computer communications
computer communicationscomputer communications
computer communications
 
Day 10 rip
Day 10 ripDay 10 rip
Day 10 rip
 
Day 10 loops+ rip+ igrp
Day 10 loops+  rip+ igrpDay 10 loops+  rip+ igrp
Day 10 loops+ rip+ igrp
 
IP ROUTING
IP ROUTINGIP ROUTING
IP ROUTING
 
Day 2 IP ROUTING
Day 2 IP ROUTINGDay 2 IP ROUTING
Day 2 IP ROUTING
 
Chapter07
Chapter07Chapter07
Chapter07
 
routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)
 
15 coms 525 tcpip - border gateway protocols
15    coms 525 tcpip - border gateway protocols15    coms 525 tcpip - border gateway protocols
15 coms 525 tcpip - border gateway protocols
 
ROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptx
 
Tcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptxTcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptx
 
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)
 
IP essentials
IP essentialsIP essentials
IP essentials
 
Module 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptModule 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 ppt
 
Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1Routing algorithms mehodology materials doc1
Routing algorithms mehodology materials doc1
 
CCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptx
CCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptxCCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptx
CCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptx
 
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.pptx
Routing Protocols.pptxRouting Protocols.pptx
Routing Protocols.pptx
 
routing
routingrouting
routing
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
 

More from CYBERINTELLIGENTS (20)

Wide area networks
Wide area networksWide area networks
Wide area networks
 
Switching
SwitchingSwitching
Switching
 
Switching
SwitchingSwitching
Switching
 
Stp premdeep gill-lu045310-14aug12
Stp premdeep gill-lu045310-14aug12Stp premdeep gill-lu045310-14aug12
Stp premdeep gill-lu045310-14aug12
 
Stp premdeep gill-lu045310-14aug12
Stp premdeep gill-lu045310-14aug12Stp premdeep gill-lu045310-14aug12
Stp premdeep gill-lu045310-14aug12
 
Routerfundaments gurwinder
Routerfundaments gurwinderRouterfundaments gurwinder
Routerfundaments gurwinder
 
Rip 1 rip 2
Rip 1 rip 2Rip 1 rip 2
Rip 1 rip 2
 
Ospf new
Ospf newOspf new
Ospf new
 
Nat pat
Nat patNat pat
Nat pat
 
Nat config
Nat configNat config
Nat config
 
Ipv6^ new
Ipv6^ newIpv6^ new
Ipv6^ new
 
Ip addressing...
Ip addressing... Ip addressing...
Ip addressing...
 
Ip address
Ip address Ip address
Ip address
 
Igrp
IgrpIgrp
Igrp
 
Frame relay
Frame  relayFrame  relay
Frame relay
 
Eigrp new
Eigrp newEigrp new
Eigrp new
 
Day 25 cisco ios router configuration
Day 25 cisco ios router configurationDay 25 cisco ios router configuration
Day 25 cisco ios router configuration
 
Day 22 _ ppp
Day 22  _ ppp Day 22  _ ppp
Day 22 _ ppp
 
Day 20.i pv6 lab
Day 20.i pv6 labDay 20.i pv6 lab
Day 20.i pv6 lab
 
Day 20.3 frame relay
Day 20.3 frame relay Day 20.3 frame relay
Day 20.3 frame relay
 

Recently uploaded

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 đź’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 đź’ž Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 đź’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 đź’ž Full Nigh...Pooja Nehwal
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 

Recently uploaded (20)

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 đź’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 đź’ž Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 đź’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 đź’ž Full Nigh...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 

Day 9 routing

  • 2. 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 – So, you might say that updates to a routing table are made by the administrator.
  • 3. Configuring Static Routes with Outgoing Interface Administrative distance of 1 - default Outgoing interface
  • 4. Configuring Static Routes with Next-hop IP Address Administrative distance of 1 - default Next hop interface
  • 5. 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. 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. 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. 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. Default Route on non-directly connected networks
  • 10. Verifying a Default Route • To verify a default route, use the following commands: – show run to make sure you typed it in correctly – show ip route to make sure the router placed it in the routing table.
  • 11. Examine the show ip route Command [Administrative distance / Hop count]
  • 12. 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. 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. 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: – Gathering information from its own configuration regarding directly connected networks. – Other routers forward information about known networks. – Manually entered routes by a network administrator.
  • 15. 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. 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
  • 19. 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. 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. 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. 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. 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