I've tried my best before asking, but struggling.
I am running 10.04 ubuntu server and it has a fast-ish 8 drive Raid5 array, which is home to a number of samba share points.
This machine only gets used as a nearline samba file server.
Files are ingested to here and later consolidated onto another server on the network for realtime access, so I need to implement some traffic shaping.
My aim is to stop each individual client from using more than 200mbps of the gigabit pipe to the switch.
So far I've managed to do this with HTB, but I've hit a brick wall.
Using the commands below I am able to throttle traffic leaving the interface, but I want to carve individual 200mbit pipes per client, not limit the overall traffic for the interface to 200mbit.
sudo /sbin/tc qdisc del dev eth1 root sudo /sbin/tc qdisc add dev eth1 root handle 1:0 htb default 10 sudo /sbin/tc class add dev eth1 parent 1:0 classid 1:10 htb rate 200mbps ceil 200mbps prio 0 sudo tc filter add dev eth1 parent 1:0 prio 0 protocol ip handle 10 fw flowid 1:10
Can anybody help with this?
I read that there is a way to do this with Shorewall per IP, but the kernel extension required is not present in the standard ubuntu kernel - and I can't find any information about patching to achieve what is required.
Im not a network admin, actually a film technician with too much on my plate.
Any ideas greatly appreciated.