I am a newbie on Mikrotik routers and I want some help. The situation is this. I want to expand the ip range (IPV4) on dhcp network to /23. I have put on IP-> DHCP Server>Networks on Address /23 and on Pool 192.168.0.10-192.168.1.254 (example 192.168.0,0/23 but the leases are still on /24 subnet (254 IP range). I can not figure what I am doing wrong. A little help would be appreciated.
Agree with @kevinds that you need to verify that new subnet mask length is configured everywhere where needed.
As to IP address assignment: devices which are part of network, will try to extend DHCP lease of already used IP address and DHCP server will try to grant that. Only devices without valid lease will receive new leases from the extended address pool. Whether those will be from the lower (old) part or higher (new) part depends on how many addresses from pool are occupied and on the pool allocation strategy (some servers allocate addresses from lower end of pool, I don’t remember what strategy is used by MT DHCP server). So it might take a while before you see used addresses from the pool extension.
Thank you for your responses. I have done everything correct is working. But only one issue I have, when a device is new get a lease 192.168.0.255 is not having internet connection. How to disable the .255 to not forward this lease.
Also on IP Pool what is the correct scenario? To extend the IP range (example 192.168.0.10-192.168.1.254) or to create a second pool with (example one pool with this 192.168.0.10-254 and one with 192.168.1.2-200 with the next pool enabled on Winbox)?
@kevinds on IP adresses I have put 192.168.0.1/23 on Address and network 192.168.0.0 is that correct?
What is the dhcp client? As long as it obtained a lease for 192.168.0.255/23 that should be a valid usable address and likewise 192.168.1.0/23 should be a valid usable address as well.
If you just want have 192.168.0.255 not to be given out, could static assign it to a device that will never connect, MAC address 11:11:11:11:11:11 for example, or use two pools.
Yes, the IP address 192.168.0.1/23 would be correct. Make sure you have also adjusted the Firewall NAT rule as well.
Post your config on forum, is mostly rapid than ask continuosly what and where.
export with /export command, but remove sensible data from the config before posting it on forum (serial number, email, username and passwords)
If you want using 192.168.0.10-192.168.1.254
you must set two address interval inside the pool:
192.168.0.10-192.168.0.254 and 192.168.1.1-192.168.1.254
Some OS do not like IPs (even if are perfectly valids) than end with .0 or with .255
And I not mean 192.168.0.0 and 192.168.1.255 (than are invalid for other reason) but 192.168.0.255 and 192.168.1.0
I’m not sure that it’s OK to use own IP address as default gateway … you should be using your upstream gateway … or, if that IP address actually belongs to upstream gateway, you should assign ether1 different IP address.