[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] need help for error Model
I have asked similar quesitons before.
I used the list error model to create consecutive pkt loss. For your
case, with a known pkt sending rate, you can determine what sequence of
pkt to drop consecutively during time 0 to 0.5, and not
dropping a single pkt for the rest of your simulation time. You can write
up your tcl script based on this...
shuqian
On Sat, 8 Jul 2000, Haobo Yu wrote:
> There is a list error model and a trace error model which allows you to
> specify which packets to drop. I'm not sure if there's a loss model
> exactly does what you want below; if not, you can easily modify/extend one
> of the models in errmodel.{h,cc} to do this.
>
> > I have a question here, I want make burst loss for a link, does some one
> know how to make a burst lost by the error model on TCL part? For example,
> during time 0 to 0.5, there is a burst loss on the link, receivers will
> not get any packet during this interval, but except time 0 to 0.5, there
> is no loss on the link, Or there is only one busrt loss on the link during
> the whole transmission, the burst loss take 5% time of the transmission,
> how can I do that by writing TCL script?
>