Community discussions

MikroTik App
 
radocicala
Member Candidate
Member Candidate
Topic Author
Posts: 136
Joined: Fri Aug 10, 2007 6:56 pm

Problem to set 2 ips for one parent(limit parent) in SQ??

Fri Jan 04, 2008 10:41 pm

Hi I would like to ask how to set to rules to limit one parent(it has two ips) so if i give max limit to parent it will apply for both ips. I set up it like this and it seems its wrong(it doesnt show data flowing through):
32 X  name="MS-NB1-LN" target-addresses=192.168.76.58/32 
      dst-address=192.168.76.0/24 interface=all parent=none direction=both 
      priority=8 queue=default-small/default-small limit-at=0/0 max-limit=0/0 
      total-queue=default-small 

33 X  name="MS-NB2-LN" target-addresses=192.168.76.59/32 
      dst-address=192.168.76.0/24 interface=all parent=none direction=both 
      priority=8 queue=default-small/default-small limit-at=0/0 max-limit=0/0 
      total-queue=default-small 

34 X  name="MS-Internet(all)" dst-address=0.0.0.0/0 interface=all parent=none 
      direction=both priority=8 queue=default-small/default-small 
      limit-at=0/1200000 max-limit=0/1200000 total-queue=default-small 

35 X  name="MS-NB1-Internet" target-addresses=192.168.76.58/32 
      dst-address=0.0.0.0/0 interface=all parent=MS-Internet(all) 
      direction=both priority=8 queue=default-small/default-small 
      limit-at=0/0 max-limit=0/0 total-queue=default-small 

36 X  name="MS-NB2-Internet" target-addresses=192.168.76.59/32 
      dst-address=0.0.0.0/0 interface=all parent=MS-Internet(all) 
      direction=both priority=8 queue=default-small/default-smal
That LN means local network(I use that for limiting users internet but not local network)
MS-Internet(all) is parent for(MS-NB2-Internet and MS-NB1-Internet)- there are two computers in house and I want to give them max download limit 1200kbps(not 1200kbps to each).
Could you help what is wrong and how it is better?
 
radocicala
Member Candidate
Member Candidate
Topic Author
Posts: 136
Joined: Fri Aug 10, 2007 6:56 pm

Re: Problem to set 2 ips for one parent(limit parent) in SQ??

Mon Jan 07, 2008 12:24 pm

Nobody can help, I can´t find how to do that anywhere.
 
rado3105
Member
Member
Posts: 492
Joined: Sat Jan 12, 2008 11:45 pm

Re: Problem to set 2 ips for one parent(limit parent) in SQ??

Tue Jan 15, 2008 12:21 pm

Can It be done in ROUTEROS, i think that no to work right???, the way is to paste addresses you want to limit in to address list, mangle it prerouting(but this solution has probelm to show right data flow, but seems to work).
 
radocicala
Member Candidate
Member Candidate
Topic Author
Posts: 136
Joined: Fri Aug 10, 2007 6:56 pm

Re: Problem to set 2 ips for one parent(limit parent) in SQ??

Thu Jan 17, 2008 3:27 pm

solved using this rules:
32 name="MS-LN" target-addresses=192.168.76.58/32,192.168.76.59/32
dst-address=192.168.76.0/24 interface=all parent=none direction=both
priority=8 queue=default-small/default-small limit-at=0/0 max-limit=0/0
total-queue=default-small

33 name="MS-Internet" target-addresses=192.168.76.58/32,192.168.76.59/32
dst-address=0.0.0.0/0 interface=all parent=none direction=both
priority=8 queue=default-small/default-small limit-at=0/1200000
max-limit=0/1200000 total-queue=pcq-download

Who is online

Users browsing this forum: Ahrefs [Bot], eworm and 147 guests