How OSPF works explain?

How OSPF Works? When it is configured, it listens to its neighbours in the networks, and it gathers all the link state data available. This data is then used to make a topology map that contains all available paths in the network. This database is saved for use, and we call it Link State Database.

What routing protocol does OSPF use?

Open Shortest Path First (OSPF) is a routing protocol for Internet Protocol (IP) networks. It uses a link state routing (LSR) algorithm and falls into the group of interior gateway protocols (IGPs), operating within a single autonomous system (AS).

What are the four 4 types of OSPF routers?

Four Types of OSPF Routers

  • Routers for internal use: Internal routers. Internal routers are routers that belong to the same OSPF region as their directly connected networks.
  • Area Borders Routers.
  • Autonomous Systems Boundary Routers.
  • Backbone Routers.

What is OSPF configuration?

OSPF has some basic rules when it comes to area assignment. OSPF must be configured with areas. The backbone area 0, or 0.0. 0.0, must be configured if you use more than one area assignment. You can configure OSPF in one area; you can choose any area, although good OSPF design dictates that you configure area 0.

Why OSPF is called link-state?

The OSPF protocol is a link-state routing protocol, which means that the routers exchange topology information with their nearest neighbors. The topology information is flooded throughout the AS, so that every router within the AS has a complete picture of the topology of the AS.

What are the main features of OSPF?

OSPF supports/provides/advantages –

  • Both IPv4 and IPv6 routed protocols.
  • Load balancing with equal-cost routes for the same destination.
  • VLSM and route summarization.
  • Unlimited hop counts.
  • Trigger updates for fast convergence.
  • A loop-free topology using SPF algorithm.
  • Run-on most routers.
  • Classless protocol.

What are the six OSPF route types?

This is the prefered path list that OSPF uses:

  • Intra-Area (O)
  • Inter-Area (O IA)
  • External Type 1 (E1)
  • NSSA Type 1 (N1)
  • External Type 2 (E2)
  • NSSA Type 2 (N2)

What port does OSPF use?

89 port number
Difference between OSPF and BGP

S.NO OSPF
6. In OSPF internet protocol is used.
7. It works in 89 port number.
8. OSPF is a Link State type.
9. In OSPF Dijkstra algorithm is used.

What is OSPF example?

A simple two-router OSPF network Here’s an example of a network configuration that creates a very simple OSPF network between two Cisco routers. The routers are placed in area 0 and an OSPF point-to-point link is configured between them. R1 will announce the 1.1. 1.1/32 route and R2 will announce 2.2.