jowi007
February 11, 2007, 12:22am
1
Hi
i am using simple queue for my pppoe users
i want to give some users special time of faster internet
will these queue do the job ?
18 name=“Joseph Day” target-addresses=10.10.10.238/32 dst-address=0.0.0.0/0 interface=all parent=none direction=both
priority=8 queue=default-small/default-small limit-at=32000/128000 max-limit=32000/128000 total-queue=default-small
time=16h1s-2h,sun,mon,tue,wed,thu,fri,sat
19 name=“Joseph NIght” target-addresses=10.10.10.238/32 dst-address=0.0.0.0/0 interface=all parent=none direction=both
priority=8 queue=default-small/default-small limit-at=64000/256000 max-limit=64000/256000 total-queue=default-small
time=2h1s-15h59m59s,sun,mon,tue,wed,thu,fri,sat
thx
U need to create 2 Queue for the same target address and allote diff. speed.
Write a script and configure a scheduler for queue. The script will automatically enable and Disable the queue.
Example.
[admin@LAN Server] queue simple> pr
Flags: X - disabled, I - invalid, D - dynamic
0 name="day" target-addresses=10.10.10.2/32 dst-address=0.0.0.0/0
interface=LAN parent=none direction=both priority=8
queue=default-small/default-small limit-at=32000/64000
max-limit=64000/128000 total-queue=default-small
1 X name="night" target-addresses=10.10.10.2/32 dst-address=0.0.0.0/0
interface=LAN parent=none direction=both priority=8
queue=default-small/default-small limit-at=128000/256
max-limit=256000/512000 total-queue=default-small
[admin@LAN Server] queue simple>
Script
[admin@LAN Server] system script> pr
0 name="day" owner="admin"
policy=ftp,reboot,read,write,policy,test,winbox,password
last-started=feb/11/2007 09:14:03 run-count=2
source=/queue simple enable day; /queue simple disable night
1 name="night" owner="admin"
policy=ftp,reboot,read,write,policy,test,winbox,password run-count=0
source=/queue simple enable night; /queue simple disable day
[admin@LAN Server] system script>
Schedular for the Queue
[admin@LAN Server] system scheduler> pr
Flags: X - disabled
NAME ON-EVENT START-DATE START-TIME INTERVAL RUN-COUNT
0 DAY day feb/11/2007 06:00:00 1d 0
1 NIGHT night feb/11/2007 18:00:00 1d 0
[admin@LAN Server] system scheduler>
Try this , it will help u to solve your problem
ASHISH.
jowi007
February 11, 2007, 8:13am
3
thx i will try it and let you know the result
jowi007
February 11, 2007, 9:15pm
4
i think this will be better
i can make faster browsing for all normal user
they will browse for 64/256 speed and abusers will be downgraded to lower speed the 32/128 will this configuration work ?
name=“Joseph Day” target-addresses=10.10.10.238/32 dst-address=0.0.0.0/0 interface=all parent=none direction=both
priority=8 queue=default-small/default-small limit-at=32000/128000 max-limit=32000/128000 burst-limit=64000/256000
burst-threshold=32000/128000 burst-time=10s/1m total-queue=default-small
ashish
February 12, 2007, 12:01pm
5
No It is NOT a solution for your REQUIREMENT.
Just try what i have sent u.
ManyX
February 13, 2007, 8:36am
6
I use freeradius to authenticate my user on MT pppoe server my write in freeradius look like this
#-----------------------------------------------------------------------------
Mr Been
"bsanocki34" User-Password == "ksjs73hj", Calling-Station-Id == "00:11:11:03:4B:91
Framed-IP-Address = 192.168.10.98,
Framed-IP-Netmask = 255.255.255.255,
Rate-Limit = "48k/128k"
#------------------------------------------------------------------------------
And now I want give Mr Been higher transfer in night (from 10:00pm to 10:00am)
How cna I do that.
some idea??
ashish
February 13, 2007, 12:58pm
7
Sorry BOSS,
NO idea abou FREE RADIUS.
plam40
February 13, 2007, 1:16pm
8
About the Free Radius Qestion :
Hey boy what’s the difference if you authenticate users using radius or what ever ? Every user has it own IP even if it is dynamic you can still create a static PPPoE interface for every user you need to give different B/W . Well and from that point you need just to add some queues for that person
If you still dont get that I will post a small example