1 Cabrillo College Building Scalable Cisco Networks Ch. 5 OSPF - Multi-areas (Part I) Ch. 5 OSPF - Multi-areas (Part I) Rick Graziani, Instructor with.

Slides:



Advertisements
Similar presentations
Multi-Area OSPF Multi-area OSPF networks can be difficult to design, and typically demand more administrative attention than any other popular interior.
Advertisements

CCNP – Advanced Routing Ch. 6 OSPF - Multi-areas (Part I) Ch. 6 OSPF - Multi-areas (Part I) This Presentation was created by Rick Graziani. Some Modifications.
Module 4 OSPF Overview and Configuration
CCNP 1: Advanced Routing
13: OSPFv3 Rick Graziani Cabrillo College
Introduction to OSPF.
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.
Designing OSPF Networks
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Multiarea OSPF Scaling Networks.
Instructor & Todd Lammle
Advanced Juniper Networks Routing
Routing and Routing Protocols
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-1 Implementing a Scalable Multiarea Network OSPF- Based Solution Configuring and Verifying.
Objectives After completing this chapter you will be able to: Describe hierarchical routing in OSPF Describe the 3 protocols in OSPF, the Hello, Exchange.
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.
Carl Bergenhem Multi Area OSPF Carl Bergenhem
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.
Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling OSPF.
Instructor & Todd Lammle
Configuring OSPF – Part 1 of 2 CIS 185 CCNP ROUTE Rick Graziani Cabrillo College Last Updated: Fall 2010.
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.
© 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.
Network Architecture and Design
CCNP – Advanced Routing
Configuring OSPF – Part 2 of 2 CIS 185 CCNP ROUTE Rick Graziani Cabrillo College Last Updated: Fall 2010.
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
Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols.
© 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.
1 Module 4: Implementing OSPF. 2 Lessons OSPF OSPF Areas and Hierarchical Routing OSPF Operation OSPF Routing Tables Designing an OSPF Network.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-1 Implementing a Scalable Multiarea Network OSPF- Based Solution Configuring and Verifying.
Routing and Routing Protocols
© 2003, Cisco Systems, Inc. All rights reserved..
Load Sharing (pages ) Can be equal cost or unequal-cost Load sharing can be: per destination (fast switching), or per packet (process switch) ASIC.
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.
1 Intro to OSPF © 1998, Cisco Systems, Inc.. 2 © 2005 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID CISCO CONFIDENTIAL Introduction.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing Protocols.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-1 Implementing a Scalable Multiarea Network OSPF-Based Solution Planning Routing Implementations.
OSPFv3 John Rullan Cisco Certified Instructor Trainer Thomas A. Edison CTE HS Stephen Lynch Network Architect, CCIE #36243 ABS Technology Architects.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-1 Implementing a Scalable Multiarea Network OSPF- Based Solution Configuring and Verifying.
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.
© 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.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing & Switching.
CIS 185 CCNP ROUTE Chapter 3: Implementing OSPF Part 2
CCNP – Advanced Routing
CIS 185 CCNP ROUTE Ch. 4 Manipulating Routing Updates Part 1 - Route Redistribution Rick Graziani Cabrillo College Last Updated:
報告題目:OSPF 指導教授:陳明仕 報告者:黃元志 學號M
Instructor & Todd Lammle
OSPF (Open Shortest Path First)
Load Sharing (pages ) Can be equal cost or unequal-cost
Dynamic Routing: Dynamic routing is where we use a routing protocol; routing protocols are cool because they take care of our work. Routing protocols will.
Chapter 9: Multiarea OSPF
Module Summary Open Shortest Path First (OSPF) protocol is one of the most commonly used link-state IP routing protocols in networking. It is an open standard.
OSPF.
Instructor & Todd Lammle
Chapter 8: Single-Area OSPF
Cisco networking, CNET-448
Chapter 9: Multiarea OSPF
Dynamic Routing: Dynamic routing is where we use a routing protocol; routing protocols are cool because they take care of our work. Routing protocols will.
Chapter 9: Multiarea OSPF
Dynamic Routing Protocols part3 B
Presentation transcript:

1 Cabrillo College Building Scalable Cisco Networks Ch. 5 OSPF - Multi-areas (Part I) Ch. 5 OSPF - Multi-areas (Part I) Rick Graziani, Instructor with Mark McGregor Sep. 29, 2001

2 OSPF Multi-Area Part I n Areas n LSAs n show ip ospf database (summary of link state database) n show ip route n Stub Areas n Totally Stubby Areas

3 OSPF Multi-Area Part II (next week) n E1 and E2 routes n Default Routes n Route Summarization n NSSA (Not So Stubby Areas) n Virtual Links n Load Balancing n show commands

4 Issues with large OSPF nets n Frequent SPF calculations n Large routing table n Large link-state table

5 Overview n Areas n Router Types n LSA Types n Area Types n Much more later in this chapter!

6 OSPF uses “Areas” n Hierarchical routing enables you to separate large internetworks (autonomous systems) into smaller internetworks that are called areas. n With this technique, routing still occurs between the areas (called inter-area routing), but many of the smaller internal routing operations, such as recalculating the database, are restricted within an area.

7 OSPF Areas

8 OSPF Router Types

9 Internal Internal: Routers with all their interfaces within the same area Backbone Backbone: Routers with at least one interface connected to area 0 ASBR ASBR: (Autonomous System Boundary Router): Routers that have at least one interface connected to an external internetwork (another autonomous system) ABR ABR: (Area Border Router): Routers with interfaces attached to multiple areas.

10 OSPF packet types OSPF Type-4 packets have 7 LSA packets (later)

11 LSA Types

12 LSAs used for discovering routes and reaching Full State, along with Maintain Routes “adjacent” OSPF Type-2 (DBD) OSPF Type-5 (LSAck) OSPF Type-3 (LSR) OSPF Type-4 (LSU) OSPF Type-5 (LSAck) OSPF Type-2 (DBD)

13 LSA Types (con’t) n Type 6MOSPF (Multicast OSPF) Not supported by Cisco. –MOSPF enhances OSPF by letting routers use their link-state databases to build multicast distribution trees for the forwarding of multicast traffic.

14 LSA Types (con’t) n Type 7 NSSA External Link Entry –Originated by an ASBR connected to an NSSA. Type 7 messages can be flooded throughout NSSAs and translated into LSA Type 5 messages by ABRs. Routes learned via Type-7 LSAs are denoted by either a “N1” or and “N2” in the routing table. (Compare to E1 and E2).

15 Area Types n Standard n Backbone n Stub –Stub –Totally Stubby Area (TSA) –Not-so-stubby-area (NSSA)

16 Area Types

17 Part I - LSAs in a normal areas

18 Multi Area OSPF Normal Areas

19 Routes Received on all OSPF Routers Normal Areas Receives all routes from within A.S.: n Within the local area n From other areas (Inter-Area) Receives all routes from External A.S. (External Routes) NOT Received: n Default Route (need default-information-originate) - later

20 Your Turn - In groups, examine running-configs n Look at the running-configs for “1. OSPF Multi-Areas - All Normal Areas” n Look at the OSPF network statements!

21 Understanding LSAs n show ip ospf database –This is NOT the link state database, but only a summary. –It is a tool to help determine what routes are included in the routing table. –We will look at this output to learn the tool as well as become familiar with the different types of LSAs. –To view the link state database use: show ip ospf database [router|network|…] n show ip route

22 LSA 1 - Router Link States n Generated by each router for each area it belongs to. n Describes the states of the links in the area to which this router belongs. n Tells the other routers in the area about itself. n Flooded only within the area. n Denoted by just an “O” in the routing table or “C” if the network is directly connected. n ABR will include a set of LSA 1’s for each area it belongs to n Lets take a look at the link state database (summary) Rtr# show ip ospf database

23 n Router Link States = LSA 1 n For Router Links, the Link State ID is always the same as the Advertising Router n Advertising Router is the Router ID of the router that created this LSA 1 Link Count - Ignore RouterA#show ip ospf database OSPF Router with ID ( ) (Process ID 1) Router Link States (Area 0) ( LSA 1 - Links in the area to which this router belongs.) Link ID ADV Router Age Seq# Checksum Lkcnt x xA x x x x2C x xA035 1 n Bottom line: Router Link States (LSA1’s) should display all the RouterIDs of routers in that area, including its own. n Rick’s reminder: LSA1 -> “my one area” <- Note the Area!

24 Routing Table Results n Denoted by just an “O” in the routing table, or a “C” RouterD - show ip route /8 is subnetted, 1 subnets C is directly connected, Loopback0 O IA /24 [110/84] via , 00:10:45, Ethernet0 O /24 [110/74] via , 00:10:46, Ethernet0 C /24 is directly connected, Ethernet0 O E /8 [110/500] via , 00:10:46, Ethernet0 O E /16 [110/500] via , 00:10:46, Ethernet0 O IA /24 [110/148] via , 00:10:46, Ethernet0 O IA /24 [110/158] via , 00:10:46, Ethernet0 n Why is there only just an”O” for this network and not the other networks? –Directly connected or via another area.

25 Your Turn -Discuss in groups (LSA 1s) n Using the Handout: “1. OSPF Multi-Areas - All Normal Areas” verify these results. n Look at the link state database summary (show ip ospf database) commands and the Router Links States (LSA1s) for each router. n Look at the routing tables (show ip route) and notice the routes within that router’s area. n Why do some routers have more than one set of Router Links States? n Where does “show ip ospf database” tell you the RouterID. n Where does “show ip ospf database” tell you the Area.

26 LSA 2 - Net Link States n LSA 2 - Generated by the DR on every multi-access network n Denoted by just an “O” in the routing table or “C” if the network is directly connected. n Network LSAs (LSA 2) are flooded only within the originating area. n In link state database for all routers within area, even those routers on not on multi-access networks or DRs on other multi-access networks in the same area. n ABR will include a set of LSA 2s for each area it belongs to. n Lets take a look at the link state database (summary) Rtr# show ip ospf database

27 Router A RouterA# show ip ospf database Net Link States (Area 0) (LSA 2 - Generated by the DR) Link ID ADV Router Age Seq# Checksum x x4E4D n Link ID = IP address of DR on MultiAccess Network n ADV Router = Router ID of DR n Bottom line: Net Link States (LSA2’s) should display the RouterIDs of the DRs on all multi-access networks in the area and their IP addresses. n Rick’s reminder: LSA2 -> “Ethernet = Layer 2 = DR”

28 n Using the Handout: “1. OSPF Multi-Areas - All Normal Areas” verify these results. n Look at the link state database summary (show ip ospf database) commands and the Net Links States (LSA2s) for each router. n Look at the routing tables (show ip route) and notice the multi-access routes within that router’s area. n Why do some routers have more than one set of Net Links States? n Why doesn’t Router F have any LSA 2’? Take a look at the “show ip ospf neighbor” for RouterF. There is no DR or BDR on an multi-access stub network. Your Turn -Discuss in groups (LSA 2s)

29 LSA 3 - Summary Net Link States n LSA 3 - Originated by the ABR. n Describes links between ABR and Internal Routers of the Local Area n ABR will include a set of LSA 3’s for each area it belongs to. n LSA 3s are flooded throughout the backbone (Area 0) and to other ABRs. n Routes learned via LSA type 3s are denoted by an “IA” in the routing table. n Lets take a look at the link state database (summary) Rtr# show ip ospf database

30 OSPF Router Types

31 Multi Area OSPF Normal Areas

32 Router A RouterA# show ip ospf database Summary Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum (Area 51 networks - ADV Router E ABR) x x x x9BE6 (Area 1 networks - ADV Router B ABR) x xC0CF x xC119 n Link ID = Network IP addresses of networks in other areas n ADV Router = Router ID ABR n Divided by ABR n Bottom line: Should see networks in other areas and the ABR advertising that route. n Rick’s reminder: LSA3 -> “networks sent by the A B R”

33 Router A RouterA# show ip route /8 is subnetted, 1 subnets C is directly connected, Loopback0 C /24 is directly connected, Ethernet0 O IA /24 [110/138] via , 00:06:14, Ethernet0 O IA /24 [110/84] via , 00:06:19, Ethernet0 O E /8 [110/500] via , 00:35:15, Ethernet0 O E /16 [110/500] via , 00:33:56, Ethernet0 O IA /24 [110/74] via , 00:37:56, Ethernet0 O IA /24 [110/84] via , 00:06:49, Ethernet0 n Routes learned via LSA type 3s are denoted by an “IA” in the routing table.

34 Summary Net Link States (Area 1) LSA 3 - Generated by the ABR. Describes links between ABR and Internal Routers of the Local Area Link ID ADV Router Age Seq# Checksum Area 51 networks - ADV Router B ABR x xC4D x x2779 Area 0 networks - ADV Router B ABR x x4DCB /8 is subnetted, 1 subnets C is directly connected, Loopback0 O IA /24 [110/74] via , 00:09:31, Serial0 C /24 is directly connected, Serial0 C /24 is directly connected, Ethernet0 O E /8 [110/500] via , 00:09:31, Serial0 O E /16 [110/500] via , 00:09:31, Serial0 O IA /24 [110/138] via , 00:09:31, Serial0 O IA /24 [110/148] via , 00:09:31, Serial0 n Another example: Non-area 0 router, RouterC

35 n Using the Handout: “1. OSPF Multi-Areas - All Normal Areas” verify these results. n Look at the link state database summary (show ip ospf database) commands and the Summary Net Links States (LSA3s) for each router. n Look at the routing tables (show ip route) and notice the Interarea (IA) routes. n Why do some routers have more than one set of Summary Net Links States? Your Turn -Discuss in groups (LSA 3s)

36 LSA 4 - Summary ASB Link States n LSA 4 - Originated by the ABR. n Flooded throughout the backbone area to the other ABRs. n Describes the reachability to the ASBRs n Advertises an ASBR (Router ID) not a network n Included in routing table as an IA route. Exceptions n Not flooded to Stub and Totally Stubby networks. n More on this later n Lets take a look at the link state database (summary) Rtr# show ip ospf database

37 Multi Area OSPF Normal Areas

38 Router C RouterC# show ip ospf database Summary ASB Link States (Area 1) LSA 4 - Reachability to ASBR. Not flooded to Stub and Totally Stubby networks. Link ID ADV Router Age Seq# Checksum x x33E1 n Link ID = Router ID of ASBR n ADV Router = Router ID ABR advertising route n Bottom line: Routers in non-area 0, should see Router ID of ASBR and its ABR to get there. Rick’s reminder: LSA4 -> “Reachability to the A S B R”

39 Router B RouterB# show ip ospf database Summary ASB Link States (Area 1) LSA 4 - Reachability to ASBR. Not flooded to Stub and Totally Stubby networks. Link ID ADV Router Age Seq# Checksum x x33E1 n No LSA 4s for Area 0 on Router B n Note: RouterE (Area 51) and RouterF (Area 51) include an extra entry of RouterE for the Link ID and ADV Router. - Don’t know why.

40 n Using the Handout: “1. OSPF Multi-Areas - All Normal Areas” verify these results. n Look at the link state database summary (show ip ospf database) commands and the Summary Net Links States (LSA4s) for each router. n Why do some routers have more than one set of Summary ASB Links States and others may not (like RouterA and ASBR)? Your Turn -Discuss in groups (LSA 4s)

41 LSA 5 - AS External Link States n LSA 5 - Originated by the ASBR. n Describes destination networks external to the Autonomous Systems n Flooded throughout the OSPF AS except to stub and totally stubby areas n Denoted in routing table as E1 or E2 (default) route (soon) n We will discuss default routes later. Exceptions n Not flooded to Stub and Totally Stubby networks. n More on this later n Lets take a look at the link state database (summary) Rtr# show ip ospf database

42 Router A RouterA# show ip ospf database AS External Link States LSA 5 - External Networks originated by the ASBR, Flooded throughout A.S. except to Stub and Totally Stubby Link ID ADV Router Age Seq# Checksum Tag x x9F x x670A 0 n Link ID = External Network n ADV Router = Router ID ASBR n Bottom line: All Routers should see External networks and the Router ID of ASBR to get there. Rick’s reminder: LSA5 -> I give up!

43 Router A RouterA# show ip route /8 is subnetted, 1 subnets C is directly connected, Loopback0 C /24 is directly connected, Ethernet0 O IA /24 [110/138] via , 00:06:14, Ethernet0 O IA /24 [110/84] via , 00:06:19, Ethernet0 O E /8 [110/500] via , 00:35:15, Ethernet0 O E /16 [110/500] via , 00:33:56, Ethernet0 O IA /24 [110/74] via , 00:37:56, Ethernet0 O IA /24 [110/84] via , 00:06:49, Ethernet0 n Notice that the cost is 500 for both routes. n We will see why later, but it has to do with: ASBR: router ospf 1 redistribute rip metric 500 network area 0

44 Another look (internal non-area 0 router) Router C RouterC# show ip ospf database Type-5 AS External Link States LSA 5 - External Networks originated by the ASBR, Flooded throughout A.S. except to Stub and Totally Stubby Link ID ADV Router Age Seq# Checksum Tag x x9F x x670A 0 n Another Note: For ABRs: There is only one set of “AS External Link States” in database summary. In other words, an ABR router will only show one set of “AS External Link States,” not one per area. <- Note, NO Area!

45 Router C RouterC# show ip route /8 is subnetted, 1 subnets C is directly connected, Loopback0 O IA /24 [110/74] via , 00:09:31, Serial0 C /24 is directly connected, Serial0 C /24 is directly connected, Ethernet0 O E /8 [110/500] via , 00:09:31, Serial0 O E /16 [110/500] via , 00:09:31, Serial0 O IA /24 [110/138] via , 00:09:31, Serial0 O IA /24 [110/148] via , 00:09:31, Serial0 n Again, notice that the cost is 500 for both routes. n Again, we will see why later, but it has to do with: ASBR: router ospf 1 redistribute rip metric 500 network area 0

46 Quick Note (more next week) E1 vs. E2 External Routes n External routes fall under two categories, external type 1 and external type 2. n The difference between the two is in the way the cost (metric) of the route is being calculated. n The cost of a type 2 route is always the external cost, irrespective of the interior cost to reach that route. n A type 1 cost is the addition of the external cost and the internal cost used to reach that route. n A type 1 route is always preferred over a type 2 route for the same destination.

47 n Using the Handout: “1. OSPF Multi-Areas - All Normal Areas” verify these results. n Look at the link state database summary (show ip ospf database) commands and the AS External Links States (LSA5s) for each router. n Also, look at the routing tables for each router. n How many sets of LSA 5s does the ABRs have in their link state summary database? Notice the ASBRs entries. Your Turn -Discuss in groups (LSA 5s)

48 Part II - Stub Networks Conisiderations for both Stub and Totally Stubby Areas n An area could be qualified a stub when there is a single exit point (a single ABR) from that area or if routing to outside of the area does not have to take an optimal path. n The area is not needed as a transit area for virtual links (later). n The ASBR is not within the stub area n The area is not the backbone area (area 0) n Stub areas will result in memory and processing savings depending upon the size of the network.

49 Multi Area OSPF Stub Area

50 Stub Areas Receives all routes from within A.S.: n Within the local area - LSA 1s and LSA 2s (if appropriate) n From other areas (Inter-Area) - LSA 3s Does not receive routes from External A.S. (External Routes). ABR: n ABR blocks all LSA 4s and LSA 5s. n ‘If LSA 5s are not know inside an area, LSA 4s are not necessary.’ n LSA 3s are propagated by the ABR. Note: Default route is injected into stub area by ABR –External Routes: Once the ABR gets a packet headed to a default route, it must have a default route, either static or propagated by the ASBR via default information originate (coming!) Configuration: n All routers in the area must be configured as “stub”

51 All routers in the area must be configured as “stub” including the ABR RouterB router ospf 1 network area 0 network area 1 area 1 stub RouterC router ospf 1 network area 1 network area 1 area 1 stub RouterD router ospf 1 network area 1 area 1 stub << Command: area area stub

52 RouterC RouterC# show ip ospf database Summary Net Link States (Area 1) LSA 3 - Generated by the ABR. Describes links between ABR and Internal Routers of the Local Area Link ID ADV Router Age Seq# Checksum Default Route - ADV Router B ABR x x3B67 Area 51 networks - ADV Router B ABR x x37C x x671D Area 0 networks - ADV Router B ABR x x8F6E n Notice that there are no LSA 4s or LSA 5s for stub area routers. Default Route injected by ABR (LSA 3)

53 Router C RouterC# show ip route Gateway of last resort is to network C /24 is directly connected, Ethernet /24 is subnetted, 1 subnets C is directly connected, Loopback0 O IA /24 [110/74] via , 00:09:29, Serial0 C /24 is directly connected, Serial0 O IA /24 [110/138] via , 00:09:19, Serial0 O IA /24 [110/148] via , 00:09:19, Serial0 O*IA /0 [110/65] via , 00:09:30, Serial0 NOTE on default route: n ABR will advertise a default route with a cost of 1 n cost of 65 = (serial link)

54 Router B - The ABR RouterB# show ip route Gateway of last resort is not set O /24 [110/74] via , 00:08:04, Serial /24 is subnetted, 1 subnets C is directly connected, Loopback0 C /24 is directly connected, Ethernet0 C /24 is directly connected, Serial0 O IA /24 [110/74] via , 00:07:55, Ethernet0 O E /16 [110/500] via , 00:02:14, Ethernet0 O IA /24 [110/84] via , 00:07:55, Ethernet0 O E /8 [110/500] via , 00:02:24, Ethernet0 n Notice, there is no default route here. n Default route is NOT Received from ASBR: n ASBR’s default route (need default-information-originate) - later

55 n Using the Handout: “2. OSPF Multi-Areas - Stub Area” verify these results. n Look at the link state database summary (show ip ospf database) commands and the Summary Net Links States (LSA 3s) for RouterD. n Also, look at the routing table for RouterD. Note: A Stub area may have more than one ABR, but because of the default route, the internal routers cannot determine which router is the optimal gateway outside the AS. Your Turn -Discuss in groups (Stub)

56 Part III - Totally Stubby Areas Cisco proprietary Same considerations as with Stub areas: n An area could be qualified a stub when there is a single exit point (a single ABR) from that area or if routing to outside of the area does not have to take an optimal path. n The area is not needed as a transit area for virtual links (later). n The ASBR is not within the stub area n The area is not the backbone area (area 0) n Stub areas will result in memory and processing savings depending upon the size of the network. - This is even more true with Totally Stubby areas

57 Multi Area OSPF Totally Stubby Area

58 Totally Stubby Areas Receives routes from within A.S.: n Only from within the local area - LSA 1s and LSA 2s (if appropriate) n Does not receive routes from other areas (Inter-Area) - LSA 3s Does not receive routes from External A.S. (External Routes) ABR: n ABR blocks all LSA 4s and LSA 5s. n ABR blocks all LSA 3s, except propagating a default route. n Default route is injected into totally stubby area by ABR. Configuring: n All routers must be configured as “stub” n ABR must be configured as “stub no-summary”

59 RouterB (ABR) router ospf 1 network area 0 network area 1 area 1 stub no-summary RouterC router ospf 1 network area 1 network area 1 area 1 stub RouterD router ospf 1 network area 1 area 1 stub ^^ Command: area area stub no-summary ^^ Command: area area stub

60 RouterC RouterC# show ip ospf database Summary Net Link States (Area 1) LSA 3 - Generated by the ABR. Describes links between ABR and Internal Routers of the Local Area Link ID ADV Router Age Seq# Checksum Default Route - ADV Router B ABR x x3B67 n Default route is injected into totally stubby area by ABR for all other networks (inter-area and external routes) n Does not receive routes from other areas (Inter-Area) n Does not receive routes from External A.S. (External Routes) Default Route injected by ABR (LSA 3)

61 Router C RouterC# show ip route Gateway of last resort is to network C /24 is directly connected, Ethernet /24 is subnetted, 1 subnets C is directly connected, Loopback0 C /24 is directly connected, Serial0 O*IA /0 [110/65] via , 00:13:11, Serial0 n Default route is injected into totally stubby area by ABR for all other networks (inter-area and external routes) n Does not receive routes from other areas (Inter-Area) n Does not receive routes from External A.S. (External Routes)

62 Router B - The ABR RouterB# show ip route Gateway of last resort is not set O /24 [110/74] via , 00:11:23, Serial /24 is subnetted, 1 subnets C is directly connected, Loopback0 C /24 is directly connected, Ethernet0 C /24 is directly connected, Serial0 O IA /24 [110/74] via , 00:11:13, Ethernet0 O E /16 [110/500] via , 00:01:39, Ethernet0 O IA /24 [110/84] via , 00:11:13, Ethernet0 O E /8 [110/500] via , 00:02:48, Ethernet0 n ABR will forward Intra-Area routes (to other areas within AS) n Notice, there is no default route here. n Default route is NOT Received from ASBR: n ASBR’s default route (need default-information-originate) - later

63 OSPF design considerations

64 OSPF Design Tips n Different people have different approaches to designing OSPF networks. n The important thing to remember is that any protocol can fail under pressure. n “The idea is not to challenge the protocol but rather to work with it in order to get the best behavior.” CCO

65 Number of Routers per Area The maximum number of routers per area depends on several factors, including the following:  What kind of area do you have?  What kind of CPU power do you have in that area?  What kind of media?  Will you be running OSPF in NBMA mode?  Is your NBMA network meshed?  Do you have a lot of external LSAs in the network?  Are other areas well summarized? For this reason, it's difficult to specify a maximum number of routers per area.

66 Stub and Totally Stubby Areas: n An area could be qualified a stub when there is a single exit point (a single ABR) from that area or if routing to outside of the area does not have to take an optimal path. n The area is not needed as a transit area for virtual links (later). n The ASBR is not within the stub area n The area is not the backbone area (area 0) n Stub areas will result in memory and processing savings depending upon the size of the network. - This is even more true with Totally Stubby areas n Totally Stubby areas is a Cisco enhancement.

67 Next Week OSPF n E1 and E2 routes n Default Routes n Route Summarization n NSSA (Not So Stubby Areas) n Virtual Links n Load Balancing n show commands Review questions n Cisco Press Exam Cert. Guide n Todd Lammle n On-line Assessments And more Powerpoint animations!