Community discussions

MikroTik App
 
felipefonsecahy
just joined
Topic Author
Posts: 14
Joined: Fri Jun 09, 2023 3:16 am
Location: Brazil

Problems with assign static IP to specific mac in mikrotik

Wed Feb 28, 2024 3:12 pm

Hi!
I have a network 192.168.0.0/24 and i created a dhcp server with pool 192.168.0.20-192.168.0.250
But, i want to set specific IP for example 192.168.0.6 to specific MAC.
First, i go in dhcp-> leases and set make static in specific device (for example this device get 192.168.0.21).
When i change ip after set make static, the status from device is "waiting" and i can't ping the device from de new ip.

What i'm doing wrong?
 
User avatar
baragoon
Member
Member
Posts: 386
Joined: Thu Jan 05, 2017 10:38 am
Location: Kyiv, UA
Contact:

Re: Problems with assign static IP to specific mac in mikrotik

Wed Feb 28, 2024 4:36 pm

release/renew ip on client
 
User avatar
k6ccc
Forum Guru
Forum Guru
Posts: 1586
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)
Contact:

Re: Problems with assign static IP to specific mac in mikrotik

Thu Feb 29, 2024 5:50 am

Or reboot the client. Or disconnect the LAN cable to the client and then re-connect it. Or wait a while.

Changing the IP to static or changing that IP address on the server does NOT force an immediate IP change on the client. The IP will change next time the client requests an address.