© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.

Slides:



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

Routing Protocol.
Copyright 2002 Year 2 - Chapter 5/Cisco 3 - Module 5 Routing Protocols: IGRP By Carl Marandola.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Routing.
SYPCNSA Department2007 Summer Youth Program: Internal Protocols: RIP & IGRP.
CCNA 2 v3.1 Module 6.
Routing Fundamentals and Subnetting
Routing and Routing Protocols
Routing and Routing Protocols
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
Fundamentals of Networking Discovery 2, Chapter 6 Routing.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Link-State and Balanced Hybrid Routing.
Single-Area OSPF Implementation
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—5-1 WAN Connections Enabling Static Routing.
Chapter 12 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Read a routing table  Configure a static route 
6: Routing Working at a Small to Medium Business.
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.
1. 라우팅 기본 개념. To route a router need to know: Destination addresses Sources it can learn from Possible routes Best route Maintain and verify routing information.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Sybex CCENT Chapter 8: IP Routing Instructor & Todd Lammle.
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.
Sybex CCNA Chapter 6: IP Routing Instructor & Todd Lammle.
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.
Routing -2 Dynamic Routing
Copyright 2003 CCNA 1 Chapter 8 Routing Fundamentals and Subnets By Joe Parisien.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling OSPF.
Instructor & Todd Lammle
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:
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 5: IP Routing.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—-5-1 WAN Connections Routing & Enabling RIP.
CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Instructor & Todd Lammle
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.
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.
CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
6: Routing Working at a Small to Medium Business.
Routing and Routing Protocols
1 Identifying Static and Dynamic Routes Static Route Uses a route that a network administrator enters into the router manually Dynamic Route Uses a route.
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Routing and Routing Protocols PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
© 2002, Cisco Systems, Inc. All rights reserved..
 RIP — A distance vector interior routing protocol  IGRP — The Cisco distance vector interior routing protocol (not used nowadays)  OSPF — A link-state.
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.
© 2002, Cisco Systems, Inc. All rights reserved..
Year 2 - Chapter 5/Cisco 3 - Module 5 Routing Protocols: IGRP.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
Link State Routing protocol
© 2002, Cisco Systems, Inc. All rights reserved.
Routing and Routing Protocols: Routing Static
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Enabling Static Routing
Routing and Routing Protocols: Routing Static
Routing Fundamentals and Subnets
© 2002, Cisco Systems, Inc. All rights reserved.
Presentation transcript:

© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-2 Routed Versus Routing Protocol A routed protocol: –Includes any network protocol suite that provides enough information in its network layer address to allow a router to forward it to the next device and ultimately to its destination. –Defines the format and use of the fields within a packet. A routing protocol: –Provides processes for sharing route information. –Allows routers to communicate with other routers to update and maintain the routing tables.

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-3 IP as a Routed Protocol IP is a connectionless, unreliable, best-effort delivery protocol. As information flows down the layers of the OSI model; the data is processed at each layer. IP accepts whatever data is passed down to it from the upper layers.

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-4 Packet Propagation and Switching Within a Router

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-5 Packet Propagation and Switching Within a Router As a frame is received at a router interface. The MAC address is checked to see if the frame is directly addressed to the router interface, or a broadcast. The frame header and trailer are removed and the packet is passed up to Layer 3. The destination IP address is compared to the routing table to find a match. The packet is switched to the outgoing interface and given the proper frame header. The frame is then transmitted.

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-6 To route, a router needs to do the following: Know the destination address Identify the sources it can learn from Discover possible routes Select the best route Maintain and verify routing information What Is Routing?

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-7 Routers must learn destinations that are not directly connected. What Is Routing? (Cont.)

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-8 Static Route Uses a route that a network administrator enters into the router manually Dynamic Route Uses a route that a network routing protocol adjusts automatically for topology or traffic changes Identifying Static and Dynamic Routes

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-9 Static Routes Configure unidirectional static routes to and from a stub network to allow communications to occur.

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-10 Static Route Example This is a unidirectional route. You must have a route configured in the opposite direction.

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-11 Default Routes This route allows the stub network to reach all known networks beyond router A.

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-12 Verifying the Static Route Configuration router#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is to network /8 is subnetted, 1 subnets C is directly connected, Serial0 S* /0 is directly connected, Serial0

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-13 Routing protocols are used between routers to determine paths and maintain routing tables. Once the path is determined, a router can route a routed protocol. What Is a Routing Protocol?

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-14 Routers discover the best path to destinations from each neighbor. Sources of Information and Discovering Routes

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-15 Classes of Routing Protocols

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-16 Distance Vector RIPv1 RIPv2 Link State OSPF IS-IS Hybrid Routing EIGRP Classes of Routing Protocols

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-17 Distance Vector Routing Protocol s

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-18 Routers pass periodic copies of routing table to neighbor routers and accumulate distance vectors. Distance Vector Routing Protocols

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-19 Maximum is 6 paths (default = 4) Hop-count metric selects the path Routes update every 30 seconds RIP ( Distance Vector Routing Protocol )

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-20 Starts the RIP routing process Router(config)#router rip Router(config-router)#network network-number Selects participating attached networks Requires a major classful network number RIP Configuration

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-21 RIP Configuration Example

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-22 Displaying the IP Routing Table

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-23 RIPv2 Distance vector protocol like RIP. Same AD, update timer and metric as RIP. But supports classless ip routing. Uses multicast address

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-24 © 2002, Cisco Systems, Inc. All rights reserved. 24 Link-State Routing (OSPF)

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-25 After initial flood, pass small event-triggered link-state updates to all other routers Link-State Routing Protocols

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-26 Benefits of Link-State Routing Fast convergence: changes are reported immediately by the source affected.

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-27 OSPF as a Link-State Protocol OSPF propagates link-state advertisements rather than routing table updates. LSAs are flooded to all OSPF routers in the area. The OSPF link-state database is pieced together from the LSAs generated by the OSPF routers. OSPF uses the SPF algorithm to calculate the shortest path to a destination. –Link = router interface –State = description of an interface and its relationship to neighboring routers

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-28 OSPF Hierarchical Routing Consists of areas and autonomous systems Minimizes routing update traffic

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-29 Configuring Single Area OSPF Router(config-router)#network address mask area area-id Assigns networks to a specific OSPF area Router(config)#router ospf process-id Defines OSPF as the IP routing protocol

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-30 OSPF Configuration Example

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-31 Router#show ip ospf interface Verifying the OSPF Configuration Displays area-ID and adjacency information Router#show ip protocols Verifies that OSPF is configured Router#show ip route Displays all the routes learned by the router Router#show ip ospf neighbor Displays OSPF-neighbor information on a per-interface basis

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-32 Drawbacks to Link-State Routing Protocols Initial discovery may cause flooding. Memory- and processor-intensive.

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-33 © 2002, Cisco Systems, Inc. All rights reserved. 33 Balanced Hybrid Routing ( EIGRP)

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-34 Shares attributes of both distance vector and link-state routing Balanced Hybrid Routing

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-35 Introducing EIGRP EIGRP FEATURES Metric: Bandwidth, delay, load, reliability Event triggered updates Exchange updates like distance vector.

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-36 EIGRP Terminology

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-37 Configuring EIGRP Router(config-router)#network network-number Selects participating attached networks Router(config)#router eigrp autonomous-system Defines EIGRP as the IP routing protocol

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-38 EIGRP Configuration Example

© 2002, Cisco Systems, Inc. All rights reserved. ICND v2.0—5-39 Verifying the EIGRP Configuration Router#show ip protocols Router#show ip route eigrp Router#show ip eigrp traffic Router#show ip eigrp neighbors Router#show ip eigrp topology Displays the neighbors discovered by IP EIGRP Displays the IP EIGRP topology table Displays the number of IP EIGRP packets sent and received Displays current EIGRP entries in the routing table Displays the parameters and current state of the active routing protocol process