[ns] Basic question of using ns2-miracle

Ahmad Osman the_lover_pharoah at hotmail.com
Sun Dec 2 08:37:37 PST 2007



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
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE


More information about the Ns-users mailing list