Per-user-Traffic Shaping

Hola a todos.
Al grano, estoy migrando de Pfsense a Vyos y no encuentro la forma correcta de compartir un ancho de banda con lo que los usuarios en una subred 10.x.x.x/x puedan utilizar un máximo de 1 Mbps cada uno sin tener que declarar uno a uno.

Espero me puedan ayudar, saludos.

Hi all, first of all , sorry for my bad English .
To the point, I’m migrating from pfsense to Vyos and can not find the right way to share bandwidth with users on a subnet 10.x.x.x/x can use a maximum of 1 Mbps each without having to declare one to one.

set traffic-policy shaper RL-Per-user bandwidth 1024
set traffic-policy shaper RL-Per-user class 10 match ADD ip source address ???

also I’m looking for

Hello

Example to share bandwidth (can use a maximum of 10 Mbps) for version 1.2.7:

set traffic-policy shaper Test class 10 bandwidth ‘10mbit’
set traffic-policy shaper Test class 10 match name1 ip source address ‘10.10.10.2/32’ - for one host
or
set traffic-policy shaper Test class 10 match name1 ip source address ‘10.10.10.0/24’ - for the network

You can use documentation for version 1.2.x:
https://docs.vyos.io/en/crux/configuration/trafficpolicy/index.html?highlight=shaper#shaper

version 1.3.x:
https://docs.vyos.io/en/equuleus/configuration/trafficpolicy/index.html?highlight=shaping#the-case-of-ingress-shaping

version 1.4.x:
https://docs.vyos.io/en/latest/configuration/trafficpolicy/index.html?highlight=shaper#shaper

Best regards, Volodymyr Rybak

1 Like