Disable Dynamic DHCP

Hi Friends,
i want to ask you if i can to disable dynamic DHCP server and only work with MAC addresses which i add to it. :sunglasses:

Yes, you can.
‘ip dhcp-server set address-pool=static-only’, then leases will be assigned from ‘ip dhcp-server lease’ configuration.

but i want to ask, if any mac address not assigned on these DHCP-SERVER Lease it can put a static ip address and log in to my network very easy ??? :open_mouth:

You may use static arp table, that only hosts are allowed from table (user should have specific IP/MAC address).

Please tell me how to deploy this last step for static arp table :laughing:

The easiest way to accomplish it.
‘interface ethernet set <local_interface> arp=reply-only’.
‘ip dhcp-server set <dhcp_server_number> add-arp=yes’.

So, DHCP-server will create ARP entries for clients from DHCP-leases.