Hi All,

It was a problem of positionning the nodes in the topology. Something like out 
of bounderies.

B .R

E. C



--- En date de : Ven 3.12.10, El hadi Cherkaoui <e_cherka...@yahoo.fr> a écrit :

De: El hadi Cherkaoui <e_cherka...@yahoo.fr>
Objet: Classfier::no-slot{} default handler
À: "NS user" <ns-users@ISI.EDU>
Date: Vendredi 3 décembre 2010, 19h40

Hi NS users,

I have this error in my script when I try to creat more than two WiFi 
interfaces like this:

TCL code:
...
for {set i 1} {$i<=$nn} {incr i} {

$ns node-config -wiredRouting OFF \
                -macTrace ON         

set iface1_($i) [$ns node 3.0.$i]     ;# node id is 8. 
$iface1_($i) random-motion 1    ;# disable random motion
$iface1_($i) base-station [AddrParams addr2id [$bstation802 node-addr]] 
;#attach mn to basestation
$iface1_($i) set X_ [expr $X_src+($i*10)]
$iface1_($i) set Y_ $Y_src$i
$iface1_($i) set Z_ 0.0

if {$quiet == 0} {
    puts "Iface 1_($i) = $iface1_($i)"
}

}

And the ERROR is :

---
 Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
    _o270: no target for slot 3
    _o270 type: Classifier/Addr
content dump:
classifier _o270
    0 offset
    22 shift
    1023 mask
    1 slots
        slot 5: _o271 (Classifier/Addr)
---------- Finished standard no-slot{} default handler ----------

Any idea ?

Best Regards






      


      

Reply via email to