Community discussions

MikroTik App
 
MikroTikFan
Member Candidate
Member Candidate
Topic Author
Posts: 203
Joined: Sat Aug 02, 2014 1:13 am

Blocking same MAC address to get IP from DHCP

Wed May 03, 2017 8:09 pm

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?
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Blocking same MAC address to get IP from DHCP

Wed May 03, 2017 8:10 pm

Use smaller pool for the dhcp server distinct from the static address range and block that pool ip range by firewall.
 
MikroTikFan
Member Candidate
Member Candidate
Topic Author
Posts: 203
Joined: Sat Aug 02, 2014 1:13 am

Re: Blocking same MAC address to get IP from DHCP

Wed May 03, 2017 8:56 pm

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 ?
 
kevenker
just joined
Posts: 9
Joined: Mon Apr 04, 2016 6:19 pm

Re: Blocking same MAC address to get IP from DHCP

Wed May 03, 2017 9:48 pm

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.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Blocking same MAC address to get IP from DHCP

Wed May 03, 2017 9:56 pm

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?
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2880
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: Blocking same MAC address to get IP from DHCP

Thu May 04, 2017 12:07 am

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 ?

Who is online

Users browsing this forum: GoogleOther [Bot], jaclaz, Strange0ne and 117 guests