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<-<-<-<-<-<-<-<-</32 flowid 1:1
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

Reply via email to