uni
OSPF è un algoritmo di routing dinamico che implementa il link state algorithm.

Un singolo dominio di routing OSPF prende il nome di autonomous system (AS), ed ogni AS ha un identificatore univoco assegnato centralmente.
All’interno di ogni AS ogni router ha un identificatore univoco a 32 bit.

Per supportare maggiore scalabilità ogni AS può essere ulteriormente partizionata in aree: un’area include un sottoinsieme connesso di link e interfacce a cui questi link sono connessi.
Ogni area ha un identificatore univoco a 32 bit, si usa la notazione a 4 ottetti.

OSPF opera in maniera gerarchica: il routing è gestito in maniera indipendente in ogni area.

I router sono divisi in:

  • router interni: router con ogni interfaccia nella stessa AS
  • AS boundary router: router con almeno una interfaccia connessa ad un’altra AS

Header OSPF

Pacchetti Link State di OSPF

Protocollo operazionale OSPF

Hello Packet

Routers

ASBR

Passes routes between OSPF and other routing domains.

ABR

Passes routes between OSPF Areas.

LSA

Type 3

Generated by ABR routers (Area Border Routers).

Type 4

Generated by ABR routers (Area Border Routers).

Type 5

Generated only by ASBR routers (Autonomous System Boundary Routers).
This LSA carries external routes and redistributes them into OSPF.