|
www.visualland.net > Protocol > OSPF > 0. OSPF Overview
|
|
Table Of Content: (OSPF tutorials are interactive animations.) 2. If routers are on a broadcast media (e.g., Ethernet), they use Hello protocol to elect a DR (Designated Router) and a BDR (Backup DR). DR has Full relationship with other routers on the subnet. Non-DR routers don't have Full relationship with each other. This simplifies the number of pair wise relationships. For example, if a subnet has 10 routers, there are 45 pairs (10*9/2). With DR, there are 9 pairs. DR also creates a Network LSA to describe a list of attached routers in the subnet. 3. When there are several hundred routers, flooding large number of Router LSA could be a big overhead. OSPF groups routers into areas. Area makes OSPF scalable and able to handle more routers. ABR (Area Border Router) connects areas. It creates Network Summary LSA and uses it to notify addresses across areas. 4. A typical OSPF router may access thousands of external destinations outside of OSPF AS. Tracking them is a burden. OSPF provides ASBR (AS Border Router) to connect an OSPF AS with an alien AS (e.g., RIP). When ASBR discovers an external address from an alien AS, it creates an External LSA (type 5) and floods it to the entire OSPF AS. This way, internal routers can discover external addresses. In this process, ABR also creates an ASBR Summary LSA (type 4) to tell internal routers how to reach the ASBR. With External LSA and ASBR Summary LSA, internal routers can calculate routing paths to reach external destinations. 5. An OSPF router may deal with thousand external routes. It slows down routers significantly. In order to lighten up internal routers, OSPF provides stub area. Routers in a stub area do not keep external addresses. Their LSDB do not have type 4, 5 LSA. When internal routers need to access external addresses, they simply send packets to ABR. That is, ABR plays the role of a default gateway for stub area routers. In Totally stub area, routers don’t keep type 3 LSAs.
5. If a stub area is connected to a non-OSPF AS, it discovers new external addresses and unable to notify internal routers. This is because stub area routers cannot have External LSA. To solve this problem, OSPF provides NSSA (Not So Stub Area). In NSSA, an ASBR creates type 7 LSA when discovering external addresses. ASBR floods type 7 LSA inside NSSA. When an ABR in the NSSA receives type 7 LSA, it converts type 7 LSA into type 5 LSA and floods type 5 LSA to other areas. |

