- Home Page of ProjectGuideline.com ›
- Forums ›
- Get Help to do your B.E., and M.E., M.Tech., & M.S., Project in Ns2 ›
- modify manual routing
Hi!!
I’m investigating on routing algorithms with matlab, comparing
algorithms to construct trees. Now i have to simulate them, and
looking for networks simulators i’ve seen ns-2 has a simple way
to implement my simulations with Manual Routing. Unfortunately i
don’t know how can i modify this routes added in the tcl script
if i recalculate my routes with matlab. Can i do it some way during
the simulation? As you see i’m quite new in ns-2…can anyone
suggest me a way….an example….or a reference….in which i
could see how could i do it?
Thank you very much for any help you provide me :).
Pablo.
Manual routing can be done using a routing agent called NOAH. You can download it and integrate it with ns2.
Matlab can be used from ns2. You can learn it from following link
http://www.cse.msu.edu/~wangbo1/nshowto3.html
But, interacting with matlab from network layer is not advisable because, that kind of interaction will not be suitable for packet level processing and decision making required at network layer.
Charles Pandian,
IGS
Hi again,
Thank you very much for your help. I didn’t know Matlab could be used from ns-2. It can be quite interesting for me in the future :).
About the manual routing… i made a mistake on my first mail because i didn’t specify that i have to work over wired networks, so i think i can use the “Manual routing” include in the official version of ns-2 (i’ve seen that the Agent Noah you told me is for wirless networks).
So…my question now is if there is any way to change the routes during the simulation with Manual Routing. For example: i calculate a tree with my algorithm in Matlab. Then i specify the routes in ns-2 with Manual Routing. But…if i recalculate the tree in Matlab (for example with new weights) and i get a new tree, is there any way to change the routes in ns-2? Or what i want to do is impossible ;).
Thank you again for your help :).
Pablo.