[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Wired-cum-wireless-sim.tcl -> error when slightly modified




I'm not sure if there is any easy way of debugging this. You'd have to 
step thru a debugger to find out which node's classifier is complaining 
about not having the target which the route in the pkt header is
indicating. In other words, the routing table doesnot know the 
next-hop for the destination of the packet. 
Especially check the point where classifiers get populated. 
The tcl command $ns gen-map should help you map the tcl objects.
See ns-debugging page for hints on C++/OTcl debugging.

Hope this helps,
--Padma

 On Wed, 12 Dec 2001, Gaurav Navlakha wrote:


> 
> Hello,
> 
> I am trying to simulate the wired-cum-wireless scenario, but on running my
> script am getting the following error:
> 
> Starting Simulation...
> --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
> 	_o69: no target for slot 1
> 	_o69 type: Classifier/Addr
> content dump:
> classifier _o69
> 	0 offset
> 	11 shift
> 	2047 mask
> 	1 slots
> 		slot 6: _o70 (Classifier/Addr)
> ---------- Finished standard no-slot{} default handler ----------
> 
> My tcl script is attached with this mail.
> 
> It is very similar to wired-cum-wireless-sim.tcl provided in the examples,
> except that the topology is changed.
> 
> I'm not able to find out what is going wrong.
> 
> If you have any idea of what could be the problem, please let me know.
> 
> Thanks,
> Gaurav.
> 
> --/\--/\--/\--/\--/\--/\--/\--/\--/\--/\--/\--/\--
> 
>  Gaurav Navlakha
>  Graduate Research Assistant
>  Centre for Reliable & High Performance Computing
>  University of Illinois, Urbana Champaign.
> 
> --\/--\/--\/--\/--\/--\/--\/--\/--\/--\/--\/--\/--
> 

-- 
------------------------------------------------ 
Be true to your work, your word, and your friend. 
--Thoreau

Padmaparna Haldar