1 of 35. 2 of 35 Single Area OSPF Concepts 3 of 35 OSPF Basics.

Slides:



Advertisements
Similar presentations
OSPF 1.
Advertisements

Introduction to OSPF.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSPF Routing Protocols and Concepts – Chapter 11.
Designing OSPF Networks
CCNA 2 v3.1 Module 6.
111 Open Shortest Path First OSPF  OSPF Overview  OSPF Operation By Grace Deng Oct
Routing and Routing Protocols
© 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.
Enhanced IGRP (EIGRP) EIGRP Characteristics. EIGRP Configuration. Verifying EIGRP.
Chapter 12 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Read a routing table  Configure a static route 
Lecture Week 10 Link-State Routing Protocols. Objectives Describe the basic features & concepts of link-state routing protocols. List the benefits and.
6: Routing Working at a Small to Medium Business.
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.
Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.
Routing -2 Dynamic Routing
Open Shortest Path First Pedro Tsao
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling OSPF.
Instructor & Todd Lammle
OSPF Last Update Copyright Kenneth M. Chipps Ph.D.
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:
CCNP1: Advanced Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Chapter 2 – Single Area OSPF OSPF Link State Routing Single Area and Multiarea OSPF.
© 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.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
Network Architecture and Design
Introduction to OSPF Nishal Goburdhan. Routing and Forwarding Routing is not the same as Forwarding Routing is the building of maps Each routing protocol.
Instructor & Todd Lammle
© 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.
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.
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.
7400 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. -0/35- OfficeServ 7x00 Enterprise IP Solutions Quick Install Guide.
Open Shortest Path First (OSPF)
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing Protocols.
Unicast Routing in IPv6 Babu Ram Dawadi.
CCNP Routing Semester 5 Chapter 4 OSPF.
1 24-Feb-16 S Ward Abingdon and Witney College OSPF CCNA Exploration Semester 2 Chapter 11.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-1 Implementing a Scalable Multiarea Network OSPF-Based Solution How OSPF Packet Processes.
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.
1 CMPT 471 Networking II OSPF © Janice Regan,
Open Shortest Path First (OSPF)
Single Area OSPF Link State Routing Single Area OSPF Concepts
Link State Routing protocol
OSPF (Open Shortest Path First)
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
Presentation transcript:

1 of 35

2 of 35 Single Area OSPF Concepts

3 of 35 OSPF Basics

4 of 35 OSPF versus RIP Open Shortest Path First (OSPF), like RIP, is based on “Open” standards.  RFC 2328 RFC 2328 OSPF is often preferred over RIP because of its scalability.  It can be configured on smaller networks using one “Area” (shown in yellow)  Or scaled to larger networks with virtual no limit.  Networks and Areas are easily added or removed  VLSM and Route Summaries are fully supported.

5 of 35 OSPF versus RIP Open Shortest Path First (OSPF), like RIP, is based on “Open” standards.  RFC 2328 RFC 2328 OSPF is often preferred over RIP because of its scalability.  It can be configured on smaller networks using one “Area” (shown in yellow).  Or scaled to larger networks with virtually no limit.  Networks and Areas are easily added or removed,  VLSM and Route Summaries are fully supported.

6 of 35 OSPF versus RIP Open Shortest Path First (OSPF), like RIP, is based on “Open” standards.  RFC 2328 RFC 2328 OSPF is often preferred over RIP because of its scalability.  It can be configured on smaller networks using one “Area” (shown in yellow).  Or scaled to larger networks with virtually no limit.  Networks and Areas are easily added or removed.  VLSM and Route Summaries are fully supported.

7 of 35 OSPF versus RIP / / / / / / / / / / / / /22 Open Shortest Path First (OSPF), like RIP, is based on “Open” standards.  RFC 2328 RFC 2328 OSPF is often preferred over RIP because of its scalability.  It can be configured on smaller networks using one “Area” (shown in yellow).  Or scaled to larger networks with virtually no limit.  Networks and Areas are easily added or removed.  VLSM and Route Summaries are fully supported.

8 of 35 OSPF versus RIP Speed of Convergence  RIP broadcasts every 30 seconds

9 of 35 OSPF versus RIP Speed of Convergence  OSPF is event-driven.  Only changes are flooded to other routers.  Sends an LSA when a change occurs.

10 of 35 OSPF versus RIP Path Selection  RIP can pick suboptimal paths because only hops are considered.  OSPF calculates the “Cost” of each link, which defaults to bandwidth (10 8 /bps).

11 of 35 Administrative Distance Because OSPF has superior convergence and path selection, it has a lower AD than RIP.  Remember: AD is a measure of a route source’s “trustworthiness” or “believability” Route Source Default Administrative Distance Connected interface0 Static route out an interface0 Static route to a next hop1 EIGRP summary route5 External BGP20 Internal EIGRP90 IGRP100 OSPF110 IS-IS115 RIP (v1 and v2)120 EGP140 External EIGRP170 Internal BGP200 Unkown255

12 of 35 OSPF Terminology  Links—networks a router knows about; each router interface is a “link”.  Area—a group of routers identified with a unique ID; all routers in the same area share the same link-state database.  Cost—is the bandwidth of the media; can be manually configured.  SPF Algorithm (Dijkstra)—calculated by each router to choose the lowest-cost path.  Link-state—is a link “up” or “down”?  LSA—a link state advertisement.  Adjacencies Database—keeps track of all directly connected routers (also called neighbors).  Link-State Database—also known as the Topology database; picture of who is connected to what; all routers should have the same L-S DB.  Forwarding Database—known as the Routing table where the lowest- cost paths are installed.  Designated Router/Backup Designated Router (DR/BDR)— routers that are elected on multiaccess networks to be the focal point for routing updates.

13 of 35 OSPF Terminology Graphic

14 of 35 OSPF Packet Types

15 of 35 OSPF Packet Types OSPF uses a variety of packets to communicate with neighbors and the DR/BDR.  Type 1: Hello; a 64-byte packet sent at regular intervals to keep a link “alive”.  Type 2: DBD (Database Description); summary contents of a router’s link-state database sent to a newly discovered neighbor.  Type 3: LSR (Link-State Request); requests more specific information about a link from a neighbor’s link-state database.  Type 4: LSU (Link-State Update); transports LSAs to neighbor routers; for example, a reply to an LSR.  Type 5: LSAck (Link-State Acknowledgement); acknowledges receipt of an LSA; OSPF’s routing updates are connection-oriented.

16 of 35 OSPF Packet Header (All Types) Below is the 20 byte packet header appended to the front of all OSPF packets.  Version specifies OSPF version; routers must be running the same version or adjacency with neighbors cannot be established.  Type specifies packet type (Type 1, Type2, etc.)  Packet Length is the length of the entire OSPF packet in bytes, including the standard OSPF packet header.  Router ID is the IP identity of the router who is originating the packet.  Area ID is the OSPF area that the packet is being sent into.  Authentication, if configured, is specified VersionTypePacket Length Router ID Area ID ChecksumAuthentication Type Authentication Data

17 of 35 Hello Packet Header (Type 1) Below is the additional fields added to the OSPF packet header to make an OSPF Hello packet header.  Network Mask is the number of bits turned on in the Subnet mask used by the sending router’s Router ID.  Hello Interval is number of seconds between sending router’s hellos  10 sec. or 30 sec., depending on network type Network Mask Hello IntervalOptionsRouter Priority Dead Interval Designated Router Backup Designated Router Neighbor Router ID (additional Neighbor Router ID fields, if necessary)

18 of 35 Hello Packet Header (Type 1)  Options are described in Section A.2 of RFC 2328RFC 2328  Router Priority is used for DR/BDR Elections. If set to 0, sending router is ineligible to become Designated Router.  Dead Interval is the number of seconds before sending router will consider a silent neighbor to be down.  Defaults to 4 times the Hello Interval Network Mask Hello IntervalOptionsRouter Priority Dead Interval Designated Router Backup Designated Router Neighbor Router ID (additional Neighbor Router ID fields, if necessary)

19 of 35 Hello Packet Header (Type 1)  Designated Router is the Router ID of the DR for this network, in the view of the sending router.  Backup Designated Router is the Router ID of the BDR for this network, in the view of the sending router.  Neighbor Router IDs are the Router IDs of each router from whom valid Hello packets have been seen recently within the Dead Interval Network Mask Hello IntervalOptionsRouter Priority Dead Interval Designated Router Backup Designated Router Neighbor Router ID (additional Neighbor Router ID fields, if necessary)

20 of 35 OSPF Operation

21 of 35 OSPF States OSPF neighbor adjacencies are established through a seven step process:  Down  Init  2Way  ExStart  Exchange  Loading  Full Each state is discussed in following slides.

22 of 35 Down, Init, 2Way States When a router first comes online, it is in the Down State and begins sending Type 1 Hello packets. When another router hears the new router’s Type 1 Hello packet for the first time, it will enter the Init State. Once the new router sees its own ID in the Hello packet sent by the neighbor, the routers move to the 2Way State.

23 of 35 ExStart State The routers now enter the ExStart State. Router priority or Router ID is used to determine master/slave relationship

24 of 35 Exchange State During the Exchange State, Type 2 DBD packets are exchanged.  These are a summary of each router’s Link-State Database.  After receiving a Type 2 DBD, the router sends an acknowledgment.

25 of 35 Loading State The Loading State is used only if one or more routers in the unconverged network “heard new information.”  The router will request more info; Type 3 LSR  The receiving router sends an update; Type 4 LSU

26 of 35 Full State Routers enter Full State and can now both calculate the SPF algorithm (Dijkstra) in parallel.

27 of 35 Steps in the OSPF Operation Routers move through five distinct steps of operation.  Step 1: Establish Router Adjacencies  Step 2: Elect a DR and BDR  Step 3: Discover Routes  Step 4: Select Appropriate Routes  Step 5: Maintain Routing Information Each Step is discussed on following slides.

28 of 35 Step 1: Discover Neighbors & Establish Adjacencies This process— already discussed previously in the description of Init and 2Way states—is similar for broadcast networks.

29 of 35 Step 2: Elect a DR and a BDR Occurs during the ExStart State:  The router with the highest priority or highest configured IP address becomes the DR.  The BDR is chosen the same way.

30 of 35 Step 3: Discover Routes Type2 DBDs are now exchanged  Although the graphic does not show it, the BDR silently listens to all traffic.

31 of 35 Step 4: Select Appropriate Routes The SPF Algorithm is now calculated in parallel with every other router in the Area.

32 of 35 Step 5: Maintain Routing Information Exchange periodic Hellos to detect changes in status of neighbors.

33 of 35 Network TypeCharacteristicsDR/BDR Elected? Ethernet, Token Ring, FDDI Yes Frame Relay, X.25, SMDS Yes PPP, HDLCNo Configured by administrator with subinterfaces No Network Types Nonbroadcast Multiaccess Point-to-Point Point-to-Multipoint Broadcast Multiaccess

34 of 35 Multicast Hello packets Listening routers add the new router to the adjacency table Routers reply to Hello packets with their own Hello packet Init State Down 2Way State Originating router adds all replying routers to adjacency table Adjacencies must be established (depends on link type) Choose DR/BDR Link type is multiaccess Compare all Router Priority values Is there a tie? Compare Router IDs Yes Take highest value Take second- highest value No Full State Exchange link-state information Any final LSAs are also exchanged Exchange Hello packets at intervals to maintain updated routing information Exchange Loading ExStart State Link type is point-to-point; determine “master/slave” Assign as BDR Assign as DR