Where are type 4 LSAs generated?Posted by stretch in Networking on Monday, 21 Apr 2008 at 1:34 a.m. GMTAn interesting question was recently brought up by sirsamon over at networking-forum.com: where are OSPF type 4 LSAs generated? Recall that type 4 LSAs serve to advertise the presence of an autonomous system boundary router (ASBR). It would seem natural to assume type 4 LSAs are generated by a border router (ABR) for the area in which the ASBR is located, but that's not the case. Assume the following scenario:
Area 1 (a stub area) and area 2 (a standard area) are separated by area 0 (the backbone). Router A has a link to the 10.0.0.0/8 network, which is not participating in OSPF. Examining the OSPF database from router D yields expected results; we can see type 1, 2, and 3 LSAs for our network: Now assume we want to redistribute the 10.0.0.0/8 network from router A into OSPF. First, let's convert area 1 to a not-so-stubby area (NSSA), which will allow it to contain an ASBR but still retain its stubbiness. Even though we haven't configured router A for redistribution yet, a type 4 LSA has just been advertised by router C into area 2. Why? When we configured area 1 to be an NSSA, this change was communicated to router C, which now assumes an ASBR is present in area 1. After all, why else would it be an NSSA?
We can verify this by again examining the OSPF database on router D: Router C (172.16.0.3) is advertising a Summary ASB (type 4) LSA to router D, indicating it expects an ASBR to reside in area 1. Well, we don't want to be accused of false advertising (pun!), so let's turn router A into an ASBR. Below a static route is defined for 10.0.0.0/8, which is then redistributed into OSPF. The notification concerning classful redistribution can be ignored in this instance, since it is our intention to redistribute at the classful boundary (to redistribute classless subnets, use At this point, our configuration is complete. We can verify that router A is advertising the 10.0.0.0/8 network with a type 7 LSA to area 1, and router B (the ABR) is dutifully converting that LSA to type 5 before propagating it to the rest of the OSPF domain:
|
Navigation
Armory
Online Toolbox
|