C Board  

Go Back   C Board > General Programming Boards > Networking/Device Communication

Reply
 
LinkBack Thread Tools Display Modes
Old 04-05-2005, 01:54 PM   #1
Registered User
 
Join Date: Sep 2003
Posts: 224
How link state routing

Hello,
For an assignment I have to implement link state routing, but I don't understand how to do it. What I don't understand is when and LSP is sent out, when an LSP id is incremented, and when an LSP is rejected. Basically everything. Any help will be appreciated. The only difference is that routers don't ping each other; I already know the network topology.

Thanks,
Yasir
Yasir_Malik is offline   Reply With Quote
Old 04-06-2005, 11:23 AM   #2
Registered User
 
Join Date: Sep 2003
Posts: 224
Ok, I figured it out. It's even easier than distance vector routing. I store the weights in an adjancy matrix and runs Dijstra's algorithm on it. I don't store the next hop, though. Hope the TA doesn't notice.
Yasir_Malik is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grammar to FSA to C code (Newbie) aybe C Programming 4 02-29-2008 02:10 PM
[Tutorial] Implementing the Advanced Encryption Standard KONI C Programming 16 11-23-2007 01:48 PM
Use of threads or state machines to synchronize command execution daluu C# Programming 0 10-06-2007 01:25 PM
need help with a programming problem writing link state routing AbelH22 C++ Programming 0 07-22-2003 11:29 AM
Undefined Structure in Link List _Cl0wn_ C Programming 1 03-22-2003 05:57 PM


All times are GMT -6. The time now is 06:11 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22