On Tue, 29 May 2001, Andy Pyles wrote: > I'm in the process of configuring a linux box to be a traffic shaper. > for RTP streams. Basically what I would like to accomplish is the > following: > incoming/outgoing RTP streams. > > From examining the HOW-TO, it appears that that you can scan the IP > headers based on the > U32 selector, and grep for specific identifiers. I'm sure I can figure > this out for RTP. Please clarify that I'm going > in the right direction with this. RTP doesn't really have a specific > block of port numbers you can specify.. so I'm assuming the only > way to handle this is to use this U32 mechanism. I hardly know anything about RTP streams, but does it use UDP? If there isn't much other UDP traffic, you might have a descent working configuration if you just seperate UDP from TCP traffic. > My question is, is it possible with the 2.4 kernel to setup a > "borrowing" mechanism? > let me explain. What I would like to do is to reserve lets say 75% of > all available bandwidth. > With the stipulation that if there are no rtp streams, that all other > traffic can "borrow" from this reserved bandwidth. Of course, just use unbounded classes for this. The rate of the class speficies the minimum bandwidth, but it allows you the borrow bandwidth from other, default non-isolated classes, if: 1 - you need more bandwidth AND 2 - the other class has excess bandwidth