Ch 8: OSPF Flashcards
OSPF uses the protocol number ___________ for its inter-router communication.
a. 87
b. 88
c. 89
d. 90
C. OSPF uses protocol number 89.
OSPF uses ___________ packet types for inter-router communication.
a. three
b. four
c. five
d. six
e. seven
C. OSPFv2 use five packet types for communication:
- hello
- database description
- link state request
- link state update
- link state acknowledgment.
What destination addresses does OSPF use, when feasible? (Choose two.)
- IP address 224.0.0.5
- IP address 224.0.0.10
- IP address 224.0.0.8
- MAC address 01:00:5E:00:00:05
- MAC address 01:00:5E:00:00:0A
1 and 4. OSPF uses the multicast IP address 224.0.0.5 or the MAC address 01:00:5e:00:00:05 for the AllSPFRouters group.
T/F: OSPF is only enabled on a router interface by using the command network ip-address wildcard-mask area area-id under the OSPF router process.
False. OSPF can also be enabled with the interface command ip ospf process-id area area-id.
T/F: The OSPF process ID must match for routers to establish a neighbor adjacency.
False. The OSPF process ID is locally significant and is not required to match for neighbor adjacency.
T/F: A default route advertised with the command default information-originate in OSPF will always appear as an OSPF inter-area route.
False.
An OSPF advertised default route always appears as an external route.
T/F: The router with the highest IP address is the designated router when using a serial point-to-point link.
False.
Serial point-to-point links are automatically set as an OSPF point-to-point network type, which does not have a designated router.
OSPF automatically assigns a link cost to an interface based on a reference bandwidth of ___________.
- 100 Mbps
- 1 Gbps
- 10 Gbps
- 40 Gbps
1.
IOS XE uses a reference bandwidth of 100 Mbps for dynamic metric assignment to an interface.
What command is configured to prevent a router from becoming the designated router for a network segment?
- The interface command ip ospf priority 0
- The interface command ip ospf priority 255
- The command dr-disable interface-id under the OSPF process
- The command passive interface interface-id under the OSPF process
- The command dr-priority interface-id 255 under the OSPF process
1.
Setting the interface priority to 0 removes the interface from the DR election process.
- The default priority is 1.
- You need to use clear ip ospf process-id before this change takes effect.
What is the OSPF advertised network for the loopback interface with IP address 10.123.4.1/30?
a. 10.123.4.1/24
b. 10.123.4.0/30
c. 10.123.4.1/32
d. 10.123.4.0/24
C. The loopback address is classified as an OSPF loopback interface type, which is always advertised as a /32 address, regardless of the subnet mask.
What is contained in an LSA?
OSPF sends to neighboring routers link-state advertisements (LSAs) that contain the link state and link metric.
The received LSAs are stored in a local database called the link-state database (LSDB), and they are flooded throughout the OSPF routing domain, just as the advertising router advertised them. All OSPF routers maintain a synchronized identical copy of the LSDB for the same area.
T/F: Each OSPF router sees itself as the root or top of the SPF tree (SPT), and the SPT contains all network destinations within the OSPF domain.
Each router sees itself as the root or top of the SPF tree (SPT), and the SPT contains all network destinations within the OSPF domain.
The SPT differs for each OSPF router, but the LSDB used to calculate the SPT is identical for all OSPF routers.
Figure 8-1 shows a simple OSPF topology and the SPT from R1’s and R4’s perspective. Notice that the local router’s perspective will always be the root (top of the tree). There is a difference in connectivity to the 10.3.3.0/24 network from R1’s SPT and R4’s SPT. From R1’s perspective, the serial link between R3 and R4 is missing; from R4’s perspective, the Ethernet link between R1 and R3 is missing.
T/F: OSPF provides scalability for the routing table by using multiple OSPF areas within the routing domain.
True.
Each OSPF area provides a collection of connected networks and hosts that are grouped together. OSPF uses a two-tier hierarchical architecture, where Area 0 is a special area known as the backbone, to which all other areas must connect. In other words, Area 0 provides transit connectivity between nonbackbone areas. Nonbackbone areas advertise routes into the backbone, and the backbone then advertises routes into other non- backbone areas.
T/F: When you segment an OSPF routing domain into multiple areas, it is no longer true that all OSPF routers will have identical LSDBs.
True.
The exact topology of the area is invisible from outside the area while still providing connectivity to routers outside the area. This means that routers outside the area do not have a complete topological map for that area, which reduces OSPF traffic in that area. When you segment an OSPF routing domain into multiple areas, it is no longer true that all OSPF rout- ers will have identical LSDBs; however, all routers within the same area will have identical area LSDBs.
T/F: A router can run multiple OSPF processes and the process numbers need to match for routers to exchange routes in an area.
True and False.
A router can run multiple OSPF processes. Each process maintains its own unique database, and routes learned in one OSPF process are not available to a different OSPF process without redistribution of routes between processes.
The OSPF process numbers are locally significant and do not have to match among routers. Running OSPF process number 1 on one router and running OSPF process number 1234 will still allow the two routers to become neighbors.
T/F: SPF runs directly over IPv4, using its own protocol 88.
False.
OSPF runs directly over IPv4, using its own protocol 89, which is reserved for OSPF by the Internet Assigned Numbers Authority (IANA).
EIGRP uses protocol number 88.
What address(es) does OSPF use to communicate amongst routers?
OSPF uses multicast where possible to reduce unnecessary traffic. The two OSPF multicast addresses are as follows:
AllSPFRouters: IPv4 address 224.0.0.5 or MAC address 01:00:5E:00:00:05. All routers running OSPF should be able to receive these packets.
AllDRouters: IPv4 address 224.0.0.6 or MAC address 01:00:5E:00:00:06. Communication with designated routers (DRs) uses this address.
How many packet types does OSPF use?
5 types.
- Hello
- Database description (DBD) or (DDP)
- Link-state request (LSR)
- Link-state update (LSU)
- Link-state ack
What is the function of Hello packets in OSPF?
These packets are for discovering and maintaining neighbors. Packets are sent out periodically on all OSPF interfaces to discover new neighbors while ensuring that other adjacent neighbors are still online.
What is the function of Database description (DBD) or (DDP) packets in OSPF?
These packets are for summarizing database contents. Packets are exchanged when an OSPF adjacency is first being formed. These packets are used to describe the contents of the LSDB.
What is the function of Link-state request (LSR) packets in OSPF?
These packets are for database downloads. When a router thinks that part of its LSDB is stale, it may request a portion of a neighbor’s database by using this packet type.
What is the function of Link-state update (LSU) packets in OSPF?
These packets are for database updates. This is an explicit LSA for a specific network link and normally is sent in direct response to an LSR.
What is the function of Link-state ack packets in OSPF?
These packets are for flooding acknowledgments. These packets are sent in response to the flooding of LSAs, thus making flooding a reliable transport feature.
What address are Hello packets usually sent to in OSPF?
OSPF hello packets are responsible for discovering and maintaining neighbors. In most instances, a router sends hello packets to the AllSPFRouters address (224.0.0.5). Table 8-3 lists some of the data contained within an OSPF hello packet.
How many bits is a RID in OSPF?
The OSPF router ID (RID) is a 32-bit number that uniquely identifies an OSPF router.
In some OSPF output commands, neighbor ID refers to the RID; the terms are synonymous. The RID must be unique for each OSPF process in an OSPF domain and must be unique between OSPF processes on a router.
What are the 3 options for Auththentication in OSPF?
Within the Hello packet exists a field that allows secure communication between OSPF routers to prevent malicious activity called the Authentication option field.
Options are none, clear text, or Message Digest 5 (MD5) authentication.
T/F: The Area ID in OSPF can be written as DDN or base 10.
True.
The OSPF area that the OSPF interface belongs to is a 32-bit number that can be written in dotted-decimal format (0.0.1.0) or decimal (256).