Hi My friend,
is there is a way to exclude a specific IP address from a DHCP Range?
I mean my DHCP Range from 10.3.0.11-10.3.0.200 and I want to exclude the ip 10.3.0.80
I tried to do like this 10.3.0.11-10.3.0.79,10.3.0.83-10.3.0.250 but that is not accesptable in mikrotik
Thanks in advance for your help!
- You can either set
10.3.0.11-10.3.0.79,10.3.0.83-10.3.0.250 as address range in the pool setting. If using WinBox, you’ll need to click on the downward triangle button to add a 2nd line for the 2nd range.
/ip pool
add name=my-pool ranges=10.3.0.11-10.3.0.79,10.3.0.83-10.3.0.250
- Or you can create two address pools each with one of those two range, then on the first pool set
next-pool to point to the 2nd pool (see IP Pools - RouterOS - MikroTik Documentation). In your DHCP Server set the 1st pool as pool.
- Or you keep just one continuous pool like now, but under DHCP Server → Leases add a static leases for a bogus MAC Address or Client ID for
10.3.0.80.