tc philosophy, will this work?

Linux Advanced Routing and Traffic Control

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

 



Correct me if I'm wrong, I just want to help my friend who needs a tc solution 
with fairness to hosts on a 512K/s DSL line, but few of them should be 
restricted to 64K/s

I thought about htb + esfq (sfq with ip based fairness, not connection)

parent class with CEIL=500Kbit (no RULE? see *1) and attached esfq to this 
parent class, now
 child class with CEIL=64Kbit and RULE=10.0.0.1
 child class with CEIL=64Kbit and RULE=10.0.0.2
 child class with CEIL=64Kbit and RULE=10.0.0.N
 child class with CEIL=500Kbit and RULE=10.0.0.0/24

is this correct? or:

*1 maybe here I will need RULE=10.0.0.0/24 ?
so the traffic would be directed to the parent and then 64Kbit for each shaped 
host, and rest (with fairness) to other hosts in the subnet? or the traffic 
would be shaped to 500Kbit and will never run thru child classes?

I would be thankful for any answer that would allow me to understand tc 
philosophy better ;)

-- 
.: Jakub Głazik (zytek)
.: email: zytek@xxxxxxxxxxxxxxx
.: JID: zytek@xxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
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