Community discussions

MikroTik App
 
Testingpepe
newbie
Topic Author
Posts: 42
Joined: Tue Apr 19, 2005 6:25 pm

OK, this is a REAL problem

Fri Sep 30, 2005 7:09 pm

Configuration map:

Ether1 - Internet connection
Ether2 - LAN 192.168.33.0/24
Wlan1 - WLAN 192.168.3.0/24
Wlan2 - WLAN 192.168.2.0/24
Wlan3 - WLAN 192.168.1.0/24

Wlan1, Wlan2 and Wlan3 NAT to a external IP on Ether1
Ether2 NAT to another external IP on Ether1

The clients are in the 3 Wlan cards.....almost 30 clients per card. Everybody whit a simple queue to limit the bandwhit at 128, 256 or 512 depends on the client.

This work greate but now I add a new network Ether2 (192.168.33.0/24) who needs 512Kbps dedicated bandwhidth.

How to split my bandwhith?? 1500kbps to the clients on the wlan's cards (and still use the simple queue on them; and 512 kbps to the new network 192.168.33.0/24.

When I apply a queue tree to the group of clients (wlan1, wlan2, wlan3) that I mark whit packet flow to 1500kbps ALL of them have 1500kbps.
Cannot find the way to configure it, I try everything that apears on the manual but nothing works.
Need help on this please.

Tnks.

Testingpepe
 
proxy
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Wed Dec 15, 2004 1:18 am

Fri Sep 30, 2005 7:34 pm

first you must limit the interface Ether2 to 512 Kb/s then limit your clients..
queue simple add name=test interface=Ether2 max-limit=set-limit-here limit-at=and-here
I think this must work in your case..
 
Testingpepe
newbie
Topic Author
Posts: 42
Joined: Tue Apr 19, 2005 6:25 pm

Fri Sep 30, 2005 7:38 pm

but if the ether2 dont consume the 512kbps the clients run out the 2mbps and I only want to give them 1500kbps....
 
proxy
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Wed Dec 15, 2004 1:18 am

Fri Sep 30, 2005 7:40 pm

if i understood u want that your all clients get only 1500 , so u can limit the wlan interfaces too .
 
Testingpepe
newbie
Topic Author
Posts: 42
Joined: Tue Apr 19, 2005 6:25 pm

Fri Sep 30, 2005 9:44 pm

yes, but I want the sumarize of the traffic of the 3 wlan card use only 1500kbps
 
proxy
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Wed Dec 15, 2004 1:18 am

Fri Sep 30, 2005 10:18 pm

how do you mean sumarize of the network on wlan3
 
Testingpepe
newbie
Topic Author
Posts: 42
Joined: Tue Apr 19, 2005 6:25 pm

Fri Sep 30, 2005 10:24 pm

sorry for my write Im argentine.......I mean that I want all the 3 WLAN cards to consume a total of 1500kbps, I dont care if one of them consume 1200kbps and 300kbps the other two.
 
proxy
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Wed Dec 15, 2004 1:18 am

Fri Sep 30, 2005 10:31 pm

which routeros version are you using
 
marko1101
newbie
Posts: 25
Joined: Sun Jul 11, 2004 9:33 pm

Fri Sep 30, 2005 10:33 pm

use 10.x.x.x insted 192.168..x.x

then use for wlan:
10.100.1.0
10.100.2.0
10.100.3.0 ....
...
10.100.255.0

queue for all wlan 10.100.0.0/16 ... max limit 1500kbps


and for Ether use:

10.200.1.0 ...
...
10.200.255.0

queue for Ether is 10.200.0.0/16 ... 512kbps

try with queue tree do this, simple queue for client , queue tre for trafic for all subnet

but... , with one new router (only router 45$) you can do this and much more, with only public and local interface in router, ... and connect local interface with Ether1 on router(mikrotik) with Ether2 , Wlan1, 2, 3 ....

with this you can do simple queuse for client on ruter with wlan1, 2, 3, and Ether 2, (128, 256, 512) , ... and on (onlyRuter) make traffic for all subnet sumarize (simple or tree, you decide , ... make this and with tree queue you can control all you want .... almost, ;)
 
Testingpepe
newbie
Topic Author
Posts: 42
Joined: Tue Apr 19, 2005 6:25 pm

Fri Sep 30, 2005 10:34 pm

2.8.28 .......dont do a upgrade because I dont need it
 
proxy
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Wed Dec 15, 2004 1:18 am

Fri Sep 30, 2005 10:42 pm

try this
queue simple> add name=test2 interface=all max-limit=limit-here queue=wireless-default 
at normal this limits wireless only , but i have not testet..
 
Testingpepe
newbie
Topic Author
Posts: 42
Joined: Tue Apr 19, 2005 6:25 pm

Fri Sep 30, 2005 11:01 pm

dont work......still the same
 
Testingpepe
newbie
Topic Author
Posts: 42
Joined: Tue Apr 19, 2005 6:25 pm

Fri Sep 30, 2005 11:27 pm

lets beging to clarify this.....I mark packets: group A(all the wireless clients) and group B the interface ether2. I make a queue tree were I limit group A to 1500 and group B to 500. The problem is that the group who share the 1500 has a simple queue to use 128, 256 or other but when I make the queue tree and put them into the 1500 they pass to take the 1500 and dont stay in 128 or whatever the bandwidth is in the simple queue.....and if I monitor the traffic on the ether1 show me 2000 of traffic when the 500k interface is unpluged.

I dont know if I explain the situation.
 
kjagus
Frequent Visitor
Frequent Visitor
Posts: 74
Joined: Sun Jan 30, 2005 11:29 pm
Location: Poland

Fri Sep 30, 2005 11:57 pm

I would bridge the wlans and create simply queue for bridge interface or mark traffic from/to all wlan interfaces and create queue tree (one element for each flow - interface) with parent of 1,5M. I talk about 2.9, I'm not sure is it possible in 2.8 - I do not use it for shaping.
 
marko1101
newbie
Posts: 25
Joined: Sun Jul 11, 2004 9:33 pm

Sat Oct 01, 2005 12:10 am

with simple queue make traffic shaiper for client .. i.e. 192.168.3.22 128kbps

with queue tree make traffic shaiper i.e. :

for all wlan , mark IP subnet i.e. 192.168.0.0/22 , flow all-wlan

and for Ether2 mark all other 0.0.0.0/0 , flow all-other (you have only Ether2)

first in mangle put 192.168....


then make queue tree with , all-wlan 1500kbps , and all-other 512kbps,
 
Testingpepe
newbie
Topic Author
Posts: 42
Joined: Tue Apr 19, 2005 6:25 pm

Sat Oct 01, 2005 4:07 pm

when I apply the queue tree, the simple queue stop working and only apply to the packets the rules on the queue tree.
 
marko1101
newbie
Posts: 25
Joined: Sun Jul 11, 2004 9:33 pm

Sat Oct 01, 2005 4:37 pm

then with one ruter you can only make queue tree, to much work, ;( , but you don't want one more ruter ...

make in tree:

Download Ether2 parent-local 512kbps
Upload Ether2 parent-public 512kbps

and

Download Wlan-All parent-local1500kbps
Upload Wlan-All parent-public 1500kbps

...

then make bendwith control with mark for all client indivudually in mangle and queue tree (delite simple queue, you no need them any more), with user speed 128 or 256 or 512 ...

and Ether2 cilent connect (flow) with Download Ether2 and Upload Ether2

and Wlan client connect (flow) with Download Wlan-All and Upload Wlan-All


with this indivudually user will be on 128, or 256, or, 512, but All wlan wil be on 1500kbps and Ether2 will be on 512kbps
 
marko1101
newbie
Posts: 25
Joined: Sun Jul 11, 2004 9:33 pm

Sat Oct 01, 2005 6:34 pm

hm, my mistake, you do not have only 2 interface, public and local, :(

try with this:...

make in mangle bandtwith control for all user individually

for queue tree you must used Ether1 for upload for all users, but only if you have only internet, if your users used local network upload wil not work well...

but for download you must used:
wlan1 for wlan1-user
wlan2 for wlan2-user
wlan3 for wlan3-user
ether2 for ether2-user


and now make in tree:

Download Ether2 parent=global-??? 512kbps
Upload Ether2 parent=global-??? 512kbps

and

Download Wlan-All parent=global-??? 1500kbps
Upload Wlan-All parent=global-??? 1500kbps


and Ether2 cilent connect (flow) with Download Ether2 and Upload Ether2

and Wlan client connect (flow) with Download Wlan-All and Upload Wlan-All


I do not known how global-in or global-out effect in this scenario , inform us if you success, :)


btw, ... man , used one more router, this is the best solution you have !

Who is online

Users browsing this forum: F3BOli and 34 guests