https://drive.mindmup.com/map/11ruX_6o_dTg1e-3vx6-xJ_Emsm_cAwdp
https://docs.google.com/drawings/d/1f81VGjnIxUVEag2zfyLkXCEnBTkrtnvvmdnJoGI_T8c/edit
Key features | Link State-protocol: #each router adv about the state of his links / interface's subnet | |
Dijkstra / SPF Algorithm | 1- place the source router at the root of the tree | |
OSPF Frame | | LL | IP header ( protocol id= 89 ) | OSPF packet type | LT | | |
Multicast @ ( + unicast) | L3 Multicast address: | |
OSPF Packet Type | 1- Hello | |
OSPF Packet Header | ||
OSPF Packet Type 1: Hello | Network mask: ( the src IP is in the IP@ header! ) | |
DR or Designated Router | ||
DR function in multi-access network ( VPLS) | ||
OSPF DR Election | OSPF DR election is non-preemptive election takes place by exchange of Hello packets 1- set the new priorities and Priority: Highest preferred ( Link ) In case of a tie, the router with highest router-id is elected the DR. | |
Packet Type | ||
OSPF Packet Type 2: Database Descriptor | ||
OSPF Packet Type 3: Link State Request | ||
OSPF Packet Type 4: Link State Update | Contain multiple LSAs ( up to maximum packet size / MTU ) 1- response to Request ( OSPF packet Limk state request type 3 ) 2- After a new adjacency is formed Mcst to all OSPF routers ( 224.0.0.5) and all DRs ( 224.0.0.6) | |
OSPF Packet Type 5: Acknowledge | ||
OSPF Packet Flow & Neighbor Adjacency | ||
LSA or Link State A | ||
Link state type 1: Router | ||
Link state type 2: Network | Bcst interfaces | |
Link state type 3: Summary | Created by ABR | |
Link state type 4: ABSRsummary | Created by ABR ( created from LSA1? or LSA5? or LSA7??) Include: the metric to reach the ASBR, and the route information being summarized. | |
Link state type 5: External route | From ASBR ( any to OSPF ) E1 includes – "Total cost" internal cost to ASBR added to external cost, E2 does not include – internal cost. it is same as external cost. | |
Link state type 7: External in NSSA | for external routes that are redistributed into OSPF from other routing domains. Origin: ASBR = Type 5 ( but NSSA does not allow Type 5 ) = ABR will translate Type 7 to Type 5 ( to go into Backbone ) LSA Type 7 includes information such as the Advertising Router (ASBR), the network mask, and the external route information. | |
Adjacency State | ||
Down | ||
init | ||
2Way | ||
Exstart | issue with MTU negotiate: the Master / Slave ( define the seq number) and in charge of dB sync master: highest RID | |
Exchange | ||
Loading | ||
Full |