dear sir, i used nsmiracle and i face the same problem you discuss, i need to use phy/mac that it is not exit in nsmiracle library but it supported by standard ns2 so how can i use these phy/mac that it is supported in ns2 with nsmiracle ??? best regards Ahmad Osman wrote: > > > > 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_phar...@hotmail.com > To: ba...@dei.unipd.it; nsmiracle-us...@dei.unipd.it; ns-users@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 > -- View this message in context: http://old.nabble.com/Basic-question-of-using-ns2-miracle-tp14117237p34786686.html Sent from the ns-users mailing list archive at Nabble.com.