From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Taylor, Grant" Date: Fri, 22 Apr 2005 18:51:02 +0000 Subject: [LARTC] Re: A question. Message-Id: <42694796.20703@riverviewtech.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org > that I apply it IP to each of my network? Yes, you will want a similar rule for each IP on your network. > tc class add dev imq0 parent 1: classid 1:1 htb rate 15kbps > tc qdisc add dev imq0 parent 1:1 handle 10: sfq perturb 10 > tc filter add dev imq0 protocol ip parent 10:0 prio 1 u32 match ip src > 192.168.1.2<-<-<-<-<-<-<-<- tc filter add dev imq0 protocol ip parent 10:0 prio 1 u32 match ip dst > 192.168.1.2<-<-<-<-<-<-<-<-<-/32 flowid 1:1 You will want to assign each ip to a different flow id as the flow id identifies a rate limiting rule. Thus if you put two or more computers on the same flow id they will be rate limited as one entity not each computer by its self. Grant. . . . _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc