Open Shortest Path Firts -2 OSPF-2 (RFC As mentioned before, there are two basic routing algorithms. rst one, distance ve

Similar documents
c2001, Dr.Y.N.Singh, EED, IITK 2 Border Gateway Protocol - 4 BGP-4 (RFC intended to be used for routing between Autonomou

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190

Open Shortest Path First (OSPF)

Network Working Group Request for Comments: 2328 Ascend Communications, Inc. STD: 54 April 1998 Obsoletes: 2178 Category: Standards Track

Internet Routing Protocols Tuba Saltürk

Introduction to OSPF

Introduction to OSPF

Introduction to OSPF OSPF. Link State Routing. Link State. Fast Convergence. Low Bandwidth Utilisation

Configuring OSPF. Cisco s OSPF Implementation

Finish Network Layer Start Transport Layer. CS158a Chris Pollett Apr 25, 2007.

Vanguard Managed Solutions

Cabrillo College. Rick Graziani, Instructor

Basic Idea. Routing. Example. Routing by the Network

Routing by the Network

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1

Link State Routing. Link State Packets. Link State Protocol. Link State Protocols Basic ideas Problems and pitfalls

Configuring OSPF. Finding Feature Information. Contents

OSPF Commands. Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols IP2R-61

Table of Contents 1 OSPF Configuration 1-1

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1

Introduction to OSPF

Creating Multiple OSPF Areas. 2001, Cisco Systems, Inc. 6-1

Network Working Group. Category: Standards Track Juniper Networks J. Moy Sycamore Networks December 1999

Chapter 1 The IP Routing Protocols

Why dynamic route? (1)

Link State Routing. Link State Packets. Link State Protocol. Link State Protocols Basic ideas Problems and pitfalls

Routing Protocols. Technology Description BGP CHAPTER

Inter-domain Routing. Outline. Border Gateway Protocol

Routing Protocols. Autonomous System (AS)

Routing in the Internet

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Configuring OSPF. Finding Feature Information

Configuring OSPF. Finding Feature Information

OSPF (Open Shortest Path First)

Teldat Router. OSPF Protocol

OSPF (Open Shortest Path First)

Chapter 7: Routing Dynamically. Routing & Switching

Operation Manual Routing Protocol. Table of Contents

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

CHAPTER 4: ROUTING DYNAMIC. Routing & Switching

RIP Version 2. The Classless Brother

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

ICS 351: Today's plan. distance-vector routing game link-state routing OSPF

Chapter 3. Introduction to Dynamic Routing Protocols. CCNA2-1 Chapter 3

RIP Configuration. RIP Overview. Operation of RIP. Introduction. RIP routing table. RIP timers

DD2490 p Link-state routing and OSPF. Olof Hagsand KTH/CSC

Configuration OSPF and RIP Avaya Virtual Services Platform 9000

Part II. Chapter 3. Determining IP Routes

HY 335 Φροντιστήριο 8 ο

Most important (cont d) What s most important in Project 1. Important for individuals. From from Most Important

OSPF. Unless otherwise noted, OSPF refers to OSPFv2 throughout this document.

Implementing Cisco IP Routing (ROUTE)

REDDIG II Computer Networking Training

TDC 363 Introduction to LANs

Configuring Networking Protocols

OSPF Commands: A through Z

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

Configuring OSPF. Finding Feature Information. Last Updated: June 24, 2011

Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP

Exam : : Building Scalable Cisco Internetworks (BSCI) Title. Ver :

Symbols. Numerics I N D E X

Lab 4: Routing using OSPF

Antonio Cianfrani. Routing Protocols

The Quickest Way To Get Certified (BSCI ) TestKing's Building Scalable Cisco Internetworks. Version 20.

Overview 4.2: Routing

Unit 3: Dynamic Routing

Configuring IP Routing Protocols

DD2490 p Link-state routing and OSPF. Olof Hagsand KTH/CSC

Top-Down Network Design

Routing(2) Inter-domain Routing

Routing Protocols. The routers in an internet are responsible for receiving and. forwarding IP datagrams through the interconnected set of

How To Configure Basic OSPFv3 Scenarios

Configuring IP Routing Protocols

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

Nortel Ethernet Routing Switch 5000 Series Configuration IP Routing Protocols. Release: 6.1 Document Revision:

Logging neighbor state changes 38 Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of

CompSci 356: Computer Network Architectures. Lecture 12: Dynamic routing protocols: Link State Chapter Xiaowei Yang

OSPF. OSPF processs can be enabled on 2 levels

Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of opaque LSAs 40 Configuring OSPF to

MULTICAST EXTENSIONS TO OSPF (MOSPF)

OSPF Configuration. Page 1 of 12

Keywords RIP, OSPF, IGP, EGP, AS, LSA

DD2490 p Link state routing and OSPF. Olof Hagsand KTH/CSC

2001, Cisco Systems, Inc. All rights reserved.

BTEC Level 3 Extended Diploma

IP Routing Volume Organization

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Routing Basics ISP/IXP Workshops

HP Load Balancing Module

Configuring IP Routing Protocols

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Routing(2) Inter-domain Routing

Unicast Routing. TCP/IP class

OSPF Sham-Link Support for MPLS VPN

Which of the following describe the process identifier that is used to run OSPF on a router? (Choose two)

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

CS321: Computer Networks Unicast Routing

IP Routing Tecnologie e Protocolli per Internet II rev 1

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

IPv4 IGP Troubleshooting. IPv4 Routing Workflow. IPv4 routing can be subdivided into three discrete steps

Transcription:

Layer Routing - IV Network OSPF-2 Yatindra Nath Singh ynsingh@ieee.org Dept. Of Electrical Engineering IIT Kanpur-208016 22 August 2001 1

Open Shortest Path Firts -2 OSPF-2 (RFC 2328 - http://www.ietf.org/) As mentioned before, there are two basic routing algorithms. rst one, distance vector routing is in form of RIP-1, RIP-2 and RIPng. second one, known as Link State routing - used in OSPF. 2

Basic idea { let each router identify all of its neighbouring routers. { This information is than broadcasted to every router in network. { Each router then compute shortest path tree keeping itself as root. { This tree - used to create and maintain routing tables for routing the packets. 3

Salient features of OSPF-2 uses link state routing. RIP cannot be used for large sized networks, but OSPF can be. runs internal to an autonomous system. So, it is Interior Gateway Protocol. provide support for equal cost multipaths. This improves the routing performance. 4

explicit support for CIDR (classless inter domain routing). authentication support for routing updates uses IP multicast when sending packets over broadcast (These IP multicast packets are not forwarded by networks. any router). protocol desing emphasize on quick response to topology using small amount of routing trac. changes 5

Link state routing protocol Each router maintains a database describing the topology of network. (referred to as link state database). identical database at each router. local state of all the routers (usable intefaces and reachable neighbours) maintained in database. local states are distributed over the whole network using ooding. 6

all routers run exactly same algorithm. from database, tree of shortest path with itself as root - computed by every router. this tree is used to create routing tables. when more than one equal cost paths exists, the trac is divided among them. 7

Cost dened by single dimensionless meteric. dened for each outgoing link or interface. (interface is physical to broadcast network or point to point link) connection Area to readuce the routing trac and keep size of link state small, set of routers and networks attached to them database can be grouped together - termed as areas. 8

topology of areas - hidden from rest of AS. routing within area determined by areas topology. protects area from bad routing data fromr remaining AS. area is generalisation of subnetted networks. Flexible conguration of IP subnets supported. each route has subnetmask and destination. two subnetwork or same IP network can have dierent size - variable length subnetting supported. subnetmasks 9

packet is routed to the best (longest or most specic match) network. host routes are treated as subnets with subnetmask 0xFFFFFFFF. Authentication All OSPF exchanges are authenticated. various authentication mechanisms can be used. dierent subnet areas can use dierent authentication mechanisms. 10

Externally derived data (routes learned through EGP) advertised throughout AS. kept separate from link state data. can also be tagged to pass additional information between router on boundry of AS. Routers can be connected by three kind of networks. point-to-point link broadcast network or NBMA (nonbroadcast multiaccess) nonbroadcast network (point to multipoint) 11

is not responsible for routing of packet in these network. OSPF are basically mechanism to connect the router to hosts or They other routers. **FROM** * RT1 RT2 +---+Ia +---+ * ------------ RT1 ------ RT2 T RT1 X +---+ Ib+---+ O RT2 X * Ia X * Ib X Physical point-to-point networks 12

The network - stub network When a network connected to a router all the trac through router is either origniting or terminating in network. **FROM** +---+ * RT7 * RT7 N3 +---+ T ------------ O RT7 +----------------------+ * N3 X N3 * Stub networks 13

the network is transit network When a network connected to at least two routers. some trac through router - neither originating or terminating in network present. **FROM** +---+ +---+ RT3 RT4 RT3 RT4 RT5 RT6 N2 +---+ +---+ * ------------------------ N2 * RT3 X +----------------------+ T RT4 X O RT5 X +---+ +---+ * RT6 X RT5 RT6 * N2 X X X X +---+ +---+ Broadcast or NBMA networks 14

Discovery of Neighbouring peers Hello protocol - used to discover the nieghbouring routers. uses broadcast on broadcast network. in nonbroadcast multiaccess network (NBMA) also, Hello protocol is used in broadcast mode. also used to select designated and secondry designated routers connected via broadcast network. In nonbrodcast network, OSPF can run in two modes. NBMA (nonbroadast multiaccess) - simulated the operation of OSPF on broadcast medium. point-to-point to multipoint - treats non-broadcast network as collection of point-to-point links. 15

**FROM** +---+ +---+ RT3 RT4 RT3 RT4 RT5 RT6 +---+ +---+ * -------------------- I3 N2 I4 * RT3 X X X +----------------------+ T RT4 X X I5 I6 O RT5 X X +---+ +---+ * RT6 X X X RT5 RT6 * I3 X +---+ +---+ I4 X I5 X I6 X Figure 1b: Network map components Point-to-MultiPoint networks RT4 and RT5 cannot communicate directly 16

Link state database example N1 N2 3 3 RT1 1 RT2 1 N3 1 1 RT4 8 8 RT3 2 8 6 N5 N6 8 8 8 N7 RT5 Ia 7 Ib 6 RT6 N4 17

Link state database - represented as Directed graph N1 3 RT1 1 0 0 N2 3 RT2 1 0 N3 0 RT4 1 1 RT3 2 8 8 6 8 N5 8 RT5 7 N6 8 6 RT6 N7 8 7 6 Ib Ia N4 18

boundry router with smallest meteric to external AS destination. The external routes broadcasted in whole of the AS. Two types of external routes. type-i : The meteric to external destinations are considered while computing the tree in AS. type-ii : the meteric to external destination is higher by an So, all distance in AS are smaller than this. choose the order. 19

When dividing AS in area always an area with id 0 (Areas id 0.0.0.0, area id is formatted as IP address) - backbone area. backbone should be preferably contiguous. In case it is not, it made contiguous by using virtual link through another area. is all areas are connected to backbone area. all interarea trac will pass through backbone area. Intra area trac will not pass through backbone. 20

(which is backbone router) in backbone ares is not area router router. boundry Routers Internal router - router will all directly connected network to same area. These run single copy of basic belonging algorithm. Area border router - routers attached to more than one areas. are multiple copies of basic algorithm running, one for There each area. Backbone router - router having interface to backbone area. area boundry routers are backbone router. But internal All 21

Internal router Backbone area Backbone router Area boundry router AS boundry ruter Autonomous System (AS) 22

only so having separate information for all network in router area is useless. stub Area boundry router summarises the link state database in the area. announces the summary outside the area. area boundry routers can be congured to send single entry (instead of separate entry for each network within outside area). Advantageous to send single entry when only area boundry is there. All packets has to be routed through this router 23

Consider the network shown below. The dashed outline is an area. RT3 and RT4 are area boundry routers. N1 N2 3 3 RT1 1 RT2 1 N3 1 1 RT4 8 8 RT3 2 8 6 N5 N6 8 8 8 N7 RT5 Ia 7 Ib 6 RT6 N4 Area 24

RT4 and RT5 will announce the following summary to Router outside. the Area boundry router is congured to send only one entry, when summary is sent. following RT3 RT4 N1 4 4 N2 4 4 N3 1 1 N4 2 3 RT3 RT4 N1-N4 4 4 25

Handling AS-external-LSAs external link state information - transmitted in separate link state advertisement (LSA). OSPF allows certain areas as stub areas. stub areas - have default route on per area basis. the AS-external-LSA not needed in these. All the packets not will go to default area boundry routers. Thereafter know backbone takes cares. reduces memory requirement for storing link state databases. 26

does not use UDP (RIP uses UDP port 520 and RIPng UDP OSPF 521). port It runs directly over IP layer. For OSPF IP protocol no. 89 is used. OSPF protocols packets - ve types Hello - discover/ maintain neighbours Database description - summarise database contents. Link state request - database download Link state update - database update Link state ack - ooding acknowledgement 27

Data base description and link state request are used to create adjacencies. Link state update - may contain LSAs of dierent routers. Each LSA - contains id of originating router and checksum of state contents. LSAs - species type eld also. link All OSPF packets except Hello are sent over adjacencies only. 28

Five types of LSAs 1 : Router-LSAs : originated by all routers. describes the states of routers interfaces to an area. ooded collected throughout an area only. 2 : Network-LSAs : originated for broadcast and NBMA by designated router. contains list of routers connected network to the network. ooded throughout the single area only. 3, 4 : summary-lsas : originated by area border router, throughout the associated area. describes the routes to ooded destination outside the area but inside the AS. 29

{ type 3 summary-lsas describe route to networks. { type 4 summary-lsas describe route to AS boundry routers. 5 : AS-external-LSAs : orginated by AS-boundry routers, throughout the AS. described routes to destinations in ooded other AS, as well as default route for AS. 30