hello


 i change the following in tcl script

##configure traffic
set i 0
set tcp($i) [new Agent/TCP]
$tcp($i) set class_ 2
$tcp($i) set packetSize_ 1240

#create video traffic
set ftp($i) [new Application/FTP]
$ftp($i) set packetSize_ 4960
$ftp($i) set interval_ 0.1
$ftp($i) attach-agent $tcp($i)
set sink($i) [new Agent/TCPSink]

#sinkNode is transmitter
$ns attach-agent $router0 $tcp($i)
$ns attach-agent $router1 $sink($i)
$ns connect $tcp($i) $sink($i)
$ftp($i) attach-agent $tcp($i)
$handover add-flow $sink($i) $tcp($i) $iface2 1

$ns at $traffic_start "$ftp($i) start"
$ns at $traffic_stop "$ftp($i) stop"
$ns at $simulation_stop "finish"




but also there is a error which is following



At 5.028156 in 3.0.0 ND module received RS from node 3.0.1
At 5.045006 in Mac 2 DestClassifier classifying packet for -1(size=28,
type=ARP)
At 5.045905 in Mac 3 DestClassifier classifying packet for 2(size=28,
type=ARP)
At 5.047958 in Mac 2 DestClassifier classifying packet for 3(size=40,
type=tcp)
--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
    _o229: no target for slot 0
    _o229 type: Classifier/Port
content dump:
classifier _o229
    0 offset
    0 shift
    2147483647 mask
    2 slots
        slot 252: _o247 (Agent/MIH)
        slot 253: _o244 (Agent/MIHUser/IFMNGMT/MIPV6/Handover/Handover2)
---------- Finished standard no-slot{} default handler ----------




please see this error and remove for me....i m wa8ing ur reply


regards


Mohsin Riaz

Reply via email to