Per interface traffic shaping

Hi,

I have an RB450G and I would like to shape on LAN interfaces without MAC or IP address.
For example shape the whole traffic of ether3 interface to 2Mbps/4Mbps up/down.
It is possible? It could work?

Thx,
oreggin

Sure. Put a queue tree rule as follows:

/queue tree add name="ether2" parent=ether2 limit-at=2000000 priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s

limit-at format is in bits/seg,

ether2 is an example: put your own interface here.

This limits are ever applied in outgoing traffic of the interface.

Shouldn’t it actually be “max-limit”?
limit-at should be empty in this case

yes, you’re right. My mistake.

THX, I will try.

This isn’t working on wlan1 interface for example, but works on bridge1.

Sorry, I forgot: It was tested on ROS v5beta6

If you are using bridges, be sure to enable IP firewall in the bridge settings.

I have a RB433AH with an 11n wireless miniPCI card and use 5.0rc1 ROS.

If I enable any queue on wlan1 (which isn’t member port of bridge1), on the ether2 and ether3 port (which are member ports of bridge1) DNS resolving is slow (~5000msec). If I disable the queue DNS resolving is fast again ~50-100ms.

If I enable any queue on bridge1 (which have member ports of wlan1, ether2, ether3), on the ether2 and ether3 port (which are member ports of bridge1) DNS resolving is slow (~5000msec). If I disable the queue DNS resolving is fast again ~50-100ms.

Interesting but on clients on wlan1 interface DNS resolving isn’t slow any of the scenarios above.

The use-ip-firewall bridge settings doesn’t affect the result.

Any idea?

This queue is doesn’t any effect with this setting:

add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=8700k max-limit=10M name=wifi parent=wlan1 priority=8 queue=default

Edit: wlan1 is not a member oprt of bridge1 and no any opther queue on the system.

Any idea?

disable ipv6 in browser → faster dns resolving with queueing with bridge

Dears,

Can this be done through GUI or it’s just via CLI?

Why are you reviving a topic from 2010?! Come on.

Also the question, you can easily look this up with just a bit of googling or trying. The answer is, this can be done through winbox, web interface and cli.