Community discussions

MikroTik App
 
lavv17
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Sat Sep 01, 2007 9:01 am

pppoe shaping + excluded IP networks

Wed Feb 13, 2008 4:18 pm

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.
 
lavv17
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Sat Sep 01, 2007 9:01 am

Re: pppoe shaping + excluded IP networks

Thu Feb 14, 2008 10:38 am

An additional info: users have various rate limitations, so I cannot just set a static queueing.
 
User avatar
promind
Member Candidate
Member Candidate
Posts: 153
Joined: Thu Feb 23, 2006 11:26 am
Location: Rousse, Bulgaria
Contact:

Re: pppoe shaping + excluded IP networks

Thu Feb 14, 2008 10:48 am

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
 
lavv17
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Sat Sep 01, 2007 9:01 am

Re: pppoe shaping + excluded IP networks

Fri Feb 15, 2008 9:46 am

Is it possible to set a default packet-marks on dynamic simple queues?
 
lavv17
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Sat Sep 01, 2007 9:01 am

Re: pppoe shaping + excluded IP networks

Tue Feb 19, 2008 9:26 am

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

Who is online

Users browsing this forum: Guntis, mogiretony, voytecky and 96 guests