LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-31-2015, 07:19 AM   #1
zakizakizaki
LQ Newbie
 
Registered: Apr 2015
Posts: 19

Rep: Reputation: Disabled
DV routing in NS2


Hello,

I'm working on a WIRED network simulation and i'm wondering is it possible to activate DV routing ($ns rtproto DV) when a link congestion or packet loss occurs at a certain node, so it can redirect the traffic ? I know "$ns rtproto DV " works when a link goes down, it redirects the traffic to another path in order to reach the final destination. But in the situation of congestion/packet loss, is it possible to use it? If yes, how?

Thank you very much.
 
Old 05-31-2015, 02:16 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,680

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by zakizakizaki View Post
Hello,
I'm working on a WIRED network simulation and i'm wondering is it possible to activate DV routing ($ns rtproto DV) when a link congestion or packet loss occurs at a certain node, so it can redirect the traffic ? I know "$ns rtproto DV " works when a link goes down, it redirects the traffic to another path in order to reach the final destination. But in the situation of congestion/packet loss, is it possible to use it? If yes, how?
This thread about congestion detection goes nicely with the THREE OTHER threads about the same topic:

http://www.linuxquestions.org/questi...ce-4175543976/
http://www.linuxquestions.org/questi...s2-4175543628/
http://www.linuxquestions.org/questi...s2-4175543412/

Short answer: you do this by writing the code TO DO IT. This involves YOU showing the work/effort you've done so far, and telling us where you're stuck. Asking (essentially) the same question multiple times won't get us to do it. Read the "Question Guidelines" link in my posting signature.

Show effort of your own, post the code that YOU have written, and tells us what problem(s) you're having with it. Until you do that, there is nothing anyone here can do to help you.
 
  


Reply

Tags
ns2



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GBR Routing in NS2 EmmanuelMM Linux - Software 0 01-25-2015 04:44 PM
source routing in NS2 Faiza Al-Salti Linux - Networking 1 09-05-2014 11:36 PM
help regarding routing in ns2 shweta_naik Linux - Software 8 04-22-2013 01:33 AM
GPSR routing protocol on ns2.34 farfattou Programming 4 02-22-2013 02:58 AM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration