4.17 cool but bad dhcp issue when done worng

Was doing some DHCP work on a RB493 running 4.17 the other day, and when setting up the POOL portion I accidently reversed the starting address and the ending address of the pool.

So for example:

25.100.100.254-25.100.100.1
instead of
25.100.100.1-25.100.100.254

And WOW did it ever screw up that site. I had address’ showing up in the DHCP leases that ranged from blocks that didn’t even exist on that tower and some that don’t even exist on our network.

So when your setting up you DHCP make sure you have your pools right…cause it does really bad things.

Was not a good day.

That being said why is DHCP such a headache with RouterOS? Seems far more complicated then it should be.

That being said why is DHCP such a headache with RouterOS? Seems far more complicated then it should be.

It just gives you the options to customize it. Have you ever looked at configuring the ISC DHCPd reference package?

if it is too hard to set up server manually you can always use /ip dhcp-server setup command that will ask you for inputs and create dhcp server with network and pool on the interface you want.

After that you can manually set up extra options (configuration) that was not asked by dhcp-server setup wizard.