Re: Simple traffic shaping

Linux Advanced Routing and Traffic Control

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

 



"Barbara M." wrote:
> 
> My needs is limiting the outbound traffic of an smtp mail server.
> It is connected to a gateway via 100Mbit ethernet. I want limits its
> outbound traffic to max 3 Mbit.
> 
> I have read lot of docs and tried various script without great results.
> 
> Any simplest solutions?
> 
> TIA.
> Regards, B.

HTB:
tc qdisc add dev $DEV root handle 1: htb default 20
tc class add dev $DEV parent 1: classid 1:1 htb rate 3000kbit burst 6k
tc class add dev $DEV parent 1:1 classid 1:20 htb rate 3000kbit \
   burst 6k quantum 1500 prio 1
tc filter add dev $DEV parent 1: protocol ip prio 5 u32 \
   match ip sport 25 0xffff flowid 1:20

TRICKLE:  
http://monkey.org/~marius/trickle

But I doubt the above will suit you because you don't tell us anything else
about the traffic on your mail server.
--
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