OSPF - Single Area Overview: Khawar Butt Ccie # 12353 (R/S, Security, SP, DC, Voice, Storage & Ccde)
OSPF - Single Area Overview: Khawar Butt Ccie # 12353 (R/S, Security, SP, DC, Voice, Storage & Ccde)
OSPF LSAs
Lab Diagram
Loopback0
1.0.0.0/8
Loopback0 Loopback0
2.0.0.0/8 3.0.0.0/8
R1
E 0/0
Loopback0
c 6.0.0.0/8
R2 R3
E 0/0 E 0/0
S 1/0 192.168.100.0/24 E 0/1
R6
192.168.101.0/24 192.168.103.0/24 E 0/0
S 1/0
E 0/0
R5
S 1/1 R4
S 1/0
192.168.102.0/24
Loopback0
5.0.0.0/8 Loopback0
4.0.0.0/8
OSPF Characteristics
OSPF is a Link State Routing Table. Each router will have complete topology
information.
OSPF breaks the network down into logical groups of routers known as Areas. In this
video, we will focus on a Single Area. We will
c also discuss the concept of Multi-Area in a
later video.
Just like EIGRP, OSPF also uses a Hello protocol to discover neighbors and form
Neighbor relationships. OSPF uses 224.0.0.5 & 224.0.0.6 Multicast addresses to
communicate to its neighbors.
As each router has complete topology information, it can quickly adapt to alternate
paths. If the primary route in the routing table is lost, the router will recalculate an
alternate path (if it exists) immediately without consulting a neighbor.
OSPF supports Equal Cost Load Balancing.
OSPF Characteristics
OSPF supports the validation of neighbors by using Authentication using Clear Text and MD5
based Keys. Authentication makes sure that the routes received by the router are from Trusted
sources / Routers.
c
OSPF also supports the Summarization of routes. It allows you the ability to send a summary
route to represent a group of routes allowing you to cut down on the size of the routing table.
OSPF advertises the network along with it’s subnet mask making it a Classless Routing Protocol.
It supports features like VLSM.
OSPF sends information about all the directly connected Links to its neighbor. The updates are
acknowledged. Just like EIGRP, OSPF does not send the Full routing table. The Hello Packets are
used as keepalives to maintain the neighbor relationships.
OSPF Characteristics - Timers
Hello Timer: Once the OSPF neighbors establish a neighbor relationship
and exchange Network information, they send Hello packets to let the
neighbor know that it is still up and the routes are still valid. The default
c
OSPF Hello time on a Ethernet Link is 10 seconds.
Dead Timer: If a router does not receive a hello for 40 seconds from a
neighbor, it will consider the neighbor down and delete all the routes from it.
OSPF Characteristics – Metric
OSPF uses a Cost Metric.
By default, the cost is calculated based on the logical interface bandwidth.
The metric calculation formula for OSPF is :
c
c
The Neighboring routers will receive the Network as a Host Route [/32
route].
You can have it advertise the normal interface mask by manually changing
the network type of the interface from the default Loopback to Point-to-point.
OSPF LSAs
OSPF uses Link State Advertisements [LSA] to build the topology of the
network.
c
LSAs are the building blocks of the OSPF Link State Database [LSDB]. The
LSDB is similar to your EIGRP topology table.
Although there are multiple types of LSAs in OSPF, only 2 LSAs are used for
network/routes within a Single Area.
c
Those Routers in turn will propagate the information to other routers in the
area without changing it.
This information remains unchanged within the Area and is not propagated
out of the area.
OSPF – LSA Type 2 – Network LSA
This LSA is advertised by the DR of a Multi-Access Segment.
It will advertise the Multi-access segment and specify the attached Routers.
c