code of CONFIDANT implemented in ns2
I have a problem in understanding NS2 and the implementatio of the CONFIDANT code in NS2.35.
In fact ,i didn't find the code of CONFIDANT. if someone worked in ns2 and CONFIDANT can please send me the code of CONFIDANT,it will be of great help to me. |
For a starters, the code for ns-2.28 is here ..
http://etd.dtu.dk/thesis/185873/imm3961.pdf It's a good idea to begin with the ns2 version that the code was meant for. Then you can later try porting the code to another ns2. - |
is there a big diffenrence beetwen ns2.35 and ns2.28? because I have to use ns2.35. thanks
|
I assume you have some kind of Linux OS,
and easily can install ns-allinone-2.28 to test the code. I.e. all versions, ns-allinone-2.26 .. 2.34 can be built on any contemporary 32bits Linux OS. ? Is there a big difference beetwen ns2.35 and ns2.28 : Yes. AFAIK the MAC** setup was completely changed somewhere around ns229..ns230. Quote:
Any questions ? Then please specify your OS : Name and version. - |
My OS is Ubunto 10.12 .I have to use ns2.35 because my teacher asked me to use it .She said that ns2.35 is a complete version.But I have only the code you sent to me.
|
# 5 .
Please show the output from these two commands : 1) $ cat /etc/issue 2) $ uname -m About ns-2.35 : May be it has some advanced features. But that won't do the job if you don't need those extra things. Most important : It may not be easy to port the code to ns-2.35 . Some MAC functions are used, and all MAC is completely changed since ns-2.28 . - |
This is the output of each command:
dorra@dorra-Aspire-5742G:~$ cat /etc/issue Ubuntu 12.10 \n \l dorra@dorra-Aspire-5742G:~$ uname -m i686 |
# 7 .
OK, here is the "HOWTO" for building ns-2.28 in Ubuntu 12.04 - i686 → post #2 → → http://www.linuxquestions.org/questi...-4175482995/#2 CONFIDANT : May be there is some more code to get, see page 117 (about the CD) → imm3961.pdf http://etd.dtu.dk/thesis/185873/imm3961.pdf .. and the c++ code formatting will be right, compared to the "pdf text". The author `Shanshan Song' still lives here in Denmark → Post address : Haugesundvej 15, DK - 2850 Naerum You could write her and ask if it's still possible to buy a copy of the CD. - |
Thank you for your help but unfortunately i can't buy a copy of the CD. Also,our teacher is still asking me to do the simulation in ns2.35.
please may you help me to know the steps i should do to have the code in ns2.35 |
# 9 .
Quote:
Quote:
See post #2 : .. begin with the ns2 version that the code was meant for. Using the "ns-2.28 code" in ns-2.35/ : Just try, and see what happens. - |
because i'm not from Denmark and i think also that it is expensive for me.
ok i will try to do it. |
# 11 .
As you can see when reading the pdf file, the author uses English text. No harm done with a short polite request to the author. ! The address in post #8 is the "International address" : <Name> <Street> <DK - 2850 Naerum> Denmark. And : Not asking, you don't know what the code costs. Could be a very small amount of $$. - |
ok thank you.
|
I decide with my teacher to implement confidant based in aodv protocol not in dsr and i discovered that i will modify the aodv code .tcl .cc .hh ... to have a new protocol.
I should so add the watchdog ,trust ,a promescute mode.i need help to do these because i haven't much time.thank you |
# 14 .
Better explain exactly what you are going to use .. http://linuxsilo.net/docs/smart-questions_en.html ... and with the complete information, I'd suggest also to ask in the other two "ns2 Forum" : * http://network-simulator-ns-2.7690.n7.nabble.com/ * https://groups.google.com/forum/?fro...forum/ns-users Quote:
- |
All times are GMT -5. The time now is 04:45 AM. |