Can't change network

Hi Everybody!

I can not change the “network” under IP/Addresses. Now the 10.0.8.0 is there, as you can see in the picture. If I try to change it and click on apply it jumps to back to 10.0.8.0.

Is this address saved somewhere and cannot be changed?

Thank you in advance.
interface.jpg

Basic IP

When you define an address using /22, 10.0.8.0 IS the network indicator for an address in the range 10.0.8.1 - 10.0.11.254.
This is 100% correct.

So what’s the actual problem you have and why do you think you need to change this ?

I need a dhcp pool that does not share addresses up to 10.0.10.2-10.0.10.20 (this is not a problem) and i need 1000 addresses on top of that. However, it is important that it does not start from 10.0.8.1 but from 10.0.10.1, so here is the geteway

The way Mikrotik DHCP server works, it will assign addresses from its pool top-down.
Has nothing to do with the network numbering.

It makes no difference if the pool starts bottom-up or is handed out top-down.
It doesn’t change anything on how an IP network functions.

So once again, where is the actual problem ?

The problem is that it starts with 10.0.8.0, it won’t allocate addresses up to 10.0.13.254 if the network is /22. What I need is to have addresses from 10.0.10.2 to 10.0.13.254.

Have you changed the IP pool? This is where you define the IP addresses that are available.

Yes i did, but if network is 10.0.8.0 and I set the pool to 10.0.10.2-10.0.13.254, then 10.0.12.1 and above are outside the range 10.0.8.0/22.

Again, basic IP (and again new info is being presented …)

/22 netmask starting from 10.0.8.0 results in IP range from 1.0.8.1 to 1.0.11.254
If you want to have 10.0.12.x and above included, you need to change your network topology (multiple subnets) or the netmask (wider range).

E.g. /21 will result in range from 10.0.8.1 - 10.0.15.254 and then you can set your pool to how you want it to be.

But why use such a huge pool ???

Can you show exactely what IP addresses should be available for DHCP?
You are aware that you can configure multiple pools?

In addition, can you please share your (relevant part of the) config:

/export hide-sensitive file=anynameyoulike

Remove serial and any other private info and post here between code tags by using the </> button.

Technical advice:

Don’t do the stupid thing of putting .0 and .255 in the pool too,
because often, even though they are OBVIOUSLY valid addresses, some devices don’t digest them because their software is crap.


pool:
10.0.10.2-10.0.10.254

  • 10.0.11.1-10.0.11.254
  • 10.0.12.1-10.0.12.254
  • 10.0.13.1-10.0.13.254

Sounds like a real need of understanding how subnetting works. A network does not simply start at whatever arbitrary address you want. There are specific breaks that can not be changed for an address and CIDR. Do a Google search for something like “How subnetting works” and do some reading. You can also download a subnet calculator for your phone or subnet calculator website.

You cannot.

Check here:
https://www.calculator.net/ip-subnet-calculator.html?cclass=any&csubnet=22&cip=10.0.10.1&ctype=ipv4&x=Calculate
scroll down to “All 64 of the Possible /22 Networks for 10.0..
/22 networks start with multiples of 4, 10 is not a multiple of 4.

The most you can have is a /23, as these network start at multiples of 2 and 10 is a multiple of 2, but then you won’t have enough IP’s.

if you check /21 networks, they start with multiples of 8, and 10 is obviously not a multiple of 8 (but it will be a valid superset of the range you want).