Community discussions

MikroTik App
 
dison4linux
just joined
Topic Author
Posts: 18
Joined: Fri Apr 13, 2012 4:26 pm

Queue / Bandwidth Limitation depending upon subnet

Tue Apr 24, 2012 9:35 pm

I have a building with a network security DVR in it. There are several private subnets within the building and one WAN (Comcast Cable) connection.

My question is...
How can I setup bandwidth limiting so that it only applies only people who access the DVR from the WAN. People accessing it from the LAN and other private subnets within the building should not be limited.

Right now I have:
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both \
    disabled=no interface=all limit-at=0/0 max-limit=2M/2M name=DVR-WAN \
    packet-marks="" parent=none priority=8 queue=default-small/default-small \
    target-addresses=192.168.2.25/32 total-queue=default-small
Which takes care of the limitation, but it limits people accessing the DVR from other private subnets too.
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Queue / Bandwidth Limitation depending upon subnet

Wed Apr 25, 2012 11:12 pm

flip it.

put in a queue targetting your local subnet with the bandwidth you will allow.

below that, add another targetting 0.0.0.0/0

the first queue will intercept local ip addresses and never match the second.

Who is online

Users browsing this forum: GoogleOther [Bot] and 84 guests