Before I found out about traffic control in the Linux kernel I used the rshaper module: http://freshmeat.net/news/1999/11/02/941520726.html. You might find it useful to drop packets. The rshaper module shapes incomming traffic depending on the destination ip address but it is easy to change it to only drop some packets according to a drop function. If you are unsure about how to make the necessary changes to the module I might help you, if you provide me with the algorithm for the packet drop function. Regards, Daniel > Från: grac@xxxxxxxxxxxxxxxxxxx [mailto:grac@xxxxxxxxxxxxxxxxxxx]För > Josip Gracin > > Daniel Bergqvist (daniel@xxxxxxxxxxxx) wrote: > > How do you want the packets be dropped? What do you want to > achieve? Which > > rules will control which packets get dropped? > > We have performed some measurements of packet drops on real WAN link. I > would like to reproduce the characteristics of (congested) WAN link/router > as close as possible. Rules for dropping will not be based on packet > contents but on a random variable with certain distribution which in turn > depends on parametars such as packet size (e.g. for voice traffic). > > Josip > >