AVA Studio ID

lisensi

Iklan

AVA Studio
30 December 2022, 10:17 WITA (GMT+8)
Last Updated 2022-12-30T06:42:18Z

Script MikroTik RouterOS || Auto Simple Queue From DHCP Server

Advertisement
Script MikroTik RouterOS || Auto Simple Queue From DHCP Server

An Auto Simple Queue is a type of traffic management feature that is commonly used in a DHCP (Dynamic Host Configuration Protocol) server. It allows the DHCP server to automatically assign a priority level to each client that connects to the network, based on the client's MAC address or other identifying information.

The Auto Simple Queue can be useful in situations where certain types of traffic, such as real-time video or audio, need to be given priority over other types of traffic in order to ensure a smooth and reliable connection. It can also be used to prioritize certain types of clients, such as servers or critical devices, over others in order to ensure that they have a stable and reliable connection to the network.

To set up an Auto Simple Queue in a DHCP server, you will need to configure the DHCP server to assign a priority level to each client based on the client's MAC address or other identifying information. You will also need to specify the types of traffic that should be given priority, and how much bandwidth should be allocated to each type of traffic. Once these settings have been configured, the DHCP server will automatically assign a priority level to each client based on the client's MAC address or other identifying information, and will allocate bandwidth accordingly.

How to Automatically Created a Simple Queue Using a DHCP Server Lease Script
:local queueName "Client- $leaseActMAC";
:if ($leaseBound = "1") do={
 /queue simple add name=$queueName target=($leaseActIP . "/32") max-limit=1M/2M comment=[/ip dhcp-server lease get [find where active-mac-address=$leaseActMAC && active-address=$leaseActIP] host-name];
} else={
    /queue simple remove $queueName
} 

No comments:

Post a Comment

Selamat Datang

X
X