Community discussions

MikroTik App
 
miankamran7100
Member Candidate
Member Candidate
Topic Author
Posts: 251
Joined: Tue Sep 17, 2019 9:28 am

Block dynamic ip in dhcp leases (Script)

Sun Oct 16, 2022 5:33 am

Dear all,
Hope you are fine.
I have running hotpost server. IN DHCP server I make users static. Which is my trusted users
I want to block newly connected DHCP user (which is connected with dynamic ip)
I want to block in Hotspot host list

I need script which block users in dhcp.

Thanks

regards,
You do not have the required permissions to view the files attached to this post.
 
akakua
newbie
Posts: 49
Joined: Mon Apr 06, 2020 4:52 pm

Re: Block dynamic ip in dhcp leases (Script)

Sun Oct 16, 2022 8:13 am

ip dhcp-server set dhcp1 address-pool=static-only
Last edited by akakua on Sun Oct 16, 2022 2:34 pm, edited 1 time in total.
 
Ratatouille
just joined
Posts: 22
Joined: Mon May 25, 2020 11:57 pm
Location: Africa

Re: Block dynamic ip in dhcp leases (Script)

Sun Oct 16, 2022 2:25 pm

For added security, you may want to enable "Add ARP for Leases" for the DHCP server and the interface ARP setting to "reply-only".

Ref.: Add ARP for leases, what does it do?

Who is online

Users browsing this forum: rextended and 32 guests