Community discussions

MikroTik App
 
xiangxi80

how to limit bandwidth for each client?? Help Please

Tue Jul 06, 2004 3:55 pm

I want to limit bandwidth for each client, for information I have cyber cafe, its about 12 PCs, connected with vsat (64kbps), running mikrotik as router,my question is how to limit bandwidth for each pc, eg. 5kbps each client?? need help :wink:
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26950
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Tue Jul 06, 2004 4:02 pm

i suggest starting with the basic examples of the manual :

http://www.mikrotik.com/docs/ros/2.8/ro ... e.main.4.5
 
maskham
just joined
Posts: 16
Joined: Wed Jul 07, 2004 8:56 am

Wed Jul 07, 2004 9:14 am

On this subject can someone answer the following for me. I am new to the Mikrotik OS so I guess Im allowed one simple Q :).

I have setup a WISP which is in the testing stage.

I have created a number of PPP secret accounts using PPPOE over a
Wlan. I setup the following options for each user and need to know if I have done it correlty efficiently.

**** Limit Bandwidth Up/Down.

Each user has various Bandwidth requirements so I have created a
number of PPP profiles each with a Up/Down speed limit. I then assign that
profile to the user. Is this correct.

***** Assign Private or Public IP to User depending on there req's

I have setup 2 IP pools one with Public IP and the other with Private.
In the PPP profile I specify which IP Pool to use.


The setup is working I just need to know whether I am doing it right or not.

Rgds

M1
 
uldis
MikroTik Support
MikroTik Support
Posts: 3446
Joined: Mon May 31, 2004 2:55 pm

Wed Jul 07, 2004 9:44 am

On this subject can someone answer the following for me. I am new to the Mikrotik OS so I guess Im allowed one simple Q :).

I have setup a WISP which is in the testing stage.

I have created a number of PPP secret accounts using PPPOE over a
Wlan. I setup the following options for each user and need to know if I have done it correlty efficiently.

**** Limit Bandwidth Up/Down.

Each user has various Bandwidth requirements so I have created a
number of PPP profiles each with a Up/Down speed limit. I then assign that
profile to the user. Is this correct.

***** Assign Private or Public IP to User depending on there req's

I have setup 2 IP pools one with Public IP and the other with Private.
In the PPP profile I specify which IP Pool to use.


The setup is working I just need to know whether I am doing it right or not.

Rgds

M1
Yes, you are doing right. You can also specify a static real IP address to the user in the 'ppp secret'.
 
maskham
just joined
Posts: 16
Joined: Wed Jul 07, 2004 8:56 am

Wed Jul 07, 2004 9:47 am

excllent Im glad, just a few hours of trial and error. I guess for static I just set the Remote Address under the PPP secret entry
 
uldis
MikroTik Support
MikroTik Support
Posts: 3446
Joined: Mon May 31, 2004 2:55 pm

Wed Jul 07, 2004 10:10 am

excllent Im glad, just a few hours of trial and error. I guess for static I just set the Remote Address under the PPP secret entry
Yes, the IP address you will specify in the 'remote-address' field will be given to the user.
 
maskham
just joined
Posts: 16
Joined: Wed Jul 07, 2004 8:56 am

Thu Jul 08, 2004 1:44 am

Thanks all for the help one more thing is it possible to only apply the Bandwidth shaping to traffice heading for the internet, but give the users full speed access to local servers, like web / mail etc.
 
fivenetwork
newbie
Posts: 45
Joined: Thu Jul 08, 2004 4:39 am

  [SOLVED]

Sat Jul 10, 2004 5:41 am

Nopes. I dont think so. As a Virtual Interface with the prescribed BW limits is created for each SECRET as per the profile selected.

To do that you might try to set no limits in the profile and then queue them for access to the internet. This u will have to do for each user.

Unless there is a workaround for this soln. If there is then I too am very interested to know abt it.
 
User avatar
lastguru
Member
Member
Posts: 432
Joined: Fri May 28, 2004 9:04 pm
Location: Certified Trainer/Consultant in Riga, Latvia
Contact:

Sat Jul 10, 2004 4:17 pm

Actually, I think there is one chance to do this - remember that tree queues are applied before simple queues, and that simple queues are put in both global-in (for source=target-address and destination=dst-address) and global-out (for source=dst-address and destination=target-address). So to do this:

1. make a mangle that will match everything going from your clients to your servers and vice versa

2. make a queue tree rules to make unlimited speed for the clients: their upload in global-in, and their download in global-out

I hope that will work :)
 
fivenetwork
newbie
Posts: 45
Joined: Thu Jul 08, 2004 4:39 am

Mon Jul 12, 2004 12:25 pm

Actually, I think there is one chance to do this - remember that tree queues are applied before simple queues, and that simple queues are put in both global-in (for source=target-address and destination=dst-address) and global-out (for source=dst-address and destination=target-address).
Umm, Does this mean that we can set a SINGLE queue for all clients?? And each will be assigned same limits like the PROFILE settings in PPPoE??
 
User avatar
lastguru
Member
Member
Posts: 432
Joined: Fri May 28, 2004 9:04 pm
Location: Certified Trainer/Consultant in Riga, Latvia
Contact:

Mon Jul 12, 2004 10:43 pm

No. You can specify a limit in ppp profile, and this limit will be dynamically added as a simple queue. Then you can override this limit for some kind of traffic with the help fo tree queues.

And of course you can add only one queue for all your clients - it is called PCQ