[LARTC] limiting across singular ip's

Linux Advanced Routing and Traffic Control

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

 



Hi list, 

I'm trying to limit the bandwidth for individual ip's on a network and I
can't seem to get it to work...

I thought that maybe doing this as the final line may make it work:

tc filter add dev eth1 parent 10:0 protocol ip prio 100 u32 match ip dst
192.168.1.2/32 flowid 10:100
tc filter add dev eth1 parent 10:0 protocol ip prio 100 u32 match ip dst
192.168.1.3/32 flowid 10:100
...
etc


but its not, what it is doing is limiting the entire 192.168.1.x subnet
with the rate that I set...

Is there anything that specifically needs to be added for it to limit to
the individual IP's I set?

	- Scott

-- 
------------------------------------------------------------
Scott Smith
Systems Support
SE Network Access Pty Ltd
222 Grote Street Adelaide SA 5000
Tel:08 8221 5221 Fax:08 8221 5220 Support:08 8221 5792

scott.smith@xxxxxxxxxxxx
http://www.senet.com.au




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux