Brian J. Murrell wrote:
> On Wed, 2009-05-13 at 10:19 -0700, Tom Eastep wrote:
>> Brian,
>>
>> I see nothing wrong with the generated commands. I've performed this
>> sequence of operations on two different systems ranging from Debian Etch
>> (2.6.18) to Ubuntu Jaunty (2.6.28):
> 
> Hrm.  I was about to say maybe it's my kernel/iproute2 version (which is
> 2.6.25.20 and 2.6.25, respectively) but your fairly wide version range
> seems to eliminate that possibility.
> 
>> r...@ursa:# tc qdisc add dev eth1 root handle 1: htb default 13
>> r...@ursa:# tc class add dev eth1 parent 1:1 classid 1:11 htb rate
>> 558kbit ceil 570kbit prio 1
>> r...@ursa:# tc qdisc add dev eth1 parent 1:11 handle 11: sfq limit 127
>> perturb 10
>> r...@ursa:# tc filter add dev eth1 protocol ip parent 1:0 prio 1 handle
>> 1 fw classid 1:11
>> r...@ursa:#
>>
>> That appears to be the sequence of operations that is failing on your
>> box (I've omitted a couple of parameters that should have no effect on
>> the failing command).
> 
> Hrm.  I will give that same sequence a try here.  Hopefully I can do it
> without pooching things up the live router too much.
> 
>> Is there a way that you can confirm that the above sequence fails?
> 
> OK.  So first 3 commands executed successfully.  The last one is where I
> get the error:
> 
> # tc qdisc add dev eth1 root handle 1: htb default 13
> # tc class add dev eth1 parent 1:1 classid 1:11 htb rate 558kbit ceil 570kbit 
> prio 1
> # tc qdisc add dev eth1 parent 1:11 handle 11: sfq limit 127 perturb 10
> # tc filter add dev eth1 protocol ip parent 1:0 prio 1 handle 1 fw classid 
> 1:11
> RTNETLINK answers: No such file or directory
> We have an error talking to the kernel
> 
>> No
>> copy of busybox that I have includes 'tc' support so I can't try this in
>> that environment.
> 
> Yeah.  My environment is using tc from iproute2, so no issues of busybox
> neutering should be at play here.

Try 'modprobe cls_fw'

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to