Ok, this is nice and I see traffic in queue q_tagnet_down when my client is downloading something.
Next, I want to realize “local queue”. But if I only add
There will be many childs. One child is in my example. Limits are set on users queues. You asked about traffic. Yes, there is no mangle rule for pm_tagnet_down_local for the present, but… what if there will be no “local” traffic at all? All tree will not work?
Why do you want to limit local and a client. Are the clients co nected via CPE will need to know what your setup is. CPE Directly connected or do you want to control wifi
Dear Arnolis! I want to limit “internet” traffic and not to limit “local” traffic. Mikrotik is the “core” router where some client are connected directly (VLANs) and other via CPEs (routed).
Yes, I know that common practice is to do shaping on CPEs, but too different models and some of them is not under my administrative control.
without network map this is waste of time but…
i dont know how many interfaces you have, but if you set simple queue(s) with target=wan interface (internet), then local traffic (between local interfaces) cannot be affected in any way. in simple queue you can also add dst=xxx where xxx=any local interface and set internet speed limits in/out for any of local interfaces.
CCR-1016 (CR1 core router)
– eth0 - link to BR1 (border router 1)
– eth1 - planned for BR2
– eth2 - link to DSW1 (distribution switch 1)
– eth3 - link to DSW2 (distribution switch 2)
– eth4 - link to CSW1 (customer switch 1)
Each of DSW accumulates links from ARs (area routers, Cisco 3750G), where VLANs of remote users are terminated
CSW accumulates VLANs of nearby users, which are terminated directly on CCR-1016.
Due the specific legislation I can not link DSWs directly, traffic must go through CR1
I clearly explained the topology? If not - I’ll try to explain more