Podcast
Questions and Answers
What is the purpose of the LSAck message in OSPF?
What is the purpose of the LSAck message in OSPF?
What is the length of the OSPF message header?
What is the length of the OSPF message header?
What is used to compute the OSPF checksum?
What is used to compute the OSPF checksum?
What is the purpose of the Router ID in OSPF?
What is the purpose of the Router ID in OSPF?
Signup and view all the answers
How does an OSPF router select its Router ID?
How does an OSPF router select its Router ID?
Signup and view all the answers
What is the purpose of the Authentication field in OSPF?
What is the purpose of the Authentication field in OSPF?
Signup and view all the answers
What is the size of the Authentication field in OSPF?
What is the size of the Authentication field in OSPF?
Signup and view all the answers
What is the OSPF message type that is used to request link-state information?
What is the OSPF message type that is used to request link-state information?
Signup and view all the answers
What is the state of a neighbor that has downloaded all required LSAs from another router?
What is the state of a neighbor that has downloaded all required LSAs from another router?
Signup and view all the answers
What type of LSA is generated by the Designated Router (DR)?
What type of LSA is generated by the Designated Router (DR)?
Signup and view all the answers
What is the purpose of a Type 4 LSA?
What is the purpose of a Type 4 LSA?
Signup and view all the answers
What type of area does not accept external routes and uses a default route to reach external routing domains?
What type of area does not accept external routes and uses a default route to reach external routing domains?
Signup and view all the answers
What is the name of the area that has all the properties of a standard area?
What is the name of the area that has all the properties of a standard area?
Signup and view all the answers
What type of LSA is used to advertise external routes?
What type of LSA is used to advertise external routes?
Signup and view all the answers
What type of area does not accept external routes or summary routes from other areas?
What type of area does not accept external routes or summary routes from other areas?
Signup and view all the answers
What is the purpose of a Type 1 LSA?
What is the purpose of a Type 1 LSA?
Signup and view all the answers
What is the primary purpose of the ExStart state in OSPF?
What is the primary purpose of the ExStart state in OSPF?
Signup and view all the answers
What is the state of a neighbor when a working adjacency to a neighbor is torn down?
What is the state of a neighbor when a working adjacency to a neighbor is torn down?
Signup and view all the answers
What is exchanged between routers in the Exchange state?
What is exchanged between routers in the Exchange state?
Signup and view all the answers
When is a neighbor moved from the Exchange to the Loading state?
When is a neighbor moved from the Exchange to the Loading state?
Signup and view all the answers
What is the purpose of the 2-Way state in OSPF?
What is the purpose of the 2-Way state in OSPF?
Signup and view all the answers
What is the state of a neighbor when a router can hear the other router but is not certain whether the other router can hear this router?
What is the state of a neighbor when a router can hear the other router but is not certain whether the other router can hear this router?
Signup and view all the answers
What is the result of a neighbor being in the Down state?
What is the result of a neighbor being in the Down state?
Signup and view all the answers
What is the primary purpose of the Loading state in OSPF?
What is the primary purpose of the Loading state in OSPF?
Signup and view all the answers
What happens when a link-state router receives a Link-State Advertisement (LSA)?
What happens when a link-state router receives a Link-State Advertisement (LSA)?
Signup and view all the answers
What is the purpose of a link-state database in OSPF?
What is the purpose of a link-state database in OSPF?
Signup and view all the answers
Why are link-state protocols preferred in larger networks?
Why are link-state protocols preferred in larger networks?
Signup and view all the answers
What is the result of an LSA being flooded throughout an area in OSPF?
What is the result of an LSA being flooded throughout an area in OSPF?
Signup and view all the answers
What is a link in the context of OSPF?
What is a link in the context of OSPF?
Signup and view all the answers
How do link-state routers find the best paths to a destination?
How do link-state routers find the best paths to a destination?
Signup and view all the answers
What is the purpose of area hierarchies in OSPF?
What is the purpose of area hierarchies in OSPF?
Signup and view all the answers
What is a characteristic of link-state routing protocols?
What is a characteristic of link-state routing protocols?
Signup and view all the answers
What is the purpose of OSPF Area ID?
What is the purpose of OSPF Area ID?
Signup and view all the answers
What is the role of the DR in OSPF?
What is the role of the DR in OSPF?
Signup and view all the answers
How do non-DR and non-BDR routers exchange routing information in OSPF?
How do non-DR and non-BDR routers exchange routing information in OSPF?
Signup and view all the answers
What is the default OSPF priority of all routers on their OSPF-enabled interfaces?
What is the default OSPF priority of all routers on their OSPF-enabled interfaces?
Signup and view all the answers
What is the consequence of setting an OSPF router's priority to 0?
What is the consequence of setting an OSPF router's priority to 0?
Signup and view all the answers
What multicast address do DR routers use to forward link-state information to other routers?
What multicast address do DR routers use to forward link-state information to other routers?
Signup and view all the answers
What is the number of stages before two OSPF routers' LSDB gets synchronized?
What is the number of stages before two OSPF routers' LSDB gets synchronized?
Signup and view all the answers
What is the role of the BDR in OSPF?
What is the role of the BDR in OSPF?
Signup and view all the answers
What is the role of non-backbone internal routers F, G, and H in OSPF?
What is the role of non-backbone internal routers F, G, and H in OSPF?
Signup and view all the answers
What type of router is connected to two or more routing domains and exchanges routing information between different routing protocols?
What type of router is connected to two or more routing domains and exchanges routing information between different routing protocols?
Signup and view all the answers
What is the purpose of an ABR router in OSPF?
What is the purpose of an ABR router in OSPF?
Signup and view all the answers
What is the characteristic of link-state routing protocols in OSPF?
What is the characteristic of link-state routing protocols in OSPF?
Signup and view all the answers
What happens when a link-state router receives a Link-State Advertisement (LSA) in OSPF?
What happens when a link-state router receives a Link-State Advertisement (LSA) in OSPF?
Signup and view all the answers
What is the purpose of area hierarchies in OSPF?
What is the purpose of area hierarchies in OSPF?
Signup and view all the answers
What type of area does not accept external routes and uses a default route to reach external routing domains?
What type of area does not accept external routes and uses a default route to reach external routing domains?
Signup and view all the answers
What is the primary purpose of the SPF algorithm in OSPF?
What is the primary purpose of the SPF algorithm in OSPF?
Signup and view all the answers
What is the state of a neighbor that has downloaded all required LSAs from another router and is fully adjacent?
What is the state of a neighbor that has downloaded all required LSAs from another router and is fully adjacent?
Signup and view all the answers
Which type of LSA is generated by each router for each area it is located?
Which type of LSA is generated by each router for each area it is located?
Signup and view all the answers
What type of area accepts link updates, summary routes, and external OSPF routes?
What type of area accepts link updates, summary routes, and external OSPF routes?
Signup and view all the answers
What type of LSA is used to advertise external routes?
What type of LSA is used to advertise external routes?
Signup and view all the answers
What is the purpose of a Type 3 LSA?
What is the purpose of a Type 3 LSA?
Signup and view all the answers
What type of area does not accept external routes or summary routes from other areas?
What type of area does not accept external routes or summary routes from other areas?
Signup and view all the answers
Which type of area has all the properties of a standard area?
Which type of area has all the properties of a standard area?
Signup and view all the answers
What type of LSA is generated by the ASBR?
What type of LSA is generated by the ASBR?
Signup and view all the answers
What is the primary characteristic of a Not So Stubby Area (NSSA)?
What is the primary characteristic of a Not So Stubby Area (NSSA)?
Signup and view all the answers
What is the purpose of OSPF?
What is the purpose of OSPF?
Signup and view all the answers
What is the key difference between a Totally Stubby Not So Stubby Area and a stub area?
What is the key difference between a Totally Stubby Not So Stubby Area and a stub area?
Signup and view all the answers
What type of area does not accept external routes and uses a default route to reach external routing domains?
What type of area does not accept external routes and uses a default route to reach external routing domains?
Signup and view all the answers
What is the characteristic of a link-state routing protocol?
What is the characteristic of a link-state routing protocol?
Signup and view all the answers
What is the primary advantage of using OSPF in large-scale networks?
What is the primary advantage of using OSPF in large-scale networks?
Signup and view all the answers
What is the purpose of area hierarchies in OSPF?
What is the purpose of area hierarchies in OSPF?
Signup and view all the answers
What is the role of OSPF in a network?
What is the role of OSPF in a network?
Signup and view all the answers
What is the primary benefit of using link-state routing protocols?
What is the primary benefit of using link-state routing protocols?
Signup and view all the answers
What happens when a link-state router receives a Link-State Advertisement (LSA)?
What happens when a link-state router receives a Link-State Advertisement (LSA)?
Signup and view all the answers
What is the primary purpose of a link-state database in OSPF?
What is the primary purpose of a link-state database in OSPF?
Signup and view all the answers
What is a characteristic of link-state routing protocols?
What is a characteristic of link-state routing protocols?
Signup and view all the answers
What is the purpose of area hierarchies in OSPF?
What is the purpose of area hierarchies in OSPF?
Signup and view all the answers
What is the result of an LSA being flooded throughout an area in OSPF?
What is the result of an LSA being flooded throughout an area in OSPF?
Signup and view all the answers
What is the primary purpose of OSPF areas?
What is the primary purpose of OSPF areas?
Signup and view all the answers
What is the benefit of using OSPF areas with route summarization?
What is the benefit of using OSPF areas with route summarization?
Signup and view all the answers
What is the purpose of area hierarchies in OSPF?
What is the purpose of area hierarchies in OSPF?
Signup and view all the answers
Which type of OSPF area does not accept external routes or summary routes from other areas?
Which type of OSPF area does not accept external routes or summary routes from other areas?
Signup and view all the answers
What is the role of an area border router (ABR) in OSPF?
What is the role of an area border router (ABR) in OSPF?
Signup and view all the answers
What is a characteristic of link-state routing protocols?
What is a characteristic of link-state routing protocols?
Signup and view all the answers
What is the purpose of a Type 1 LSA in OSPF?
What is the purpose of a Type 1 LSA in OSPF?
Signup and view all the answers
What is the result of an LSA being flooded throughout an area in OSPF?
What is the result of an LSA being flooded throughout an area in OSPF?
Signup and view all the answers
What is the purpose of route summarization in OSPF?
What is the purpose of route summarization in OSPF?
Signup and view all the answers
What is an autonomous system (AS) in OSPF?
What is an autonomous system (AS) in OSPF?
Signup and view all the answers
What is the primary function of an Area Border Router (ABR) in OSPF?
What is the primary function of an Area Border Router (ABR) in OSPF?
Signup and view all the answers
What type of area is configured to reduce the link-state database and routing table size?
What type of area is configured to reduce the link-state database and routing table size?
Signup and view all the answers
What is the term for the collection of networks under a common administration that share a common routing strategy?
What is the term for the collection of networks under a common administration that share a common routing strategy?
Signup and view all the answers
What is the benefit of using route summarization in OSPF?
What is the benefit of using route summarization in OSPF?
Signup and view all the answers
What type of LSA is used to advertise external routes?
What type of LSA is used to advertise external routes?
Signup and view all the answers
What is the term for the process of logically subdividing an Autonomous System into multiple areas?
What is the term for the process of logically subdividing an Autonomous System into multiple areas?
Signup and view all the answers
What is the primary function of the backbone area in OSPF?
What is the primary function of the backbone area in OSPF?
Signup and view all the answers
What is the characteristic of link-state routing protocols that enables route summarization?
What is the characteristic of link-state routing protocols that enables route summarization?
Signup and view all the answers
What is the primary purpose of the Summary LSA?
What is the primary purpose of the Summary LSA?
Signup and view all the answers
What type of area does not accept external routes or summary routes from other areas?
What type of area does not accept external routes or summary routes from other areas?
Signup and view all the answers
What is the purpose of the Type 4 LSA?
What is the purpose of the Type 4 LSA?
Signup and view all the answers
What is the state of a neighbor when it has downloaded all required LSAs from another router?
What is the state of a neighbor when it has downloaded all required LSAs from another router?
Signup and view all the answers
What type of LSA is generated by the ASBR?
What type of LSA is generated by the ASBR?
Signup and view all the answers
What is the purpose of the ABR in OSPF?
What is the purpose of the ABR in OSPF?
Signup and view all the answers
What is the name of the area that has all the properties of a standard area?
What is the name of the area that has all the properties of a standard area?
Signup and view all the answers
What type of LSA is used to advertise external routes?
What type of LSA is used to advertise external routes?
Signup and view all the answers
What is the primary advantage of link-state routing protocols over distance vector routing protocols?
What is the primary advantage of link-state routing protocols over distance vector routing protocols?
Signup and view all the answers
What is the purpose of the hello mechanism in OSPF?
What is the purpose of the hello mechanism in OSPF?
Signup and view all the answers
What type of area does not accept external routes and uses a default route to reach external routing domains?
What type of area does not accept external routes and uses a default route to reach external routing domains?
Signup and view all the answers
What is the purpose of link-state advertisements (LSAs) in OSPF?
What is the purpose of link-state advertisements (LSAs) in OSPF?
Signup and view all the answers
How do link-state routers find the best paths to a destination?
How do link-state routers find the best paths to a destination?
Signup and view all the answers
What is a characteristic of link-state routing protocols?
What is a characteristic of link-state routing protocols?
Signup and view all the answers
What happens when a link-state router receives a Link-State Advertisement (LSA)?
What happens when a link-state router receives a Link-State Advertisement (LSA)?
Signup and view all the answers
Why are link-state protocols preferred in larger networks?
Why are link-state protocols preferred in larger networks?
Signup and view all the answers
What type of area has the properties of a stub area but can contain an Autonomous System Boundary Router (ASBR)?
What type of area has the properties of a stub area but can contain an Autonomous System Boundary Router (ASBR)?
Signup and view all the answers
What type of area has the properties of a totally stub area but can contain an Autonomous System Boundary Router (ASBR)?
What type of area has the properties of a totally stub area but can contain an Autonomous System Boundary Router (ASBR)?
Signup and view all the answers
What is the primary purpose of the OSPF protocol?
What is the primary purpose of the OSPF protocol?
Signup and view all the answers
What happens when a link-state router receives a Link-State Advertisement (LSA)?
What happens when a link-state router receives a Link-State Advertisement (LSA)?
Signup and view all the answers
What is the purpose of OSPF area hierarchies?
What is the purpose of OSPF area hierarchies?
Signup and view all the answers
What type of router is connected to two or more routing domains and exchanges routing information between different routing protocols?
What type of router is connected to two or more routing domains and exchanges routing information between different routing protocols?
Signup and view all the answers
What is the role of the Designated Router (DR) in OSPF?
What is the role of the Designated Router (DR) in OSPF?
Signup and view all the answers
What is the purpose of a Type 4 LSA in OSPF?
What is the purpose of a Type 4 LSA in OSPF?
Signup and view all the answers
What is the primary purpose of an ABR router in OSPF?
What is the primary purpose of an ABR router in OSPF?
Signup and view all the answers
What is the characteristic of link-state routing protocols in OSPF?
What is the characteristic of link-state routing protocols in OSPF?
Signup and view all the answers
What type of router is connected to two or more routing domains and exchanges routing information between different routing protocols?
What type of router is connected to two or more routing domains and exchanges routing information between different routing protocols?
Signup and view all the answers
What happens when a link-state router receives a Link-State Advertisement (LSA) in OSPF?
What happens when a link-state router receives a Link-State Advertisement (LSA) in OSPF?
Signup and view all the answers
What type of area does not accept external routes and uses a default route to reach external routing domains?
What type of area does not accept external routes and uses a default route to reach external routing domains?
Signup and view all the answers
What is the purpose of the SPF algorithm in OSPF?
What is the purpose of the SPF algorithm in OSPF?
Signup and view all the answers
What is the role of non-backbone internal routers F, G, and H in OSPF?
What is the role of non-backbone internal routers F, G, and H in OSPF?
Signup and view all the answers
What is the primary purpose of an Autonomous System Boundary Router (ASBR) in OSPF?
What is the primary purpose of an Autonomous System Boundary Router (ASBR) in OSPF?
Signup and view all the answers
What is the format of the OSPF message header?
What is the format of the OSPF message header?
Signup and view all the answers
What is the purpose of the Area ID field in OSPF messages?
What is the purpose of the Area ID field in OSPF messages?
Signup and view all the answers
How does an OSPF router select its Router ID when there are no loopback interfaces?
How does an OSPF router select its Router ID when there are no loopback interfaces?
Signup and view all the answers
What is the size of the Authentication field in OSPF messages?
What is the size of the Authentication field in OSPF messages?
Signup and view all the answers
What is the purpose of the Checksum field in OSPF messages?
What is the purpose of the Checksum field in OSPF messages?
Signup and view all the answers
What is the format of the OSPF message type field?
What is the format of the OSPF message type field?
Signup and view all the answers
What is the purpose of the Data field in OSPF messages?
What is the purpose of the Data field in OSPF messages?
Signup and view all the answers
What is the purpose of the Version Number field in OSPF messages?
What is the purpose of the Version Number field in OSPF messages?
Signup and view all the answers
What is the metric used by OSPF protocol?
What is the metric used by OSPF protocol?
Signup and view all the answers
How does OSPF calculate its default cost?
How does OSPF calculate its default cost?
Signup and view all the answers
What is the purpose of the Neighbor table in OSPF?
What is the purpose of the Neighbor table in OSPF?
Signup and view all the answers
How often does an OSPF router send HELLO messages to its neighbors?
How often does an OSPF router send HELLO messages to its neighbors?
Signup and view all the answers
What is the purpose of the Topology table in OSPF?
What is the purpose of the Topology table in OSPF?
Signup and view all the answers
What is the result if an OSPF router does not receive HELLO messages from a neighbor for more than 10 seconds?
What is the result if an OSPF router does not receive HELLO messages from a neighbor for more than 10 seconds?
Signup and view all the answers
What is the primary benefit of using a link-state routing protocol in a network?
What is the primary benefit of using a link-state routing protocol in a network?
Signup and view all the answers
What algorithm does each OSPF router use to find the best routes?
What algorithm does each OSPF router use to find the best routes?
Signup and view all the answers
What determines the best path to a destination in a link-state routing protocol?
What determines the best path to a destination in a link-state routing protocol?
Signup and view all the answers
What is the purpose of the OSPF metric calculation?
What is the purpose of the OSPF metric calculation?
Signup and view all the answers
What is the purpose of the table shown in Figure 10?
What is the purpose of the table shown in Figure 10?
Signup and view all the answers
What happens when a link-state router receives a Link-State Advertisement (LSA)?
What happens when a link-state router receives a Link-State Advertisement (LSA)?
Signup and view all the answers
Why are link-state protocols preferred in larger networks?
Why are link-state protocols preferred in larger networks?
Signup and view all the answers
What is the role of the Next Hop column in the table shown in Figure 10?
What is the role of the Next Hop column in the table shown in Figure 10?
Signup and view all the answers
What is the advantage of using a link-state routing protocol in a network with multiple paths to a destination?
What is the advantage of using a link-state routing protocol in a network with multiple paths to a destination?
Signup and view all the answers
What is the purpose of the Cost column in the table shown in Figure 10?
What is the purpose of the Cost column in the table shown in Figure 10?
Signup and view all the answers
What is the primary function of the OSPF Area ID?
What is the primary function of the OSPF Area ID?
Signup and view all the answers
What is the purpose of the DR and BDR in OSPF?
What is the purpose of the DR and BDR in OSPF?
Signup and view all the answers
What happens when a router's OSPF priority is set to 0?
What happens when a router's OSPF priority is set to 0?
Signup and view all the answers
How do non-DR and non-BDR routers exchange routing information in OSPF?
How do non-DR and non-BDR routers exchange routing information in OSPF?
Signup and view all the answers
What is the default OSPF priority of all routers on their OSPF-enabled interfaces?
What is the default OSPF priority of all routers on their OSPF-enabled interfaces?
Signup and view all the answers
What multicast address do DR routers use to forward link-state information to other routers?
What multicast address do DR routers use to forward link-state information to other routers?
Signup and view all the answers
How many stages are there before two OSPF routers' LSDB gets synchronized?
How many stages are there before two OSPF routers' LSDB gets synchronized?
Signup and view all the answers
What is the role of the BDR in OSPF?
What is the role of the BDR in OSPF?
Signup and view all the answers
What type of area has the properties of a stub area but can contain an ASBR?
What type of area has the properties of a stub area but can contain an ASBR?
Signup and view all the answers
What is the purpose of the Open Shortest Path First (OSPF) protocol?
What is the purpose of the Open Shortest Path First (OSPF) protocol?
Signup and view all the answers
What type of area has the properties of a totally stub area but can contain an ASBR?
What type of area has the properties of a totally stub area but can contain an ASBR?
Signup and view all the answers
What is a characteristic of OSPF?
What is a characteristic of OSPF?
Signup and view all the answers
Why is OSPF preferred in larger networks?
Why is OSPF preferred in larger networks?
Signup and view all the answers
What is the primary purpose of the SPF algorithm in OSPF?
What is the primary purpose of the SPF algorithm in OSPF?
Signup and view all the answers
What type of router is connected to two or more routing domains and exchanges routing information between different routing protocols?
What type of router is connected to two or more routing domains and exchanges routing information between different routing protocols?
Signup and view all the answers
What is the purpose of area hierarchies in OSPF?
What is the purpose of area hierarchies in OSPF?
Signup and view all the answers
Study Notes
OSPF Message Format
- OSPF message format consists of various fields, including:
- Version Number (set to 2 for OSPF version 2)
- Type (Hello, Database Description, LSR, LSU, LSAck)
- Packet Length (in bytes, including the 24-byte header)
- Router ID (the ID of the router that generated the message)
- Area ID (an identification of the OSPF area to which the message belongs)
- Checksum (a 16-bit checksum computed in a manner similar to a standard IP checksum)
- Authentication Type (plaintext, no authentication, or MD5 type)
- Authentication (a 64-bit field used for authentication of the message, as needed)
- Data (contains different information depending on the OSPF packet type)
OSPF Router ID
- OSPF router ID is selected by the router itself when the OSPF process initializes
- The highest IP address on a loopback interface is selected as the router ID
- If no loopback interfaces are configured, the highest IP address of running interfaces is selected
- The router ID uniquely identifies a router within an OSPF domain
OSPF LSA Types
- There are several types of LSAs, including:
- Type 1 – Router LSA (generated by each router for each area it is located in)
- Type 2 – Network LSA (generated by the DR)
- Type 3 – Summary LSA (created by the ABR and flooded into other areas)
- Type 4 – Summary ASBR LSA (generated by the ABR to include the router ID of the ASBR)
- Type 5 – External LSA (also known as autonomous system external LSA, generated by the ASBR)
- Type 6 – Multicast OSPF LSA
- Type 7 – External LSA (also known as not-so-stubby-area (NSSA) LSA)
- Type 8 – Used to internetwork OSPF and BGP
- Type 9, 10, 11 – Designated for future use, for application-specific purposes, used along with MPLS
OSPF Area Types
- There are several types of OSPF areas, including:
- Standard Area (accepts link updates, summary routes, and external OSPF routes)
- Backbone Area (also known as transit area, named as Area 0, has all properties of standard area)
- Stub Area (does not accept external routes, uses default route to reach external routing domains)
- Totally Stubby Area (does not accept external routes or summary routes from other areas, uses default route to reach non-local area networks)
OSPF Neighbor States
- OSPF neighbor states include:
- Down (initial state for a neighbor, seen when a working adjacency to a neighbor is torn down or when a manually configured neighbor does not respond to initial Hello packets)
- Init (this router can hear the other router, but it is not certain whether the other router can hear this router)
- 2-Way (confirms a bidirectional visibility between the two routers)
- ExStart (establishes the Master/Slave relationship, determines the Master and Slave roles for each router, and agrees on a common starting sequence number)
- Exchange (Database Description packets are exchanged between routers, carrying the list of link-state database elements)
- Loading (neighbor is moved from the Exchange to Loading state after it has advertised the complete list of LSAs and this router needs to download some of the LSAs from the neighbor)
- Full (stable state between routers that have become fully adjacent, all required LSAs have been downloaded from the neighbor)
OSPF LSDB Exchange Process
- The OSPF LSDB exchange process involves seven stages before two OSPF routers' LSDB gets synchronized
- Down
- Init
- 2-Way
- ExStart
- Exchange
- Loading
- Full
OSPF Overview
- OSPF (Open Shortest Path First) is a link-state routing protocol used to find the best path between the source and destination router using its own SPF algorithm.
- It is a reliable Interior Gateway protocol for large-scale networks.
OSPF States
- A neighbor is moved to the Full state when all required LSAs have been downloaded from the neighbor, and all missing or outdated LSAs have been acquired.
- The Full state is a stable state between routers that have become fully adjacent.
OSPF LSA Types
- Type 1: Router LSA - generated by each router for each area it is located in.
- Type 2: Network LSA - generated by the DR (Designated Router).
- Type 3: Summary LSA - created by the ABR (Area Border Router) and flooded into other areas.
- Type 4: Summary ASBR LSA - generated by the ABR to inform other routers where to find the ASBR (Autonomous System Boundary Router).
- Type 5: External LSA (Autonomous System External LSA) - generated by the ASBR.
- Type 6: Multicast OSPF LSA
- Type 7: External LSA (Not-So-Stubby Area (NSSA) LSA)
- Type 8: Used to internetwork OSPF and BGP
- Type 9, 10, 11: Designated for future use, for application-specific purposes, used along with MPLS.
OSPF Area Types
- Standard Area: accepts link updates, summary routes, and external OSPF routes.
- Backbone Area (Transit Area): named as Area 0, has all properties of standard area.
- Stub Area: does not accept external routes, uses default route to reach external routing domains.
- Totally Stubby Area: does not accept external routes or summary routes from other areas, uses default route to reach non-local area networks.
- Not So Stubby Area (NSSA): has the properties of stub area, but can contain ASBR.
- Totally Stubby Not So Stubby Area (NSSA): has the properties of totally stub area, but can contain ASBR.
Link-State Routing Protocol Algorithms
- Link-state routing algorithms maintain a complex database of network topology.
- Each router constructs a topological database using all received LSPs (Link-State Packets).
- SPF algorithm is used to compute reachability to networked destinations, and updates the routing table.
- Link-state routing protocols collect routing information from all other routers in the network or within a defined area of the internetwork.
- Each router independently calculates its best paths to all destinations in the network.
OSPF Router Nomenclature
- Backbone Routers: routers A, B are called backbone routers, all their interfaces participate in Area 0.
- Area Border Routers (ABR): routers C, D, E are called ABRs, attach to multiple areas, maintain separate link-state databases for each area.
- Non-Backbone Internal Routers: routers F, G, and H are called non-backbone internal routers, aware of the topology within their respective areas.
- Autonomous System Boundary Router (ASBR): a router that is connected to two or more routing domains, exchanges routing information between different routing protocols.
OSPF Overview
- OSPF (Open Shortest Path First) is a link-state routing protocol used to find the best path between the source and destination router using its own SPF algorithm.
- It is a reliable Interior Gateway protocol for large-scale networks.
OSPF States
- A neighbor is moved to the Full state when all required LSAs have been downloaded from the neighbor, and all missing or outdated LSAs have been acquired.
- The Full state is a stable state between routers that have become fully adjacent.
OSPF LSA Types
- Type 1: Router LSA - generated by each router for each area it is located in.
- Type 2: Network LSA - generated by the DR (Designated Router).
- Type 3: Summary LSA - created by the ABR (Area Border Router) and flooded into other areas.
- Type 4: Summary ASBR LSA - generated by the ABR to inform other routers where to find the ASBR (Autonomous System Boundary Router).
- Type 5: External LSA (Autonomous System External LSA) - generated by the ASBR.
- Type 6: Multicast OSPF LSA
- Type 7: External LSA (Not-So-Stubby Area (NSSA) LSA)
- Type 8: Used to internetwork OSPF and BGP
- Type 9, 10, 11: Designated for future use, for application-specific purposes, used along with MPLS.
OSPF Area Types
- Standard Area: accepts link updates, summary routes, and external OSPF routes.
- Backbone Area (Transit Area): named as Area 0, has all properties of standard area.
- Stub Area: does not accept external routes, uses default route to reach external routing domains.
- Totally Stubby Area: does not accept external routes or summary routes from other areas, uses default route to reach non-local area networks.
- Not So Stubby Area (NSSA): has the properties of stub area, but can contain ASBR.
- Totally Stubby Not So Stubby Area (NSSA): has the properties of totally stub area, but can contain ASBR.
Link-State Routing Protocol Algorithms
- Link-state routing algorithms maintain a complex database of network topology.
- Each router constructs a topological database using all received LSPs (Link-State Packets).
- SPF algorithm is used to compute reachability to networked destinations, and updates the routing table.
- Link-state routing protocols collect routing information from all other routers in the network or within a defined area of the internetwork.
- Each router independently calculates its best paths to all destinations in the network.
OSPF Router Nomenclature
- Backbone Routers: routers A, B are called backbone routers, all their interfaces participate in Area 0.
- Area Border Routers (ABR): routers C, D, E are called ABRs, attach to multiple areas, maintain separate link-state databases for each area.
- Non-Backbone Internal Routers: routers F, G, and H are called non-backbone internal routers, aware of the topology within their respective areas.
- Autonomous System Boundary Router (ASBR): a router that is connected to two or more routing domains, exchanges routing information between different routing protocols.
Link-State Algorithms
- Convergence process can be accelerated with link-state routing protocol, as wait time for timers to expire is eliminated
- In networks with link-state protocols, connectivity between remote areas is not a concern
- The protocol can discriminate between two paths to the same destination and chose the best one
OSPF (Open Shortest Path First)
- OSPF is a link-state routing protocol
- It maintains three tables for efficient routing: Neighbor table, Topology table, and Routing table
- Each OSPF-speaking router is identified by a router ID
OSPF Metric Calculation
- OSPF uses cost as its metric
- Cost is calculated using the formula: 100Mbps / (bandwidth in Mbps)
- The reference bandwidth can be altered by the network administrator
OSPF Tables
- Neighbor table contains details of OSPF neighbors with which the router has built adjacency
- Topology table contains link-state information flooded by all OSPF routers in an area
- Each OSPF router builds an SPF tree and finds the best route to remote networks independently
OSPF Messages
- OSPF message format includes fields such as version number, type, packet length, router ID, area ID, checksum, and authentication
- OSPF message types include Hello, Database description, LSR, LSU, and LSAck
OSPF Router ID
- OSPF router ID is selected as the highest IP address on a router's loopback interface
- If no loopback interfaces are configured, the highest IP address of running interfaces is selected as the router ID
- OSPF router ID can also be configured manually by the network administrator
OSPF Area ID
- OSPF Area ID is a number used to name an area
- It is used to identify an area in an OSPF domain
OSPF DR and BDR Election Process
- OSPF routers connected via a broadcast network elect two routers as DR (Designated Router) and BDR (Backup Designated Router)
- DR and BDR act as a central point for exchanging OSPF information between multiple routers on the same segment
- Election is based on OSPF priority, with the highest priority winning; in case of a tie, the highest router ID wins
OSPF LSDB Exchange Process
- There are seven stages before two OSPF routers' LSDB gets synchronized
- LSDB exchange process involves the exchange of link-state information between OSPF routers
OSPF Area Types
- Not So Stubby Area (NSSA): has the properties of a stub area, but can contain ASBR (Autonomous System Boundary Router)
- Totally Stubby Not So Stubby Area: has the properties of a totally stub area, but can contain ASBR
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
This quiz covers the different fields in an OSPF message format, including version number, type, packet length, and router ID.