Page 1 of 1

Dhcp Server Question ( backward leases )

Posted: Fri Jun 11, 2010 10:40 am
by Panoulis
hi im new to mikrotik :)
i'm running V4.9 in RB750 and dhcp server running in one of its interfaces
everything is working fine
but i have one tiny annoying problem
my pool settings are
192.168.1.10 - 192.168.1.200

its working fine but the first addresses that mikrotik gives is the .200 and its giving them backwards
is there any way to make mk to give the addresses from the bigging ? (.20 then .21 then .22 instead off .200 then .199 then .198 )

excuse me for my bad English :)

Re: Dhcp Server Question ( backward leases )

Posted: Fri Jun 11, 2010 4:56 pm
by fewi
I don't think there is a parameter for it. I'm curious why it matters?

If there is no built in way you could hack around it by making a lot of pools that only contain one address each, specify the pool that contains only .20 as the DHCP pool and in that .20 pool set the next-pool attribute to the pool that contains only .21, which in turn points via next-pool to .22 and so on. With scripts you wouldn't have to do that manually, either.

Re: Dhcp Server Question ( backward leases )

Posted: Fri Jun 11, 2010 7:15 pm
by Panoulis
i know it can be done with static leases but i dont want to have someone to enter them manually
why it maters i have no idea they just wanted this way

with windows 2008 was easy because it gave the leases from the start address

but its ok if it cant be done :p

i was just curious and it would be nice to make my client happy :)