Well, I searched for "linux + tc + drop" and found section 4.6 of the documentation at
http://tldp.org/HOWTO/Traffic-Contro...omponents.html, then searching for "linux + tc + drop + example" turned up (among a lot of others)
http://pupa.da.ru/tc/. Either of those point the direction?
Similarly, a search for "linux + tc + hashkey" turned up what looks like a good example at
http://vcalinus.gemenii.ro/?p=9 (plus a large number of other examples).
It seems that either
drop or
hashing requires a good understanding of filters and classifiers and policers as noted in the first reference (section 4.6; footnote [2]) above:
Quote:
In this case, you'll have a filter which uses a classifier to select the packets you wish to drop. Then you'll use a policer with a with a drop action like this police rate 1bps burst 1 action drop/drop.
|
Anyway, hope this helps some.