|reply to thewisperer |
Re: mikrotik question
In ip,dhcp server, leases, you have the option make static
Once that address is given out and made static, is it possible it will only give it out to the same mac?
Yes it will only hand that IP to the MAC if it's set for static. If another MAC requests the IP that has been statically assigned it will get a NAK. Even if it's not static Mikrotik IP allocations are 'sticky' through a reboot of the DHC Server. I suspect that you have another IP Address pool that is 192.168.x.y and the DHCP server has a failover action to that pool if the first pool is full. If not that then you have another DHCP server on that segment and it responded when the MT couldn't allocate.
how can I get those addresses back?
removing them from the list does not do it
When you delete the static entry they will get recycled but MT will continue to allocate addresses in the order it already is, so if for example you free up .254, .253, and .252 but the DHCP server is currently allocating .20. The the next IP it will allocate will be .19, it won't get back to the addresses you freed up until it runs out of addresses in the pool in the direction it's allocating (which is supposed to be highest to lowest per the RFC, but some versions of ROS are lowest to highest)