Community discussions

MikroTik App
 
Torontobb
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Mon Dec 26, 2016 3:28 am

Possible to divide bandwidth into 4 differen VLANs equally?

Sun Mar 27, 2022 12:08 am

I am play with a "hAP ac lite" unit and I have 120 Mbps download and 20 Mbps upload. How to divide the bandwidth so that each VLAN below gets this amount of bandwidth at *all* times:

VLAN 5 = 30 Mbps download / 5 Mbps upload
VLAN 6 = 30 Mbps download / 5 Mbps upload
VLAN 7 = 30 Mbps download / 5 Mbps upload
VLAN 8 = 30 Mbps download / 5 Mbps upload

Is this possible with RouterOS at all? If yes, please post commands.

Thanks,
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 3136
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: Possible to divide bandwidth into 4 differen VLANs equally?

Sun Mar 27, 2022 4:09 am

beware hap ac lite only have 100m bit ethernet interfaces that can be a limiting factor in your setup if you concentrate traffic in one ethernet interface

also keep in mind this device only has 1 core 650mhz cpu, depending on your setupscenario cpu resources cannot be enough to do bandwidth control up to 100-120 mbps

/queue simple
add max-limit=20M/120M name=queue-total target="VLAN 5,VLAN 6,VLAN 7,VLAN 8"
add max-limit=5M/30M name="queue vlan 5" parent=queue-total target="VLAN 5"
add max-limit=5M/30M name="queue vlan 6" parent=queue-total target="VLAN 6"
add max-limit=5M/30M name="queue vlan 7" parent=queue-total target="VLAN 7"
add max-limit=5M/30M name="queue vlan 8" parent=queue-total target="VLAN 8"
beware fo disabling fast-track in firewall
 
Torontobb
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Mon Dec 26, 2016 3:28 am

Re: Possible to divide bandwidth into 4 differen VLANs equally?

Tue Mar 29, 2022 5:54 am

beware hap ac lite only have 100m bit ethernet interfaces that can be a limiting factor in your setup if you concentrate traffic in one ethernet interface

also keep in mind this device only has 1 core 650mhz cpu, depending on your setupscenario cpu resources cannot be enough to do bandwidth control up to 100-120 mbps

/queue simple
add max-limit=20M/120M name=queue-total target="VLAN 5,VLAN 6,VLAN 7,VLAN 8"
add max-limit=5M/30M name="queue vlan 5" parent=queue-total target="VLAN 5"
add max-limit=5M/30M name="queue vlan 6" parent=queue-total target="VLAN 6"
add max-limit=5M/30M name="queue vlan 7" parent=queue-total target="VLAN 7"
add max-limit=5M/30M name="queue vlan 8" parent=queue-total target="VLAN 8"
beware fo disabling fast-track in firewall
Thanks for the commands and extra tips specific to this device.

A- Which product do you recommend for this setup?
B- With Queues would the bandwidth be given in a dedicated way? or it will be used in full by one VLAN until the other starts using it? I would like it to be equally and 24/7 dedicated. I don't want any of the VLAN to get *more than the allotted bandwidth.
C- What about firewall fast-track?

Thanks.

Who is online

Users browsing this forum: No registered users and 17 guests