pppoe shaping + excluded IP networks

Hello!

I have pppoe users with traffic shaping which gets set up with the radius Ascend-Data-Rate attribute.
Everything works fine, except that I want to have an IP network from/to which the traffic rate would not be limited or limited with a different rate.
Is it possible to do? The network is static and the same for all users.

An additional info: users have various rate limitations, so I cannot just set a static queueing.

You cannot do that.
I’ve done some patches with which you can do ppp zone shapings, but it’s only implemented in linux kernel and ppp daemon.
for example ppp receives attribute Rate-Limit-Zone1=512K/512K
Rate-Limit-Zone2=10M/10M
Rate-Limit-Zone3=50M/50M
where zones are in my mysql table as:
ppp_zone1_limit
ppp_zone2_limit
ppp_zone3_limit

Is it possible to set a default packet-marks on dynamic simple queues?

I have found a solution. These commands will do the trick:

system script add name=set_queues source={/queue simple set [find dynamic yes] packet-marks=…}
system scheduler add name=set_queues on-event=set_queues interval=60s