Page 1 of 1

Blocking same MAC address to get IP from DHCP

Posted: Wed May 03, 2017 8:09 pm
by MikroTikFan
Please help me how to solve the problem getting access by device to the internet.
I have implemented on Mikrotik DHCP server and fixed IP per device.
But when I neet to block device on the DHCP Server Leases (for example for kids) and disabling this device same device gets new dynamic IP.
This is the way this works now.

I need to blocked this new DHCP IP for same device by MAC.

How to run this configuration?

Re: Blocking same MAC address to get IP from DHCP

Posted: Wed May 03, 2017 8:10 pm
by jarda
Use smaller pool for the dhcp server distinct from the static address range and block that pool ip range by firewall.

Re: Blocking same MAC address to get IP from DHCP

Posted: Wed May 03, 2017 8:56 pm
by MikroTikFan
Thank's for hint.

I wondering if there is any solution to block new DHCP lease by same MAC address listed in DHCP Lease list.
How can I blocked DHCP pool in firewall from takind double MAC address?

Otherwise Blocking all in firewall means manual work each time.

Can just block MAC duplication in DHCP ?

Re: Blocking same MAC address to get IP from DHCP

Posted: Wed May 03, 2017 9:48 pm
by kevenker
Hi MikrotikFan,
I'm a newbie. What are you trying to do with this setup? Always looking for ideas on how to manage my kids' internet access.

Re: Blocking same MAC address to get IP from DHCP

Posted: Wed May 03, 2017 9:56 pm
by jarda
I don't understand you well enough most probably. I thought you have some devices that you want to allow communicate somewhere and some that you do not know in advance that should not be allowed. Is it so?

Re: Blocking same MAC address to get IP from DHCP

Posted: Thu May 04, 2017 12:07 am
by BartoszP
If you make DHCP lease static then IP is "glued" to particular MAC address so there is no way ... should be no way .. to aquire different IP by this MAC again. Have you got an example of such problem ?