Hi ns users,

I try to add some drops in wireless links following the methode of ns manual
: IncomingErrProc and OutgoingErrProc.

proc UniformErr {} {
set err [new ErrorModel]
$err unit packet
$err rate_  0.01
return $err
}

$ns node-config -IncomingErrProc UniformErr -OutgoingErrProc UniformErr

but I didn't see any packets dropped in the trace file. What am I doing
wrong?

How to configure the error model in wireless network?

thank you very much,

Reply via email to