[LARTC] configuration + HTB: question

Linux Advanced Routing and Traffic Control

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

 



Hello!

Can you help me with the following:

i want to devide traffic to clients from my server and
from internet. my intention is to mark with iptables
packets with src == 193.220.70.3 as local, and with
another src as going from internet. i need fairly
divide 60 Mbit of local traffic(traffic from my
server) between ethernet clients(192.168.1.2 -
192.168.1.20)

i think i need to create class with rate 60Mbit(attach
it to root qdisc) and to make 20 child classes with
rate 32Kbit ceil 60Mbit and to attach to these child
classes qdiscs with sfq. Then mark packets with
src=192.168.1.2-192.168.1.20 and to make thrm go to
these clasess? Am i right, or wrong? Maybe there is
better approach?

Thanks in advance for your help.

Best regards,
Ruslan

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


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