GUDANGMRF.COM

Script Dinamic DHCP Server Mikrotik

 :local parent [/queue simple find name=ROOT]

:local network "192.168.2.0/24"
:if ([:len $parent] = 0) do={/queue simple add name=ROOT max-limit=3000k/3000k target="$network" packet-marks=no-mark}
:local queueName "Client-$leaseActMAC";
:if ($leaseBound = "1") do={
/queue simple add name=$queueName target=($leaseActIP . "/32") limit-at=512k/512k max-limit=1000k/1000k burst-limit=1512k/1512k burst-threshold=1000k/1000k burst-time=8/8 parent=ROOT packet-marks=no-mark comment=[/ip dhcp-server lease get [find where active-mac-address=$leaseActMAC && active-address=$leaseActIP] host-name];
} else={
/queue simple remove $queueName
}

0 Response to "Script Dinamic DHCP Server Mikrotik"

Post a Comment

Silahkan Kirim Komentas yang membangun,,,tidak mengandung SARA

Postingan Populer

Contact Form

Name

Email *

Message *

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Template Blogger Terbaik Rekomendasi

Iklan Bawah Artikel