Community discussions

MikroTik App
 
rg2
just joined
Topic Author
Posts: 21
Joined: Mon Jun 24, 2013 6:03 pm

V6 - Simple Queues on bridged interfaces

Fri Sep 04, 2015 5:35 pm

Hi!

I work on a WISP that currently have the entire wireless network on bridge mode.

So I am installing a RB2011 on each POP, so I can later route the entire network using OSPF. To be able to route, I will have to change the IP address of every costumer because currently the addresses are distributed randomly.

So initially all RB2011 will work with all ethernet on bridge mode. I am trying to use simple queues to limit the bandwidth of each costumer on each POP.

I used simple queues before on v5, but I am not sure what I am missing on v6 because the queues are not workng.

I am creating a simple queue for each costumer (each costumer have a valid and fixed IP address). I add the IP address of the costumer on the "Target" field, leave "Dst" alone, filll "Max Limit" on "Target Upload" and "Target Download" with the desired values. I also filled "Limit At" on advanced tab... but it does not work.

As I remenber, it was very simple doing it on v5...... what am I missing?

Thanks
 
User avatar
bajodel
Long time Member
Long time Member
Posts: 553
Joined: Sun Nov 24, 2013 8:30 am
Location: Italy

Re: V6 - Simple Queues on bridged interfaces

Fri Sep 04, 2015 7:38 pm

Ports are bridged or switched on rb2011?
If they are switched you can not shape traffic because switch chip is handling traffic ..not cpu/ros
 
rg2
just joined
Topic Author
Posts: 21
Joined: Mon Jun 24, 2013 6:03 pm

Re: V6 - Simple Queues on bridged interfaces

Fri Sep 04, 2015 8:32 pm

Ports are bridged or switched on rb2011?
If they are switched you can not shape traffic because switch chip is handling traffic ..not cpu/ros
All ports are on the same bridge. I am not using switch.

EDIT

All I have configured on the RB2011 is:

One IP address on eth1 for remote access
One bridge with all ethernet ports
Simple Queues for each client, but the queues are not working.

Queues example:

0 name="Costumer 1 - 2Mb" target=XXX.38.23.139/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=2M/2M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

1 name="Costumer 2 - 2Mb" target=XXX.38.23.193/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=2M/2M
max-limit=2M/2M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

2 name="Costumer 3 - 512k" target=XXX.38.23.243/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=512k/512k burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
 
User avatar
bajodel
Long time Member
Long time Member
Posts: 553
Joined: Sun Nov 24, 2013 8:30 am
Location: Italy

Re: V6 - Simple Queues on bridged interfaces

Sat Sep 05, 2015 12:35 am

Did you configured the device starting from default standard config or from zero-config ?

Provide output for command:
/interface ethernet export
 
User avatar
bajodel
Long time Member
Long time Member
Posts: 553
Joined: Sun Nov 24, 2013 8:30 am
Location: Italy

Re: V6 - Simple Queues on bridged interfaces

Sat Sep 05, 2015 1:09 pm

By the way .."Customer" not "Costumer" :lol:
 
rg2
just joined
Topic Author
Posts: 21
Joined: Mon Jun 24, 2013 6:03 pm

Re: V6 - Simple Queues on bridged interfaces

Tue Sep 08, 2015 3:32 pm

Did you configured the device starting from default standard config or from zero-config ?

Provide output for command:
/interface ethernet export
I started from zero config.

That command only shows this config:

[admin@CAPUAVA1] > /interface ethernet export
# sep/08/2015 09:29:38 by RouterOS 6.29.1
# software id = 9HDX-G7VB
#
/interface ethernet
set [ find default-name=ether1 ] comment=RM5_CAPUAVA
set [ find default-name=ether2 ] comment=REP_MODELARTE2
set [ find default-name=ether3 ] comment=NAO_SOBE disabled=yes
set [ find default-name=ether4 ] comment=NB_GUAIANAZES2
set [ find default-name=ether5 ] comment=REP_MODELARTE
set [ find default-name=ether6 ] comment=NANO_GRAMO
set [ find default-name=ether7 ] comment=NANO_CAPUAVA
set [ find default-name=ether8 ] comment=NANO_GRAMO2

About the "customer" thing, I always mess that up... english is not my first language :roll:
 
User avatar
bajodel
Long time Member
Long time Member
Posts: 553
Joined: Sun Nov 24, 2013 8:30 am
Location: Italy

Re: V6 - Simple Queues on bridged interfaces

Tue Sep 08, 2015 9:22 pm

Try to:

/interface bridge settings set use-ip-firewall=yes

and check if queues now works.
 
rg2
just joined
Topic Author
Posts: 21
Joined: Mon Jun 24, 2013 6:03 pm

Re: V6 - Simple Queues on bridged interfaces

Tue Sep 08, 2015 10:23 pm

Try to:

/interface bridge settings set use-ip-firewall=yes

and check if queues now works.
Hi... Now it kind of works... a couple of queues are working alright while the others still doesn't work.

Only queues number 1 and number 12 are working... but all queues have similar rules. The only thing that is different are IP addresses and bandwidth limit.

EDIT: Queue 14 also works.

[admin@CAPUAVA1] > /queue simple print
Flags: X - disabled, I - invalid, D - dynamic
0 name="Modelarte - 2Mb" target=XXX.38.23.139/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=2M/2M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

1 name="Vertas - 2Mb" target=XXX.38.23.193/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=2M/2M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

2 name="Primotec - 512k" target=XXX.38.23.243/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=512k/512k burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

3 name="Estapostes - 1Mb" target=XXX.38.23.119/32 parent=none packet-marks=">
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=1M/1M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

4 name="Primework 1 (Walmart) - 2Mb" target=XXX.38.23.77/32 parent=none
packet-marks="" priority=8/8 queue=default-small/default-small
limit-at=0/0 max-limit=2M/2M burst-limit=0/0 burst-threshold=0/0
burst-time=0s/0s

5 name="Sipra - 2Mb" target=XXX.38.23.164/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=2M/2M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

6 name="Premold - 1Mb" target=XXX.38.23.222/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=1M/1M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

7 name="TCM - 1Mb" target=XXX.38.23.97/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=1M/1M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

8 name="NSEquipamentos - 512k" target=XXX.38.23.92/32 parent=none
packet-marks="" priority=8/8 queue=default-small/default-small
limit-at=0/0 max-limit=512k/512k burst-limit=0/0 burst-threshold=0/0
burst-time=0s/0s

9 name="Coremil - 1Mb" target=XXX.38.23.50/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=1M/1M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

10 name="Incopel - 2Mb" target=XXX.38.23.182/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=2M/2M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

11 name="Ajofer - 4Mb" target=XXX.38.23.86/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=4M/4M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

12 name="Houghton - 6Mb" target=XXX.38.24.234/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=6M/6M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

13 name="Tora Transportes - 1Mb" target=XXX.38.23.33/32 parent=none
packet-marks="" priority=8/8 queue=default-small/default-small
limit-at=0/0 max-limit=1M/1M burst-limit=0/0 burst-threshold=0/0
burst-time=0s/0s

14 name="Poli Positivo - 2Mb" target=XXX.38.23.56/32 parent=none
packet-marks="" priority=8/8 queue=default-small/default-small
limit-at=0/0 max-limit=2M/2M burst-limit=0/0 burst-threshold=0/0
burst-time=0s/0s

15 name="CGE - 512k" target=XXX.38.23.249/32 parent=none packet-marks=""
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=512k/512k burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s

I also don't understand why the option /interface bridge settings set use-ip-firewall=yes is not present on Winbox interface...

Thanks for your help man!
 
JB172
Member
Member
Posts: 304
Joined: Fri Jul 24, 2015 3:12 pm
Location: AWMN

Re: V6 - Simple Queues on bridged interfaces

Tue Sep 08, 2015 11:15 pm

Actually in winbox you can find the Bridge - Use Ip firewall in:
Bridge - Settings
 
User avatar
bajodel
Long time Member
Long time Member
Posts: 553
Joined: Sun Nov 24, 2013 8:30 am
Location: Italy

Re: V6 - Simple Queues on bridged interfaces

Wed Sep 09, 2015 11:30 am

Try to:
/interface bridge settings set use-ip-firewall=yes
Hi... Now it kind of works... a couple of queues are working alright while the others still doesn't work.
Only queues number 1 and number 12 are working... but all queues have similar rules. The only thing that is different are IP addresses and bandwidth limit.
EDIT: Queue 14 also works.
..[CUT]..
Try to disable all simple queue and then re-enable them all (or maybe better.. reboot the device).
 
rg2
just joined
Topic Author
Posts: 21
Joined: Mon Jun 24, 2013 6:03 pm

Re: V6 - Simple Queues on bridged interfaces

Wed Sep 09, 2015 4:13 pm

Try to:
/interface bridge settings set use-ip-firewall=yes
Hi... Now it kind of works... a couple of queues are working alright while the others still doesn't work.
Only queues number 1 and number 12 are working... but all queues have similar rules. The only thing that is different are IP addresses and bandwidth limit.
EDIT: Queue 14 also works.
..[CUT]..
Try to disable all simple queue and then re-enable them all (or maybe better.. reboot the device).
Hi bajodel

It didn't work at first. I disabled, reboot, even recreated all queues but the same behavior persisted.

After analizing what could be wrong, I noticed that the customers that were not being limited on the queues were using pppoe authentication. I thought that would not make any difference because the pppoe server is another router, it has nothing to do with this routerboard.

After enabling "Use IP Firewall For PPPoE" it started to work.

Thanks!!
 
User avatar
bajodel
Long time Member
Long time Member
Posts: 553
Joined: Sun Nov 24, 2013 8:30 am
Location: Italy

Re: V6 - Simple Queues on bridged interfaces

Wed Sep 09, 2015 6:05 pm

..customers that were not being limited on the queues were using pppoe..
..[CUT]..
After enabling "Use IP Firewall For PPPoE" it started to work.
well done!

ciao! :D