Hello,
I'm using ns-allinone 2.33 and I'm tring to build an example of complex net
made by a wireless subnet and wired subnet
but I have this error that I don't understand:
*
send-num-of-clusters: # of clusters 4 != domain (2) + 1
(_o222 cmd line 1)
invoked from within
"_o222 cmd send-num-of-clusters 1 1"
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 "_o222" line 2)
(SplitObject unknown line 2)
invoked from within
"_o222 send-num-of-clusters 1 1"
("eval" body line 1)
invoked from within
"eval $rl send-num-of-clusters $cluster_num_"
(procedure "_o4" line 31)
(Simulator hier-topo line 31)
invoked from within
"$self hier-topo $r"
(procedure "_o4" line 11)
(Simulator compute-hier-routes line 11)
invoked from within
"$self compute-hier-routes "
invoked from within
"if [Simulator hier-addr?] {
$self compute-hier-routes
} else {
$self compute-flat-routes
}"
(procedure "_o4" line 2)
(Simulator compute-routes line 2)
invoked from within
"[Simulator instance] compute-routes"
(procedure "Agent/rtProto/Static" line 2)
(Agent/rtProto/Static init-all line 2)
invoked from within
"Agent/rtProto/Static init-all"
invoked from within
"if [info exists rtprotos_] {
foreach proto [array names rtprotos_] {
eval Agent/rtProto/$proto init-all $rtprotos_($proto)
}
} else {
Agent/rtProto/St..."
(procedure "_o222" line 3)
(RouteLogic configure line 3)
invoked from within
"[$self get-routelogic] configure"
(procedure "_o4" line 5)
(Simulator run line 5)
invoked from within
"$ns run"
(file "main_wired-wireless.tcl" line 118)
I attach also the file "main_wired-wireless.tcl"*.
Could you help me?
Thank you very much, Diana