OSPF Theory Flashcards

1
Q

What is OSPF?

A

Open Shortest Path First - a non-proprietary link-state routing protocol

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

What is an LSA?

A

Link State Advertisement - information about an individual routers links aka networks.

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

What is an ABR?

A

Area Border Router - a router that has interfaces on networks that are in different OSPF areas.

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

What is an ASBR?

A

Autonomous System Border Router - a router that is running OSPF and also redistributing non-OSPF routes.

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

Describe a Type 1 LSA

A

Router LSA - Advertises the LSA that originate within an area

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

Describe a Type 2 LSA

A

Network LSA - Advertises multi-access network segment attached to a DR

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

Describe a Type 3 LSA

A

Network Summary (OSPFv3: Inter-Area Prefix)- Advertises network prefixes that originated from a different area. (ABR)

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

Describe a Type 4 LSA

A

ASBR Summary (OSPFv3: Inter-Area Router) - Advertises a summary LSA for a specific ASBR

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

Describe a Type 5 LSA

A

AS External LSA - Advertises LSAs for routes that have been redistributed.

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

Describe a Type 7 LSA

A

NSSA External LSA - Advertises redistributed routes in Not So Stubby Areas

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

Describe a Type 8 LSA

A

OSPFv3 Link - IPv6 only. These are for IPv6 Intra-Area link local addresses.

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

Describe a Type 9 LSA

A

IPv6 Network Link - IPv6 prefix advertisements that are only flooded within that area.

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

When do routers exchange their entire Link State DB with each other?

A

When those neighbors are fully adjacent.

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

What is effectively happening when you issue the ‘network’ command within OSPF config mode?

A

You are telling the router to enable all interfaces within the specified network range for OSPF and to advertise their networks.

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

What is a stub network?

A

A network where this is only one router. In other words, there are no other networks beyond that network.

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

What is a stub area?

A

An OSPF area that does not accept redistributed routes from an ASBR.

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

What is the formula for the number of neighbor adjacencies formed in an OSPF broadcast segment?

A

Where N is the number of OSPF routers: N(N-1)/2

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

What is a DR in OSPF?

A

Designated Router - The router that is responsible for advertising route updates. Only the DR forms full OSPF adjacencies with the other routers in the segment.

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

How is a DR elected in a network segment?

A

1.) First to come online
2.) Highest OSPF priority
3.) Highest Router ID (RID)
4.) Highest IP on Loopback
5.) Highest IP on Non-loopback

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

What is the BDR?

A

Backup Designated Router - takes over if the DR goes offline

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

Name the OSPF packet types that are sent when OSPF routers are performing neighbor relationships.

A

Hello - type 1
Database Description (DBD) - type 2
Link State Request (LSR) - type 3
Link State Update (LSU) - type 4
Link State Ack - type 5

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

What is the function of OSPF Hello packets

A

These packets are for discovering and maintaining neighbors.

23
Q

What is the function of OSPF DBD packets

A

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.

24
Q

What is the function of OSPF LSR packet

A

These packets are sent from one OSPF router to request full LSA data. This is typically in response to a DBD or when part of the Link State Database is stale.

25
What is the function of OSPF LSU packet
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.
26
What is the function of OSPF LS Ack packet
These packets are acknowledge the receipt of an LSU. These packets can also be flooded across a network segment.
27
What states do routers go through in the process of forming an OSPF full adjacency?
Down Attempt Init 2-Way Exstart Exchange Loading Full
28
What happens in the OSPF Down state?
This state indicates that no information has been received recently, but the router is sending hello packets
29
What happens in the OSPF Attempt state?
This state only occurs when neighbors are manually configured on a non-broadcast multi-access network (multicast disabled) link and hellos are sent via unicast.
30
What happens in the OSPF Init state?
This state indicates that a hello packet has been received from another router and the routers in a segment are aware of each other (hello packets have seen each router in the segment).
31
What happens in the OSPF 2-way state?
- The router has received a hello packet with its RID inside of it, indicating that the neighbor now knows that it exists. - Bidirectional communication has been established. - If a DR or BDR is needed, the election occurs during this state.
32
What happens in the OSPF Exstart state?
This is the first state in forming an adjacency. Database Descriptor Packets (DBD) are sent from both sides and the routers negotiate Master/Slave.
33
What happens in the OSPF Exchange state?
During this state, the Master/Slave election is complete and DBD packets are sent with Link State DB summaries.
34
What happens in the OSPF Loading state?
LSAs are exchanged via the LSR, LSU, LS Ack process.
35
What happens in the OSPF Full state?
Neighboring routers are fully adjacent.
36
What effect does the 'passive-interface' command have?
It tells OSPF to advertise the network for the interface, but the interface will not send or receive OSPF hello packets. This is to prevent a rogue device from making an OSPF adjacency and inserting routes into the network.
37
What are the types of OSPF Networks?
Broadcast Non-broadcast Point-to-Point Point-to-Multipoint Point-to-Multipoint Non-Broadcast
38
What are the OSPF network types that use a DR?
Broadcast Non-broadcast
39
What are the default OSPF timers?
It depends on the network type... Type; Hello; Wait; Dead Broadcast & Point-to-Point; 10; 40; 40 Non-Broadcast & Point-to-Multipoint; 30; 120; 120
40
What is the default OSPF network type for Ethernet?
Broadcast
41
What types of network connections use Point-to-Point OSPF network types by default?
Serial (HDLC, PPP), GRE Tunnels, P2P Frame Relay. NOTE: This is because only 2 endpoints can exist and OSPF does not want to waste CPU cycles.
42
When dealing with point-to-point or point-to-multipoint networks, what needs to be configured properly to ensure adjacency?
Timers need to match on both ends (Hello, Dead, Wait, ReTx)
43
When can neighboring OSPF interfaces have different types and still be adjacent?
When the timers match on both ends
44
What are the different types of OSPF authentication?
Type 0 = None Type 1 = Plain text Type 2 = MD5
45
What are the **default** OSPF link costs for T1, Ethernet, FastEth, GigEth,10-GigEth?
T1: 64 Eth: 10 Fast, Gig, & 10-Gig: 1
46
In OSPF, what is area 0 called?
The backbone area where all other areas must connect. This could also be referred to as the transit area.
47
For Inter-Router communication, OSPF uses what two multicast addresses (IP and MAC) for AllSPFRouters?
224.0.0.5 01:00:5e:00:00:05
48
For Inter-Router communication, OSPF uses what two multicast addresses (IP and MAC) for AllDRouters?
224.0.0.6 01:00:5e:00:00:06
49
OSPF does not use TCP or UDP as a transport protocol. Instead it uses its own called what?
Protocol 89
50
What does it mean to say that OSPF is a two-tier hierarchy?
All areas must connect to the backbone area (area 0) via an ABR.
51
What is a passive interface? Why might you need it?
A passive interface does not try to form OSPF adjacencies. This may be needed for security reasons, so a rogue device cannot be plugged in and introduce false routes.
52
What is the IPv6 multicast address (group) for OSPFv6?
FF02::5
53
In OSPFv3, what is the new name for the LSA Type 3?
Inter-Area Prefix
54
In OSPFv3, what is the new name for the LSA Type 4?
Inter-Area Router