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

different behavior between two ns version



hi,
when I run the attached script with the ns2.1b3 daily snapshot from may
25, 1998
everything is ok.
But when I run the same script with the *real* daily snapshot  I have
the following 
message :
warning: classifier _o31 unknown flow s:0, d:256, fid:0, bucket:0
_o31: no target for slot -1

have you an idea about that?

thanks,

Arnaud.

The following script do nothing interresting, in fact I simplify it in
order
to send to you the smallest script with the problem.
-----------------------------------------------
set ns [new Simulator]

set n(1) [$ns node]
set n(2) [$ns node]
$ns duplex-link $n(1) $n(2) 8Mb 10ms DropTail

Agent/TCP set fid_ 1
set tcp_source1 [new Agent/TCP/Reno]
set tcp_sink1 [new Agent/TCPSink]

$ns attach-agent $n(1) $tcp_source1
$ns attach-agent $n(2) $tcp_sink1
$ns connect $tcp_source1 $tcp_sink1

set ftp1 [$tcp_source1 attach-source FTP]

set puit [new Agent/LossMonitor]

set lossylink [$ns link $n(1) $n(2)]
set em [new  ErrorModule Fid]
set errmodel [new ErrorModel/List]
$errmodel unit pkt
$errmodel droplist "1"

$em insert $errmodel
$lossylink errormodule $em
$errmodel drop-target $puit
$em bind $errmodel 1


$ns at 0 "$ftp1 start"
$ns at 10.0 "exit 0"

$ns run
----------------------------------------------------


-- 
----------------------------------------------------------------------
Arnaud Legout

Institut Eurecom               	Phone : 00.33.4.93.00.26.61
2229, route des Cretes         	Fax   : 00.33.4.93.00.26.27
BP 193                         	E-mail: [email protected]
06904 Sophia Antipolis cedex    Web   : http://www.eurecom.fr/~legout    
FRANCE                    
----------------------------------------------------------------------