- ›
- Forums ›
- Get Help to do your B.E., and M.E., M.Tech., & M.S., Project in Ns2 ›
- modify manual routing
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.
Discuss Through WhatsApp