Score:0

Limit bandwidth by tc per src IP

in flag

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 ?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.