Re: Is it possible to throw all not matched traffic toselected class?

Linux Advanced Routing and Traffic Control

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

 



Konrad wrote:
> 
> > What should I do to put all other traffic (not matched by my filters) to
> > 3:3?
> 
> OK. I solved the problem.
> 
> I must use default here: tc qdisc add dev eth0 root handle 3:0 htb default 3
> 
> Is possible to do it using filters?

Certainly!  You add a filter that directs what you want into the correct
flow, then you match everything else with a second filter, directing all
that to a different (what is now your default) flow.  See the INGRESS
portion of the Wonder Shaper if you don't know how to match everything. 
Use prio to determine the selection order of the filters if necessary. 
"If necessary" means that filters seldom need different prio values.

--
gypsy
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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