Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols.

Slides:



Advertisements
Similar presentations
Chapter 22 Network Layer: Delivery, Forwarding, and Routing.
Advertisements

Cisco S3 C5 Routing Protocols. Network Design Characteristics Reliable – provides mechanisms for error detection and correction Connectivity – incorporate.
Routing Protocol.
Copyright 2002 Year 2 - Chapter 5/Cisco 3 - Module 5 Routing Protocols: IGRP By Carl Marandola.
CISCO NETWORKING ACADEMY Chabot College ELEC Routed and Routing Protocols.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Mod 10 – Routing Protocols
CCNA 2 v3.1 Module 6.
Routing and Routing Protocols
Routing and Routing Protocols
Institute of Technology Sligo - Dept of Computing Chapter 11 Layer 3 Protocols Paul Flynn.
Chapter 5 – Routing Protocols: IGRP. Building a Network To Be Reliable – provide error detection and ability to correct errors To Provide Connectivity.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
Fundamentals of Networking Discovery 2, Chapter 6 Routing.
Switching and Routing Technique
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
Distance Vector Protocols
6: Routing Working at a Small to Medium Business.
Chabot College Chapter 5 – Routing Protocols: IGRP Review Questions Semester IIIELEC Semester III ELEC
University of the Western Cape Chapter 11: Routing Aleksandar Radovanovic.
CCNA Guide to Cisco Networking Chapter 8: Routing Protocols and Network Address Translation.
Routing/Routed Protocols. Remember: A Routed Protocol – defines logical addressing. Most notable example on the test – IP A Routing Protocol – fills the.
1 Routing Protocols and Configuration Instructor: Te-Lung Liu Program Associate Researcher NCHC, South Region Office.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CCNA 1 version 3.0 Rick Graziani Cabrillo College
Routing and Routing Protocols Routing Protocols Overview.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
M.Menelaou CCNA2 ROUTING. M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 6 Routing and Routing Protocols.
Dynamic Routing Chapter 9. powered by DJ 1. C HAPTER O BJECTIVES At the end of this Chapter you will be able to:  Explain Dynamic Routing  Identify.
Routing -2 Dynamic Routing
Review Routing fundamental W.lilakiatsakun. Review Routing Fundamental VLSM VLSM Route Summarization Route Summarization Static & Dynamic Routing Static.
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
Routing Fundamental W.lilakiatsakun. Review Routing Fundamental VLSM Static & Dynamic Routing Routing algorithm concept.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Routing Overview.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
6: Routing Working at a Small to Medium Business.
Routing and Routing Protocols
Cisco Systems Networking Academy S2 C 11 Routing Basics.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
Routing protocols. Static Routing Routes to destinations are set up manually Route may be up or down but static routes will remain in the routing tables.
IP Routing Principles. Network-Layer Protocol Operations Each router provides network layer (routing) services X Y A B C Application Presentation Session.
Chapter 5 IP Routing Routing Protocol vs. Routed Protocol.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Router Configuration. CISCO 2500 series router.
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
Routing and Routing Protocols PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
© 2002, Cisco Systems, Inc. All rights reserved..
Routing Protocols Brandon Wagner.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
1 © 2004, Cisco Systems, Inc. All rights reserved. Routing and Routing Protocols: Routing Static.
Chapter 11 Routing. Objectives Routing BasicsRouting Basics Why Routing Protocols are NecessaryWhy Routing Protocols are Necessary Distance-Vector RoutingDistance-Vector.
Cisco 2 - Routers Perrine modified by Brierley Page 13/21/2016 Chapter 4 Module 6 Routing & Routing Protocols.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
+ Dynamic Routing Protocols 2 nd semester
Working at a Small-to-Medium Business or ISP – Chapter 6
Computer Networks Routing Algorithms.
Routing Loops.
Routing and Routing Protocols: Routing Static
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Routing and Routing Protocols: Routing Static
Working at a Small-to-Medium Business or ISP – Chapter 6
CCNA 2 JEOPARDY Module 6.
Presentation transcript:

Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols share this information among immediate neighbors first, and then throughout the network Routers do not calculate the entire path to a destination  They select the next hop leading to that destination  Rely on the next hop router to select a further hop that gets the packet closer to its destination  A router’s routing tables contains information about the networks directly connected to it, as well as information that the router has “learned” about more distant networks (sample of a routing table) Routing Protocols

Page 210/27/2015 Important function of a router (layer 3):  Examine incoming data packets and make path selection based on information stored in their routing tables Router evaluates the available paths to a destination to establish the best path for routing a packet. Most routing protocols use the shortest and best path - but by different means. Routing Protocols (cont.)

Page 310/27/2015 Characteristics of static routing: administrators manually configure static routes routes do not change, unless changed by the administrator are useful in environments where there is a single link in or out of the networks (know as a stub network) because there is only one link to get to the neighbor network, we conserve bandwidth not being used by routing protocols Static Routing

Page 410/27/2015 Static route can be defined by: RouterA(config)# ip route Router A Router B Network / s0 (Packets arriving at Router A with network as their destination will be sent to the serial port of the next router – that is, the next hop) RouterA(config)# ip route (The same thing can be accomplished by this: Packets arriving at Router A with network as their destination will be sent out of Router A via Serial port 0) RouterA(config)# ip route s0 Static Routing

Page 510/27/2015 Router A Router B Network s0 RouterA(config)# ip route e0 Static address command for network to get to network is: net RouterA(config)# ip route s0 Static Routing OR Note that when the interface option is specified, it’s our interface ( RouterA - not the neighbor’s).

Page 610/27/2015 Router A Router B Network s0 RouterA(config)# ip route RouterA(config)# ip route s0 The above example will have an administrative distance of 1 in the routing table. The above example will have an administrative distance of 0 in the routing table. Static Routing RouterA(config)# show ip route

Page 710/27/2015 Router A Router B Network s0 RouterA(config)# ip route If the network goes down for any reason, the static address on RouterA will be removed from the routing table. Static Routing

Page 810/27/2015 Static Routing

Page 910/27/2015 If router doesn’t know where to send a packet, it uses a default route: RouterA(config)# ip route Router A Internet s0 RouterA(config)# ip route RouterA(config)# ip route s0 Default Route Gateway of last resort for routers that do not have a network entry in the routing table Packets going to any network for which I don’t have an entry in the routing table, just send them to the next hop OR

Page 1010/27/2015 Default Route on non-directly connected networks

Page 1110/27/2015 To verify a static route or default route use the commands: show running-config Or show ip route To test a static route or default route use the commands: ping Or traceroute Default/Static Route

Page 1210/27/2015

Page 1310/27/2015 [Administrative distance / Hop count] Examine the Show ip route command

Page 1410/27/2015 Default Administrative Distances Routed SourceDefault Distance Connected0 Static Route1 EIGRP(internal)90 OSPF110 RIPv1 AND v2120 EIGRP(external)170

Page 1510/27/2015 Routed vs. Routing: Routed protocols are protocols are protocols used to carry the data across the networks – like those in the IP protocol (such as Telnet) and Novel lIPX Routing protocols route routed protocols through a network. (Routers use routing protocols to talk to each other about networks & paths. Dynamically advertise and learn routes, determine which routes are available and which are the most efficient routes to a destination) IGRP (Interior Gateway Routing Protocol) EIGRP ( Enhanced IGRP) BGP (Border Gateway Protocol) OSPF (Open Shortest Path First) APPN (Advanced Peer-to-Peer Networking) IS-IS (Intermediate System-to Intermediate System) RIP (Routing Information Protocol) Routed Vs. Routing Protocols

Page 1610/27/2015 An autonomous system (AS) is a collection of networks under a common administration. The American Registry of Internet Numbers (ARIN) assigns an identifying number to each AS. AS is a 16 bit number. Some routing protocols such as IGRP, EIGRP requires AS for their configurations. Autonomous Systems

Page 1710/27/2015 When complex networks have multiple interconnections, static routes are not a practical solution – they can’t react to changes in the topology When all routers in an internetwork are operating with the same knowledge of the routes in a network 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. Routing Protocols

Page 1810/27/2015 Routing Protocols (cont.)

Page 1910/27/2015 Routing protocols are divided into 2 classes: interior - used for routing information within networks that are under a common network administrator RIP IGRP OSPF EIGRP exterior - used for routing information between networks that do not share a common administrator. EGP (exterior gateway protocol) BGP Routing Protocols (cont.)

Page 2010/27/2015 Classes of Routing Protocols distance-vector - determines the direction & distance IGRP RIP link-state (also called shortest path first) re-creates the exact topology of the entire network. OSPF IS-IS Classes of Routing Protocols

Page 2110/27/2015 Distance vector routing algorithms pass periodic copies of a routing table from router to router. These regular updates are based on the routing algorithm know as ‘Bellman-Ford’ algorithm. However distance vector algorithms do not allow a router to know the exact topology of an internetwork as each router only sees its neighbor routers. Distance Vector Routing Protocols

Page 2210/27/2015 Neighbor to neighbor ONLY Distance Vector Routing Protocols

Page 2310/27/2015 Distance Vector Routing Protocols

Page 2410/27/2015 Routing table updates take place periodically. Router to router (neighbor tells neighbor) Distance vector – each router sends its entire routing table to neighbor table Distance Vector Routing Protocols

Page 2510/27/2015 Link-state algorithms are also known as Dijkstras algorithm or SPF (shortest path first) algorithm. Link-state routing algorithms maintain a complex database of topology information. It maintains full knowledge of distant routers and how they are interconnected. Link-state routing uses: Link-state Advertisements (LSAs) Small packets of routing info that are sent between routers Topological database SPF algorithm Routing tables Link-state Routing Protocol

Page 2610/27/2015 Link-state makes an update only when there is a topology change. Link-state concerns itself with: processor overhead memory requirements bandwidth consumption After the initial flood, it passes small event-triggered updates to all other routers Link-state Routing Protocol

Page 2710/27/2015 A responsibility of a Routing Protocol is to build routing tables to determine optimal routing paths They need to have a way to measure (metrics) which routes are preferred when there are multiple paths to a destination Different routing protocols use different metrics 1.Hop count: number of routing devices the packet needs to travel to reach the destination network 2.Bandwidth: cumulative bandwidth of the links to the destination measured in kilobits per second 3.Delay: length of time (in microseconds) a packet takes from source to destination 4.Reliability: consistency of the links and paths toward the destination based on the interfaces’ error rates 5.Load: cumulative amount of congestion of the links in the direction of the destination Routing Metrics

Page 2810/27/ Hop count: number of routing devices the packet needs to travel to reach the destination network - counts router hops 2.Bandwidth: cumulative bandwidth of the links to the destination measured in kilobits per second 3.Delay: length of time (in microseconds) a packet takes from source to destination 4.Reliability: consistency of the links and paths toward the destination based on the interfaces’ error rates 5.Load: cumulative amount of congestion of the links in the direction of the destination 6.MTU: maximum frame size that is allowed to cross the links to the destination 7.Cost: arbitrary number typically based on the bandwidth of the link Routing Metrics (cont.)

Page 2910/27/2015 The physical address (MAC) changes at each hop A5-C3-26-6B E C A-5F-0D-09-8B-AA BC F-FF-AA The protocol address (IP) always remains the same The Routing Process

Page 3010/27/2015 Characteristics of RIP are: distance vector metric is hop count if the hop count is greater than 15, the packet is discarded is updated every 30 seconds For RIP, each router that it has to go through to get to a network is considered a hop count. That is, if you have to go through 2 routers to get to a network, then the hop count is 2. If the network is on the next router, then the hop count is 0. (That is a directly connected serial port.) RIP Routing Protocol

Page 3110/27/2015 IGRP: must be assigned an AS (autonomous system number - 16 bit number) Cisco proprietary distance-vector metrics delay bandwidth (1200 bps - 10 Gbps) reliability (1-224) (higher the number, more reliable) load (1-244) (higher the number, more it is under load) sends updates every 90 seconds maximum hop count is 255 (default 100) IGRP Routing Protocol

Page 3210/27/2015 Characteristics of OSPF are: link-state routing protocol open standard uses the SPF algorithm to calculate the lowest cost to a destination routing updates are flooded as topology changes occur. OSPF Routing Protocol

Page 3310/27/2015 Characteristics of EIGRP are: distance-vector Cisco proprietary uses load balancing uses a combination of distance vector & link-state features use Diffused Update Algorithm (DUAL) to calculate the shortest path updates broadcast every 90 seconds EIGRP Routing Protocol

Page 3410/27/2015 Characteristics of BGP are: distance vector exterior routing protocol used between ISP and clients used to route internet traffic between autonomous systems BGP Routing Protocol

Page 3510/27/2015 RouterA#config t RouterA(config)# router [AS number] RouterA(config-router)# network Example: RouterA(config)# router rip RouterA(config-router)# network Example: RouterA(config)# router igrp 100 RouterA(config-router)# network Configure Routing Protocols ‘advertises’ networks directly connected to it

Page 3610/27/2015 RouterA# config t s0 s1 e net net net RouterA(config-router)# network RouterA(config-router)# network RouterA(config-router)# network RouterA(config)# router rip Configure RIP Routing Protocol