Re: tc&htb

Linux Advanced Routing and Traffic Control

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

 



On Wednesday 12 November 2003 07:37, Eddie wrote:
> Hi all.
> I'm very new to Linux and the whole traffic shaping thing.
> Now this is what I've got.A 128Kbit line on eth0 and a 100+ network on
> eth1.The mail server is on the internal network(eth1 side).
>
> This is what I want.
> They run banking software that uses port 15000-15010.I want the bank
> ports and if I'm going to ssh INTO the box to get all bandwidth,that is
> 128Kbit.Then I want the internal users limited to 96Kbit for web,32 for
> mail in and out and 10Kbit for other stuff.I also want them all to share
> bandwidth if not use(banking is not done most of the time but if it is
> it should get the most)
>
> I got this far and have no idea,I've been reading advance routing and
> traffic control,but as the song goes,I'm not the sharpest tool int the
> shed.
>
> This is what I've got so far(taken from
> 15.10. Example of a full nat solution with QoS)
> My main problem,if this is right,is with the filter.I don't know how
> Please help me because I'm thinking traffic control is a myth?
Your tc commands are ok.  For the filters, you can use the u32 filter that can 
match on port and or ip address or the fw fliter so you can iptables to 
classify the packets.
For some examples, see www.docum.org

Stef

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

_______________________________________________
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