SlideShare a Scribd company logo
CCNA Guide to Cisco Networking Fundamentals  Chapter 7 Routing Protocols
Objectives Differentiate between nonroutable, routed, and routing protocols Define Interior Gateway Protocols, Exterior Gateway Protocols, distance-vector routing protocols, and link-state routing protocols Explain the concepts of count-to-infinity, split horizon, split horizon with poison reverse, and hold-down timers CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Objectives (continued) Describe, configure, and monitor the interior routing protocol RIP Explain static routing and administrative distance Configure static routing and default routes CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Nonroutable Protocols In the early days of networking, networks were small collections of computers linked together For the purposes of sharing information and expensive peripherals Early networks were sometimes configured as  peer-to-peer networks Computers communicate with and provide services to their “peers” All communication occurs on the same network segment CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Nonroutable Protocols (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Nonroutable Protocols (continued) Several  nonroutable protocols  exist in today’s networking world NetBEUI (NetBIOS Enhanced User Interface) The most common nonroutable protocol Ships with all Microsoft Windows operating systems NetBEUI cannot scale into large internetworks  Cannot hold Network layer information in its network header CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Routed Protocols Routed protocols Have packet headers that can contain Network layer addresses Developed to support networks consisting of multiple networks or subnetworks Protocols that can carry Network layer information Transmission Control Protocol/Internet Protocol (TCP/IP) Internetwork Packet Exchange/Sequenced Packet Exchange (IPX/SPX) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Routed Protocols (continued) For routed protocols to work on a network Every device must be configured with a unique IP or IPX address ( logical address ) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Routing Protocols Routing protocols Protocols used by routers to make path determination choices and to share those choices with other routers Hop count The number of routers a packet must pass through to reach a particular network Metric A value used to define the suitability of a particular route Routers use metrics to determine which routes are better than other routes CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Routing Protocols (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Routing Protocols (continued) Autonomous system (AS) Uses Interior Gateway Protocols as routing protocols A group of routers under the control of a single administration Interior Gateway Protocols (IGPs)  are Routing protocols used within an AS Exterior Gateway Protocols (EGPs) Routing protocols used to route information between multiple autonomous systems CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Routing Protocols (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Routing Protocols (continued) Examples of IGPs Routing Information Protocol (RIP) Interior Gateway Routing Protocol (IGRP) Enhanced Interior Gateway Routing Protocol (EIGRP) Open Shortest Path First (OSPF) Example of EGP Border Gateway Protocol (BGP) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Two Types of IGPs Distance-vector routing protocols Broadcast their entire routing table to each neighbor router at predetermined intervals The actual interval depends on the distance-vector routing protocol in use Varies between 30 and 90 seconds Sometimes referred to as  routing by rumor Suffer from slow time to  convergence A state where all routers on the internetwork share a common view of the internetwork routes CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Two Types of IGPs (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Two Types of IGPs (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Two Types of IGPs (continued) Distance-vector routing protocols (continued) Routing loops Often referred to as count-to-infinity problems Loops, without preventive measures, will cause packets to bounce around the internetwork infinitely Defining a maximum One of the easiest ways to limit count-to-infinity problems Split horizon  and  split horizon with poison reverse  Two other common ways to prevent routing loops when using distance-vector routing protocols CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Two Types of IGPs (continued) Distance-vector routing protocols (continued) Hold-down timer Another common technique used to stop routing loops Allow a router to place a route in a state where it will not accept any changes to that route Link-state routing protocols Use  link-state advertisements (LSAs)  to inform neighbor routers on the internetwork LSAs contain only the local links for the advertised router CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Two Types of IGPs (continued) Link-state routing protocols (continued) Shortest Path First (SPF) algorithm Uses the link information to compute the routes Router CPU resources are used instead of bandwidth Link-state packets (LSPs) Packets used to send out LSAs Allow every router in the internetwork to share a common view of the  topology  of the internetwork A link-state routing protocol  floods , or multicasts, LSPs to the network Later updates will be  triggered updates CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Two Types of IGPs (continued) Link-state routing protocols (continued) Routers using link-state protocols must be configured with more memory and processing power Than those using distance-vector routing protocols Link-state routing protocols such as OSPF are much more complicated to configure on the routers CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Two Types of IGPs (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Routing Information Protocol Routing Information Protocol (RIP) The easiest Interior Gateway Protocol to configure is RIPv1 A distance-vector routing protocol that broadcasts entire routing tables to neighbors every 30 seconds RIP uses hop count as its sole metric RIP has a maximum hop count of 15 As a result, RIP does not work in large internetworks RIP is capable of load balancing RIP is susceptible to all the problems normally associated with distance-vector routing protocols CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Enabling RIP Routing CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Enabling RIP Routing (continued) To start configuring RIP, you must: Enter privileged mode first Enter global configuration mode on your router Enable RIP with the  router rip  command CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Enabling RIP Routing (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Enabling RIP Routing (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Configuring RIP Routing for Each Major Network network  command Turns on RIP routing for a network An individual  network  command must be issued for each separate network directly connected to the router show ip route  command Displays a router’s routing table  Administrative distance A value used to determine the reliability of the information regarding a particular route Administrative distances range from 0–255 CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Configuring RIP Routing for Each Major Network (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Configuring RIP Routing for Each Major Network (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Show ip protocol  and  debug ip rip  Commands Commands used to monitor RIP A route is considered invalid if six consecutive update intervals pass without an update from that route Flush interval The time at which a route will be totally removed from the routing table if no updates are received debug ip rip  command Displays real-time rip updates being sent and received and places very high processing demands on your router, which could affect network performance CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Show ip protocol  and  debug ip rip  Commands (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Show ip protocol  and  debug ip rip  Commands (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Show ip protocol  and  debug ip rip  Commands (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Show ip protocol  and  debug ip rip  Commands (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Interior Gateway Routing Protocol IGRP is a proprietary distance-vector routing protocol Created by Cisco to solve some of the problems associated with RIP A larger hop-count metric allows IGRP to be used on larger networks IGRP supports a hop count of 255, although 100 is the default if hop count is configured to be used as a metric The  metric maximum-hops  command allows you to set the maximum hop count for IGRP CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Interior Gateway Routing Protocol (continued) The default metrics for IGRP are bandwidth and delay only Metrics that can be configured for IGRP Hops: number of routers between source and destination networks Load: the load on a link in the path Bandwidth: the speed of the link (default) Reliability: measures reliability with a scale of 0 to 255 Delay: the delay on the medium (default) MTU: the size of the datagram CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Static Routing Some networks are so small that using a routing protocol creates: Unnecessary traffic An inefficient use of router processor resources Stub routers Routers with only one route out Stub routers are usually the last router in a chain Stub networks Networks with one route to the Internet Static routes  are configured by a network administrator using the  ip route  command CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Adding Static Routes CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Adding Static Routes (continued) Syntax for the  ip route  command: ip route [ destination network address] [destination network mask]  [ ip address next hop interface] [administrative distance] Examples: ip route 172.32.3.0 255.255.255.0 172.32.2.2 ip route 172.32.4.0 255.255.255.0 172.32.2.2 CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Adding Static Routes (continued) Changing administrative distance The  ip route  command allows you to configure an administrative distance Unless you add an administrative distance value to the end of your  ip route  command The administrative distance will be 1 Configuring a default route All packets that are not defined specifically in your routing table will go to the specified interface for the default route CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Adding Static Routes (continued) Configuring a default route (continued) A  default route  is a type of static route that the administrator configures You can use the  ip default-network  command or the  ip route 0.0.0.0 0.0.0.0  command to configure a default route Default routes are sometimes called  quad zero routes A default route is used only if no other route to a network exists in the routing table CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Adding Static Routes (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Summary Some protocols are designed to be used in small networks without the need for Network layer addressing The most common nonroutable protocol is NetBEUI Other protocols were designed with the ability to move between multiple networks via Network layer addressing The most common routed protocol suite is TCP/IP CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Summary (continued) Protocols must be available that can find the best path throughout an internetwork and relay that information to routers Routing protocols are classed in two major groups: Interior Gateway Protocols and Exterior Gateway Protocols Interior routing protocols are further divided into distance-vector and link-state routing protocols These two types of Interior Gateway Protocols use very different methods to determine the best path in an internetwork CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
Summary (continued) Distance-vector protocols periodically broadcast entire routing tables to neighbor routers Link-state protocols multicast link updates to routers in their area upon startup and when network topology changes Two common distance-vector IGPs discussed in this chapter are the Routing Information Protocol and the Interior Gateway Routing Protocol Static routes are used to conserve bandwidth and lower memory and CPU load on a router while still allowing for correct routing table creation CCNA Guide to Cisco Networking Fundamentals, Fourth Edition

More Related Content

PPTX
PPT
CCNA Introducing Networks
PPTX
CCNA v6.0 ITN - Chapter 03
PPTX
Ccna ppt1
PPT
CCNA PPT
PPTX
IPv4 Addressing
PPT
CCNA TCP/IP
PPT
CCNA Basic Switching and Switch Configuration
CCNA Introducing Networks
CCNA v6.0 ITN - Chapter 03
Ccna ppt1
CCNA PPT
IPv4 Addressing
CCNA TCP/IP
CCNA Basic Switching and Switch Configuration

What's hot (20)

PDF
PPTX
Routing protocols
PPTX
Open Shortest Path First
PPTX
Ppt of routing protocols
PPT
CCNA SUMMER TRAINNING PPT
PPTX
BASICS OF ROUTING IN NETWORKS
PPTX
OSPF Basics
DOCX
Ccna new syllabus
PPTX
Routing Protocols and Concepts - Chapter 1
PPTX
Ccna PPT
PPT
CCNA Advanced Routing Protocols
PPTX
CCNA v6.0 ITN - Chapter 02
PPTX
Open shortest path first (ospf)
PPTX
CCNA ppt Day 1
PPTX
Chapter 17 : static routing
PPT
Vlan
PPTX
Dynamic routing protocols (CCNA)
PPTX
ccna networking ppt
PDF
Routing protocols
Open Shortest Path First
Ppt of routing protocols
CCNA SUMMER TRAINNING PPT
BASICS OF ROUTING IN NETWORKS
OSPF Basics
Ccna new syllabus
Routing Protocols and Concepts - Chapter 1
Ccna PPT
CCNA Advanced Routing Protocols
CCNA v6.0 ITN - Chapter 02
Open shortest path first (ospf)
CCNA ppt Day 1
Chapter 17 : static routing
Vlan
Dynamic routing protocols (CCNA)
ccna networking ppt
Ad

Viewers also liked (20)

RTF
CCNA Basic Switching and Switch Configuration Questions
PPT
CCNA Network Services
PPT
CCNA Access Lists
PPT
CCNA Router and IOS Basics
PPT
CCNA PPP and Frame Relay
PPT
CCNA Network Devices
PPT
CCNA Advanced Switching
PDF
Introduction to oracle primavera
PPT
CCNA Router Startup and Configuration
PPT
CCNA IP Addressing
PDF
CCNAv5 - S2: Chapter1 Introsuction to switched networks
PDF
CCNAv5 - S1: Chapter 1 Exploring The Network
PPT
Digital Transmission Fundamentals
PDF
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
PDF
INTRODUCTION TO UML DIAGRAMS
PPTX
Network topologies
PPTX
Computer services
PPTX
SYMANTEC ENDPOINT PROTECTION Advanced Monitoring and Reporting
PPT
Cisco CCNA module 2
PDF
CCNA CheatSheet
CCNA Basic Switching and Switch Configuration Questions
CCNA Network Services
CCNA Access Lists
CCNA Router and IOS Basics
CCNA PPP and Frame Relay
CCNA Network Devices
CCNA Advanced Switching
Introduction to oracle primavera
CCNA Router Startup and Configuration
CCNA IP Addressing
CCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S1: Chapter 1 Exploring The Network
Digital Transmission Fundamentals
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
INTRODUCTION TO UML DIAGRAMS
Network topologies
Computer services
SYMANTEC ENDPOINT PROTECTION Advanced Monitoring and Reporting
Cisco CCNA module 2
CCNA CheatSheet
Ad

Similar to CCNA Routing Protocols (20)

PPT
Routing in Internet Protocol networks.ppt
PPTX
CCNP ROUTE V7 CH1
PPTX
en_ROUTE_v7_Ch01 (3)_Cisco ccna v7..pptx
PPTX
Chapter -1 Basic Network Routing Concepts.pptx
PDF
Ospf
PPT
ConfigureTwo networks principle
PPT
Chapter 08
PPT
Chapter 08
PPT
Chapter 08
PPT
CCNA FUNDAMENTAL
PDF
Basic Introduction to Technology (networking).pdf
PPT
Chapter 06 - Routing
PPTX
Chapter 5 Routing.pptx
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 7
DOCX
Respond 3 of your colleagues postings in one or more of the fol.docx
PDF
Basic ccna interview questions and answers ~ sysnet notes
PPT
CCNP Route
PPTX
ccna summer training ppt ( Cisco certified network analysis) ppt. by Traun k...
PPTX
ccna project on topic company infrastructure
Routing in Internet Protocol networks.ppt
CCNP ROUTE V7 CH1
en_ROUTE_v7_Ch01 (3)_Cisco ccna v7..pptx
Chapter -1 Basic Network Routing Concepts.pptx
Ospf
ConfigureTwo networks principle
Chapter 08
Chapter 08
Chapter 08
CCNA FUNDAMENTAL
Basic Introduction to Technology (networking).pdf
Chapter 06 - Routing
Chapter 5 Routing.pptx
CCNA 2 Routing and Switching v5.0 Chapter 7
Respond 3 of your colleagues postings in one or more of the fol.docx
Basic ccna interview questions and answers ~ sysnet notes
CCNP Route
ccna summer training ppt ( Cisco certified network analysis) ppt. by Traun k...
ccna project on topic company infrastructure

More from Dsunte Wilson (17)

PPTX
SYMANTEC ENDPOINT PROTECTION Interfacing the SEPM with Protection Center
PPTX
SYMANTEC ENDPOINT PROTECTION Performing Server and Database Management
PPTX
SYMANTEC ENDPOINT PROTECTION Configuring Replication and Failover and Load Ba...
PPTX
IBM BladeCenter Fundamentals Introduction
PPTX
SYMANTEC ENDPOINT PROTECTION Administration Introduction
PDF
Tips and Tricks of Toad for Oracle 10.6
RTF
CCNA PPP and Frame Relay Questions
RTF
CCNA Access Lists Questions
RTF
CCNA Network Services Questions
PDF
CCNA Advanced Routing Protocols Questions
PDF
CCNA Routing Protocols Questions
PDF
CCNA Router Startup and Configuration Questions
PDF
CCNA Router and IOS Basics Questions
PDF
CCNA IP Addressing
PDF
CCNA TCP/IP Questions
PDF
CCNA Network Devices Questions
PDF
CCNA Introducing Networks Questions
SYMANTEC ENDPOINT PROTECTION Interfacing the SEPM with Protection Center
SYMANTEC ENDPOINT PROTECTION Performing Server and Database Management
SYMANTEC ENDPOINT PROTECTION Configuring Replication and Failover and Load Ba...
IBM BladeCenter Fundamentals Introduction
SYMANTEC ENDPOINT PROTECTION Administration Introduction
Tips and Tricks of Toad for Oracle 10.6
CCNA PPP and Frame Relay Questions
CCNA Access Lists Questions
CCNA Network Services Questions
CCNA Advanced Routing Protocols Questions
CCNA Routing Protocols Questions
CCNA Router Startup and Configuration Questions
CCNA Router and IOS Basics Questions
CCNA IP Addressing
CCNA TCP/IP Questions
CCNA Network Devices Questions
CCNA Introducing Networks Questions

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Big Data Technologies - Introduction.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Unlocking AI with Model Context Protocol (MCP)
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Dropbox Q2 2025 Financial Results & Investor Presentation
Per capita expenditure prediction using model stacking based on satellite ima...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Machine learning based COVID-19 study performance prediction
Big Data Technologies - Introduction.pptx
cuic standard and advanced reporting.pdf
Encapsulation_ Review paper, used for researhc scholars
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
The AUB Centre for AI in Media Proposal.docx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Digital-Transformation-Roadmap-for-Companies.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Unlocking AI with Model Context Protocol (MCP)

CCNA Routing Protocols

  • 1. CCNA Guide to Cisco Networking Fundamentals Chapter 7 Routing Protocols
  • 2. Objectives Differentiate between nonroutable, routed, and routing protocols Define Interior Gateway Protocols, Exterior Gateway Protocols, distance-vector routing protocols, and link-state routing protocols Explain the concepts of count-to-infinity, split horizon, split horizon with poison reverse, and hold-down timers CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 3. Objectives (continued) Describe, configure, and monitor the interior routing protocol RIP Explain static routing and administrative distance Configure static routing and default routes CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 4. Nonroutable Protocols In the early days of networking, networks were small collections of computers linked together For the purposes of sharing information and expensive peripherals Early networks were sometimes configured as peer-to-peer networks Computers communicate with and provide services to their “peers” All communication occurs on the same network segment CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 5. Nonroutable Protocols (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 6. Nonroutable Protocols (continued) Several nonroutable protocols exist in today’s networking world NetBEUI (NetBIOS Enhanced User Interface) The most common nonroutable protocol Ships with all Microsoft Windows operating systems NetBEUI cannot scale into large internetworks Cannot hold Network layer information in its network header CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 7. Routed Protocols Routed protocols Have packet headers that can contain Network layer addresses Developed to support networks consisting of multiple networks or subnetworks Protocols that can carry Network layer information Transmission Control Protocol/Internet Protocol (TCP/IP) Internetwork Packet Exchange/Sequenced Packet Exchange (IPX/SPX) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 8. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 9. Routed Protocols (continued) For routed protocols to work on a network Every device must be configured with a unique IP or IPX address ( logical address ) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 10. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 11. Routing Protocols Routing protocols Protocols used by routers to make path determination choices and to share those choices with other routers Hop count The number of routers a packet must pass through to reach a particular network Metric A value used to define the suitability of a particular route Routers use metrics to determine which routes are better than other routes CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 12. Routing Protocols (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 13. Routing Protocols (continued) Autonomous system (AS) Uses Interior Gateway Protocols as routing protocols A group of routers under the control of a single administration Interior Gateway Protocols (IGPs) are Routing protocols used within an AS Exterior Gateway Protocols (EGPs) Routing protocols used to route information between multiple autonomous systems CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 14. Routing Protocols (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 15. Routing Protocols (continued) Examples of IGPs Routing Information Protocol (RIP) Interior Gateway Routing Protocol (IGRP) Enhanced Interior Gateway Routing Protocol (EIGRP) Open Shortest Path First (OSPF) Example of EGP Border Gateway Protocol (BGP) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 16. Two Types of IGPs Distance-vector routing protocols Broadcast their entire routing table to each neighbor router at predetermined intervals The actual interval depends on the distance-vector routing protocol in use Varies between 30 and 90 seconds Sometimes referred to as routing by rumor Suffer from slow time to convergence A state where all routers on the internetwork share a common view of the internetwork routes CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 17. Two Types of IGPs (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 18. Two Types of IGPs (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 19. Two Types of IGPs (continued) Distance-vector routing protocols (continued) Routing loops Often referred to as count-to-infinity problems Loops, without preventive measures, will cause packets to bounce around the internetwork infinitely Defining a maximum One of the easiest ways to limit count-to-infinity problems Split horizon and split horizon with poison reverse Two other common ways to prevent routing loops when using distance-vector routing protocols CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 20. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 21. Two Types of IGPs (continued) Distance-vector routing protocols (continued) Hold-down timer Another common technique used to stop routing loops Allow a router to place a route in a state where it will not accept any changes to that route Link-state routing protocols Use link-state advertisements (LSAs) to inform neighbor routers on the internetwork LSAs contain only the local links for the advertised router CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 22. Two Types of IGPs (continued) Link-state routing protocols (continued) Shortest Path First (SPF) algorithm Uses the link information to compute the routes Router CPU resources are used instead of bandwidth Link-state packets (LSPs) Packets used to send out LSAs Allow every router in the internetwork to share a common view of the topology of the internetwork A link-state routing protocol floods , or multicasts, LSPs to the network Later updates will be triggered updates CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 23. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 24. Two Types of IGPs (continued) Link-state routing protocols (continued) Routers using link-state protocols must be configured with more memory and processing power Than those using distance-vector routing protocols Link-state routing protocols such as OSPF are much more complicated to configure on the routers CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 25. Two Types of IGPs (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 26. Routing Information Protocol Routing Information Protocol (RIP) The easiest Interior Gateway Protocol to configure is RIPv1 A distance-vector routing protocol that broadcasts entire routing tables to neighbors every 30 seconds RIP uses hop count as its sole metric RIP has a maximum hop count of 15 As a result, RIP does not work in large internetworks RIP is capable of load balancing RIP is susceptible to all the problems normally associated with distance-vector routing protocols CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 27. Enabling RIP Routing CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 28. Enabling RIP Routing (continued) To start configuring RIP, you must: Enter privileged mode first Enter global configuration mode on your router Enable RIP with the router rip command CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 29. Enabling RIP Routing (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 30. Enabling RIP Routing (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 31. Configuring RIP Routing for Each Major Network network command Turns on RIP routing for a network An individual network command must be issued for each separate network directly connected to the router show ip route command Displays a router’s routing table Administrative distance A value used to determine the reliability of the information regarding a particular route Administrative distances range from 0–255 CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 32. Configuring RIP Routing for Each Major Network (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 33. Configuring RIP Routing for Each Major Network (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 34. Show ip protocol and debug ip rip Commands Commands used to monitor RIP A route is considered invalid if six consecutive update intervals pass without an update from that route Flush interval The time at which a route will be totally removed from the routing table if no updates are received debug ip rip command Displays real-time rip updates being sent and received and places very high processing demands on your router, which could affect network performance CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 35. Show ip protocol and debug ip rip Commands (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 36. CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 37. Show ip protocol and debug ip rip Commands (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 38. Show ip protocol and debug ip rip Commands (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 39. Show ip protocol and debug ip rip Commands (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 40. Interior Gateway Routing Protocol IGRP is a proprietary distance-vector routing protocol Created by Cisco to solve some of the problems associated with RIP A larger hop-count metric allows IGRP to be used on larger networks IGRP supports a hop count of 255, although 100 is the default if hop count is configured to be used as a metric The metric maximum-hops command allows you to set the maximum hop count for IGRP CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 41. Interior Gateway Routing Protocol (continued) The default metrics for IGRP are bandwidth and delay only Metrics that can be configured for IGRP Hops: number of routers between source and destination networks Load: the load on a link in the path Bandwidth: the speed of the link (default) Reliability: measures reliability with a scale of 0 to 255 Delay: the delay on the medium (default) MTU: the size of the datagram CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 42. Static Routing Some networks are so small that using a routing protocol creates: Unnecessary traffic An inefficient use of router processor resources Stub routers Routers with only one route out Stub routers are usually the last router in a chain Stub networks Networks with one route to the Internet Static routes are configured by a network administrator using the ip route command CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 43. Adding Static Routes CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 44. Adding Static Routes (continued) Syntax for the ip route command: ip route [ destination network address] [destination network mask] [ ip address next hop interface] [administrative distance] Examples: ip route 172.32.3.0 255.255.255.0 172.32.2.2 ip route 172.32.4.0 255.255.255.0 172.32.2.2 CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 45. Adding Static Routes (continued) Changing administrative distance The ip route command allows you to configure an administrative distance Unless you add an administrative distance value to the end of your ip route command The administrative distance will be 1 Configuring a default route All packets that are not defined specifically in your routing table will go to the specified interface for the default route CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 46. Adding Static Routes (continued) Configuring a default route (continued) A default route is a type of static route that the administrator configures You can use the ip default-network command or the ip route 0.0.0.0 0.0.0.0 command to configure a default route Default routes are sometimes called quad zero routes A default route is used only if no other route to a network exists in the routing table CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 47. Adding Static Routes (continued) CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 48. Summary Some protocols are designed to be used in small networks without the need for Network layer addressing The most common nonroutable protocol is NetBEUI Other protocols were designed with the ability to move between multiple networks via Network layer addressing The most common routed protocol suite is TCP/IP CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 49. Summary (continued) Protocols must be available that can find the best path throughout an internetwork and relay that information to routers Routing protocols are classed in two major groups: Interior Gateway Protocols and Exterior Gateway Protocols Interior routing protocols are further divided into distance-vector and link-state routing protocols These two types of Interior Gateway Protocols use very different methods to determine the best path in an internetwork CCNA Guide to Cisco Networking Fundamentals, Fourth Edition
  • 50. Summary (continued) Distance-vector protocols periodically broadcast entire routing tables to neighbor routers Link-state protocols multicast link updates to routers in their area upon startup and when network topology changes Two common distance-vector IGPs discussed in this chapter are the Routing Information Protocol and the Interior Gateway Routing Protocol Static routes are used to conserve bandwidth and lower memory and CPU load on a router while still allowing for correct routing table creation CCNA Guide to Cisco Networking Fundamentals, Fourth Edition