Re: Problem with flowid filter example from howto

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 21 November 2002 21:02, Andrew D wrote:
> For simplicity, I tried this:
>
> tc qdisc add dev eth0 root handle 1: prio
> tc qdisc add dev eth0 parent 1:1 handle 10: sfq perturb 10
> tc qdisc add dev eth0 parent 1:2 handle 20: sfq perturb 10
> tc qdisc add dev eth0 parent 1:3 handle 30: sfq perturb 10
>
> tc filter add dev eth0 protocol ip parent 1: prio 2 flowid 1:1
>
> The last line prints:
> Unknown filter "flowid", hence option "1:1" is unparsable
>
> I'm pretty sure that last line is almost exactly what is printed
> in the howto, translated for what I want.  Did I need to add
> something else first?  If this is not the right syntax, how do I
> make all traffic (for now) go to a specific flow?
Try 
tc filter add dev eth0 protocol ip parent 1: src 0/0 prio 2 flowid 1:1

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux