OSPF Flashcards

(77 cards)

1
Q

What is the backbone area

A

Area 0 or the backbone is the area that all other OSPF areas must connect to. the backbone provides transit connectivity between the non backbone areas.

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

What is an OSPF area

A

An area provides separation in OSPF. this allows scalability to increase as a routing domain is only within the area and OSPF adjacencies need to be made within the area not with every router running OSPF.

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

What IP protocol number does OSPF use

A

IP 89

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

What address does OSPF use to communicate with all OSPF routers

A

224.0.0.5

01:00:5E:00:00:05

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

What address does OSPF use to communicate with DR routers

A

224.0.0.6

01:00:5E:00:00:06

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

What are the different OSPF packet types

A

Hello
Database description (DBD)
Link state request
Link state update
Link state Acknowledgement

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

What is a OSPF Hello packet

A

Used for discovering and maintaining neighbour relationships.

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

What is a DBD packet

A

Database descriptor: used to describe the contents of the LSDB

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

What is a LSR packet

A

Link state request: Packets used to to download specific networks from the LSDB

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

What is a LSU packet

A

Link state update: Sent in response to a LSR

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

What is a Link state acknowledgement

A

Sent as an acknowledgement of the LSA.

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

What are the different fields in a OSPF hello packet

A

RID
authentication options
Area ID
Hello & dead timers
DR/BDR IP
Interface address mask
Interface priority
OSPF neighbours

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

What is an OSPF neighbour

A

IS a router that shares a common OSPF enabled network, OSPF discovers neighbours by Hello packets. All neighbours have a synchronised LSDB

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

When a OSPF neighbour forms what are the different states of the adjacency

A

Down
Attempt
Init
2way
ExStart
Exchange
Loading
full

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

What are the requirements must match for OSPF neighbours to form adjacency

A

RID must be unique
Interfaces must share a common subnet
MTU must match
Area ID must match
DR enablement must match
OSPF hello/dead timers must match
Authentication must match
Area type flags must match

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

What is the purpose of the designated router (DR)

A

To maintain neighbour adjacencies with all OSPF routers within the network segment. All routers can not maintain adjacencies with all routers as this would be impossible with scaling.

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

What is the process for a OSPF router learning a new route within a broadcast domain.

A
  1. OSPF router sends the route to 224.0.0.6
  2. The DR send a unicast message to the sender acknowledging the route.
  3. DR sends route to 224.0.0.5 to distribute via all OSPF routers on network segment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What are the 2 methods of configuring OSPF

A
  1. the network statement configured under the OSPF process with a wild card mask.
  2. Interface specific configuration enabling OSPF under a specific interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is the benefit of interface specific configuration over network statement when enabling OSPF

A

Using the interface configuration provides explicit control over the OSPF process

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

In a hybrid situation where a network statement and an interface configuration are both enabled on the same OSPF router, which takes precedence

A

Interface specific configuration

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

By default how is the RID set in OSPF

A

The RID is allocated by:

  1. The highest IP of any UP loopback interface.
  2. The highest IP of an UP physical interface.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

How does a router select a new RID

A

OSPF process must be restarted

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

What is a OSPF passive interface used for

A

To prevent un-authorised routers from been connected to the OSPF domain and advertising false routes to cause traffic problems.

A passive interface prevents hello packets from been sent and therefore adjacencies from being formed on that interface.

Network segments however are still added to the LSDB.

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

Does OSPF support default route advertisement

A

Yes, command: default-information originate [always][metric]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What are the main optimisations that can be performed on a OSPF router
Changing OSPF cost of an interface Changing OSPF priority of a router to be elected for DR/BDR Changing Hello/dead timers
26
What is the reference bandwidth to calculate OSPF link cost
100Mbps
27
What is the default OSPF cost (metric) for E1, ethernet, FA, Gbps, TenGbps
E1 - 64 ethernet - 10 FA - 1 Gbps - 1 TeGbps - 1
28
What is the calculation to calculate OSPF cost
Reference bandwidth (in Mbps) divided by interface bandwidth (Mbps)
29
Why would you change the reference bandwidth and how do you do it
To support higher interface speeds. As 1 Gbps link has the same metric as Ten Gbps link with default values. command: auto cost reference-bandwidth
30
What is the important thing to do when changing the reference bandwidth
change the reference bandwidth on all OSPF devices in the routing domain to ensure the Dijkstra's algorithm runs correctly.
31
What is the default priority for DR elections on a OSPF router
1
32
If there is a match the OSPF priority how is the winner identified
the highest RID will become the DR
33
how do you remove a router from the election process
set the priority to 0
34
what is the maximum OSPF priority value
255
35
Does OSPF DR priority update support pre-emption
No
36
What are the different OSPF network types
Broadcast Non-Broadcast P2P Loopback
37
What are the default timers in OSPF Broadcast network
Hello: 10 Wait: 40 Dead: 40
38
What are the default timers in a OSPF non broadcast network
Hello: 30 Wait: 120 Dead: 120
39
What are the default timers in a OSPF P2P network
Hello: 10 Wait: 40 Dead: 40
40
What are the default timers in a OSPF P2MP network
Hello: 30 Wait: 120 Dead: 120
41
What are the default timers in a OSPF Loopback network
No timers for loopbacks
42
What is the OSPF wait timer used for
To allow newly booted routers to Identify the DR/BDR on a segment instead of immediately declaring themselves a DR
43
Which OSPF network types have a DR/BDR field in the 'hello packet'
Broadcast and non broadcast OSPF networks.
44
How does OSPF determine which network type to use
Media plugged in.
45
What are the drawbacks to using a single area in OSPF
Does not scale well due to: Neighbour adjacencies required with all router within the area. LSDB becomes unmanageable. No summarisation
46
What are the advantages of multi area OSPF model
LSDBs are smaller Quicker SPF calculations Decreases LSA flooding when a link flaps
47
All areas transmit routes to all other areas injecting them into each other. True or False
False. Only area 0 can inject routes into non-backbone areas.
48
What is a ABR
Area border router, a router that has multiple areas directly connected. One of the areas must be area 0.
49
What is a intra-area route
Route learnt from an OSPF router within the same area.
50
What is a Inter-area route
A route learnt from a OSPF router in another area.
51
What is the code in the RIB for a intra-area route
O
52
What is the code in the RIB for a inter-area route
O IA
53
What is the purpose of LSAs
to build the LSDB and the OSPF tree
54
How many LSAs are used for IPv4 routing
6
55
What is a type 1 LSA
Router LSA - advertises LSA the originate within the area
56
What is a type 2 LSA
Multi access network segment LSA: Used when a DR is used.
57
What is a type 3 LSA
Summary, used to advertise networks to OSPF routers outside of the originating router.
58
What is a type 4,5,7 LSA
Type 4: ASBR Summary LSA Type 5: AS external LSA Type 7: NSSA external LSA
59
Every OSPF enabled link advertises one type 1 LSA. True or False
True
60
Only some routers advertise Type 1 LSAs True or False
False. All routers advertise type 1 LSA
61
On what type of router is a Type 2 LSA created
DR
62
Does a type 1 or 2 LSA leave the area
No both are only intra-area
63
How are type 3 LSAs generated
When a ABR receives a Type 1 LSA it generates a type 3 LSA and sets itself as the advertising router and sends it to another area.
64
What happens if a ABR receives 2 type 3 LSAs for the same network segment
the ABR only advertises the type 3 LSA with the lowest metric.
65
What is a discontiguous network
when inter-area traffic is trying to cross a non-backbone area. e.g. area 12 > area 40 Not possible as it MUST transmit through area 0.
66
What is the priority for OSPF path selection when running Dijkstra's algorithm
1. Intra-area routes 2. Inter-area routes 3. External routes
67
What happens if there is a match of metrics with 2 routes to the same network and prefix length
ECMP is used.
68
What is OSPF route summarisation
Summarising the network prefix's into a shorter subnet mask that are advertised in the type 3 LSA.
69
What is the benefit of OSPF summarisation
Reduces number of type 3 LSAs generated on the ABR and the amount advertised into other areas.
70
How is the metric calculated for a summarised network
Default is the lowest metric associated with the LSA, can be manually configured
71
What is OSPF route filtering
Method of selecting which identified routes are advertised or received from or to neighbours
72
What are the advantages of route filtering
Manipulate traffic flow reduce memory utilisation improve security
73
What are the different methods of route filtering
Summarisation filtering Area filtering Local OSPF router filtering
74
What is Summarisation filtering
Preventing type 3 LSAs from been generated on ABR of a specific summarised network. This prevents the route to that network from been advertised outside of the area.
75
What is Area filtering
Allows ABR to filter routes as they leave or enter the area.
76
What is Local OSPF filtering
To remove routes from specific routers within a OSPF area, this is done by still installing LSA into LSDB as they must be synchronised across the area. However the route is not installed into the RIB.
77