[leaf-user] RTNETLINK answers: Invalid argument

2002-12-13 Thread Alex Ryabtsev
Hello everyone,

I have not to bad expirience with Bering firewall and everything goes
great until I've decided to make things even better - introduce traffic
shaping. And here the problems begins. It simply do not working - on
command like:

tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 10mbit

I'm getting:

RTNETLINK answers: Invalid argument

I do understand that this answer means general failure, but I even
couldn't imagine where to start fixing the things. BTW I'm using Bering
1.0-stable (I hope so:-) since I've upgraded to it from RC3)
Thank you in advance,

Alex.




---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] RTNETLINK answers: Invalid argument

2002-12-13 Thread Tom Eastep


--On Friday, December 13, 2002 02:24:33 PM -0500 Alex Ryabtsev 
[EMAIL PROTECTED] wrote:

Hello everyone,

I have not to bad expirience with Bering firewall and everything goes
great until I've decided to make things even better - introduce traffic
shaping. And here the problems begins. It simply do not working - on
command like:

tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 10mbit

I'm getting:

RTNETLINK answers: Invalid argument

I do understand that this answer means general failure, but I even
couldn't imagine where to start fixing the things. BTW I'm using Bering
1.0-stable (I hope so:-) since I've upgraded to it from RC3)
Thank you in advance,



You need to load the sch_cbq module. If your later tc commands use 
Stocastic Fair Queuing, you will also need sch_sfq.

-Tom
--
Tom Eastep   \ Shorewall - iptables made easy
Shoreline,\ http://shorewall.sf.net
Washington USA \ [EMAIL PROTECTED]



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html