Routing – the advantage of an “area” in OSPF configuration

Architectureospfrouting

As we know, during OSPF configuration we use the area. Each area has its different number, while there is only one area (area 0) which creates communications between all other attached areas.

I am confused that as we are using the same configuration techniques over all of the areas, but I don't know why we use areas if we can direct connect all of the PCs.

Best Answer

If you're asking specifically what Areas do in OSPF, there are many resources out there which have a wealth of information. These are just a few selections:

However, a good answer to "What is the advantage of OSPF Areas?", is this quote from the Cisco Design Technote, What are OSPF Areas:

An OSPF network can be divided into sub-domains called areas. An area is a logical collection of OSPF networks, routers, and links that have the same area identification. A router within an area must maintain a topological database for the area to which it belongs. The router doesn't have detailed information about network topology outside of its area, thereby reducing the size of its database.

In short OSPF Areas allow you to segment your network topology to enable greater scalability and maintain a greater level of control.


Edit: In response to your comment "How can OSPF Areas increase the speed of communication?":

By itself, using OSPF Areas doesn't increase the speed of communication. It removes roadblocks to communication/scalability.

Think of it like this (this isn't a perfect analogy, and over-simplifies the issue, but it should help give the general idea):

If a company takes hundreds of telephone calls each day, and has to send all of it's telephone calls to a single secretary, calls into the company will be slow. However if there is a central secretary who knows about many secretaries who all take calls for a different portion of the company, calls can more quickly be processed.

A similar issue arises when routing tables for any one device get too large/unmanageable. Splitting them into more manageable areas can help speed traffic along to it's destination.