Community discussions

MikroTik App
 
poxx
newbie
Topic Author
Posts: 27
Joined: Sun Apr 18, 2010 12:16 pm

DHCP 'not (!)' option. (don't give DHCP in certain options)

Thu Jul 15, 2010 6:52 am

Hi guys,

I would like to have a NOT option in DHCP server. So for instance I can do this :

# Adding 'deny members of "DRBL-Client";' and the following

class "DRBL-Client" {
match if
(substring(option vendor-class-identifier, 0, 9) = "PXEClient") or
(substring(option vendor-class-identifier, 0, 9) = "Etherboot") or
(substring(option vendor-class-identifier, 0, 10) = "DRBLClient");
}

What this does is it checks for option vendor-class-identifier, then if the boot matches one option, it will *NOT* lease a DHCP address. Instead, the PXE DHCP server will lease the address.

Is this possible ? If not, can I request this as a future enhancement ?

Cheers.
 
poxx
newbie
Topic Author
Posts: 27
Joined: Sun Apr 18, 2010 12:16 pm

Re: DHCP 'not (!)' option. (don't give DHCP in certain optio

Sat Jul 31, 2010 6:23 am

I got a reply by email. Apparently, this is not possible with the current release of RouterOS.