Week 14: OSPF Flashcards
What is included in an LSA #3?
LSA 3 is an inter-area advertisement that contains the summary routes from area border router
What is an Area Border Router (ABR) and why is it important?
ABRs have networks that are in multiple OSPF areas and they are a point where route summarization can be implemented.
Also they help to isolate network issues and keep routing databases smaller
Why is route summarization really important?
It serves to control the size of the routing table and helps to reduce network traffic related to OSPF.
Why choose OSPF over EIGRP?
If you are working on a mixed vendor environment
If you are in an environment where propriety solutions are forbidden
EIGRP natively supports IPv6
Define OSPF
1) OSPF, or Open Shortest Path First, is a link-state, open-standard, dynamic routing protocol.
2) OSPF uses an algorithm known as SPF, or Dijkstra’s Shortest Path First, to compute internally the best path to any given route.
3) OSPF is classless and converges fairly quickly, using cost as it’s metric.
4) A router running OSPF creates its own database which contains information on the entire OSPF network, not simply neighbor’s routes like EIGRP.
5) This allows the router to make intelligent choices about path selection on its own instead of relying exclusively on neighbor information.
Areas
1) OSPF is different from EIGRP in that it uses areas to segment routing domains. This helps partition routers into manageable groups if the layer 3 network begins to get large.
2) It all starts with area 0. Every OSPF network must contain an area 0, sometimes referred to as the backbone area and every additional area must be physically connected to area 0. From there, other areas are optional.
Area Types
•Backbone area
Another name for area 0
•Regular area
Non-backbone area, with both internal and external routes
•Stub area
Contains only internal routes and a default route
•Totally Stubby Area
Cisco proprietary option for a stub area
•Not-So-Stubby area (NSSA)
Contains internal routes, redistributed routes, and optionally a default route
Router Roles
- Internal: All interfaces in a single area
- Backbone: At least one interface assigned to area 0
- Area Border Router (ABR): A router that connects more than one area. ABRs contain a separate Link State Database, separating LSA flooding between areas, optionally summarizing routes, and optionally sourcing default routes.
- Autonomous System Boundary Router (ASBR): Has at least one interface in an OSPF area and at least one interface outside of an OSPF area.
OSPF Metric
•Each interface is assigned a cost value based purely on bandwidth. The formula is:
Cost = (100Mbs/bandwidth)
•Higher bandwidth means a lower cost.
What must match in order for routers running OSPF to for a neighbor adjacency?
- hello timer
- dead timer
- area ID
- authentication type
- password
- stub area flag
Router ID
1) The SPF algorithm uses a Router ID to identify hops along a path. The problem, of course, is that routers don’t have a generic “router ID” built in.
2) use the highest IP address assigned to a loopback interface as the Router ID (RID) by default.
3) If no loopback is configured, it will use the highest IP address assigned to an active interface when the OSPF process begins.
What are Designated Routers and Backup Designated Routers?
1) DR and BDR serve as the central point for exchanging OSPF routing information.
2) Each non-DR or non-BDR router will exchange routing information only with the DR and BDR, instead of exchanging updates with every router on the network segment.
3) DR will then distribute topology information to every other router inside the same area. This greatly reduces OSPF traffic.
4) The function of the DR is to distribute updates to the other routers connected on the multi-access network. The Backup Designated Router will take over the Designated roll if the DR fails.
OSPF Election Process of a DR and BDR
1) The router with the highest OSPF priority will become a DR. By default, all routers have a priority of 1.
2) If there is a tie, a router with the highest Router ID (RID) wins the election.
3) The router with the second highest OSPF priority or Router ID will become a BDR.
NOTE – on point-to-point links a DR and BDR are not elected since only two routers are directly connected.
Which routers using OSPF can summarize?
In OSPF, you can only summarize routes at an ABR/ASBR on the link facing the inbound towards the network.
What multicast addresses are used in an OSPF environment?
OSPF uses the destination addresses 225.0.0.5 for all OSPF routers and 224.0.0.6 for communication between the DR/BDR (Designated Router and Backup Designated Router).