Community discussions

MikroTik App
 
myxylplyx
just joined
Topic Author
Posts: 14
Joined: Sat Jul 18, 2009 9:19 pm

Bandwidth limiting per ip address?

Tue Nov 17, 2009 7:48 pm

Hi, I've been running a 1 mile mikrotik wds transparent bridge for a while now using rb411s, ubiquiti sr9s, and 9dbi yagi antennas. The purpose of the link is to provide the DSL connection my business uses to my home where internet access was only available in the form of dial-up or satellite. At the business (AP) side my DSL first runs through a speedstream 5100 modem, then to a linksys befsr41 router which routes (using DHCP) the internet connection to the two computers I use for business and also to the rb411 in the outdoor enclosure on the roof of my building. At my home (client) side another rb411 in an outdoor enclosure sends the connection inside to a linksys wrt54g (DHCP turned off) which in turn routes via cat5 to my main home computer and connects to all of my other devices via wifi.
I am looking for advice on the best way to limit bandwidth to particular devices on my network. Is it possible to have one of the rb411s do this?
One more question, my client side rb411 can run in station wds mode but I usually run it as station psuedobridge because whenever I experience a brief signal drop (I think due to interference) it takes about 36 seconds before I can access the internet from my home. For some reason in station psuedobridge mode these brief, yet frequent, drops only kill my internet connection for the 1 or 2 seconds it takes for my rb411s to re-connect.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Bandwidth limiting per ip address?

Tue Nov 17, 2009 7:50 pm

Sure you can. The wiki explains queues: http://wiki.mikrotik.com/wiki/Queue. The manual is a little more explicit in explaining the concepts: http://www.mikrotik.com/testdocs/ros/2.9/root/queue.php
 
myxylplyx
just joined
Topic Author
Posts: 14
Joined: Sat Jul 18, 2009 9:19 pm

Re: Bandwidth limiting per ip address?

Tue Nov 17, 2009 11:19 pm

Can I use queues on a transparent bridge? If so should I set them up on the client side? Can you give an example of how I would set up a queue in winbox?
 
myxylplyx
just joined
Topic Author
Posts: 14
Joined: Sat Jul 18, 2009 9:19 pm

Re: Bandwidth limiting per ip address?

Thu Nov 19, 2009 9:41 pm

I've tried to use simple queues in winbox and the test device still gets full bandwidth even when I set it to 64k. Can somebody please help explain this to me?
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: Bandwidth limiting per ip address?

Thu Nov 19, 2009 9:54 pm

did you turn on the bridge firewall (3.x - 4.x)?

I had problems using simple queues on a bridge, not sure if you have to queue tree or what.
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: Bandwidth limiting per ip address?

Thu Nov 19, 2009 9:55 pm

also, on gotcha i learned on simple queues. you have to have a last rule that catches all the rest of the traffic, otherwise everything else doesn't get queued.
 
ShrapNel
just joined
Posts: 4
Joined: Fri Nov 20, 2009 4:38 pm

Re: Bandwidth limiting per ip address?

Fri Nov 20, 2009 4:45 pm

Hi Guys

This does help what I need to do, but here is a little more... I am in a building which has 5 companies, and we need to share the bandwidth between us all - we want to split the costs of the bandwidth. The idea is, that everyone must have fair use, we want to block things like downloading of movies and such (nothing against it, it just hurts the bandwidth when we want to do real work), but the most important part is that we do have a bandwidth limit on our ADSL, which is 20GB, so we need to limit each company to 5GB per month.

The idea was to have a Mikrotik in place, and provide each business with a smaller one. The main Mikrotik to provide 5 IP's to the smaller ones, and then the smaller ones act as the router to the individual company, if it were only 3 companies then I guess one router would have worked.

I hope I am putting this in the right place, and I hope I have explained my needs well enough.

Thanks

Regards
 
thermant
Frequent Visitor
Frequent Visitor
Posts: 93
Joined: Sat Apr 21, 2007 6:17 am

Re: Bandwidth limiting per ip address?

Tue Nov 24, 2009 12:44 pm

@myxylplyx:
Dang, your username is hard to write. :) Anyway... In your case, here's what I'll do:
IF you're trying to limit the bandwidth for the devices in your home, I will use the RB at your home to do so. Just add some simple queues like so:
/queue simple add name="test" target-addresses=192.168.2.253 max-limit=384000/384000 
That should do it.
Do let us know how it goes.
 
Xyl2k
just joined
Posts: 20
Joined: Wed Mar 12, 2014 1:13 pm

Re: Bandwidth limiting per ip address?

Mon May 05, 2014 2:01 am

not working on RouterOs 6.12 you will need to delete ''addresses'' , so it will be target=

Who is online

Users browsing this forum: gianry and 15 guests