Dear All: I have readed the FAQ, and I would like to limit per session bandwidth, I means: Let us suppose that I have an FTP and I want to give for each session established a rate of 5 kbps. Then from any IP I connect to my FTP and I get 5 kbps, I establish a new session and I get 5 kbps, and again, but any session has a maximum of 5 kbps. It''s possible to do this with tc and ip commands? how? I have readed docs about tc and ip, and I found that I can put QoS with classifiers, but nothing similar to this based on a per session settings. Greetings Juan Antonio Navarro
hi!> It''s possible to do this with tc and ip commands? how?Isn''t it easier to realize this with your ftp-daemon? just a guess Sebastian -- Sebastian ''spax'' Pape | Second place is first loser! mailto: sebastian@p-a-p-e.de | pgp: http://p-a-p-e.de/pgp.asc | --- Do you want to know more? http://www.p-a-p-e.de/ ---
On Wed, Dec 19, 2001 at 10:30:32AM +0100, "Navarro Mart?nez, Juan Antonio" wrote:> Dear All: > > I have readed the FAQ, and I would like to limit per session > bandwidth, I means: > > Let us suppose that I have an FTP and I want to give for each > session established a rate of 5 kbps. > > Then from any IP I connect to my FTP and I get 5 kbps, I establish a > new session and I get 5 kbps, and again, but any session has a maximum of 5 > kbps. > > It''s possible to do this with tc and ip commands? how?This is the second most asked question on the list and on the IRC channel (go there, 11 people already!). The first one is ''I have x internet connections and now I want to ftp at twice the speed''. Perhaps people can figure out what they want *exactly* from this equaliser. Because you probably want exceptions. Also note that SFQ may do part of what you want. Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
> This is the second most asked question on the list and on the IRC channel > (go there, 11 people already!).waar was dat ook al weer ? Dan kom ik ook eens op bezoek Stef -- stef.coene@docum.org More QOS info : http://docum.org/ Title : "Using Linux as bandwidth manager"
On Wed, Dec 19, 2001 at 01:12:58PM +0100, Stef Coene wrote:> > This is the second most asked question on the list and on the IRC channel > > (go there, 11 people already!). > waar was dat ook al weer ? > Dan kom ik ook eens op bezoekStef asked, in dutch, where the IRC channel was. It is on irc.openprojects.net and it is called ''#lartc''. Please note that the best thing to do is to ask a question here on the list, and then discuss it there. IRC is not a good medium for explaining complicated situations. Use the list for that. Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc