Community discussions

MikroTik App
 
aamirahmad170
just joined
Topic Author
Posts: 8
Joined: Tue May 15, 2018 3:22 am

Router OS assiging DHCP addresses in reverse order

Tue May 15, 2018 3:26 am

My router assigns ip addresses in reverse order

Can someone help??

It starts with 192.168.88.254

IT should start with 192.168.88.2

Am i missing something
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Router OS assiging DHCP addresses in reverse order

Tue May 15, 2018 8:25 am

That's how it works. What's wrong with it? Why is one order more important than another? Just use static assignments for known devices and others just get an ip dynamically. No need to worry about which number it will be...
 
aamirahmad170
just joined
Topic Author
Posts: 8
Joined: Tue May 15, 2018 3:22 am

Re: Router OS assiging DHCP addresses in reverse order

Sun May 27, 2018 4:04 pm

Thanks Jarda, i agree to your point. But previous configuration before the reset used to do the other way round.

Just curious if i can impose order, ??

Amir
 
sid5632
Long time Member
Long time Member
Posts: 554
Joined: Fri Feb 17, 2017 6:05 pm

Re: Router OS assiging DHCP addresses in reverse order

Sun May 27, 2018 4:17 pm

I found that making a leased address static in the server (at the bottom of the pool range) will then cause it to allocate addresses in ascending order.
If they are all dynamic then it allocates in descending order.
 
aamirahmad170
just joined
Topic Author
Posts: 8
Joined: Tue May 15, 2018 3:22 am

Re: Router OS assiging DHCP addresses in reverse order

Sun Jun 02, 2019 11:53 pm

Thanks Sid i wil try this
 
jorkoto
just joined
Posts: 1
Joined: Fri Jul 03, 2020 1:41 pm

Re: Router OS assiging DHCP addresses in reverse order

Fri Jul 03, 2020 1:49 pm

Hi,

I know that is pretty old - however - if you decrease the range ROS is going to kind of reverse (i.e. lets say instead 192.168.0.1-192.168.0.254 just use 192.168.0.100-192.168.0.200). That should give you the first dynamic of 192.168.0.100, second one 192.168.0.101, etc.
You can play with the bands once you have the logic....

Regards,
Georgi
 
deluck
just joined
Posts: 1
Joined: Wed May 19, 2021 7:00 pm

Re: Router OS assiging DHCP addresses in reverse order

Mon Jan 03, 2022 6:56 pm

Hi,

I found a solution to assign DHCP addresses in "normal" order.
In my local network I choose the 192.168.0.100-192.168.0.199 address range to use by DHCP Server. I made 2 address pools: dhcp 100-149 and dhcp2 150-199. I set the next pool dhcp2 in dhcp. In DHCP Server I set the address pool to dhcp, and the result is exactly what I want to. The DHCP Server assigns start with 192.168.0.100
(RouterOS v6.48.4)

regards,
deluck

Who is online

Users browsing this forum: Bing [Bot], NxtGen [Bot] and 122 guests