Zhls Protocol

hi please can any one give me patch file for zhls (zone based hierachical link state routing protocol) in ns2?


Similar Content



Need A Patch For MAODV Plz..

Hi,

I am working on project in ns2.33 where I should implement multicast in hwmp protocol.As I am going to work on on-demand routing concept alone in WMN, I found MAODV routing protocol where they have already implemented the multicast concept.I have tried to download the patch. But, it doesnt work. Do anyone have the patch of MAODV which is a correct one? If so,Please send me!

Thanks for your help inadvance!

Help Me With Ns2 Please

how can i add k-means algorithm on zrp protocol ?????? in ns2?
I want to add k-means clustering alg. for ZRP protocol to make it run with the inter-zone routing protocol for inter clustering and with intra-zone for intra clustering. note that i am using ns-2.35/ubuntu10.04 and the ZRP was completely added to the simulator

How To Share Mac Parameters In Routing Protocol

when i try to access macSuperframeOrder in new routing protocol, i am getting segmentation fault(core dumped). kindly tell me , how to access macSuperframeOrder in my newroutingprotcol.cc and to change the value based on some condition.

Difference Between These Function Calls In A Routing Protocol In Ns2

Could you please tell me the difference between agent->function name() vs this->function name ().
Actually i am taking about LAR.cc file (LAR routing protocol) but these function calls can be part of any routing protocol.

As you can see below , they are calling the same function with this and agent in LAR.cc . What is the difference between when we are calling a function with "agent" or calling with "this"

>
> void LARRouteRequestTimer::expire(Event *e)
> {
> ......
> .....
> agent->sendRouteRequest(this->dest, forwardMethod, this->routeInfo, false); //ringZero=false
> .....
> ...
> }
>
>
> void LARAgent::routeRequest(Packet *p)
> {
> .....
> ....
> ...
> this->sendRouteRequest(dest, larhdr->forwardCode(), &(destPtr->second), useRingZeroSearch);
> .....
> .....
> }

I have to do some changes in this file . kindly give some information on this issue .

How To Patch OSPF In Ns2.34

Hi mates,

I am trying to patch ospf in ns-2.34 i have downloaded the patch file from link:

http://sourceforge.net/projects/ospf...s/ospf4ns2.34/

$ cd ns-allinone-2.34/
$ patch -p0 < 20-ospf4ns2.34-examples.patch

Using : $ cd ns-2.34/
# make install

$ cd tcl/ex/ospf/
$ mkdir out_ospf0 out_ospf1 out_ospf2 out_ospf3 out_ospf4 out_ospf5 out_ospf6 out_ospf7 out_ospf8 out_ospf9
$ ns ospf0.tcl

i followed the procedure from below LQ link post no #3

http://www.linuxquestions.org/questi...-a-4175492253/

it is successfully patchinf file but it is showing error when i execute ospf0.tcl file



Quote:
(TCL) Creating simulator & trace files...
(TCL) Setting up nodes and links...
(TCL) Configuring traffic objects...
(TCL) Configuring routing protocol...
invalid command name "Agent/rtProto/OSPF"
while executing
"Agent/rtProto/OSPF set helloInterval 1"
(file "ospf0.tcl" line 132)



pls anyone suggest me ideas to get rid of this err.

Thanks in Advance,

Pon

Leach Doubt..

Hi. I have some doubts regarding “LEACH” protocol. I’m using ns-2.34 on Ubuntu 10.04 and patched leach protocol by following below link. I got ‘leach.out’ file, but I didn’t get ‘leach.err’ file.

https://abdusyarif.wordpress.com/201...-step-by-step/

Then I want to check out the leach source code file. The source code of the leach is not found in that folder. I ran out the leach test file and I’ve got a warning message.

Willingnes Parameter Change In The Protocol OLSR NS2

Hi

It's my first post,please bear with us.I write thesis "The concept of using energy metrics for route selection in OLSR routing protocol". I use the simulator ns2, and UM-OLSR patch. In tlc script I use "Energy model". How and where(in code, or tcl cript) I can change parameter "willingness" during simulation to take into account the level of battery.


pseudocode

if (battery < 1.0) && (battery > 0.8)
{willingnes = WILL_ALWAYS};
else if (battery < 0.8) && (battery > 0.4)
{willingnes = WILL_DEFAULT};
else if (battery < 0.4) && (battery > 0.2)
{willingnes = WILL_LOW};
else if (battery < 0.2)
{willingnes = WILL_NEVER};

Nam Of Leach Protocol Not Complete

i run leach protocol on ns2.34
from the package provided is
the additional module "pegasis/leach" > exidus-pegasis_ns-234-leach.tar.gz
Download link https://docs.google.com/file/d/0B7S2...it?usp=sharing

the generated nam file look like this

V -t * -v 1.0a5 -a 0
W -t * -x 1000 -y 1000
A -t * -n 1 -p 0 -o 0xffffffff -c 31 -a 1
A -t * -h 1 -m 2147483647 -s 0


why it is not complete ?

Debugging In Ns2

I am trying to develop a new routing protocol in ns2. Although i have given a command in tcl file that should be called from command function present in .cc file. But it is not doing so.
Could we debug this and find the point where is the problem. If yes then how ?

I have heard that there are debuggers in ns2 . But this is for tcl or c++ ....
Could any one please help me ... How can i proceed further.

Thanks for ur help

I Wish To Request To All People Who Viewing This Message For V-leach Protocol Code

Now i am doing m.tech and i wanna do project on NS-2. i have to study about this v-leach protocol and also i want prepare some extensions in that so if you's having any possibility please send some v-leach protocol code for me