Sep, 2001 configuring ospf with multiple areas by todd lammle in networking on september, 2001, 12. All other nonbackbone areas must be connected physically to the backbone. Ospf is a widely used protocol in service provider environments. Lets have a look at the configuration for a stub area.
Notsostubby areas nssas are an extension of ospf stub areas. Single area ospf is useful in smaller networks with few routers. The underlying physical connectivity of the network must map to the twolayer area structure, with all nonbackbone areas attaching. Interarea routing happens through routers that are connected to the backbone area and their associated areas. In addition, all ospf routing protocol exchanges are authenticated. Topics covered include, ospf area, stub area, summary advertisement, hello interval, dead interval, nssa and virtual link. In this update i will explore the different kinds of stub areas for ospf. Ospf external routes are not advertised into a stub area.
In a multiarea ospf network, one area must be designated as the backbone area or area 0. Ospf version 2 was originally documented in rfc 1247. When a link state router begins operating on a network link, information associated with that logical network is added to its local link state database lsdb. Scenario the capetown router needs to be upgraded as it is suspected that the router is not keeping up with the growth of the ospf internetwork. Ospf routing protocol, dijkstra algorithm, ospf stub area. Stub areas external lsas are stopped e1 and e2 routes default route is advertised into stub area by the abr all routers in stub area must be configured as stub totally stubby areas. Backbone area backbone is also referred as area 0 or area 0. How ospf injects a default route into a stub or totally. Because ospf is link state the lsdb must be identical within an area. The ospf backbone is the special ospf area 0 often written as area 0.
Inter area route summarization can only be done on the area boarder router abr and summarize routes from a particular area into the backbone area. In the middle youll find the backbone area and the other areas are configured as the different stub area types. An ospf network can be structured, or subdivided, into routing areas to simplify. Apr 07, 2017 there are actually several different flavors of stub networks in ospf. A stub area is configured to prevent as external link advertisements type 5 being flooded into the stub area. Ospf route types intraarea route all routes inside an area interarea route routes advertised from one area to another by an area border router external route routes imported into ospf from other protocol or static routes r1 r2 r3 r5 r4 rd ra rc rb ir abrbr asbr to other as ir area 1 area 0 area 2 area 3. In order to configure an nssa totally stub area, issue this command under the ospf configuration. In figure 3 28, two companies running ospf have merged and a direct. Dec 09, 2011 a stub area in ospf is an area that will not learn external routes. Only regular areas are useful for isps other area types handle redistribution of other routing protocols into ospf isps dont redistribute anything into ospf. Scenario international travel agency ita maintains a complex ospf environment. Only the abrs also need to be configured for a default route injection. Area border router abr bordering any type of ospf stub area prevents the.
Now a days the majority of the network setups use this protocol. The abr does not allow type5 external routes to be propagated into the stub, replacing them with a default route. This is to ensure that the spf calculation is consistent and to prevent routing loops. Now the routing table has an interarea default route oia. It is the core of an ospf network and all other areas are connected to it. Inter area summarization and external summarization. The task is to optimize ospf routing, which creates the need to design and configure multiarea ospf. Previously i explained the different ospf special area types called stub areas. Note that in isis, a router is entirely within an area, unlike ospf, where a router can sit on the border. If youd like to learn more about the different types of lsa, wikipedia has a very good entry on them. In order to define area 7 as a totally stub area, configure the area 7 stub no summary command on the abr. Chapter routing protocols rip, ospf, and bgp pdf created with fineprint pdffactory pro trial version.
Controlling ospf designated router election, understanding ospf areas and backbone areas, example. In 2008 free ccna workbook originally started as a sharable pdf but quickly evolved into the largest ccna training lab website on the net. If you are using gns3 than load the stub area networking gns3 topology than start devices. If you really want to wrap your mind around all this, consider an ospf router, which has a loopback interface. I have been recently thinking about ospf designs with discontiguous non area 0 areas.
A reference implementation architecture for deploying a highly ibm. Enable ospf configuring ospf p1c109 enable ospf as with other routing protocols, enabling ospf requires that you create an ospf routing process, specify the range of ip addresses to be associated with the routing process, and assign area ids to be. Jul 31, 2014 lets have a look at the configuration for a stub area. If you change area 1 in the stub area example from a stub area to a totally stub area, the abr still injects the 0. Nov 01, 2017 ospf has special area types called stub areas. Figure 1 shows an autonomous system as across which many external routes are advertised. The various stub area schemes, stub, not sostubby, and the vendorspecific totally stubby. Ospf open shortest path first ospf is a standardized linkstate routing protocol, designed to scale efficiently to support larger networks. Ospf neighbor discovery process all neighboring router with ospf enabled receive the hello packet checks contents of the hello message and if certain information match it reply unicast to that hello with sending its router id in the neighbor list. Ospf adheres to the following link state characteristics. The backbone is responsible for distributing routing information between nonbackbone areas. Networking explain the ospf, open shortest path first. Ospf configuring a stub area and a totally stubby area objective in this lab, an ospf stub area and a totally stubby area will be configured.
In figure 328, two companies running ospf have merged and a direct. Configuring a multiarea ospf network, understanding multiarea adjacency for ospf, example. Ospf scalability is achieved by reducing the flooding domain using areas and reducing the size of the routing table doing summarization. Use the following commands on sanjose3, the abr, to configure area 2 as a totally stubby area. As can be seen in the above output, the routing table has changed. The model is quite a simplification for the network all of the enterprise is just area 0 on one link and area 3 on one loopback. In a multiarea ospf network, stub areas are basically used to provide scalability. I have several sources, including this cisco one telling me that the abr will inject a default route into a stub or totally stubby ospf area. In this lesson i want to give you an overview of the different ospf stub areas. Ospf allows 5 different area types, which provides flexibility, fast convergence and scalability. Refer to the ospf database explanation guide in order to learn more about the ospf database. The abr in a stub or totallystubby area advertises a default route as an inter area. There are actually several different flavors of stub networks in ospf.
Now, what is this all about and why would you want to use something called a stub anyway. Now the o e2 ospf external routes have disappeared. There is vastly improved flexibility when combining a distributelist with a. Configuring ospf areas techlibrary juniper networks. Apr 22, 2010 ospf area types and lsas seem to be somewhat misunderstood concepts. The only difference is that other summary lsas are not sent into the totally stub area. Use the area defaultcost command on an area border router abr attached to the stub area. A stub area in ospf is an area that will not learn external routes. Ospf employs a hierarchical network design using areas. Configuring ospf with multiple areas by todd lammle in networking on september, 2001, 12. All the prefixes that you redistributed into ospf from another routing protocol are not welcome in the stub area. The area defaultcost command provides the metric for the summary default route generated by the abr into the stub area to further reduce the number of linkstate advertisements lsas sent. However, because it is not always possible or feasible to have a physical connection between a nonbackbone area and the backbone, the ospf standard allows the use of virtual connections to the backbone. In the next series of lessons i will show you the configuration of each ospf stub type.
Use the area xx stub command in every router in the area to define an area as a stub area. The next slides describing the different area types are provided for information only 38. Ospf interarea routes are advertised into the area, and the abr will inject a default route into a stub area. In this article we will look at the stub area, totally stub, nssa not so stubby and. Stub totally stubby notsostubby only regular areas are useful for isps other area types handle redistribution of other routing protocols into ospf isps dont redistribute anything into ospf the next slides describing the different area types are provided for information only 36. Type 7 nssa external link generated by an asbr in a notsostubby area. If external routes make up a significant portion of a topology database, you can suppress the advertisements in areas that do not have links outside the network. Make sure you understand the different ospf lsa types before you continue reading or it might be difficult to follow me. Open shortest path first ospf is a routing protocol for internet protocol ip networks.
In this video we explore how stub and totally stub areas stub nosummary work, what ospf lsa they filter and how ospf provide connectivity to the routes that are lost with this lsa filtering. Discontiguous nonarea 0 areas in ospf netcraftsmen. Lets take a look to the routing table and the linkstate database on r3. Use the area stub command to configure all devices attached to the stub area. External lsas are flooded to all areas except stub areas. Instead, external routes are replaced, by means of a type 3 lsa, with a single default route pointing to that areas abr. Why must all areas connect to an area 0 backbone in ospf. If youve read this far, youre probably already aware that ospf makes use of areas to break up the potential administrative nightmare of running an igp in a network. To define an area as a stub area, use the ospf router configuration command, area area id stub. Stub area the external route advertisements are not received by.
This is true even if the abr doesnt have a default route of its own. All routers in the stub area must have the stub flag configured. These areas do not allow routes other than intra area and the default routes to be propagated within the area. In the picture above we have 2 areasarea 0 and area 1. This stub area receives a default route from the abr using a type 3 lsa. Like stub areas, they prevent the flooding of asexternal linkstate advertisements lsas into nssas and instead rely on default routing to external destinations. In the topology shown, routers in area 7 do not need to know about all the external destinations. Optimizing ospf behavior ospf implementation cisco press. Stub, totally stubby, and nssas are beyond the scope of this chapter. Technically, you could apply all three of the ospf stub terms to this loopback stub host, stub network, stub area. If running single area ospf any area can be used, there is no requirement to have area 0. Single area ospf in figure 1, all routers are in one area called the backbone area area 0. Understanding ospf stub areas, totally stubby areas, and notso stubby areas. Note to take advantage of the ospf stub area support, default routing must be used in the stub area.
Stub area the external route advertisements are not received by the stub area. I have been recently thinking about ospf designs with discontiguous nonarea 0 areas. This might be required when two separate ospf networks are merged into one large network. Router abr area border router blokuje pakiety lsa typu 4 i 5, wysyla domyslna trase 0. Routers that act as gateways redistributionbetween ospf and other routing protocols igrp, eigrp, isis, rip, bgp, static or other instances of the ospf routing process are called autonomous system boundary router asbr. Use the ospf router configuration area xx nssa command in order to define an nssa. There is no benefit in joining two nonzero areas together. Basic ospf stub area a stub area is an area which is out on a limb with no routers or areas beyond it. Ospf stub areas reference sheet apronets router router3 router 2 routerrouter1 area 0 area 3 stub area 1 lo12 type 5 type 3 oia 0.
Stub area techniques improve performance in ospf networks and allow the. A regular area can have a number of subtypes, including a standard area, stub area, totally stubby area, and notsostubby area nssa. The ospf backbone is the logical center of the ospf network. Area 0 was chosen to be the backbone, the number 0 or 0. Mikrotik routeros implements ospf version 2 rfc 2328 and. Configuring multiarea ospf objective in this lab configure a multiarea ospf operation, interarea summarization, external route summarization, and default routing. Now, summarization and filtering are functions of the abr. Ospf area types and lsas you dont want to read this. In stub and totally stub areas, the abr to the stub area generates a summary lsa with the linkstate id 0. And as isps merged and grew by acquiring smaller isps, it became difficult to paste the new ospf area with. You may expect questions such as which routes are allowed by a particular ospf area or when will a router in an ospf nonbackbone area receive a default route from the abr. This type of stub area is an extension to ospf created by cisco.
Understanding ospf areas, ospf designated router overview, example. An ospf area is a group of routers that share the same linkstate information in their lsdbs. Understanding ospf stub areas, totally stubby areas, and notsostubby areas. Ospf tutorial explaining how link state routing occurs using the dijkstra algorithm. W ospf kazdy obszar moze byc zdefiniowany jako stub area, totaly stubby area, notsostubby area nssa lub nssa totally stubby area. Configuring ospf with multiple areas is simple when you understand ospf configuration in a single area. In my example all the loopbacks are 24, and are configured as ip ospf network pointtopoint to make the routing tables loop more like the enterprise i an modeling. Link state routing protocols advertise the state of their links.
In this session we configure different stub area types of ospf stub, totally stub, nssa and totally nssa. Hence the memory requirements of the leaf node routers is reduced, and so is the size of the ospf database. A stub area is an area which does not receive route advertisements external to the. If you are preparing for the ccnp route exam, you should have a good understanding of ospf area types and the reasons for creating an ospf network with multiple areas. Stub area routers only obtain information on routes external to the as from the abr. If you configure an area as stub it will block all type 5 external lsas. The differences between rfc 1247 and this memo are explained in appendix e. However when working with ospf you can only summarize at an abr or asbr. Jan 18, 2012 sean wilkins explains ospf stub area troubleshooting and how it relates to link state advertisement lsa types. The benefits of configuring a stub area are that the size of the link state data base. Diagnostics are performed and it is discovered that the.
Stub area an area that has a single exit point and blocks type 57 lsa types and receives type 34 lsas with a default route 0. Ospf will form neighbor relationships with adjacent routers in the same area. Jul 19, 2016 examine the ospf database in a totally stub area. Configuring ospf route summarization free ccna workbook. After you define the nssa totally stub area, area 1 has these characteristics in addition to the nssa characteristics. Feb 08, 2016 my courses you can buy at lowest price. As a result, nssas like stub areas must be placed at the edge of an ospf routing domain. Totally stubby area totally stubby takes it a step further. Sean wilkins explains ospf stub area troubleshooting and how it relates to link state advertisement lsa types. The ospf backbone always contains all area border routers.
943 571 1619 669 1106 863 570 296 1110 545 1014 441 471 1256 837 1262 1064 8 1559 1532 507 1236 1256 1099 997 1451 910 1342 209 122 376 576 704 1274 588 782