[CentOS] Bandwith limiting

Fri Feb 26 13:11:30 UTC 2010
Jason Pyeron <jpyeron at pdinc.us>

 

> -----Original Message-----
> From: Rajagopal Swaminathan
> Sent: Friday, February 26, 2010 4:12
> To: CentOS mailing list
> Subject: Re: [CentOS] Bandwith limiting
> 
> Greetings,
> 
> On Fri, Feb 26, 2010 at 2:13 PM, Jason Pyeron 
> <jpyeron at pdinc.us> wrote:
> >
> > [root at mirrors html]# tc qdisc add dev eth1 handle 1:0 root dsmark 
> > indices 1 default_index 0 [root at mirrors html]# tc qdisc add 
> dev eth1 
> > handle 2:0 parent 1:0 tbf burst 2048 limit 2048 mtu 1514 
> rate 3200bps
> 
> Gee Thanks! :)
> 
> >
> >
> > But I do not know how to persist this.
> 
> perhaps in the rc.local file?
> 

I am sure there is a proper file for this. Just like iptables, routing, etc.

> regards,
> 
> Rajagopal
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.