Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Open Shortest Path First
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==OSPF areas == A network is divided into OSPF ''areas'' that are logical groupings of hosts and networks. An area includes its connecting router having an interface for each connected network link. Each router maintains a separate link-state database for the area whose information may be summarized towards the rest of the network by the connecting router. Thus, the topology of an area is unknown outside the area. This reduces the routing traffic between parts of an autonomous system. OSPF can handle thousands of routers with more a concern of reaching capacity of the [[forwarding information base]] (FIB) table when the network contains lots of routes and lower-end devices.<ref>{{cite web|url=https://packetpushers.net/podcast/show-134-ospf-design-part-1-debunking-the-multiple-area-myth|publisher=Packet Pushers|title=Show 134 β OSPF Design Part 1 β Debunking the Multiple Area Myth|access-date=February 2, 2021|archive-date=June 2, 2021|archive-url=https://web.archive.org/web/20210602055714/https://packetpushers.net/podcast/show-134-ospf-design-part-1-debunking-the-multiple-area-myth/|url-status=live}} podcast debunking 50-router advice on old Cisco article</ref> Modern low-end routers have a full gigabyte of RAM,<ref>[https://mikrotik.com/product/rb4011igs_rm Mikrotik RB4011 has 1 GB RAM for example] {{Webarchive|url=https://web.archive.org/web/20210816224128/https://mikrotik.com/product/rb4011igs_rm |date=August 16, 2021 }}, mikrotik.com, Retrieved Feb 1, 2021.</ref> which allows them to handle many routers in an area 0. Many resources<ref>{{cite web|url=http://www.groupstudy.com/bookstore/samples/thomas/|title=Stub Area Design Golden Rules|publisher=Groupstudy.com|access-date=2011-11-30|archive-url=https://web.archive.org/web/20000831182105/http://www.groupstudy.com/bookstore/samples/thomas/|archive-date=August 31, 2000|url-status=dead}} 64 MB of RAM was a big deal in 2020 for OSPF.</ref> refer to OSPF guides from over 20 years ago where it was impressive to have 64 MB of RAM. Areas are uniquely identified with 32-bit numbers. The area identifiers are commonly written in the dot-decimal notation, familiar from IPv4 addressing. However, they are not IP addresses and may duplicate, without conflict, any IPv4 address. The area identifiers for IPv6 implementations (OSPFv3) also use 32-bit identifiers written in the same notation. When dotted formatting is omitted, most implementations expand area ''1'' to the area identifier ''0.0.0.1'', but some have been known to expand it as ''1.0.0.0''.{{citation needed|reason=which implementations?|date=January 2017}} Several vendors (Cisco, Allied Telesis, Juniper, Alcatel-Lucent, Huawei, Quagga), implement ''totally stubby'' and ''NSSA totally stubby area'' for stub and not-so-stubby areas. Although not covered by RFC standards, they are considered by many to be standard features in OSPF implementations. OSPF defines several area types: * Backbone * Non-backbone/regular * Stub * Totally stubby * Not-so-stubby * Totally not-so-stubby * Transit ===Backbone area=== [[File:OSPF-area0 standalone figur.drawio.png|frameless|right|Example of backbone, area 0 with 2 routers, R1 and R2]] The backbone area (also known as ''area 0'' or ''area 0.0.0.0'') forms the core of an OSPF network. All other areas are connected to it, either directly or through other routers. OSPF requires this to prevent [[routing loop]]s.<ref>{{cite web |last1=Doyle |first1=Jeff |title=My Favorite Interview Question |url=https://www.networkworld.com/article/2348778/my-favorite-interview-question.html |website=Network World |access-date=28 December 2021 |language=en |date=10 September 2007 |archive-date=December 28, 2021 |archive-url=https://web.archive.org/web/20211228182634/https://www.networkworld.com/article/2348778/my-favorite-interview-question.html |url-status=live }}</ref> Inter-area routing happens via routers connected to the backbone area and to their own associated areas. It is the logical and physical structure for the 'OSPF domain' and is attached to all nonzero areas in the OSPF domain. In OSPF the term ''autonomous system boundary router'' (ASBR) is historic, in the sense that many OSPF domains can coexist in the same Internet-visible autonomous system, RFC 1996.<ref>{{Harv|ASGuidelines|1996|p=25}}</ref>{{Ref RFC|1930}} All OSPF areas must connect to the backbone area. This connection, however, can be through a virtual link. For example, assume area 0.0.0.1 has a physical connection to area 0.0.0.0. Further assume that area 0.0.0.2 has no direct connection to the backbone, but this area does have a connection to area 0.0.0.1. Area 0.0.0.2 can use a virtual link through the ''transit area'' 0.0.0.1 to reach the backbone. To be a transit area, an area has to have the transit attribute, so it cannot be stubby in any way. === Regular area === [[File:OSPF-area0 area122 mutliarea figur.drawio.png|frameless|right|Figure show 3 routers with 2 areas, area 0 and area 122, sharing one router.]] A regular area is just a non-backbone (nonzero) area without specific feature, generating and receiving summary and external LSAs. The backbone area is a special type of such area. ===Stub area=== [[File:OSPF-stubby area figur.drawio.png|frameless|right]] :In hello packets the E-flag is not [[Data type#Boolean type|high]], indicating "External routing: not capable" A stub area is an area that does not receive route advertisements external to the AS and routing from within the area is based entirely on a default route. An ABR deletes type 4 and 5 LSAs from internal routers, sends them a default route of 0.0.0.0 and turns itself into a default gateway. This reduces LSDB and routing table size for internal routers. Modifications to the basic concept of stub area have been implemented by systems vendors, such as the ''totally stubby area'' (TSA) and the ''not-so-stubby area'' (NSSA), both an extension in [[Cisco Systems]] routing equipment. ====Totally stubby area==== [[File:OSPF-Totally stubby area figur.drawio.png|frameless|right]] A ''totally stubby area'' is similar to a stub area. However, this area does not allow ''summary'' routes in addition to not having ''external'' routes, that is, ''inter-area'' (IA) routes are not summarized into totally stubby areas. The only way for traffic to get routed outside the area is a default route which is the only Type-3 LSA advertised into the area. When there is only one route out of the area, fewer routing decisions have to be made by the route processor, which lowers system resource utilization. :Occasionally, it is said that a TSA can have only one ABR.<ref>{{cite web|url=http://www.groupstudy.com/bookstore/samples/thomas/|title=Stub Area Design Golden Rules|publisher=Groupstudy.com|access-date=2011-11-30|archive-url=https://web.archive.org/web/20000831182105/http://www.groupstudy.com/bookstore/samples/thomas/|archive-date=August 31, 2000|url-status=dead}}. This is not necessarily true. If there are multiple ABRs, as might be required for high availability, routers interior to the TSA will send non-intra-area traffic to the ABR with the lowest intra-area metric (the ''closest'' ABR) but that requires special configuration.</ref> ===Not-so-stubby area=== [[File:OSPF-NSSA figur.drawio.png|frameless|right]] :In hello packets the N-flag is set [[Data type#Boolean type|high]], indicating "NSSA: supported" A ''not-so-stubby area'' (NSSA) is a type of stub area that can import autonomous system external routes and send them to other areas, but still cannot receive AS-external routes from other areas.{{Ref RFC|3101}} NSSA is an extension of the stub area feature that allows the injection of external routes in a limited fashion into the stub area. A case study simulates an NSSA getting around the stub-area problem of not being able to import external addresses. It visualizes the following activities: the ASBR imports external addresses with a type 7 LSA, the ABR converts a type 7 LSA to type 5 and floods it to other areas, the ABR acts as an ASBR for other areas. The ASBRs do not take type 5 LSAs and then convert to type 7 LSAs for the area. ====Totally not-so-stubby area==== [[File:OSPF-Totally NSSA figur.drawio.png|frameless|right]] An addition to the standard functionality of an NSSA, the ''totally stubby NSSA'' is an NSSA that takes on the attributes of a TSA, meaning that type 3 and 4 summary routes are not flooded into this type of area. It is also possible to declare an area both totally stubby and not-so-stubby, which means that the area will receive only the default route from area 0.0.0.0, but can also contain an autonomous system boundary router (ASBR) that accepts external routing information and injects it into the local area, and from the local area into area 0.0.0.0. :Redistribution into an NSSA area creates a special type of LSA known as type 7, which can exist only in an NSSA area. An NSSA ASBR generates this LSA, and an NSSA ABR router translates it into a type 5 LSA, which gets propagated into the OSPF domain. A newly acquired subsidiary is one example of where it might be suitable for an area to be simultaneously not-so-stubby and totally stubby if the practical place to put an ASBR is on the edge of a totally stubby area. In such a case, the ASBR does send externals into the totally stubby area, and they are available to OSPF speakers within that area. In Cisco's implementation, the external routes can be summarized before injecting them into the totally stubby area. In general, the ASBR should not advertise default into the TSA-NSSA, although this can work with extremely careful design and operation, for the limited special cases in which such an advertisement makes sense. By declaring the totally stubby area as NSSA, no external routes from the backbone, except the default route, enter the area being discussed. The externals do reach area 0.0.0.0 via the TSA-NSSA, but no routes other than the default route enter the TSA-NSSA. Routers in the TSA-NSSA send all traffic to the ABR, except to routes advertised by the ASBR.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)