Shivkumar Kalyanaraman 1 Reference: IS-IS vs OSPF Shivkumar Kalyanaraman Rensselaer Polytechnic Institute Abstracted from NANOG talks.

Slides:



Advertisements
Similar presentations
IS-IS and OSPF A Comparative Anatomy Dave Katz, Juniper Networks.
Advertisements

Introduction to OSPF Mark Tinka. Routing and Forwarding  Routing is not the same as Forwarding  Routing is the building of maps Each routing protocol.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Comparison of Connectionless Network Layer Protocols Or
Introduction to OSPF.
Lonnie Decker Multiarea OSPF for CCNA Department Chair, Networking/Information Assurance Davenport University, Michigan August 2013 Elaine Horn Cisco Academy.
ISIS and OSPF: Network Design Comparisons and Considerations Roosevelt Ferreira Professional Services Engineer
1 Introduction to ISIS SI-E Workshop AfNOG The Gambia Noah Maina.
Designing OSPF Networks
IPv6 Routing IPv6 Workshop Manchester September 2013
ISIS Advanced Routing Workshop AfNOG IS-IS Standards History  ISO specifies OSI IS-IS routing protocol for CLNS traffic Tag/Length/Value.
IPv4 - The Internet Protocol Version 4
Release 5.1, Revision 0 Copyright © 2001, Juniper Networks, Inc. Advanced Juniper Networks Routing Module 4: Intermediate System To Intermediate System.
EIGRP routing protocol Omer ben-shalom Omer Ben-Shalom: Must show how EIGRP is dealing with count to infinity problem Omer Ben-Shalom: Must.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 4 Lesson 1 1 The IS-IS Protocol BSCI Module 4 Lesson 1 Introducing IS-IS and Integrated.
Nov 11, 2004CS573: Network Protocols and Standards1 IP Routing: OSPF Network Protocols and Standards Autumn
Shivkumar Kalyanaraman 1 Routing II: Protocols (RIP, EIGRP, OSPF, PNNI, IS-IS) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
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.
Announcements List Lab is still under construction Next session we will have paper discussion, assign papers,
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
Objectives After completing this chapter you will be able to: Describe hierarchical routing in OSPF Describe the 3 protocols in OSPF, the Hello, Exchange.
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.
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.
Intradomain Routing Protocols By Behzad Akbari These slides are based in part upon slides of Prof. Shivkumar (Rpi university) and Sanjay Rao (Purdue university.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
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
Open Shortest Path First Pedro Tsao
Instructor & Todd Lammle
© 1999, Cisco Systems, Inc OSPF Overview RFC 2328, 2178, 1583.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
CS 540 Computer Networks II
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
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.
1 of of 35 Single Area OSPF Concepts 3 of 35 OSPF Basics.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v3.0—4-1 The IS-IS Protocol Introducing IS-IS and Integrated IS-IS Routing.
Link State Routing NETE0521 Presented by Dr.Apichan Kanjanavapastit.
86th IETF, Orlando, March 2013 IS-IS Support for Unidirectional Links draft-ginsberg-isis-udl-00.txt Les Ginsberg
Networks and Protocols CE Week 8b. Link state Routing.
 Development began in 1987  OSPF Working Group (part of IETF)  OSPFv2 first established in 1991  Many new features added since then  Updated OSPFv2.
IS-IS An introduction to IGP routing protocols Hagai Kahana.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing Protocols.
Dynamic Routing Protocols II OSPF
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing Protocols.
Comparing ISIS and OSPF
111 © 2002, Cisco Systems, Inc. All rights reserved. Presentation_ID.
Single Area OSPF Module 2, Review How routing information is maintained Link-state routers apply the Dijkstra shortest path first algorithm against.
86th IETF, Orlando, March 2013 Flooding Scope PDUs draft-ginsberg-isis-fs-lsp-00.txt Les Ginsberg Stefano Previdi.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
IS-IS Suman Pandey As a part of EECS702: Topics in Computer Systems - Future Internet (Spring 2008)
1 Introduction to ISIS AfNOG 2011 SI-E Workshop. 2 IS-IS Standards History  ISO specifies OSI IS-IS routing protocol for CLNS traffic A Link State.
1 CMPT 471 Networking II OSPF © Janice Regan,
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing & Switching.
Dynamic Routing Protocols II OSPF
Link State Routing protocol
Scalable Infrastructure Workshop AfNOG 2010
OSPF (Open Shortest Path First)
13.3 OSPF: Open Shortest Path First.
Routing II: Protocols (RIP, EIGRP, OSPF, PNNI, IS-IS): Brief Version
Similar Yet Different Protocol Design Choices in IS-IS and OSPF
Dynamic Routing Protocols II OSPF
Chapter 8: Single-Area OSPF
Cisco networking, CNET-448
BSCI Module 4 Lesson 1 Introducing IS-IS and Integrated IS-IS Routing
Dynamic Routing Protocols part3 B
Presentation transcript:

Shivkumar Kalyanaraman 1 Reference: IS-IS vs OSPF Shivkumar Kalyanaraman Rensselaer Polytechnic Institute Abstracted from NANOG talks by Dave Katz (Juniper) and Abe Martey (Cisco)

Shivkumar Kalyanaraman 2 IS-IS Overview q The Intermediate Systems to Intermediate System Routing Protocol ( IS-IS) was originally designed to route the ISO Connectionless Network Protocol (CLNP). (ISO10589 or RFC 1142) q Adapted for routing IP in addition to CLNP (RFC1195) as Integrated or Dual IS-IS (1990) q IS-IS is a Link State Protocol similar to the Open Shortest Path First (OSPF). OSPF supports only IP q IS-IS competed neck-to-neck with OSPF. q OSPF deployed in large enterprise networks q IS-IS deployed in several large ISPs

Shivkumar Kalyanaraman 3 IS-IS Overview q 3 network layer protocols play together to deliver the ISO defined Connectionless Network Service q CLNP q IS-IS q ES- IS - End System to Intermediate System Protocol q All 3 protocols independently go over layer 2

Shivkumar Kalyanaraman 4 CLNS Addressing NSAP Format System IDNSELAFI Variable length Area address 6 bytes1 byte bytes q NSAP format has 3 main components q Area ID q System ID q N-Selector (NSEL) - value is 0x00 on a router q NSAP of a router is also called a NET Area IDSys ID NSEL

Shivkumar Kalyanaraman 5 CLNS Addressing Requirements and Caveats q At least one NSAP is required per node q All routers in the same area must have a common Area ID q Each node in an area must have a unique System ID q All level 2 routers in a domain must have unique System IDs relative to each other q All systems belonging to a given domain must have System IDs of the same length in their NSAP addresses

Shivkumar Kalyanaraman 6 IS-IS Terminology Intermediate system (IS) - Router Designated Intermediate System (DIS) - Designated Router Pseudonode - Broadcast link emulated as virtual node by DIS End System (ES) - Network Host or workstation Network Service Access Point (NSAP) - Network Layer Address Subnetwork Point of attachment (SNPA) - Datalink interface Packet data Unit (PDU) - Analogous to IP Packet Link State PDU (LSP) - Routing information packet Level 1 and Level 2 – Area 0 and lower areas

Shivkumar Kalyanaraman 7 IS-IS Protocol Concepts: Network Nodes q Hosts q Level-1 Routers q Level-2 Routers q Level-1 and Level-2 Pseudonodes on broadcast links only

Shivkumar Kalyanaraman 8 IS-IS Protocol Concepts: Network Nodes PSN DIS q Broadcast link represented as virtual node, referred to as Pseudonode (PSN) q PSN role played by the Designated Router (DIS) q DIS election is preemptive, based on interface priority with highest MAC address being tie breaker q IS-IS has only one DIS. DIS/PSN functionality supports database synchronization between routers on a broadcast type link

Shivkumar Kalyanaraman 9 IS-IS Protocol Concepts: Areas L1L2 L1 Area Area Area L1L2 Level-1 Area Level-1 Area Level-1 Area Level-2 Backbone

Shivkumar Kalyanaraman 10 IS-IS Protocol Concepts: Hierarchical Routing Area Area Level-1 Routing Level-2 Routing Level-1 Routing q IS-IS supports 2-level routing hierarchy q Routing domain is carved into areas. Routing in an area is level-1. Routing between areas is level-2 q All ISO 10589/RFC1195 areas are stubs Backbone

Shivkumar Kalyanaraman 11 IS-IS Protocol Concepts: IS-IS Packet Types q IS-IS Hello Packets (IIH) q Level 1 LAN IS-IS Hello q Level 2 LAN IS-IS Hello q Point-to-point Hello q Link State Packets (LSP) q Level 1 and Level 2 q Complete Sequence Number packets (CSNP) q Level 1 and Level 2 q Partial Sequence Number Packets (PSNP) q Level 1 and Level 2

Shivkumar Kalyanaraman 12 IS-IS LS Database: IS-IS Packet Format q A Fixed Header q Contains generic packet information and other specific information about the packet q Type, Length, Value (TLV) Fields q TLVs are blocks of specific routing-related information in IS-IS packets

Shivkumar Kalyanaraman 13 IS-IS LS Database: Generic Packet Format Intra-domain Routing Protocol Discriminator Length Indicator TLV Fields Version/Protocol ID Extension ID Length RRR PDU Type Version Reserved Maximum Area Addresses Packet-Specific Header Fields No. of Octets

Shivkumar Kalyanaraman 14 IS-IS LS Database: LSP Format Intradomain Routing Proto Descriminator Lenth Indicator Version/Protocol ID Extension ID Length PDU TypeRRR Version Reserved Maximum Area Addresses PDU Length Remaining Lifetime LSP ID Sequence Number Checksum LSPDBOLIS TypePATT TYPE LENGTH VALUE FIELDS Octets 1 2 ID Length Variable

Shivkumar Kalyanaraman 15 Level-1 TLVs Area Address Intermediate System Neighbors End System Neighbors Authentication information IP Internal Reachability Information Protocols Supported IP Interface Address TLV NameTypeOrigin ISO RFC 1195 ISO 10589

Shivkumar Kalyanaraman 16 Level-2 TLVs Area Address Intermediate System Neighbors Partition Designated Level-2 IS Authentication information IP Internal Reachability Information Protocols Supported IP Interface Address TLV NameTypeOrigin ISO RFC 1195 ISO Prefix NeighborsISO IP External Reachability Information 130RFC 1195 Inter-domain Routing Protocol Information 131 RFC 1195

Shivkumar Kalyanaraman 17 High-level Comparison w/ OSPF q Protocols are recognizably similar in function and mechanism (common heritage) q Link state algorithms q Two level hierarchies q Designated Router on LANs q Widely deployed (ISPs vs enterprises) q Multiple interoperable implementations q OSPF more “optimized” by design (and therefore significantly more complex) q IS-IS not designed from the start as an IP routing protocol (and is therefore a bit clunky in places)

Shivkumar Kalyanaraman 18 Detailed comparison points q Encapsulation q OSPF runs on top of IP=> Relies on IP fragmentation for large LSAs q IS-IS runs directly over L2 (next to IP) => fragmentation done by IS-IS q Media support q Both protocols support LANs and point-to-point links in similar ways q IS-IS supports NBMA in a manner similar to OSPF pt- mpt model: as a set of point-to-point links q OSPF NBMA mode is configuration-heavy and risky (all routers must be able to reach DR; bad news if VC fails)

Shivkumar Kalyanaraman 19 Comparison: Packet Encoding q OSPF is “efficiently” encoded q Positional fields, 32-bit alignment q Only LSAs are extensible (not Hellos, etc.) q Unrecognized types not flooded. Opaque-LSAs recently introduced. q IS-IS is mostly Type-Length-Value (TLV) encoded q No particular alignment q Extensible from the start (unknown types ignored but still flooded) q All packet types are extensible q Nested TLVs provide structure for more granular extension

Shivkumar Kalyanaraman 20 Comparison: Area Architecture q Both protocols support two-level hierarchy of areas q OSPF area boundaries fall within a router q Interfaces bound to areas q Router may be in many areas q Router must calculate SPF per area q IS-IS area boundaries fall on links q Router is in only one area, plus perhaps the L2 backbone (area) q Biased toward large areas, area migration q Little or no multilevel deployment (large flat areas work so far)

Shivkumar Kalyanaraman 21 Comparison: Database Granularity q OSPF database node is an LSAdvertisement q LSAs are mostly numerous and small (one external per LSA, one summary per LSA) q Network and Router LSAs can become large q LSAs grouped into LSUpdates during flooding q LSUpdates are built individually at each hop q Small changes can yield small packets (but Router, Network LSAs can be large)

Shivkumar Kalyanaraman 22 Comparison: Database Granularity q IS-IS database node is an LSPacket q LSPs are clumps of topology information organized by the originating router q Always flooded intact, unchanged across all flooding hops (so LSP MTU is an architectural constant--it must fit across all links) q Small topology changes always yield entire LSPs (though packet size turns out to be much less of an issue than packet count) q Implementations can attempt clever packing

Shivkumar Kalyanaraman 23 Comparison: Neighbor Establishment q Both protocols use periodic multicast Hello packets, “I heard you” mechanism to establish 2-way communication q Both protocols have settable hello/holding timers to allow tradeoff between stability, overhead, and responsiveness q OSPF requires hello and holding timers to match on all routers on the same subnet (side effect of DR election algorithm) making it difficult to change timers without disruption q IS-IS requires padding of Hello packets to full MTU size under some conditions (deprecated in practice) q OSPF requires routers to have matching MTUs in order to become adjacent (or LSA flooding may fail, since LSUpdates are built at each hop and may be MTU-sized)

Shivkumar Kalyanaraman 24 Neighbor Adjacency Establishment q OSPF uses complex, multistate process to synchronize databases between neighbors q Intended to minimize transient routing problems by ensuring that a newborn router has nearly complete routing information before it begins carrying traffic q Accounts for a significant portion of OSPF’s implementation complexity q Partially a side effect of granular database (requires many DBD packets) q IS-IS uses its regular flooding techniques to synchronize neighbors q Coarse DB granularity => easy (a few CSNPs)

Shivkumar Kalyanaraman 25 Designated Routers and Adjacency q Both protocols elect a DR on multi-access networks to remove O(N^2) link problem and to reduce flooding traffic q OSPF elects both a DR and a Backup DR, each of which becomes adjacent with all other routers q BDR takes over if DR fails q DRship is sticky, not deterministic q In IS-IS all routers are adjacent (adjacency less stateful) q If DR dies, new DR must be elected, with short connectivity loss (synchronization is fast) q DRship is deterministic (highest priority, highest MAC address always wins) q DRship can be made sticky by cool priority hack (DR increases its DR priority)

Shivkumar Kalyanaraman 26 Comparison: LAN Flooding q OSPF uses multicast send, unicast ack from DR q Reduces flood traffic by 50% (uninteresting) q Requires per-neighbor state (for retransmissions) q Interesting (but complex) acknowledgement suppression q Flood traffic grows as O(N) q IS-IS uses multicast LSP from all routers, CSNP from DR q Periodic CSNPs ensure databases are synced (tractable because of coarse database granularity) q Flood traffic constant regardless of number of neighbors on LAN q But big LANs are uninteresting

Shivkumar Kalyanaraman 27 Comparison: Routes and Metrics q IS-IS base spec used 6-bit metrics on links q Allowed an uninteresting SPF optimization (CPUs are fast these days) q Proved difficult to assign meaningful metrics in large networks q Wide metric extension fixes this q Dual IS-IS spec advertises only default into L1 areas q Inter-area traffic routed sub-optimally q Route leaking extension addresses this

Shivkumar Kalyanaraman 28 Comparison: Pragmatic Considerations q OSPF is much more widely understood q Broadly deployed in enterprise market q Many books of varying quality available q Preserves our investment in terminology q IS-IS is well understood within a niche q Broadly deployed within the large ISP market q Folks who build very large, very visible networks are comfortable with it