Hi, everyone,
     I want to conduct my simulation on Multi-channel Multi-interface
simulation using “NS2 Notebook: Multi-channel Multi-interface Simulation in
NS2 (2.29)”.
    My NS2 version is NS2.29, and I modified the related filed according to
the instructions listed on the website (
http://www.cse.msu.edu/~wangbo1/ns2/nshowto8.html). When I run the
simulation scripts without using multiple channel and MANUAL routing, it can
work well. However, when I run the examples provided in the website for
validation, I encountered a problem as follow:
$ ns twoflows-2channel.tcl
num_nodes is set 4
    (_o25 cmd line 1)
    invoked from within
"_o25 cmd addr"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o25" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o25 addr"
    ("eval" body line 1)
    invoked from within
"eval $node addr $args"
    ("default" arm line 2)
    invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
    (procedure "_o3" line 14)
    (Simulator create-wireless-node line 14)
    invoked from within
"_o3 create-wireless-node"
    ("eval" body line 1)
    invoked from within
"eval $self create-wireless-node $args"
    (procedure "_o3" line 23)
    (Simulator node line 23)
    invoked from within
"$ns_ node"
    invoked from within
"set node_(0) [$ns_ node]"
    (file "twoflows-2channel.tcl" line 70)

Is it a problem about the MANUAL Routinig? Could anyone help me to resolve
it? Thanks a lot.
Best Regards,
ZHAO

Reply via email to