Nested MAC then Option filter

Posts: 3
3294     0



I have a need to change the boot file name and server based on efi or bios boot AND a MAC address group.


I can use the mac address filter and add option 66,67 but have found no way to change these based on an option match


I can add an dhcp option filter but can not also use a mac address list to match against.


Is there any way to do both?


something like...


if MAC address in MAC list AND (dhcp-client-identifier="PXEClient:Arch:00000:UNDI:002001") then set options...



Re: Nested MAC then Option filter

Community Manager
Community Manager
Posts: 248
3295     0

You should be able to do it, either on a range or the whole network.


But on a range, you have to add one of the filters as a 'class filter' and one of them as a logic filter.


You get something like this (The infoblox dhcpd.conf does not 100% reflect reality)


# Option filter "Option-filter-1"
class "Option-filter-1" {
	match if (option routers = 22:22:22:01 or option host-name = "noname");
	default-lease-time 1800;
	min-lease-time 1800;
	max-lease-time 1800;
	option log-servers;

subnet netmask {
	pool {
		allow members of "Option-filter-1";
		if infobloxMACmemberof(substring(hardware,1,6), "IV Pumps") {
			# MAC filter "IV Pumps"
Showing results for 
Search instead for 
Did you mean: 

Recommended for You