Documente Academic
Documente Profesional
Documente Cultură
ulate the
best path
As :
Router LSA
Network LSA
Summary LSA
ASBR LSA
External LSA
________________________________________________________________________________
_______________________________________
**LSA Packet Types:**
**- Router (Type 1 ):**
- each OSPF speaking router generates a Type 1 LSA to describe t
he status and cost of all interfaces on the router
- this LSA is flooded to each router in that OSPF area
- LSA Type 1 are not flooded across an area boundary
- the following link types are supported
- Point-to-point
- Transit : connection to a broadcast segment , the ID f
ield is the IP address of the segments DR
- Stub :
- when the subnet does not connect to any OSPF n
eigbhors , it occures for loopback and passive interfaces ,
- the IP subnet for any ptp interface is adverti
sed as a stub
- Virtual : used when we have a virtual link operating b
etween an ABR connected to Area 0 and an ABR not connected to Area 0.
**Note:** The withdraw mechanism for LSA Type 1 covers two scena
rios with different mechanism:
- If a router fails :
- its neighbors will generate a new LSA type 1 ,
with a higher Seq No , it will remove the link to the neigbor and the neigbor
floods it to the rest of the routers in the area
- at one point one router observese that the new
topology can't route traffic to the failed router (the SPF alghoritm fails) the
n the LSA will be marked with no route to Adv Router
- once the LSA has aged out it is removed from t
he LSDB
- If a link will fail:
- the adjiacent routers of the link will generat
e a new LSA Type 1 with an higher Seq No and reflooded into the network and with
out the missing link in the LSA.
- if link will flap , multiple LSA will be creat
ed an forwarded over the network causing different unpredictable behavior.
**- Network ( Type 2):**
- each OSPF router elected to be the DR on a broadcast link gene
rates a Type 2 LSA
- LSA Type 2 are flooded in that particular area not across an a
rea boundary
- this LSA list each router connected to the broadcast segment ,
including the DR itself
- it contains the following extra fields:
- Network mask: it denotes the IP subnet mask for the in
terface connected to the broadcast