1 24-Feb-16 S Ward Abingdon and Witney College OSPF CCNA Exploration Semester 2 Chapter 11.

Slides:



Advertisements
Similar presentations
CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Chapter 2 – Single Area OSPF Single Area OSPF Link State Routing.
Advertisements

Lonnie Decker Multiarea OSPF for CCNA Department Chair, Networking/Information Assurance Davenport University, Michigan August 2013 Elaine Horn Cisco Academy.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSPF Routing Protocols and Concepts – Chapter 11.
RIP2 CCNA Exploration Semester 2 Chapter 7
111 Open Shortest Path First OSPF  OSPF Overview  OSPF Operation By Grace Deng Oct
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Link-State Routing Protocols Routing Protocols and Concepts – Chapter.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-1 Implementing a Scalable Multiarea Network OSPF- Based Solution Improving Routing Performance.
1 CCNA 3 v3.1 Module 2. 2 CCNA 3 Module 2 Single Area OSPF.
Single Area OSPF Concepts Single Area OSPF Configuration
CCNP Network Route OSPF Part -I OSPF: Open Shortest Path First Concept of OSPF: 1. It is a link state routing protocol. 2. There are basically only 2 ISIS.
Chapter 12 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Read a routing table  Configure a static route 
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Adjust and Troubleshoot Single- Area OSPF Scaling Networks.
1 11-Sep-15 S Ward Abingdon and Witney College Link State CCNA Exploration Semester 2 Chapter 10.
Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.
LAN Switching and WAN Networks Topic 6 - OSPF. What we have done so far! 18/09/2015Richard Hancock2  Looked at the basic switching concepts and configuration.
Open Shortest Path First Pedro Tsao
1 3-Oct-15 Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
Instructor & Todd Lammle
OSPF Last Update Copyright Kenneth M. Chipps Ph.D.
© 1999, Cisco Systems, Inc OSPF Overview RFC 2328, 2178, 1583.
1 8-Oct-15 S Ward Abingdon and Witney College OSPF CCNA Exploration Semester 2 Chapter 11.
© Synergon Informatika Rt., 1999 Chapter 9 Configuring Open Shortest Path First.
Open standard protocol Successor of RIP Classless routing protocol Uses Shortest Path First (SPF) Algorithm Updates are sent through Multicast IP address.
1 13-Oct-15 S Ward Abingdon and Witney College EIGRP CCNA Exploration Semester 2 Chapter 9.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
Introduction to OSPF Nishal Goburdhan. Routing and Forwarding Routing is not the same as Forwarding Routing is the building of maps Each routing protocol.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSPF Routing Protocols and Concepts – Chapter 11.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 2 Single-Area OSPF.
CCNA3 ’s PAQ PAQ Pre-Assessment Quiz Produced by Mohamed BEN HASSINE CNA Instructor The American University of Paris.
CCNA 3 Week 2 Link State Protocols OSPF. Copyright © 2005 University of Bolton Distance Vector vs Link State Distance Vector –Copies Routing Table to.
Cisco 3 - OSPF Perrine & Brierley Page 1 6/2/2016 Module 2 OSPF Overview Open Shortest Path First (OSPF) is a link-state routing protocol based on open.
1 of of 35 Single Area OSPF Concepts 3 of 35 OSPF Basics.
Cisco 3 - OSPF Perrine. J Page 16/4/2016 Module 2 What state are the routers in an OSPF network in after the DR and BDR are elected 1.Exstart 2.Full 3.Loading.
Networks and Protocols CE Week 8b. Link state Routing.
Saeed Darvish Pazoki – MCSE, CCNA Abstracted From: Cisco Press – ICND 2 – 10 EIGRP 1.
1 1-Dec-15 S Ward Abingdon and Witney College Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing Protocols.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSPF Routing Protocols and Concepts – Chapter 11 Sandra Coleman, CCNA,
Open Shortest Path First (OSPF)
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
Open Shortest Path First OSPF
OSPF W.lilakiatsakun.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing Protocols.
CCNP Routing Semester 5 Chapter 4 OSPF.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-1 Implementing a Scalable Multiarea Network OSPF-Based Solution How OSPF Packet Processes.
1 16-Mar-16 S Ward Abingdon and Witney College RIP v1 Routing CCNA Exploration Semester 2 Chapter 5.
Single Area OSPF Module 2, Review How routing information is maintained Link-state routers apply the Dijkstra shortest path first algorithm against.
Chapter 11 Chapter 8 Routing & Switching Open Shortest Path First OSPF Thanks to instructors at St. Clair College in Windsor, Ontario.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Routing Protocols and Concepts OSPF Chapter 11 Modified by Pete Brierley.
Open Shortest Path First (OSPF) Uses Link State routing Each node acquires complete topology information using link state updates Link-state - what it.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing & Switching.
Open Shortest Path First (OSPF)
Single Area OSPF Link State Routing Single Area OSPF Concepts
報告題目:OSPF 指導教授:陳明仕 報告者:黃元志 學號M
Link State Routing protocol
Instructor Materials Chapter 10: OSPF Tuning and Troubleshooting
Chapter 10: OSPF Tuning and Troubleshooting
Chapter 5: Dynamic Routing
Link State Algorithm Alternative to distance-vector
Chapter 8: Single-Area OSPF
CCNA 3 v3 JEOPARDY Module 2 CCNA3 v3 Module 2 K. Martin.
Dynamic Routing and OSPF
Chapter 8: Single-Area OSPF
Dynamic Routing Protocols part2
Cisco networking, CNET-448
Routing Protocols and Concepts – Chapter 11
CCNP Network Route OSPF Part -II
Dynamic Routing Protocols part3 B
Distance Vector Routing
Chapter 10: OSPF Tuning and Troubleshooting
Presentation transcript:

1 24-Feb-16 S Ward Abingdon and Witney College OSPF CCNA Exploration Semester 2 Chapter 11

2 24-Feb-16 S Ward Abingdon and Witney College Topics Background and features of OSPF Configure basic OSPF OSPF metric Designated router/backup designated router elections Default information originate

3 24-Feb-16 S Ward Abingdon and Witney College RIP v1 RIP v2 IGRP EIGRP Routing protocols InteriorExterior Distance vectorLink state OSPF IS-IS EGP BGP

4 24-Feb-16 S Ward Abingdon and Witney College OSPF background Developed by IETF to replace RIP Better metric Fast convergence Scales to large networks by using areas

5 24-Feb-16 S Ward Abingdon and Witney College OSPF packets 0x01 Hello establishes and maintains adjacency 0x02 Database Description (DBD) summary of database for other routers to check 0x03 Link State Request (LSR) use to request more detailed information 0x04 Link State Update (LSU) reply to LSR and send new information 0x05 Link State Acknowledgement (LSAck)

6 24-Feb-16 S Ward Abingdon and Witney College OSPF encapsulation Data link frame header IP packet header OSPF packet header Data MAC destination address Multicast E or E

7 24-Feb-16 S Ward Abingdon and Witney College OSPF encapsulation Data link frame header IP packet header OSPF packet header Data IP destination address Multicast or Protocol field 89

8 24-Feb-16 S Ward Abingdon and Witney College OSPF encapsulation Data link frame header IP packet header OSPF packet header Data Type code for packet type (0x01 etc) Router ID and Area ID

9 24-Feb-16 S Ward Abingdon and Witney College Hello, OSPF packet type 1 Discover OSPF neighbours and establish adjacencies. Advertise parameters on which two routers must agree to become neighbors. Elect the Designated Router (DR) and Backup Designated Router (BDR) on multiaccess networks like Ethernet and Frame Relay.

10 24-Feb-16 S Ward Abingdon and Witney College Fields in Hello packet Type (=1), Router ID, Area ID Subnet mask of sending interface Hello Interval, Dead Interval Router Priority: Used in DR/BDR election Designated Router (DR): Router ID of the DR, if any Backup Designated Router (BDR): Router ID of the BDR, if any List of Neighbors: lists the OSPF Router ID of the neighboring router(s)

11 24-Feb-16 S Ward Abingdon and Witney College Sending Hellos By default, OSPF Hello packets are sent every 10 seconds on multiaccess and point- to-point segments and every 30 seconds on non-broadcast multiaccess (NBMA) segments (Frame Relay, X.25, ATM). In most cases, OSPF Hello packets are sent as multicast to Router waits for Dead interval before declaring the neighbor "down." Default is four times the Hello interval.

12 24-Feb-16 S Ward Abingdon and Witney College Matching Before two routers can form an OSPF neighbour adjacency, they must agree on three values: Hello interval, Dead interval, Network type (e.g. point to point, Ethernet, NBMA.)

13 24-Feb-16 S Ward Abingdon and Witney College Election On multi-access networks (Ethernet, NBMA) the routers elect a designated router and a backup designated router This saves on overhead Each router becomes adjacent to the designated router and swaps updates with it If the designated router fails, the backup designated router takes over

14 24-Feb-16 S Ward Abingdon and Witney College Finding best routes

15 24-Feb-16 S Ward Abingdon and Witney College Administrative Distance Preferred to IS-IS or RIP but not to EIGRP

16 24-Feb-16 S Ward Abingdon and Witney College OSPF metric The OSPF specification says that cost is the metric, does not say how cost is found. Cisco uses bandwidth Cost = 10 8 = 100,000,000 bandwidth bandwidth Then finds cumulative cost for all links on a path.

17 24-Feb-16 S Ward Abingdon and Witney College Standard costs Interface type10 8 /bps = Cost Fast Ethernet and faster10 8 /100,000,000bps = 1 Ethernet10 8 /10,000,000bps = 10 E110 8 /2,048,000bps = 48 T110 8 /1,544,000bps = Kbps10 8 /128,000bps = Kbps10 8 /64,000bps = Kbps10 8 /56,000bps = 1785

18 24-Feb-16 S Ward Abingdon and Witney College Faster than 100 Mbps By default, the cost metric for all interfaces operating at 100Mbps or more is 1. This uses the reference bandwidth of 100Mbps. To distinguish between links of higher bandwidths, configure all routers in the area e.g. auto-cost reference-bandwidth 1000 This would multiply costs by 10 and allow for faster bandwidths to have costs below 10.

19 24-Feb-16 S Ward Abingdon and Witney College Serial link bandwidths Serial links often have a default bandwidth of T1 (1.544 Mbps), but it could be 128 kbps. This may not be the actual bandwidth. show interface will give the default value. show ip ospf interface gives the calculated cost. Give it the right bandwidth. Router(config-if)#bandwidth 64

20 24-Feb-16 S Ward Abingdon and Witney College Point to point network Only two routers on network They become fully adjacent with each other

21 24-Feb-16 S Ward Abingdon and Witney College Multiaccess networks Networks where there could possibly be more than 2 routers, e.g. Ethernet, Frame Relay. These have a method of cutting down on adjacencies and the number of updates exchanged. 5 routers: 10 adjacencies?

22 24-Feb-16 S Ward Abingdon and Witney College Multiaccess network Not efficient if they every router becomes fully adjacent to every other router Designated router (DR) becomes fully adjacent to all other routers Backup designated router (BDR) does too – in case designated router fails

23 24-Feb-16 S Ward Abingdon and Witney College Multiaccess All routers send LSUs to DR and BDR but not to other routers Use multicast address DROther

24 24-Feb-16 S Ward Abingdon and Witney College Multiaccess DR then sends LSUs to all routers Use multicast address

25 24-Feb-16 S Ward Abingdon and Witney College Router detects change A router knows that a link is down if it does not receive a timed Hello from a partner

26 24-Feb-16 S Ward Abingdon and Witney College Send update The router sends a LSU (link state update) on multicast to DR/BDR

27 24-Feb-16 S Ward Abingdon and Witney College Update all routers DR sends to , all OSPF routers BDR does not send unless DR fails

28 24-Feb-16 S Ward Abingdon and Witney College Recalculate routing table Each router sends LSAck acknowledgement Waits for hold time in case link comes straight back up Runs SPF algorithm using new data Updates routing table with new routes

29 24-Feb-16 S Ward Abingdon and Witney College OSPF network types Network typeCharacteristicsDR election? Broadcast multiaccess Ethernet, token ring, FDDI Yes Nonbroadcast multiaccess Frame relay, X.25, ATM Yes Point to pointPPP, HDLCNo Point to multipoint Configured by administrator No Virtual linkConfigured by administrator No

30 24-Feb-16 S Ward Abingdon and Witney College DR/BDR election Happens when routers first discover each other using Hellos. Router with highest priority becomes DR, next highest becomes BDR. If they have the same priority then the highest router ID becomes DR, next highest becomes BDR. By default all routers have priority 1

31 24-Feb-16 S Ward Abingdon and Witney College Election where same priority

32 24-Feb-16 S Ward Abingdon and Witney College Add a router An election has taken place and a DR and BDR have been chosen. Now add another router with a higher priority. It will not become DR if there is already a DR. To make sure that a certain router becomes DR: Give it the highest priority Switch it on first

33 24-Feb-16 S Ward Abingdon and Witney College OSPF states Down Init (after receiving hello) Two-way (election here) ExStart (decide who initiates exchange) Exchange (swap summary database) Loading (link state requests and updates) Full adjacency (know the same topology)

34 24-Feb-16 S Ward Abingdon and Witney College DROther routers Routers that are not elected as DR or BDR are called DROther. They become fully adjacent with DR and BDR. They stay in 2-way state with each other.

35 24-Feb-16 S Ward Abingdon and Witney College Databases

36 24-Feb-16 S Ward Abingdon and Witney College Comparing routing protocols Link state Sends LSA updates – low bandwidth use after initial flooding Complex algorithm – powerful processor Three databases – large memory No loops Distance vector Broadcasts whole routing tables – high bandwidth use Simple algorithms – little processing One table – little memory Can have loops