Community discussions

MikroTik App
 
jowi007
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Thu Oct 13, 2005 11:07 am

burst speed with pppoe

Sat May 20, 2006 1:04 pm

Hi i have a mikrotik box working as main server with pppoe function , routing and webcache

i tried to make burst queues for users thru pppoe conection bvut it didn't worked anyone tried before ?
thanks in advance
 
savage
Forum Guru
Forum Guru
Posts: 1264
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Sat May 20, 2006 3:03 pm

It works fine.

If you post what you tried, we can maybe look at what you did wrong...

--
C
 
jowi007
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Thu Oct 13, 2005 11:07 am

pppoe

Sun May 21, 2006 12:55 am

i have address list from 10.11.1.1-10.11.1.254
this is chosen by a pppoe profile
i disabled bandwith rate on the profile kept it empty
and i created a simple queue with destination address 10.11.1.0/24
and putted the burst speeds i think my error is that is should be target address instead of destination ?
 
cibernet
Long time Member
Long time Member
Posts: 610
Joined: Fri Jan 28, 2005 7:22 pm
Location: Marcos Juárez, Córdoba, Argentina
Contact:

Re: pppoe

Sun May 21, 2006 1:16 am

i have address list from 10.11.1.1-10.11.1.254
this is chosen by a pppoe profile
i disabled bandwith rate on the profile kept it empty
and i created a simple queue with destination address 10.11.1.0/24
and putted the burst speeds i think my error is that is should be target address instead of destination ?
Try "Target Address"
 
jowi007
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Thu Oct 13, 2005 11:07 am

pppoe

Sun May 21, 2006 11:31 am

lags: X - disabled, I - invalid, D - dynamic
0 X name="burst test" target-addresses=10.11.1.0/24 dst-address=0.0.0.0/0
interface=all parent=none priority=4 queue=default/default
limit-at=12000/96000 max-limit=12000/96000 burst-limit=24000/144000
burst-time=15s/45s total-queue=default

1 D name="<pppoe-paul2>" dst-address=0.0.0.0/0 interface=<pppoe-paul2>
parent=none priority=8 queue=default/default limit-at=24000/160000
max-limit=24000/160000 total-queue=default

2 D name="<pppoe-anita>" dst-address=0.0.0.0/0 interface=<pppoe-anita>
parent=none priority=8 queue=default/default limit-at=18000/96000
max-limit=18000/96000 total-queue=default



i made a simple queue for the burst but it becomes red is that normal ? will the queue work on the whole subnet or i have to make it on each ip ?
 
jowi007
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Thu Oct 13, 2005 11:07 am

pppoe

Sun May 21, 2006 12:54 pm

Flags: X - disabled, I - invalid, D - dynamic
0 X name="smtp" dst-address=0.0.0.0/0 interface=all parent=none packet-marks=smtp priority=8
queue=ethernet-default/ethernet-default limit-at=0/0 max-limit=0/0 total-queue=default

1 X name="Http" dst-address=0.0.0.0/0 interface=all parent=none packet-marks=http priority=1
queue=ethernet-default/ethernet-default limit-at=0/0 max-limit=0/0 total-queue=default

2 name="jcl1" target-addresses=10.11.1.254/32 dst-address=10.11.1.1/32 interface=all parent=none priority=8
queue=ethernet-default/ethernet-default limit-at=8000/64000 max-limit=8000/64000 burst-limit=16000/128000
burst-time=15s/1m total-queue=default

3 name="queue1" target-addresses=10.11.1.253/32 dst-address=10.11.1.1/32 interface=all parent=none priority=8
queue=ethernet-default/ethernet-default limit-at=8000/64000 max-limit=8000/64000 burst-limit=16000/128000
burst-time=15s/1m total-queue=default

4 name="gix" target-addresses=10.11.1.252/32 dst-address=10.11.1.1/32 interface=all parent=none priority=8
queue=ethernet-default/ethernet-default limit-at=12000/96000 max-limit=12000/96000 burst-limit=16000/128000
burst-time=15s/1m total-queue=default

5 name="asamar" target-addresses=10.11.1.251/32 dst-address=10.11.1.1/32 interface=all parent=none priority=8
queue=ethernet-default/ethernet-default limit-at=8000/64000 max-limit=8000/64000 burst-limit=16000/128000
burst-time=15s/1m total-queue=default

6 name="queue4" target-addresses=10.11.1.250/32 dst-address=10.11.1.1/32 interface=all parent=none priority=8
queue=ethernet-default/ethernet-default limit-at=8000/64000 max-limit=8000/64000 burst-limit=16000/128000
burst-time=15s/1m total-queue=default

7 name="queue6" target-addresses=10.11.1.249/32 dst-address=10.11.1.1/32 interface=all parent=none priority=8
queue=ethernet-default/ethernet-default limit-at=8000/64000 max-limit=8000/64000 burst-limit=8000/64000
burst-time=15s/1m total-queue=default


i think i found it thanks guys
i made remote address for every pppoe user in the secret section and no bw rate in the pppoe profile , assigned a simple queue for every ip /32 seems working , my all idea is now to make the smtp traffic pass to the smtp relay server without shaping i think it will work
thx
 
User avatar
maroon
Member Candidate
Member Candidate
Posts: 230
Joined: Thu Oct 07, 2004 11:15 am
Location: Lebanon
Contact:

Mon May 22, 2006 10:38 am

I suggest using PCQ to apply the limitation on your /24 network. because creating a simple queue for each user one by one is really annoying.
 
cibernet
Long time Member
Long time Member
Posts: 610
Joined: Fri Jan 28, 2005 7:22 pm
Location: Marcos Juárez, Córdoba, Argentina
Contact:

Mon May 22, 2006 10:42 am

I suggest using PCQ to apply the limitation on your /24 network. because creating a simple queue for each user one by one is really annoying.
you can use the rate-limit to create a dynamic simple queue too...
 
User avatar
maroon
Member Candidate
Member Candidate
Posts: 230
Joined: Thu Oct 07, 2004 11:15 am
Location: Lebanon
Contact:

Mon May 22, 2006 3:11 pm

but wihtout bursting!!! you can set rate limit on the profile you are creating. so how to appply bursting?
 
cibernet
Long time Member
Long time Member
Posts: 610
Joined: Fri Jan 28, 2005 7:22 pm
Location: Marcos Juárez, Córdoba, Argentina
Contact:

Mon May 22, 2006 3:23 pm

but wihtout bursting!!! you can set rate limit on the profile you are creating. so how to appply bursting?
You should read the manual and try to do it before...
rate-limit (text; default: "") - Rate limitation in form of rx-rate[/tx-rate]
[rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold] [rx-burst-time[/tx-burst-time]
[priority] [rx-rate-min[/tx-rate-min]]]] from the point of view of the router (so "rx" is client upload,
and "tx" is client download). All rates should be numbers with optional 'k' (1,000s) or 'M'
(1,000,000s). If tx-rate is not specified, rx-rate is as tx-rate too. Same goes for tx-burst-rate and
tx-burst-threshold and tx-burst-time. If both rx-burst-threshold and tx-burst-threshold are not
specified (but burst-rate is specified), rx-rate and tx-rate is used as burst thresholds. If both
rx-burst-time and tx-burst-time are not specified, 1s is used as default. Priority takes values 1..8,
where 1 implies the highest priority, but 8 - the lowest. If rx-rate-min and tx-rate-min are not
specified rx-rate and tx-rate values are used. The rx-rate-min and tx-rate-min values can not exceed
rx-rate and tx-rate values.
 
jowi007
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Thu Oct 13, 2005 11:07 am

pppoe

Tue May 23, 2006 9:36 am

maroon ur right i will do what you suggest /24 when i will install a raidus

i am doing a simple queue now for 2 reasons
first i will be free to do whatever i want concerning speed for any user
and also i am doing all this to make smtp queue be over the customers queuing so all my user will have full speed for smtp my internal server
and now i can know from each queue my customer usage of internet and catch some abusers too

Who is online

Users browsing this forum: Amazon [Bot], hnd, Kanzler and 121 guests