Objectives After completing this chapter you will be able to: Describe hierarchical routing in OSPF Describe the 3 protocols in OSPF, the Hello, Exchange.

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

Multi-Area OSPF Multi-area OSPF networks can be difficult to design, and typically demand more administrative attention than any other popular interior.
Introduction to OSPF.
Lonnie Decker Multiarea OSPF for CCNA Department Chair, Networking/Information Assurance Davenport University, Michigan August 2013 Elaine Horn Cisco Academy.
Designing OSPF Networks
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Multiarea OSPF Scaling Networks.
Advanced Juniper Networks Routing
Nov 11, 2004CS573: Network Protocols and Standards1 IP Routing: OSPF Network Protocols and Standards Autumn
1 ELEN 602 Lecture 20 More on Routing RIP, OSPF, BGP.
RD-CSY3021 Comparing Routing Protocols. RD-CSY3021 Criteria used to compare routing protocols includes  Time to convergence  Proprietary/open standards.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
CSE5803 Advanced Internet Protocols and Applications (9) Introduction Chapter 6 introduced basic routing concepts inside Autonomous Systems. Chapter.
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
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.
Open Shortest Path First Protocol (OSPF) Sudarshan Vasudevan
Single-Area OSPF Implementation
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
Chapter 12 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Read a routing table  Configure a static route 
Open Shortest Path First (OSPF) -Sheela Anand -Kalyani Ravi -Saroja Gadde.
1 CS 4396 Computer Networks Lab Dynamic Routing Protocols - II OSPF.
1 Routing Protocols. 2 Distributed Routing Protocols Rtrs exchange control info Use it to calculate forwarding table Two basic types –distance vector.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Carl Bergenhem Multi Area OSPF Carl Bergenhem
Code : STM#520-1 Samsung Electronics Co., Ltd. OfficeServ7400 Router Operation Distribution EnglishED01.
Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.
1 © 2001, Cisco Systems, Inc. All rights reserved.© 2003, Cisco Systems, Inc. OSPF and ISIS v6 Khalid Raza
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling OSPF.
Instructor & Todd Lammle
© 1999, Cisco Systems, Inc OSPF Overview RFC 2328, 2178, 1583.
© Synergon Informatika Rt., 1999 Chapter 9 Configuring Open Shortest Path First.
Network Architecture and Design
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
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
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.
1 Module 4: Implementing OSPF. 2 Lessons OSPF OSPF Areas and Hierarchical Routing OSPF Operation OSPF Routing Tables Designing an OSPF Network.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
Objectives After completing this chapter you will be able to: Understand how routers operate Describe Distance Vector and Link State Algorithms Describe.
Link State Routing NETE0521 Presented by Dr.Apichan Kanjanavapastit.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
7400 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. -0/35- OfficeServ 7x00 Enterprise IP Solutions Quick Install Guide.
 Development began in 1987  OSPF Working Group (part of IETF)  OSPFv2 first established in 1991  Many new features added since then  Updated OSPFv2.
1 OSPF in Multiple Areas. 2 2 Scalability Problems in Large OSPF Areas Scalability problems in large OSPF areas include Large routing tables Large routing.
Open Shortest Path First (OSPF)
Dynamic Routing Protocols II OSPF
Open Shortest Path First (OSPF)
Release 5.1, Revision 0 Copyright © 2001, Juniper Networks, Inc. Advanced Juniper Networks Routing Module 3: OSPF NSSA.
Single Area OSPF Module 2, Review How routing information is maintained Link-state routers apply the Dijkstra shortest path first algorithm against.
1 CMPT 471 Networking II OSPF © Janice Regan,
Open Shortest Path First (OSPF)
Single Area OSPF Link State Routing Single Area OSPF Concepts
Dynamic Routing Protocols II OSPF
Link State Routing protocol
Kevin Piper, David Perry, Tom Hoffman, Emely Pagan
Open Shortest Path First Chang-Keun Park
OSPF (Open Shortest Path First)
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Dynamic Routing Protocols part2
13.3 OSPF: Open Shortest Path First.
Chapter 9: Multiarea OSPF
CCNA 3 v3 JEOPARDY Module 2 CCNA3 v3 Module 2 K. Martin.
OSPF.
Link-State Routing Protocols
Cisco networking, CNET-448
Chapter 9: Multiarea OSPF
Routing With a Link-State Protocol
Link-State Routing Protocols
Chapter 9: Multiarea OSPF
Presentation transcript:

Objectives After completing this chapter you will be able to: Describe hierarchical routing in OSPF Describe the 3 protocols in OSPF, the Hello, Exchange and Flooding protocols Describe the OSPF database Outline the advantages and disadvantages of OSPF

Functional Requirements of OSPF A more descriptive routing metric was introduced OSPF can discover multiple best paths to a given destination OSPF supports a 2 level routing hierarchy OSPF supports Variable Length Subnet Masks (VLSM) OSFP packets have a space reserved for authentication OSPF is an example of a link state algorithm that adjusts to network changes quicker than RIP and is more robust

Hierarchical Routing Area 1 Area 2 Area 3

Hierarchical OSPF Internetwork Area 1 Router 4 Router 1 Router 5 H2 Router 8 Router 7 Router 11 Router 13 H1 Area 2 Area 3 Router 12 Area 0 (Backbone) Router 2 Router 3 Router 6 Router 9 Router 10

Hierarchical Routing in OSPF Area Area Area Area X Y Z W

Hierarchical OSPF Network Example LAN 4 Router 1 Router 2 Router 3 Router 6 Router 4 Router 5 LAN 3 LAN 5 LAN 2 Router 2 Router 3 Area Area Area External Network ABR ASBR Multiple copies of algorithm Inter area routing Intra area routing

OSPF Area Types Transit Areas A transit area includes any area capable of propagating or originating Type- 5 AS external LSAs Stub Areas Stub areas do not import external route information( External LSAs Type 5). Instead, network traffic to destinations not local to the area or AS is directed to the closest area border router advertising a default route Not-so-stubby areas (NSSA) The NSSA (not-so-stubby-area) defines a new OSPF area similar to the stub area in that External LSAs (Type-5) are not propagated into the area nor may they originate in a stub area (via an ASBR). The area may contain an AS border router that may inject NSSA LSAs (Type-7) into the area.

OSPF Packet Header Format Version(1) Type Message Length Router IP address Area ID Checksum Authentication (octets 0-3) Authentication Type Authentication (octets 4-7) IP protocol 89 IP Packet 24 byte header

Sending and Receiving an OSPF Packet Version(1) Type Message Length Router IP address Area ID Checksum Authentication (octets 0-3) Authentication Type Authentication (octets 4-7) Version = 2 Type = 1 (hello) Length = entire length Router IP address = Area ID = Checksum = 16 bit checksum of entire packet Authentication = 64 bits Check on IP level Check IP protocol number (89) OSPF version must be 2 IP address must be on same network as receiving interface Area ID must be = Checksum must be successful Authentication must be successful

The Protocols within OSPF Hello protocol - To check that the links are operational. -To elect the Designated Router (DR) and the Backup Designated Router (BDR). Exchange protocol - Performs initial OSPF database synchronisation between two adjacent routers. Flooding protocol - The flooding protocol is used to maintain the two databases in adjacent routers in synchronisation

Hello Protocol BDR DR HELLO Priority = 1 Priority = 2 Priority = 7 Priority = 4Priority = 3

Hello Protocol - OSPF Hello Message Format Network Mask Backup Designated Router Designated router OSPF Header with Type = 1 Neighbour(1) IP Address …….. Dead Timer Hello Int Gway Prio Neighbour(2) IP Address Neighbour(n) IP Address

Database Synchronisation OSPF Hello OSPF Hello: I heard Database Description: Seq=x Database Description: Seq=x, 5 LSA headers Database Description: Seq=x+1,1 LSA header Database Description: Seq=x+1 Link State Request Packet Link State Update Packet

Exchange Protocol - OSPF Database Description Message Must be Zero Link ID Link Type OSPF Header with Type = 2 Advertising Router Link Sequence Number …….. Link Checksum Database Sequence Number Link Age I M S The fields starting at Link Type to Link Age are repeated for each link

Exchange Protocol & Flooding Protocol - OSPF Link Status Request Message Format OSPF Header with Type = 3 Link Type Link ID Advertising Router ………

Exchange Protocol & Flooding Protocol - OSPF Link Status Update Message Format OSPF Header with Type = 4 Number of Link Status Advertisements Link Status Advertisement (1) ……………… Link Status Advertisement (n)

Exchange Protocol & Flooding Protocol - Header Format used for all Link State Advertisements Link Age Link Type Link ID Advertising Router Link Sequence Number Link ChecksumLength

The OSPF Database - Router Links State Record EB Link ID Link Data Type #TOSTOS 0 metric Type #TOSTOS x metric Number of links

The OSPF Database - The Network Links State Record Attached router Network mask Attached router

The OSPF Database - The Summary Links State Record Network Mask TOS=0 0 TOS 0 metric TOS=x 0 TOS x metric TOS=y 0 TOS y metric …….…… ………..

The OSPF Database - The External Links State Record Network Mask E,TOS=0 0 TOS 0 metric E,TOS=x 0 TOS x metric External route tag (0) External route tag (x)

Calculation of the Routing Table The present routing table is invalidated. The intra-area routes are calculated by building the shortest path tree into each attached area. The inter-area routes are calculated through the examination of summary LSAs. In ABRs connected to one or more transit areas, the transit area’s summary LSAs are examined to see if better paths exist using transit areas than were found in steps 2 and 3 above. Routes to external destinations are calculated, through the examination of AS external LSAs.

Advantages of OSPF OSPF is a standard protocol that all vendors can implement interoperability. It provides rapid, deterministic calculation of internet routes. It uses Link State Advertisements. It facilitate separate administration of differing parts of the internet. It facilitate hiding of detailed information about the internet. It provides a more advanced use of metrics. With OSPF one can isolate misconfigured or malfunctioning routers in the internet and route around them. OSPF provides for the effective use of information derived from other routing protocols

Disadvantages of OSPF Link-state protocols use large amounts of router memory to store topological databases, as each router keeps a map of the entire network. When a network experiences frequent changes, link-state routers use a large portion of network bandwidth by sending out LSAs at each network change.