IP Range

Hi, I have RB 951Ui-2nD

I have “defconf” DHCP server in range 192.168.0.1-255. Can I create another IP pool and DHCP range 192.168.1.1-255 and use def gateway 192.168.0.1
I would like to make all IPs on 192.168.1.1 static and I was planing to use “Make static” directly in Leases tab.
Is there any problem with it?

They will not be router through gateway because I thing that 192.168.0.1 is with /24. To do this you have to change it to /23.

So I need another subnet to achieve this? I dont like this idea.
Is there any other way to do so?

With all respect to your knowledge and membership, please remove double post.
Basicly I dont understand subneting. Watched and read tons of literature but understand only the concept. Im practically huge 0. If you fave few word by you to say?

Do I need to put 192.168.0.1 ( defconf ) in /23 and then make this or put 192.168.1.1 in /23?

Let me add one more bit to the ton. If you use binary notation of the IP address rather than a decadic one, your case will look as follows:
individual address 192.168.0.1: 1100 0000.1010 1000.0000 0000.0000 0001
mask /24: 1111 1111.1111 1111.1111 1111.0000 0000
subnet address 192.168.0.0: 1100 0000.1010 1000.0000 0000.0000 0000
broadcast address 192.168.0.255: 1100 0000.1010 1000.0000 0000.1111 1111

individual address 192.168.1.1: 1100 0000.1010 1000.0000 0001.0000 0001
mask /24: 1111 1111.1111 1111.1111 1111.0000 0000
subnet address 192.168.1.0: 1100 0000.1010 1000.0000 0001.0000 0000
broadcast address 192.168.1.255: 1100 0000.1010 1000.0000 0001.1111 1111

individual address 192.168.0.1: 1100 0000.1010 1000.0000 0000.0000 0001
mask /23: 1111 1111.1111 1111.1111 1110.0000 0000
subnet address 192.168.0.0: 1100 0000.1010 1000.0000 0000.0000 0000
broadcast address 192.168.1.255: 1100 0000.1010 1000.0000 0001.1111 1111
The “blue” part of the gateway address (the subnet prefix) must be the same like the blue part of the own address of the device.

So either change the subnet to a /23 one on the respective /ip address and /ip dhcp-server network rows, so that also devices in 192.168.1.0-192.168.1.254 range would still have the 192.168.0.1 within their own subnet, or add a separate /ip address row with address=192.168.1.1/24 and the same interface like the one with address=192.168.0.1/24 uses, and also add a separate /ip dhcp-server network row indicating 192.168.1.1 as the default gateway for 192.168.1.0/24.

Hey Sindy,
I do like you said and I failed.
I try /23 and 192.168.1.1 and gateway 192.168.0.1 and 192.168.1.1
Also I tryy with /24 and no success.

You will see from photo ( screenshot made while trying /24 like you said.), targeted device for .1.1 is Galaxy S10.
Can you suggest me corrections ?

Thanx in advance
mikrotikrange.jpg

You can change the DHCP range. A server with IP pool 192.168.0.1-255 is invalid. You need to exclude your router 192.168.0.1 and 192.168.0.255 broadcast. Do you really have that many devices on a RB 951Ui-2nD router? How about you set an IP plan like -
192.168.0.1-10 Network devices
192.168.0.11-20 Servers
192.168.0.21-40 Media devices
192.168.0.51-100 Fixed DHCP leases
192.168.0.101-253 DHCP Pool.

With a /23, a single address at the router (192.168.0.1 or 192.168.1.1, or even 192.168.1.243, doesn’t matter) is sufficient. For /23, 192.168.0.0 through to 192.168.1.255 is the same subnet. What is necessary is that the /ip dhcp-server network row inidicates that address as default-gateway (and usually also as dns-server) for that subnet.

Also, you cannot attach more than a single DHCP server to a single interface. Hence the static lease for the Samsung device must be linked to that particular server, and you don’t need the pool for 192.168.1.x at all if you only want to assign leases from that range statically.

Don’t use screenshots to inform about your configuration, their information density per screen pixel is terribly low and important parts are typically forgotten (like /ip dhcp-server network in your case). Follow the advice in my automatic signature instead.