I would like to limit output bandwith to server in LAN (virtual server in fact) per IP session / or src IP in other words.
My following rules on router doesn't work:
tc qdisc add dev lxdbr0 root handle 1:0 htb
tc class add dev lxdbr0 parent 1:0 classid 1:1 htb \
rate 1000kbps ceil 1050kbps prio 0
tc filter add dev lxdbr0 protocol ip parent 1:0 prio 0 \
u32 match ip src 0.0.0.0/0 flowid 1:1
I mean they limit whole bandwitdh to 1000KB/s - not per one src IP.
Could you help ?