+ All Categories
Home > Documents > Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Date post: 28-Jan-2016
Category:
Upload: stephen-paul
View: 217 times
Download: 0 times
Share this document with a friend
Popular Tags:
29
OSPF Routing Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari
Transcript
Page 1: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF RoutingCollected By: Mehdi DaneshvarSupervisor: E.M.Kosari

Page 2: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Router

Page 3: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Routing

Page 4: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Routing Protocols

StaticDynamic

Page 5: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Dynamic RoutingPath DeterminationMetricsConvergenceLoad Balancing

Page 6: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Dynamic Routing Protocols

IGP – Interior Gateway ProtocolEGP – Exterior Gateway Protocol

Page 7: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Dynamic Routing ProtocolsDistance Vector Protocols

RIP, IGRPLink State Protocols

OSPF, IS-ISPath Vector Protocols

BGP

Page 8: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF

Page 9: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF NetworkBroadcast NetworkPoint-to-Point NetworkNon-Broadcast Multi-Access (NBMA)Point-to-MultipointVirtual Links

Page 10: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Multi AccessDesignated Router-DRBackup Designated Router-BDRDROTHER

Page 11: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF Designated Router Optimizing LSA flooding Process on multi-access links DR represent the multi-access network (by LSA2) and adjacency

with others. Selection of DR is per interface. DR election : Higher priority (1-255) + higher RID Priority of 0 means no intention to become the DR or BDR DRothers send update packets to the AllDRouters (224.0.0.6) All routers continue to multicast Hellos to the ALLSPFRouthers

(244.0.0.5) DR floods the updates to ALLSPFRouters (244.0.0.5)

Page 12: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF PACKET TYPESHello : Neighbor Discovery/MaintenanceDBD : Database DescriptionLSR : Database Download RequestLSU : Database UpdateLSAck : Flooding Acknowledgement

Page 13: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Hello Packet

Page 14: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF Finite State MachineDownAttempt (only on NBMA) Init – Hello is seen2-Way – own RID is seen in Hello from neighborExStart – Master/Slave relation (highest RID) Slave sets

MS-bit=0Exchange – Database Description LSRsLoading – Transfer LSAs (LSR, LSU, LSAck)Full – Adjacent

Page 15: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Neighbor State

Page 16: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Neighbor Timers

Fast Timer : Hello 10, Dead 40Slow Timer : Hello 30, Dead 120

Page 17: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF Router ID

Each router OSPF router must have unique identifier = Router ID

Router ID and LSA Sequence number are used to detect duplicate LSAs

Router ID is highest IP address from any operational interface

Page 18: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF NeighborsArea ID and Area TypeAuthenticationNetwork Mask (Not P2P link)Hello Interval Router Dead IntervalOptionMTU

Page 19: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF LSA Types Router Link State – Type 1 Network Link State – Type 2 Summery Link State – Type 3 Summery ASBR Link State – Type 4 AS External Network Link State – Type 5 NSSA External Network Link State – Type 7

Page 20: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF AREAS Area 0 = Backbone Area Area x = non-transit flooding domain Stub Area = External routers are not flooded but internal

summaries are. Totally Stubby Area = All Routers receive a default route only

from ABR. Not-So-Stubby Area (NSSA) = External connection to another AS

is permitted.

Page 21: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

The routers in Area Internal RouterBackbone RouterABRASBR

Page 22: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF PerformancingRouters in the area : Max = 50Router Neighbors : Max = 60ABRs in the area : Max=3Select one fast speed Interface for DR or BDR.

Page 23: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF Virtual LinkAllowing traffic to traverse from the backbone area to pas

through another area.Must be configured between two ABRs.Transit are must have full routing table an cannot be a stub

area.

Page 24: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF SummaryDeveloped by OSPF working group at IETFClassified as an IGPUses IP Protocol 89Dijkstra Algorithm to calculate SPFMetric Cost (per interface)ALLSPFRouters : 224.0.0.5ALLDRouters 224.0.0.6Default OSPF R Priority : 1Full LSDB topology sync first , then partial LSA flooding.VLSM and Route tags are supported.Summarization at Area boundray.

Page 25: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

OSPF vs. RIPOSPF

Select Best Path Traffic Type of Service

Hierarchical RoutingSender's Routing Table Authentication

Page 26: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Example Scenario

Page 27: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Example ScenarioNet A to Net B:

Send 1, 2, 4, 6, 7, 5, 3Recive 3,2,1

Page 28: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Resources1. RFC 23282. Wikipedia : http://en.wikipedia.com/ospf3. OSPF : http://www.shafagh.com/4. EIGRP & OSPF: http://www.shafagh.com/ 5. Forums of Cisco in persian: http://www.ciscoinpersian.com/ 6. Mohsen zoleh, BA Thesis : http://www.prozhe.com

Page 29: Collected By: Mehdi Daneshvar Supervisor: E.M.Kosari.

Any question?


Recommended