SPAN protocol implementation on NS-2 with gcc 4.3
Jim Lindeman submitted to Benjie Chen code of his SPAN implementation for ns-2. It has been available since 2005 here: http://pdos.csail.mit.edu/~benjie/span/span_ns.html
I updated it to run with gcc 4.x and made it into a patch file in order to apply it in an easy way. It is available at http://www.box.net/shared/esc71ny5ns .
How to apply:
Download the ns-2.28-allinone distribution, http://www.box.net/shared/ottfdyaz60 (patch for configure scripts in ns-2.28) and http://www.box.net/shared/esc71ny5ns (patch that inserts SPAN into a fresh ns-2.28-allinone), then unzip all files.
cd ns-allinone-2.28 patch -p1 < ns2.28-gcc4-configure-scripts.patch patch -p1 < ns2.28-span-gcc4.patch ./install
Have fun with the SPAN protocol on NS-2, THE Network Simulator.
Read on! Knowledge hurts.
A ver cabrones, que tiene que funcionar con mpls!!!
Asi se hace en la universidad carlos III de España…
Sí, es correcto…
don router - Tuesday, 15. December 2009 at 14:04 |
MPLS? Are you sure you’re not mixing up something?
WTF? - Tuesday, 15. December 2009 at 14:09 |
hi, i am working on ns 2.34 and want to run span code how i do this kndly tell me m very thank ful to u
haris - Thursday, 12. August 2010 at 19:19 |
The fact that you are working on ns 2.34 doesn’t mean that any protocol that was ever simulated with ns2 will run on this version.
Most of the time, a certain protocol implementation has been written for a certain version of ns2. Unfortunatelly, not all APIs inside of ns2 are very stable. That means that a lot of adaptation is needed for things to work smoothly.
I actually have done the work to adapt Span to ns 2.28, but I remember it only hardly runs.
My advice: Check, if you cannot use ns 2.28 for your purposes concerning the Span protocol. If you want to compare it with other protocols, the version of ns2 is not as important as really understanding the simulated protocols.
Look at the change logs of ns2 between ns 2.28 and 2.34. If you see a relevant module of ns2 that has changed in between and will influence your results, then you really will have to adapt Span to ns 2.34, wich will indeed be a lot of work. Otherwise – let it be.
knowledgehurts - Thursday, 12. August 2010 at 20:10 |
SIR,im working in SPAN protocol..how much is the throughput value for SPAN protocol u got? please tell me so that it will be useful…also how many source and destinations u have considered?
please guide me with SPAN,what all parameters can be analyzed…please reply sir…Thank you
sharath kumar - Tuesday, 15. February 2011 at 20:29 |
I did work on the SPAN protocol, but the assumptions might not be exactly what you need. I would suggest, you start looking at the SPAN papers that have been published and if that info is not specific enough for you, there is no other way than simulating it yourself.
knowledgehurts - Wednesday, 2. March 2011 at 14:44 |
ok sir,i understand. i have deployed nodes uniformly in the field.Here cbr rate is 1Kbps. The field size is 100m*100m and 100 nodes are deployed.. i got throughput as 200bytes..just see whether it is correct please tell me just the range of values for throughput approximately..Thank you
sharath - Wednesday, 2. March 2011 at 15:30 |