OSPF and RIP fundamentals
in large networks, OSPF is a link-state protocol that supports IP subnets, Type of Service
(TOS)-based routing, and tagging of externally-derived routing information.
OSPF navigation
•
OSPF overview
•
Dijkstras algorithm
•
Autonomous system and areas
•
OSPF neighbors
•
Router types
•
OSPF interfaces
•
OSPF and IP
•
RIP and route redistribution
•
OSPF packets
•
Intra-area link-state advertisements
•
ASE routes
•
OSPF virtual links
•
OSPF ASBRs
•
OSPF metrics
•
OSPF security mechanisms
•
OSPF and route redistribution
•
OSPF configuration considerations
OSPF overview
In an OSPF network, each router maintains a link-state database that describes the topology
of the autonomous system (AS). The database contains the local state for each router in the
AS, including its usable interfaces and reachable neighbors. Each router periodically checks
for changes in its local state and shares detected changes by flooding link-state advertisements
(LSA) throughout the AS. Routers synchronize their topological databases based on the
sharing of information from LSAs.
From the topological database, each router constructs a shortest-path tree, with itself as the
root. The shortest-path tree provides the optimal route to each destination in the AS. Routing
information from outside the AS appears on the tree as leaves.
OSPF routes IP traffic based on the destination IP address, subnet mask, and IP TOS.
34
Configuration — OSPF and RIP
on page 34
on page 35
on page 36
on page 40
on page 41
on page 42
on page 47
on page 32
on page 48
on page 49
on page 49
on page 50
on page 52
on page 52
on page 53
on page 48
on page 54
June 2011