Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?
Register Now! Sign In ยป


Latest topics
» CCNA Industrial 200-601 IMINS2 exam dumps
Sat Apr 23, 2016 9:04 am by tracy_k

» CompTIA A+ 220-901 dumps
Tue Mar 08, 2016 8:20 am by tracy_k

» Updated CCIE Collaboration 400-051 dumps
Sat Jan 30, 2016 8:47 am by tracy_k

» JN0-691 Junos Troubleshooting (JNCSP) dumps
Tue Jan 12, 2016 9:33 am by tracy_k

» CompTIA Server+ SK0-004 practice test
Tue Jan 12, 2016 9:31 am by tracy_k

» CCNA Security 210-260 IINS practice test
Sat Nov 07, 2015 9:06 am by tracy_k

» 300-320 ARCH exam practice test
Sat Oct 24, 2015 10:26 am by tracy_k

» MCSA 70-461 exam practice test
Tue Oct 20, 2015 10:26 am by tracy_k

» Microsoft Dynamics CRM MB2-708 practice test
Sat Oct 17, 2015 9:50 am by tracy_k

Earn Money
Log in

I forgot my password

Who is online?
In total there are 2 users online :: 0 Registered, 0 Hidden and 2 Guests


Most users ever online was 53 on Fri May 11, 2012 9:02 am
Top posters
tracy_k (95)
Yasir-Imran (76)
amaqsood1 (52)
m.abidkh (25)
kamran akbar (22)
yyy (18)
s4cnc (16)
dani14 (13)

We have 3550 registered users
The newest registered user is sharee4

Our users have posted a total of 727 messages in 319 subjects

You like This Way to learn Knowledge ?

63% 63% [ 42 ]
22% 22% [ 15 ]
15% 15% [ 10 ]

Total Votes : 67

OSPF Simulation Tutorial for Beginners (Interactive, Visual)

Go down

OSPF Simulation Tutorial for Beginners (Interactive, Visual)

Post by vl1111 on Wed Apr 13, 2011 11:22 am

OSPF Simulation Tutorial for Beginners (Interactive, Visual)

OSPF is a complex protocol. To help beginners grasp abstract its concepts, a different approach is taken -- Visualizing OSPF simulation. This tutorial, OSPF basic, simulates the basic OSPF activities on a simple topology: H1-R1-R2-H2. R1 and R2 are routers. H1 and H2 are hosts. This simulation shows 4 stages:
1) R1 and R2 are not running OSPF. H1 ping H2. It fails.
2) Start OSPF on two routers. R1 and R2 discover each other as neighbors by flooding Hello.
3) R1 and R2 develop Full relationship and synchronize their LSA (Link State Advertisement) database by sending DD, Request, and Update. R1 and R2 refresh their routing tables. H1 and H2 become reachable.
4) H1 pings H2 again. It succeeds this time.
Q1. What is OSPF?
Answer: OSPF is a link state routing protocol. OSPF routers exchange their Link State Advertisement (OSPF LSA) to learn interface IP addresses from each other. Each router saves its LSAs in its Link State Database (LSDB.) Neighboring nodes synchronize their LSDBs. With consistent LSDBs, OSPF routers are able to calculate shortest paths to reach destinations.
Q2. What does OSPF do?
Answer: Roughly, OSPF is going through the following stages:
1) OSPF node creates a Router LSA to describe its interface IP addresses. This LSA is the most basic LSA.
2) Routers discover neighbors by flooding Hello. When a pair find each other, they are in 2-way state.
3) Neighbors synchronize their LSDBs in three steps:
i. Send DD to get LSDB catalog from each other.
ii. Send Request to ask for missing LSAs.
iii. Send Update to transmit LSAs requested.
When two neighbors have the same LSDB, they are in Full Adjacency state.
4) With the same LSDB, routers have consistent knowledge of the network topology and interface IP addresses. They can calculate routing paths independently and update their routing tables. The collection of routing tables from OSPF routers provides the shortest paths between destinations.
Q3. What is Router LSA?
Answer: Each OSPF router creates a Router LSA to describe its interfaces' IP addresses. In a very simple OSPF network, only Router LSAs are needed to calculate shortest paths.
Q4. What does Router LSA do?
Answer: In a simple OSPF network (no LAN, no area), neighboring nodes exchange their Router LSAs and learn how many links its neighbor has, and their interface IP addresses. After neighbor propagation, all OSPF nodes have the same set of Router LSAs in their LSDBs. Now they have the same knowledge of network topology.
Q5. How can a router use LSDB to calculate routing paths?
Answer: From LSDB, an OSPF node learns the complete topology of the network: the number of routers being connected; Individual router's interfaces and their IP addresses; Interface link costs (OSPF metric). With such detail information, OSPF calculates shortest paths to reach all destinations found in LSDB.
For example [a], in the OSPF simulation, R1's LSDB contains two Router LSAs:
1) R1 originated LSA contains two IP addresses:,
2) R2 originated LSA contains two IP addresses:,
After LSDB synchronization, R1 and R2 both have these two LSAs. And they know that R1 and R2 are connected by the link Now R1 can calculate routing path to reach remote destination and adds an entry (, S1/0) to its routing table.
Note [a]: This article is the FAQ of OSPF simulation. After reading, you can play the interactive simulation listed in External Links. It visualize OSPF work flow with moving packets are changing tables.
External links for interactive OSPF simulations:
1. OSPF simulation for beginners (This article):
2. List of additional interactive OSPF simulation (Table of Content):
[You must be registered and logged in to see this link.]


Age : 34
Location : china

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum