8. OSPF Flashcards

1
Q

What are the five types of OSPF pakcets?

A
Hello - Discovering and maintaining neighbors
DBD - After first adjacency has formed
LSR - Databse request
LSU - Database update
LS ack - to acknowledge flooding LSAs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the multicast addresses of OSPF?

A
  1. 0.0.5 - Allspfrouters

224. 0.0.6 - AllDrouters

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

When is a OSPF neighbors fully adjacent?

A

When they share a synchronized database

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

What are the 8 OSPF neighbor states?

A

Down -
Attempt - NBMA networks
Init - hello packet received
2way - Bidirectional communication, election takes place
Exstart - First adjacency. Master/slave is choosen in LSDB proces
Exchange - Exchanging DBD packets
Loading - LSR are sent for discovered but not received LSAs
Full - Fully adjacent

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

What is the formula to calculate adjacencies?

A

n(n-1)/2

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

What steps are taken in DR/BDR update process?

A

An OSPF router learns a new route and sends a LSA to 224.0.0.6
DR sends ACK to router to confirm LSA received
DR floods LSA to 224.0.0.5

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

How is the router ID chosen?

A

Highest loopback first, if not highest active int ip address

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

How do you restart the OSPF process?

A

CLEAR IP OSPF PROCESS

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

What does a passive interface do?

A

It does not send out hellos does not process received OSPF packets

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

What are the six requirements to form an OSPF neighborship?

A
Unique RID
Same subent
MTU match
AREA ID match
DR enablement must match
OSPF Hello and Dead match
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do you calculate the cost (metric)?

A

Reference bandwidth/interface bandwidth Ref = 100mb

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

How is the Dr chosen?

A

Hellos with 0.0.0.0
If priority is higher wins
If prio is equal –> Highest RID

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

How do you exclude an interface from the DR election?

A

By changing to prio to zero

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

What are the 5 OSPF network types?

A
Broadcast - default for ethernet
Non broadcast
P2P - No DR - default for serial only hello timer
P2-mulitP - No DR
Loopback
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the command to change an OSPF link to P2P?

A

ip ospf network point-to-point

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

What is the benefit for changing ethernet interfaces with only two OSPF speakers to P2P?

A

They form adjacencies faster and simplify SPf calculation

17
Q

With what prefix is a loopback network always advertised?

A

/32