OSPF-1 Flashcards

1
Q

What is the OSPF Routing Protocol?

  • Is OSPF a Link State or path-vector routing protocol?
  • How does it calculate the shortest paths?
  • What is the AD?
  • What is the metric?
  • What is the Transport?
  • What are the IPs for OSPF multicast?
A
  • OSPF is an Link State routing protocol.
  • OSPF uses the Dijkstra algorithm to construct the shortest paths.
  • OSPF AD: 110
  • OSPF Metric: Cost (Bandwidth)
  • OSPF Transport: IP/89
  • OSPF Multicast: 224.0.0.5 & 224.0.0.6
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the steps required to change neighborship into full adjacency?

A

Below are the steps required to ensure that an OSPF neighbor transitions into a full adjacency.

  • Physical & IP Connectivity: Interfaces must be up, in the same subnet.
  • OSPF Process is Enabled: Both routers must run OSPF on the interface.
  • Hello Packets are Exchanged: Hello messages are sent every 10s (broadcast) or 30s (NBMA).
  • Elect a DR/BDR: Designated Router (DR) and Backup DR (BDR) are selected on broadcast networks.
  • Exchange LSAs: Routers exchange LSAs to synchronize databases.
  • OSPF Adjacency Forms: OSPF reaches the FULL state.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain LSA (Link-State Advertisement), LSU (Link State Update), and LSR (Link State Request).

A

OSPF routers communicate using LSAs, LSUs, and LSRs to synchronize their Link-State Databases (LSDBs).

  • LSA: Contain topology information about a router’s links and network.
  • LSU: Used to synchronize the LSDB among OSPF routers.
  • LSR: Sent when a router detects missing or outdated information in its LSDB.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain OSPF Router ID?

A

The Router ID is used to identify the Router.

  • The OSPF Router ID can be manually set.
  • The OSPF Router ID can be The highest IP address of the router’s loopback interfaces.
  • If no loopback is present, then the highest IP address of the router’s physical interfaces will be chosen as the Router ID.

R1(config)# router ospf 5
R1(config-router)# router-id 5.5.5.5

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

What is the difference between an OSPF neighbor and an adjacent neighbor?

A

LSAs are exchanged only among adjacent routers, not among neighbor routers.

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