Is there a simple solution to traffic shaping?

mrvic

New Member
Joined
Jul 12, 2019
Messages
7
Reaction score
1
Credits
0
What I need is really simple:
  • I need to limit all traffic (64kbps) to a particular IP address (192.168.2.8).
  • I have have already fixed through DHCP.
  • It is in a particular network of IP addresses (192.168.2.0/24).
I have looked online for the answer. All I can find is limit all traffic through a network card (Wondershapper) but that would limit the traffic to the entire network, and how to set up that complex tc thing that is so complex I don't even know where to begin to look for.

Can you help me out?
 


Thanks, @TechnoJunky but that won't do.

This tells me how to implement Linux as a gateway. I am doing it already, in that same network as well as in others. However, it tells me nothing about how to limit the amount of network speed I allow one or two computers to use while I keep the rest for the remainder machines.

Thanks anyway!
 
Sorry, I didn't get that out of your question. It sounded like you needed to route traffic and were just mentioning the speed. Not sure how you do that. But I'm pretty sure it's possible with a router, so it should be possible using Linux as a router. I"m sure someone here can help.
 
What I need is really simple:
  • I need to limit all traffic (64kbps) to a particular IP address (192.168.2.8).
  • I have have already fixed through DHCP.
  • It is in a particular network of IP addresses (192.168.2.0/24).
I have looked online for the answer. All I can find is limit all traffic through a network card (Wondershapper) but that would limit the traffic to the entire network, and how to set up that complex tc thing that is so complex I don't even know where to begin to look for.

Can you help me out?

I suggest you to create a virtual interface for your specific ip (macvlan). Than you can limit this interface with wondershaper.
 
I suggest you to create a virtual interface for your specific ip (macvlan). Than you can limit this interface with wondershaper.

Excellent! That was exactly what was looking for... So much so that I even asked myself the question before discarding it as stupid: "I wonder if I could configure a virtual interface and then use wondershapper on it?"

The moral of this story? Never declare even your most stupid ideas as stupid and discard them without researching them! You could be discarding the solution you are looking for!
 

Members online


Latest posts

Top