quiz image

w3ch6

ProdigiousQuantum avatar
ProdigiousQuantum
·
·
Download

Start Quiz

Study Flashcards

160 Questions

What is the purpose of the LSAck message in OSPF?

To acknowledge other OSPF messages

What is the length of the OSPF message header?

24 bytes

What is used to compute the OSPF checksum?

The entire message is included, except the authentication field

What is the purpose of the Router ID in OSPF?

To uniquely identify a router within an OSPF domain

How does an OSPF router select its Router ID?

By selecting the highest IP address on a router's loopback interface, or the highest IP address on a router's running interface if no loopback interface is configured

What is the purpose of the Authentication field in OSPF?

To authenticate OSPF messages

What is the size of the Authentication field in OSPF?

64 bits

What is the OSPF message type that is used to request link-state information?

LSR

What is the state of a neighbor that has downloaded all required LSAs from another router?

Full

What type of LSA is generated by the Designated Router (DR)?

Type 2 - Network LSA

What is the purpose of a Type 4 LSA?

To identify the ASBR

What type of area does not accept external routes and uses a default route to reach external routing domains?

Stub Area

What is the name of the area that has all the properties of a standard area?

Area 0

What type of LSA is used to advertise external routes?

Type 5 - External LSA

What type of area does not accept external routes or summary routes from other areas?

Totally Stubby Area

What is the purpose of a Type 1 LSA?

To advertise a router's links

What is the primary purpose of the ExStart state in OSPF?

To determine the Master and Slave roles for each router

What is the state of a neighbor when a working adjacency to a neighbor is torn down?

Down

What is exchanged between routers in the Exchange state?

Link-state database elements

When is a neighbor moved from the Exchange to the Loading state?

When the neighbor has advertised the complete list of LSAs

What is the purpose of the 2-Way state in OSPF?

To confirm a bidirectional visibility between routers

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?

Init

What is the result of a neighbor being in the Down state?

The router already knows about this neighbor's IP address

What is the primary purpose of the Loading state in OSPF?

To download LSAs from the neighbor

What happens when a link-state router receives a Link-State Advertisement (LSA)?

It updates its link-state database and forwards the LSA to all neighboring devices

What is the purpose of a link-state database in OSPF?

To calculate the best paths through the network

Why are link-state protocols preferred in larger networks?

Because they support classless addressing and area hierarchies

What is the result of an LSA being flooded throughout an area in OSPF?

All routers within the area recalculate their routing tables

What is a link in the context of OSPF?

An interface on a router

How do link-state routers find the best paths to a destination?

By applying Dijkstra's SPF algorithm

What is the purpose of area hierarchies in OSPF?

To limit the scope of route changes

What is a characteristic of link-state routing protocols?

They send updates only when a topology change occurs

What is the purpose of OSPF Area ID?

To name an area

What is the role of the DR in OSPF?

To act as a central point for exchanging OSPF information

How do non-DR and non-BDR routers exchange routing information in OSPF?

They exchange routing information with the DR and BDR only

What is the default OSPF priority of all routers on their OSPF-enabled interfaces?

1

What is the consequence of setting an OSPF router's priority to 0?

The router does not participate in the DR/BDR election process

What multicast address do DR routers use to forward link-state information to other routers?

224.0.0.5

What is the number of stages before two OSPF routers' LSDB gets synchronized?

7

What is the role of the BDR in OSPF?

To become the DR in case the current DR fails

What is the role of non-backbone internal routers F, G, and H in OSPF?

To maintain identical link-state databases about their respective areas

What type of router is connected to two or more routing domains and exchanges routing information between different routing protocols?

Autonomous System Boundary Router (ASBR)

What is the purpose of an ABR router in OSPF?

To advertise default routes to non-backbone internal routers

What is the characteristic of link-state routing protocols in OSPF?

They develop and maintain full knowledge of the network routers and how they interconnect

What happens when a link-state router receives a Link-State Advertisement (LSA) in OSPF?

It floods the LSA to all other routers in the area

What is the purpose of area hierarchies in OSPF?

To provide a hierarchical structure for routing information exchange

What type of area does not accept external routes and uses a default route to reach external routing domains?

Stub area

What is the primary purpose of the SPF algorithm in OSPF?

To compute reachability to networked destinations

What is the state of a neighbor that has downloaded all required LSAs from another router and is fully adjacent?

Full state

Which type of LSA is generated by each router for each area it is located?

Type 2 – Router LSA

What type of area accepts link updates, summary routes, and external OSPF routes?

Standard area

What type of LSA is used to advertise external routes?

Type 5 – External LSA

What is the purpose of a Type 3 LSA?

To summarize routes between areas

What type of area does not accept external routes or summary routes from other areas?

Totally stubby area

Which type of area has all the properties of a standard area?

Backbone area

What type of LSA is generated by the ASBR?

Type 5 – External LSA

What is the primary characteristic of a Not So Stubby Area (NSSA)?

It can contain ASBR but does not accept external routes

What is the purpose of OSPF?

To find the best path between the source and the destination router

What is the key difference between a Totally Stubby Not So Stubby Area and a stub area?

Totally Stubby NSSA can contain ASBR, but stub area cannot

What type of area does not accept external routes and uses a default route to reach external routing domains?

Stub area

What is the characteristic of a link-state routing protocol?

It uses shortest path first (SPF) algorithm

What is the primary advantage of using OSPF in large-scale networks?

It is a link-state routing protocol

What is the purpose of area hierarchies in OSPF?

To improve the scalability and organization of the network

What is the role of OSPF in a network?

To find the best path between the source and the destination router

What is the primary benefit of using link-state routing protocols?

They respond quickly to network changes and reduce incorrect information

What happens when a link-state router receives a Link-State Advertisement (LSA)?

It updates its link-state database and recalculates its best paths

What is the primary purpose of a link-state database in OSPF?

To maintain a complex database of topology information

What is a characteristic of link-state routing protocols?

They maintain full knowledge of distant routers and how they interconnect

What is the purpose of area hierarchies in OSPF?

To improve the scalability of OSPF

What is the result of an LSA being flooded throughout an area in OSPF?

All routers in the area recalculate their best paths

What is the primary purpose of OSPF areas?

To divide the network into smaller, more manageable parts

What is the benefit of using OSPF areas with route summarization?

It reduces the number of LSAs in the network

What is the purpose of area hierarchies in OSPF?

To separate the backbone area from non-backbone areas

Which type of OSPF area does not accept external routes or summary routes from other areas?

Totally stubby area

What is the role of an area border router (ABR) in OSPF?

To route traffic destined for or arriving from other areas

What is a characteristic of link-state routing protocols?

They support route summarization

What is the purpose of a Type 1 LSA in OSPF?

To advertise router information

What is the result of an LSA being flooded throughout an area in OSPF?

Routers update their link-state databases

What is the purpose of route summarization in OSPF?

To reduce the link-state database size

What is an autonomous system (AS) in OSPF?

A collection of networks under a common administration

What is the primary function of an Area Border Router (ABR) in OSPF?

To connect multiple areas and maintain separate link-state databases

What type of area is configured to reduce the link-state database and routing table size?

Stub area

What is the term for the collection of networks under a common administration that share a common routing strategy?

Autonomous system

What is the benefit of using route summarization in OSPF?

Improved network scalability

What type of LSA is used to advertise external routes?

Type 5 LSA

What is the term for the process of logically subdividing an Autonomous System into multiple areas?

Area hierarchies

What is the primary function of the backbone area in OSPF?

To act as a transit area for inter-area traffic

What is the characteristic of link-state routing protocols that enables route summarization?

They use a two-layer network hierarchy

What is the primary purpose of the Summary LSA?

To summarize routes from other areas

What type of area does not accept external routes or summary routes from other areas?

Totally Stubby Area

What is the purpose of the Type 4 LSA?

To provide information about the ASBR

What is the state of a neighbor when it has downloaded all required LSAs from another router?

Full State

What type of LSA is generated by the ASBR?

Type 5 LSA

What is the purpose of the ABR in OSPF?

To summarize routes from other areas

What is the name of the area that has all the properties of a standard area?

Backbone Area

What type of LSA is used to advertise external routes?

Type 5 LSA

What is the primary advantage of link-state routing protocols over distance vector routing protocols?

Quick response to network changes

What is the purpose of the hello mechanism in OSPF?

To determine the reachability of neighbors

What type of area does not accept external routes and uses a default route to reach external routing domains?

Stub Area

What is the purpose of link-state advertisements (LSAs) in OSPF?

To advertise routing information to other routers

How do link-state routers find the best paths to a destination?

By maintaining full knowledge of distant routers and how they interconnect

What is a characteristic of link-state routing protocols?

They are less likely to propagate incorrect information

What happens when a link-state router receives a Link-State Advertisement (LSA)?

It recalculates its best paths to all destinations in the network

Why are link-state protocols preferred in larger networks?

Because they are more scalable

What type of area has the properties of a stub area but can contain an Autonomous System Boundary Router (ASBR)?

Not So Stubby Area (NSSA)

What type of area has the properties of a totally stub area but can contain an Autonomous System Boundary Router (ASBR)?

Totally Stubby Not So Stubby Area

What is the primary purpose of the OSPF protocol?

To find the best path between the source and the destination router using its own shortest path first (SPF) algorithm

What happens when a link-state router receives a Link-State Advertisement (LSA)?

The router stores the LSA in its link-state database

What is the purpose of OSPF area hierarchies?

To reduce the number of LSAs flooded throughout the network

What type of router is connected to two or more routing domains and exchanges routing information between different routing protocols?

ASBR

What is the role of the Designated Router (DR) in OSPF?

To forward link-state information to other routers

What is the purpose of a Type 4 LSA in OSPF?

To advertise the ASBR's router ID

What is the primary purpose of an ABR router in OSPF?

To advertise a default route to non-backbone internal routers

What is the characteristic of link-state routing protocols in OSPF?

They maintain a complex database of the network topology

What type of router is connected to two or more routing domains and exchanges routing information between different routing protocols?

ASBR router

What happens when a link-state router receives a Link-State Advertisement (LSA) in OSPF?

It updates its routing table

What type of area does not accept external routes and uses a default route to reach external routing domains?

Stub area

What is the purpose of the SPF algorithm in OSPF?

To compute reachability to networked destinations

What is the role of non-backbone internal routers F, G, and H in OSPF?

They are aware of the topology within their respective areas and maintain identical link-state databases

What is the primary purpose of an Autonomous System Boundary Router (ASBR) in OSPF?

To exchange routing information between different routing protocols

What is the format of the OSPF message header?

24 bytes

What is the purpose of the Area ID field in OSPF messages?

To identify the OSPF area

How does an OSPF router select its Router ID when there are no loopback interfaces?

The highest IP address of running interfaces

What is the size of the Authentication field in OSPF messages?

64 bits

What is the purpose of the Checksum field in OSPF messages?

To validate the message integrity

What is the format of the OSPF message type field?

A 1-byte field

What is the purpose of the Data field in OSPF messages?

To carry different information depending on the OSPF packet type

What is the purpose of the Version Number field in OSPF messages?

To identify the OSPF version

What is the metric used by OSPF protocol?

COST

How does OSPF calculate its default cost?

100Mbps / (bandwidth in Mbps)

What is the purpose of the Neighbor table in OSPF?

To store the details of OSPF neighbors

How often does an OSPF router send HELLO messages to its neighbors?

Every 10 seconds

What is the purpose of the Topology table in OSPF?

To store the Link State Information

What is the result if an OSPF router does not receive HELLO messages from a neighbor for more than 10 seconds?

The OSPF router invalidates all the routes learnt from that neighbor

What is the primary benefit of using a link-state routing protocol in a network?

It allows for faster convergence of the network.

What algorithm does each OSPF router use to find the best routes?

Dijkstra's SPF Algorithm

What determines the best path to a destination in a link-state routing protocol?

The metric selected by the protocol.

What is the purpose of the OSPF metric calculation?

To find the best path to a destination

What is the purpose of the table shown in Figure 10?

To illustrate the routing paths between multiple routers.

What happens when a link-state router receives a Link-State Advertisement (LSA)?

The router compares the LSA to its current routing table.

Why are link-state protocols preferred in larger networks?

Because they are more scalable.

What is the role of the Next Hop column in the table shown in Figure 10?

It specifies the next router in the path to the destination.

What is the advantage of using a link-state routing protocol in a network with multiple paths to a destination?

It enables routers to discriminate between multiple paths to a destination.

What is the purpose of the Cost column in the table shown in Figure 10?

It shows the cost of the route to the destination.

What is the primary function of the OSPF Area ID?

To name an area

What is the purpose of the DR and BDR in OSPF?

To reduce the amount of OSPF routing updates

What happens when a router's OSPF priority is set to 0?

It does not participate in the DR and BDR election process

How do non-DR and non-BDR routers exchange routing information in OSPF?

With the DR and BDR

What is the default OSPF priority of all routers on their OSPF-enabled interfaces?

1

What multicast address do DR routers use to forward link-state information to other routers?

224.0.0.5

How many stages are there before two OSPF routers' LSDB gets synchronized?

7

What is the role of the BDR in OSPF?

To take over as DR if the current DR fails

What type of area has the properties of a stub area but can contain an ASBR?

Not So Stubby Area

What is the purpose of the Open Shortest Path First (OSPF) protocol?

To find the best path between the source and the destination router

What type of area has the properties of a totally stub area but can contain an ASBR?

Totally Stubby Not So Stubby Area

What is a characteristic of OSPF?

It is a link-state routing protocol

Why is OSPF preferred in larger networks?

Because it is a link-state protocol

What is the primary purpose of the SPF algorithm in OSPF?

To find the best path between the source and the destination router

What type of router is connected to two or more routing domains and exchanges routing information between different routing protocols?

ASBR

What is the purpose of area hierarchies in OSPF?

To improve the scalability of the network

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 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 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.
  • 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

This quiz covers the different fields in an OSPF message format, including version number, type, packet length, and router ID.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser