OSPF Flashcards
What is the backbone area
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.
What is an OSPF area
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.
What IP protocol number does OSPF use
IP 89
What address does OSPF use to communicate with all OSPF routers
224.0.0.5
01:00:5E:00:00:05
What address does OSPF use to communicate with DR routers
224.0.0.6
01:00:5E:00:00:06
What are the different OSPF packet types
Hello
Database description (DBD)
Link state request
Link state update
Link state Acknowledgement
What is a OSPF Hello packet
Used for discovering and maintaining neighbour relationships.
What is a DBD packet
Database descriptor: used to describe the contents of the LSDB
What is a LSR packet
Link state request: Packets used to to download specific networks from the LSDB
What is a LSU packet
Link state update: Sent in response to a LSR
What is a Link state acknowledgement
Sent as an acknowledgement of the LSA.
What are the different fields in a OSPF hello packet
RID
authentication options
Area ID
Hello & dead timers
DR/BDR IP
Interface address mask
Interface priority
OSPF neighbours
What is an OSPF neighbour
IS a router that shares a common OSPF enabled network, OSPF discovers neighbours by Hello packets. All neighbours have a synchronised LSDB
When a OSPF neighbour forms what are the different states of the adjacency
Down
Attempt
Init
2way
ExStart
Exchange
Loading
full
What are the requirements must match for OSPF neighbours to form adjacency
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
What is the purpose of the designated router (DR)
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.
What is the process for a OSPF router learning a new route within a broadcast domain.
- OSPF router sends the route to 224.0.0.6
- The DR send a unicast message to the sender acknowledging the route.
- DR sends route to 224.0.0.5 to distribute via all OSPF routers on network segment
What are the 2 methods of configuring OSPF
- the network statement configured under the OSPF process with a wild card mask.
- Interface specific configuration enabling OSPF under a specific interface
What is the benefit of interface specific configuration over network statement when enabling OSPF
Using the interface configuration provides explicit control over the OSPF process
In a hybrid situation where a network statement and an interface configuration are both enabled on the same OSPF router, which takes precedence
Interface specific configuration
By default how is the RID set in OSPF
The RID is allocated by:
- The highest IP of any UP loopback interface.
- The highest IP of an UP physical interface.
How does a router select a new RID
OSPF process must be restarted
What is a OSPF passive interface used for
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.
Does OSPF support default route advertisement
Yes, command: default-information originate [always][metric]
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
What is the reference bandwidth to calculate OSPF link cost
100Mbps
What is the default OSPF cost (metric) for E1, ethernet, FA, Gbps, TenGbps
E1 - 64
ethernet - 10
FA - 1
Gbps - 1
TeGbps - 1
What is the calculation to calculate OSPF cost
Reference bandwidth (in Mbps) divided by interface bandwidth (Mbps)
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
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.