🔒 Closed Mikrotik DHCP Lease and Simple Queue

Status
Not open for further replies.

RyzenV

⚜️
may way ba na lahat ng naka dhcp ay napupunta dito sa may Simple Queue? yung hindi na need pa Static IP? parang naka auto add na sya sa simple queue lahat ng nakalist dito sa dhcp?

1677903806111.webp


Thanks!
 
Yes, you can automatically add all DHCP clients to the Simple Queue on MikroTik RouterOS by following these steps:

1. Go to IP > DHCP Server and select the DHCP server you want to configure.
2. Under the DHCP Server settings, click on the "Script" tab.
3. Click on the "Add" button to create a new script.
4. Enter the following command in the "Source" field:

/queue simple add name=client-${lease-hostname} target-addresses=${lease-address} max-limit=1M/1M

5. Click on "OK" to save the script.

This script will automatically create a new Simple Queue for each DHCP client that connects to the network with a bandwidth limit of 1Mbps download and 1Mbps upload.

Note: Make sure to test the script and adjust the bandwidth limits to the appropriate values for your network. Also, keep in mind that this method may not work for networks with a large number of DHCP clients or complex network setups.
 
Status
Not open for further replies.

About this Thread

  • 1
    Replies
  • 1K
    Views
  • 1
    Participants
Last reply from:
Unknown user

Trending Topics

Online now

Members online
534
Guests online
1,257
Total visitors
1,791

Forum statistics

Threads
2,277,853
Posts
28,979,277
Members
1,229,112
Latest member
rosearugay
Back
Top