Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Yesterday at 2:23 PM
Ad icon
Wechat qr verification
Pawan2005
Updated:
Yesterday at 1:28 AM
🚀 GOOGLE AI PRO 18 MONTHS ACTIVATION 🚀
sayuru bandara
Updated:
Wednesday at 5:34 PM
Pure VPN - Up to 27 Months
vgp
Updated:
Jun 5, 2026
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Jun 2, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
OSPF Simulation Tutorial for Beginners (Interactive, Visual)
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="vl1111" data-source="post: 9847581" data-attributes="member: 351257"><p style="text-align: left"><p style="text-align: left"><strong>[FONT=&#23435]OSPF Simulation Tutorial for Beginners (Interactive, Visual)[/FONT]</strong></p> </p><p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]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:[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]1) R1 and R2 are not running OSPF. H1 ping H2. It fails. </p> <p style="text-align: left">2) Start OSPF on two routers. R1 and R2 discover each other as neighbors by flooding Hello. </p> <p style="text-align: left">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. </p> <p style="text-align: left">4) H1 pings H2 again. It succeeds this time.[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]Q1. What is OSPF?[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]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.[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]Q2. What does OSPF do?[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]Answer: Roughly, OSPF is going through the following stages:[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]1) OSPF node creates a Router LSA to describe its interface IP addresses. This LSA is the most basic LSA. </p> <p style="text-align: left">2) Routers discover neighbors by flooding Hello. When a pair find each other, they are in 2-way state. </p> <p style="text-align: left">3) Neighbors synchronize their LSDBs in three steps: </p> <p style="text-align: left">i. Send DD to get LSDB catalog from each other. </p> <p style="text-align: left">ii. Send Request to ask for missing LSAs. </p> <p style="text-align: left">iii. Send Update to transmit LSAs requested. </p> <p style="text-align: left">When two neighbors have the same LSDB, they are in Full Adjacency state. </p> <p style="text-align: left">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.[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]Q3. What is Router LSA?[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]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.[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]Q4. What does Router LSA do?[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]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.[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]Q5. How can a router use LSDB to calculate routing paths?[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]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. </p> <p style="text-align: left">For example [a], in the OSPF simulation, R1's LSDB contains two Router LSAs:[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]1) R1 originated LSA contains two IP addresses: 192.168.1.0/24,192.168.3.0/30. </p> <p style="text-align: left">2) R2 originated LSA contains two IP addresses: 192.168.2.0/24,192.168.3.0/30. </p> <p style="text-align: left">After LSDB synchronization, R1 and R2 both have these two LSAs. And they know that R1 and R2 are connected by the link 192.168.3.0. Now R1 can calculate routing path to reach remote destination 192.11.68.2.2 and adds an entry (192.168.2.0/24, S1/0) to its routing table.[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]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.[/FONT]</p> </p><p> <p style="text-align: left"><p style="text-align: left">[FONT=&#23435]External links for interactive OSPF simulations:</p> <p style="text-align: left"> 1. OSPF simulation for beginners (This article): [/FONT]<a href="http://www.visualland.net/view.php?cid=767&protocol=OSPF&title=1.1%20OSPF%20basic&ctype=1" target="_blank">[FONT=&#23435]http://www.visualland.net/view.php?cid=767&protocol=OSPF&title=1.1%20OSPF%20basic&ctype=1[/FONT]</a>[FONT=&#23435]</p> <p style="text-align: left"> 2. List of additional interactive OSPF simulation (Table of Content): [/FONT]<a href="http://www.visualland.net/protocol.overview.php?p=OSPF&protocol=&title=0.%20OSPF%20Overview&ctype=1" target="_blank">[FONT=&#23435]http://www.visualland.net/protocol.overview.php?p=OSPF&protocol=&title=0.%20OSPF%20Overview&ctype=1[/FONT]</a>[FONT=&#23435][/FONT]</p> </p></blockquote><p></p>
[QUOTE="vl1111, post: 9847581, member: 351257"] [LEFT][LEFT][B][FONT=宋]OSPF Simulation Tutorial for Beginners (Interactive, Visual)[/FONT][/B][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]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:[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]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.[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]Q1. What is OSPF?[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]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.[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]Q2. What does OSPF do?[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]Answer: Roughly, OSPF is going through the following stages:[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]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.[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]Q3. What is Router LSA?[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]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.[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]Q4. What does Router LSA do?[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]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.[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]Q5. How can a router use LSDB to calculate routing paths?[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]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:[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]1) R1 originated LSA contains two IP addresses: 192.168.1.0/24,192.168.3.0/30. 2) R2 originated LSA contains two IP addresses: 192.168.2.0/24,192.168.3.0/30. After LSDB synchronization, R1 and R2 both have these two LSAs. And they know that R1 and R2 are connected by the link 192.168.3.0. Now R1 can calculate routing path to reach remote destination 192.11.68.2.2 and adds an entry (192.168.2.0/24, S1/0) to its routing table.[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]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.[/FONT][/LEFT][/LEFT] [LEFT][LEFT][FONT=宋]External links for interactive OSPF simulations: 1. OSPF simulation for beginners (This article): [/FONT][URL="http://www.visualland.net/view.php?cid=767&protocol=OSPF&title=1.1%20OSPF%20basic&ctype=1"][FONT=宋]http://www.visualland.net/view.php?cid=767&protocol=OSPF&title=1.1%20OSPF%20basic&ctype=1[/FONT][/URL][FONT=宋] 2. List of additional interactive OSPF simulation (Table of Content): [/FONT][URL="http://www.visualland.net/protocol.overview.php?p=OSPF&protocol=&title=0.%20OSPF%20Overview&ctype=1"][FONT=宋]http://www.visualland.net/protocol.overview.php?p=OSPF&protocol=&title=0.%20OSPF%20Overview&ctype=1[/FONT][/URL][FONT=宋][/FONT][/LEFT][/LEFT] [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom