[ns] [nsmiracle] Basic question of using ns2-miracle
Ahmad Osman
the_lover_pharoah at hotmail.com
Wed Dec 5 00:21:31 PST 2007
Dear ns-users,I tried to find an answer of my problem at ns-miracle achieve, and as far as i get from that recommended link,http://www.dei.unipd.it/~baldo/ns_dl_patch/Developer_s_manual.htmlthat in order to have different already existing protocols at ns2 within ns-miracle, u need to combine it with the module of ns-miracle, by having each protocols' source (cc, h) like the foo example at the above link. In other meaning, suppose u want to have AODV as specific module in L3, then u ll get aodv.cc and aodv.h and do the same for foo example...... so, plz first correct me if i am wrong, second, wut do u mean by "file foo-init.tcl"Other thing, u said that that implementation was hard, but thanks to sandbox, we can make it easier, would u plz show how can it make easier?Thanks alot all for ur helpAhmad
From: the_lover_pharoah at hotmail.com
To: baldo at dei.unipd.it; nsmiracle-users at dei.unipd.it; ns-users at isi.edu
Date: Sun, 2 Dec 2007 18:37:37 +0200
Subject: [nsmiracle] Basic question of using ns2-miracle
Hello,
Per the site, NS-MIRACLE is designed to allow interlayer communication between layers, and using this library e.g. multiple PHY layers can coexist in the simulator.
Layer N+1 |-----------Module----------------|
SAP SAP
Layer N |--------Module----Module---------|
SAP SAP
Layer N-1 |--------------Module-------------|
So far, and from the figure, I can put e.g. DSR, AODV, TORA protocols as separate modules in the routing layer "layer 3" and make SAP communication between adjacent layers and CLSAP between each module and the node core.
So, can u show me an example of how to configure a simple node with different coexisted protocols/ modules with interaction, taking in consideration, that creation one protocol/ module in normal ns2 is simply like the following example.
$ns node-config –adhocRouting DSDV \
-llType LL
-macType Mac/802_11
-ifqtype Queue/DropTail/PriQueue
Thanks alot for ur help
Ahmad
Explore the seven wonders of the world Learn more!
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
More information about the Ns-users
mailing list