share bandwidth between 2 or more users (IPs)

Hi,

There is a way to share bandwidth between 2 or more users (IPs)
in “user manager” way ?

For each user created with it, RouterOs allocate bandwidth dedicate
for ir (rx and tx rate).

What about if I need to create (i.e.) 4 users:

64k for: (user A, user B, user C and user D)

and I need to SHARE a mount of bandwith fairly between them .

Can I do it with UserManager in someway (pppoe, hotspot, or whatever)… ?

Thank you!

It is not possible with User Manager, it is possible with static queues configuration.

Thanks, Sergejs.

Is that feature on “to-do” usermanager list or “roadmap” ?

will be added in the future ?


best regards.

User Manager can provide dynamic queue simple entries, that limit each user separately with the specific bandwidth.
Advanced QoS configuration is not possible via User-Manager (RADIUS server), there is no plans to add such feature.
If you wish to create advanced QOS, you need to use static queues and options that are provided from router.

acutally it is possible with usermanger, you just make a seperate user profile on your hotspot and allocate it the amount of bandwith you want to share. then in usergroup field in the usermanger just put the name of the profile that you created , you can put this grp in for the users taht you want to share bandwith.

Bling Bling

It may be rough and dirty but it will work , im doing that now on acouple of users i have. You can also use this technique to specify if you want mulitple users from the same login. You just go to that profile you created and change the shared users number to the amount you want to be able to login per username. I suggest setting your default to 1 with no bandwith restrictions and then making more profiles for what you need , just remember that the profile name in the hotspot will be what you put in the group name in usermanager, i draw back though is without queing you want ever be able to share it fairly , with this method you get 1 que and they all share the bandwith from that que

Have a nice day

support@coalinganowire.com

intresting, natedogg104 !

how ever, that is dirty way. :confused:

I think that “share bandwidth between 2 or more users (IPs)” must
be in “roadmap” usermanager, don’t you think ?

Best regards :smiley:

oh ya definately a need in the usermanager, least devices to configure the better off we are and the less point of failer
Good call

Yes!!

I think a good way could be put a "radio contention" field in profile definition,
(in add to RX / TX rate fields).

I think this "script" (that already using with PERL::NET::SSh scripts outer from routerOS),
in something way like this:

On "queue simple profile" (or whatever), if we create a "simple queue profile" called:
"users sharing 64/128k", with ratio_contention=4 and RX/TX=64k/128k, RouterOS must create a
queue simple (64k /128k), with space to allocate only 4 "IP Targets".

Later, when I create users (from usermanager or wherever), I put in "group" (or a new field)
a reference to "queue simple profile".

Whit this, I can divide my total bandwidth without make dirty work to create by hand simple
queues.

Example:

First, create a queue simple profile called "USERS 64/128", with TX/RX = 64k/128k and RATIO_CONTENTION=4

Next I create in userman this users:

USER 1,  group "USERS 64/128"  (here routerOS must create a simple queue)
USER 2,  group "USERS 64/128"
USER 3,  group "USERS 64/128"
USER 4,  group "USERS 64/128"    
USER 5,  group "USERS 64/128"     (here routerOS must create a simple queue again)
USER 6,  group "USERS 64/128"
USER 7,  group "USERS 64/128"
USER 8 ,  group "USERS 64/128"   
USER 9,  group "USERS 64/128"   (here routerOS must create a simple queue again)
and USER 10,  group "USERS 64/128"

RouterOS must to create next simple queues

QUEUE 1:  64k / 128k , Targets User1, user2, user4, user4 (remember ratio contention=4)
              with PCQ in order to share bandwidth fairly.

QUEUE 2:  64k / 128k , Targets User5, user6, user7, user8,

QUEUE 3:  64k / 128k , Targets User8, user 10  (and have 2 free slots in this profile)

Every time that I create a user with group "users 64/128", RouterOS must verify
if last queue created with that profile have space to allocate a new IP in target,
(cheking targets already allocated and ratio_contention).

If ( num of targets allocated by this queue ) < ratio_contention
{
put this user in this queue
}
else
{
create a new simple (and dynamic) queue with tx/rx = 64k/128k and ratio_contetion=4
}


Also, when first user is created, router Os must create first (dynamic) simple queue.

What do you think about this idea? :sunglasses:

i like it !!