Sei sulla pagina 1di 41

ISP Setup using MikroTik

Class - IV
BW Management, Simple Queue, Queue Priority,
Shared Bandwidth, Parent-Child Queue, Queue Types,
Burst Limit, Day/Night Package, Scripting, Scheduler
M Abdullah Al Naser
B.Sc in CSE
CCNA, RHCE, RHCSA, MTCNA

Bandwidth Management
In MikroTik the bandwidth is managed by
Queue. In fresh configuration there is no
Queue to shape any bandwidth.
We can assign bandwidth for any specific IP
or any IP Block (subnet).

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

Simple Queue

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

Simple Queue

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

Simple Queue

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

Simple Queue

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

Simple Queue

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

Simple Queue

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

Simple Queue

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

Queue Priority (Dedicated BW)

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

10

Queue Priority (Dedicated BW)

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

11

Queue Priority (Dedicated BW)

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

12

Shared Bandwidth

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

13

Shared Bandwidth

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

14

Shared Bandwidth

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

15

Shared Bandwidth

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

16

Shared Bandwidth

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

17

Parent - Child Queue

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

18

Parent - Child Queue

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

19

Parent - Child Queue

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

20

Parent - Child Queue

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

21

Queue Types

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

22

Queue Types
If Queue Types if default-small then a
queue can handle 10 packets at a time (by
default). On the other hand a queue having
default type can handle 50 packets at a
time (by default) which improves BW
handling capacity significantly.
We can also customize the number of
packets for any Queue Types.

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

23

Queue Types

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

24

Burst Limit
Burst Limit is a way to give some extra
bandwidth to a user for a specified time if
users bandwidth is around a given threshold.
If, Burst Limit = 2M and Burst Threshold = 512k
Then, n = Threshold / Limit
= 512 / 2048 = 0.25
If your Burst Time is 30 sec then,
Burst Time Value = Burst Time / n
= 30 / 0.25 = 120
Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

25

Burst Limit

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

26

Day/Night Package
We can manage bandwidth for day and
night separately in different methods.
Method-1: Creating two different queue for
day and night individually defining the time
frame in Queue.
Method-2: Creating two plain Queues (no
time frame) and enable/disable those
queues manually or by scripting.

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

27

Day/Night Package Method-1

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

28

Day/Night Package Method-1

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

29

Day/Night Package Method-1

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

30

Day/Night Package Method-2

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

31

Day/Night Package Method-2

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

32

Scripting

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

33

Scripting

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

34

Scripting

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

35

Scripting

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

36

Scripting

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

37

Scheduler

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

38

Scheduler

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

39

Scheduler

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

40

Thank you very much

Prepared by- M Abdullah Al Naser (tutorial.mnaser.net)

41

Potrebbero piacerti anche