JlnCrs@aol.com
2001-Jan-28 15:35 UTC
Trying to do something like the "nice" command, but applied to network traffic
Hello, i''m quite new to using QoS. I''m trying do to something like what the nice command do, but instead of processes, i''d like to manage bandwidth (of course) I saw examples in the Howto, describing what to do do divide bandwith, for instance in two parts : Considering a total bandwidth of 10Mb/s : 2mb is reserved to one interface 8mb is reserved to second interface. Both are marked "bounded" Later in the howto, is explained how to let the first interface (which is limited to 2mb/s) to use some of the second interface''s bandwidth (which is limited to 8mb/s).. It looks good.. But what I didn''t understand is : If the interface which is limited to 2Mb/s uses bandwidth of the other interface, where is the 2Mb/s limitation ?? Is the bandwidth "borrowed" only if the 8Mb/s limited interface does not use the total of 8 Mb/s ? If it''s the case, it''s just what I intend to do. If not, can you explain me what does it do? I hope I was not too long, and was clear enough! Thanks for your help! Centaure
I have an ISDN connection here at my apartment and wanted to make sure to have enuf bandwidth to play a game while one of my roommates is surfing. I compiled the 2.4 kernel for advanced routing and tos and iptables as modules. I have iptables v1.2 and when adding a rule and then doing iptables -L the list is empty tho the rules are applied. When I type: tc qdisc add dev ippp0 root handle 1: cbq bandwidth 64kbit avpkt 1000 I get the error: RTNETLINK answers: Invalid argument I found two good howto-sites but neither of them helps: http://www.ittc.ukans.edu/~rsarav/howto/howto.html http://www.ds9a.nl/2.4Networking/HOWTO//cvs/2.4routing/output/2.4routing-9.html I''d really appreciate some help. Thanx in advance, André Weidemann.
Am Montag, 29. Januar 2001 18:56 schrieb André Weidemann:> I have an ISDN connection here at my apartment and wanted to make sure > to have enuf bandwidth to play a game while one of my roommates is > surfing. > I compiled the 2.4 kernel for advanced routing and tos and iptables as > modules. >Try to compile this direct into the kernel. Not as modules. -- CU Stefan Email: stefan.bayer@gmx.net ---------------------------------------------------- My Box said: "Install Win95 or better ..." So I installed Linux. Microsoft gives you Windows Linux gives you the whole house
Hi Stefan, if I do compile it directly into the kernel it doesn''t work at all. I get an error message like "''filter'' not found in table". I can''t remember correctly. But thx anyway, André. Stefan Bayer wrote:> > Am Montag, 29. Januar 2001 18:56 schrieb André Weidemann: > > I have an ISDN connection here at my apartment and wanted to make sure > > to have enuf bandwidth to play a game while one of my roommates is > > surfing. > > I compiled the 2.4 kernel for advanced routing and tos and iptables as > > modules. > > > > Try to compile this direct into the kernel. Not as modules. > -- > CU > Stefan > Email: stefan.bayer@gmx.net > > ---------------------------------------------------- > My Box said: "Install Win95 or better ..." So I installed Linux. > > Microsoft gives you Windows > Linux gives you the whole house > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
Am Montag, 29. Januar 2001 18:56 schrieben Sie:> I have an ISDN connection here at my apartment and wanted to make sure > to have enuf bandwidth to play a game while one of my roommates is > surfing. > I compiled the 2.4 kernel for advanced routing and tos and iptables as > modules. > > I have iptables v1.2 and when adding a rule and then doing iptables -L > the list is empty tho the rules are applied. > > When I type: > tc qdisc add dev ippp0 root handle 1: cbq bandwidth 64kbit avpkt 1000 > I get the error: > RTNETLINK answers: Invalid argumentYou have to turn on the option Prompt for development and/or incoplete code/drives after that, you can select various options in the networking -> QoS and/or fair queueing options menue. Greetings Steffen