Skip to contentSkip to conversation

limiting across singular ip's

LARTC Scott Smith 1 participant 1 message Mar 15, 2001

lore
Share & tools
lore
#0 lore raw

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

Signature · 14 lines
------------------------------------------------------------
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

[email protected]
http://www.senet.com.au


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/