Score:0

Any way to limit bandwidth per IP in network behind linux router

hu flag

I whant to limit bandwith of clients from network behind my linux based NAT gateway. My clints is connected via wifi or directly via ethernet to router and receiving their IP address from DHCP. I want to limit bandwith near 3Mb per Client IP. Now I has setup tc qdisc limiter for network interface and this summury bandwith limit for all clients. How to limit per IP? Create class and filter for each IP? Total 254 classes for network (192.168.1.0/24) Looking like not good way...

vidarlo avatar
ar flag
*Why*? Isn't it more important that bandwidth is shared fairly? Unused BW is usually not something worth preserving.
Spider avatar
hu flag
This is guest network with internal rules.
vidarlo avatar
ar flag
Yes, but usually it's either more interesting to limit total use, or ensure fair sharing so everyone get a good expirience...
Spider avatar
hu flag
So. Any ways to make my case?
I sit in a Tesla and translated this thread with Ai:

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.