OSPF Flashcards

(72 cards)

1
Q

How do OSPF-enabled routers establish neighbor adjacencies?

A

Via the exchange of Hello packets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What happens once OSPF-enabled routers have established adjacencies?

A

Routers exchange LSAs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What process occurs once LSAs have been received?

A

Routers build their topology table (LSDB)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Once the LSDB has been built, what process does the router perform?

A

Router runs SPF algorithm against LSDB to create SPF tree. The SPF tree contains the computed best paths to destination networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Once the SPF algorithm has been run, what happens next?

A

Computed routes are offered to the routing table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is contained in the Datalink header of an OSPFv2 message?

A
Destination MAC (multicast 01-00-5e-00-00-05 or 06)
Source MAC (sending interface)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is contained in the IP packet header of an an OSPFv2 message?

A

Destination IP address (224.0.0.5 or .6)
Source IP address
Protocol field, with value 89 indicating OSPF message

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is contained within the OSPF packet header of an OSPFv2 message?

A

Type code indicating OSPF packet type
Router ID
Area ID

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the purpose of a Type 1 OSPF packet?

A

Hello packet, used to establish and maintain adjacencies with other OSPF routers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the purpose of a Type 2 OSPF packet?

A

Database Description Packet (DBD, DD), which is an abbreviated list of the sending router’s LSDB.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the purpose of a Type 3 OSPF packet?

A

Link-state Request (LSR), used by routers that have received a Type 2 DBD (summary) to request additional information from their neighbor about specific LSDB entries)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the purpose of a Type 4 OSPF packet?

A

Link State Update, sent in response to an LSA, and to announce newly-learned information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the purpose of a Type 5 OSPF packet?

A

Link State Acknowledgement (LSAck), sent in response to a received LSA to confirm receipt.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which packets are involved in the DR/BDR election process?

A

Type 1 (Hello) packets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What fields are included in a Type 1 Hello Packet

A

Type, router ID, Area ID, network mask, hello/dead timer intervals, router priority, DR (if applicable), BDR (if applicable), list of neighbors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What determines whether two OSPF routers form an adjacency?

A

Hello/Dead interval timers must match, both devices must be on same subnet (subnet mask mis-match is a giveaway)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the default value of the Hello interval?

A

10 seconds on multiaccess and P2P networks, 30 seconds on NBMA networks (Frame Relay)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

OSPFv2 Hello packets are sent to which address?

A

Multicast 224.0.0.5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is the default value of the Dead Interval?

A

4x hello interval

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

List the OSPF operational states from Establishment through convergence

A

Down, Init, 2-way, ExStart, Exchange, Loading, Full

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What OSPF operational states are expected as adjacencies are established?

A

Down, Init, 2-way

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What OSPF operational states are expected routers exchange OSPF databases?

A

ExStart, Exchange, Loading, Full

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Identify the OSPF State, and what will happen next

  1. No hello packets yet received
  2. Router sends hello packets
A

Down, transition to Init

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Identify the OSPF State, and what will happen next

  1. Hello packets received from neighbors
  2. Sending router’s RID observed
A

Init, transition to 2-way

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Identify the OSPF State, and what will happen next 1. On Ethernet links, elect DR and BDR
2-way, transition to ExStart
26
Identify the OSPF State, and what will happen next 1. Negotiate Master/Slave relationship 2. Negotiate DBD sequence number 3. Initiate DBD packet transmission
ExStart, transition to Exchange
27
Identify the OSPF State, and what will happen next 1. Exchange of DBD packets
Exchange State. If additional router information is required, transition to Loading. Otherwise, transition to Full
28
Identify the OSPF State, and what will happen next 1. LSRs and LSUs used to gain additional route information 2. Routes are processed using SPF
Loading. Transition to Full
29
Identify the OSPF State, and what will happen next 1. Routers have reached convergence
Full State (routers have reached convergence)
30
What determining factor will allow a router too transition from the Init State to the 2-way state?
Receiving a hello packet that includes its own router ID
31
Two routers on a common Ethernet network link exchange Hello packets and reach the 2-way state. What process must occur next?
DR/BDR election
32
What influences which devices will become DR/BDR?
Interface priority (higher is better, default 1), RouterID (higher is better)
33
What is the purpose of the DR?
Minimization of adjacencies and LSA flooding. The DR becomes the collection and dissemination point for LSAs. The BDR also collects LSAs in case in ends of becoming the DR.
34
What formula is used to calculate the potential number of adjacencies in a multiaccess broadcast network?
n (n-1) / 2
35
Two OSPF routers have reached the ExStart state. Which router will begin the process of exchanging DBD packets?
The one with the highest router ID
36
What is contained within DBD packets?
Summary information of the sending routers LSDB
37
Two routers in the Exchange state are exchanging DBDs. Router 1 notices that 1 entry has a more current Link-state entry. What happens next?
R1 transitions to Loading State, and sends an LSR to R2 asking for complete information regarding that entry. R2 responds with an LSU. R1 sends LSAck to R2 confirming receipt.
38
How often are LSUs sent to neighbors?
1. When a topology change is received | 2. Every 30 minutes
39
How does an OSPF router determine its RID?
1. Explicit configuration 2. Highest IP address of any configured loopbacks 3. Highest IP address of any configured interfaces
40
What formula is used to calculate OSPF cost
Cost=Reference Bandwidth / Interface bandwidth (in bps)
41
What is the default reference value bandwith
100,000,000 bps (100Mb)
42
What is the default OSPF cost of a fast ethernet link?
1
43
What is the default OSPF cost of an Ethernet (10mb) link
10
44
What is the default OSPF cost of a 1.544Mbps serial link
64
45
An OSPF router with all interfaces in the same area
Internal router
46
All LSDBs on internal routers are...
identical
47
All routers in area 0 are considered...
Backbone routers
48
An OSPF router with interfaces attached to multiple areas
Area Border Routers
49
An OSPF router with at least one interface attached to an external Internetwork
Autonomous System Boundary Router
50
Another name for a Type 1 LSA
router link entry
51
Another name for a Type 2 LSA
network link entry
52
Another name for Type 3 and Type 4 LSAs
summary LSA
53
What is the purpose of a type 1 LSA?
Advertisement of directly-connected links
54
What is contained in a type 1 LSA
directly connected interfaces, link types, neighbors, link states
55
Where are Type 1 LSA flooded?
Only within their area of origin (ABRs advertise networks learned via Type 1 LSAs to other areas as Type 3 LSAs)
56
How are Type 1 LSA link IDs identified
by the router ID of the originating router
57
What is the purpose of a Type 2 LSA
To inform other routers about multiaccess networks in the same area
58
What is contained within a Type 2 LSA
Router ID and IP of the DR, and router IDs of all other routers on the multiaccess segment
59
Where are Type 2 LSA flooded?
Only within their area of origin
60
What is the link state ID of a Type 2 LSA?
Interface IP address of the DR that advertises it
61
What is the purpose of a Type 3 LSA?
Used by ABRs to advertise networks from other areas
62
What is the link-state ID of a Type 3 LSA?
The advertised network number and mask
63
A router receives a Type 3 LSA from an ABR. Will the SPF algorithm be required?
No. SPF calculations are only performed on advertisements within the same area
64
What is the purpose of a Type 4 LSA?
Identification and advertisement of ASBR routers
65
An ABR receives a Type 1 LSA with the "e bit" set. What happens next?
The ABR notices the "e bit", which means the sending router has identified itself as an ASBR. The ABR must notify other areas that the ASBR exists. The ABR floods that advertisement to the backbone via a Type 4 LSA. The backbone propagates that Type 4 LSA to other areas, alerting them to existence of that ASBR.
66
What is the link-state ID of a Type 4 LSA?
The router ID of the ASBR
67
What is the purpose of a Type 5 LSA?
Describes routes to networks outside the OSPF routing domain
68
How are Type 5 LSAs propagated?
Type 5 LSAs are originated by the ASBR and flooded to the entire routing domain
69
A routing table entry lists a routing table code of "O" for a specific OSPF route. What LSA Type ultimately produced this entry in the routing table?
Type 1 or type 2
70
A routing table entry lists a routing table code of "O IA" for a specific OSPF route. What LSA Type ultimately produced this entry in the routing table?
Type 3
71
A routing table entry lists a routing table code of "O E1" or "O E2" for a specific OSPF route. What LSA Type ultimately produced this entry in the routing table?
Type 5
72
Each router uses the SPF algorithm to against the LSDB to build the OSPF tree. The SPF tree is used to determine the bas path(s) to add to the routing table. In what order are these best paths calculated?
1. Intra-area routes 2. Inter-area routes 3. External routes