Hello,

I am attaching the error I got when I did add multiple interface support in
ns2 according to Ramon for AODV. I didnt set the routing table or anything.
I modified till command section of AODV. But I am getting error from $agent
if-queue $i [$self set ifq_($i). Please help me to solve the issue. I tried
different ways !! Please see the attached file

Any kind of help appreciated
Thanks
Devu


On 5/25/07, Devu ManikantanShila <[EMAIL PROTECTED]> wrote:



---------- Forwarded message ----------
From: Devu ManikantanShila <[EMAIL PROTECTED]>
Date: May 25, 2007 4:46 PM
Subject: Multiple Interfaces in AODV [based on Ramon]
To: [email protected]



Hello,

I am simulating multiple interfaces according to Ramon's tutorial in AODV.

 I have highlighted the problem in the document!!

# Special processing for AODV

MY DOUBT HERE. Should I change the $agent if-queue [$self set ifq_(0)] so
as to simulate multiple interfaces in AODV

set aodvonly [string first "AODV" [$agent info class]]

if {$aodvonly != -1 } {

$agent if-queue [$self set ifq_(0)] ;# ifq between LL and MAC

}

THEY HAVE CHANGED ONLY HERE!!!

if { $port == [Node set rtagent_port_] } {

*# Special Processing when multiple interfaces are suported*

*if {$numIfsSimulator != ""} {*

*for {set i 0} {$i < [$self set nifs_]} {incr i} {*

*$agent if-queue $i [$self set ifq_($i)]*

*}*

*} *

# Ad hoc routing agent setup needs special handling

$self add-target-rtagent $agent $port

return

}



PLEASE HELP ME!!!

Thanks

Devu

Reply via email to