Scrip di pasang di dhcp server hotspot

:local parent [/queue simple find name=”55.GALLERY HOTSPOT”]

:local network “10.1.0.0/20”

:local queueName “HOTSPOT- $leaseActMAC”;

:if ([:len $parent] = 0) do={/queue simple add name=”55.GALLERY HOTSPOT” limit-at=2M/2M max-limit=10M/10M target=”$network” packet-marks=no-mark}

:if ($leaseBound = “1”) do={

/queue simple add name=$queueName target=($leaseActIP . “/32″) max-limit=10M/10M limit-at=2M/2M burst-limit=15M/15M burst-time=8/8 parent=”55.GALLERY HOTSPOT”;

} else={

/queue simple remove $queueName

}

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *