Forcing a Mac address to a specific pool

Bill Campbell bill at celestial.com
Wed Jul 9 22:29:10 UTC 2008


On Wed, Jul 09, 2008, Gideon Viator wrote:
>
>   Hey guys,
>
>
>   I am running ISC dhcp software in redhat linux enterprise. There are
>   multiple pools setup. I have a client that I want to only obtain an IP
>   address from a specific pool. I am denying them in a previous pool by
>   mac address using a class and matching the hardware substring. But
>   once denied, it does not continue to the second pool. I also need to
>   block everyone else from the second pool except that users mac. How do
>   I do this?

Why don't you assign that client a specific IP address using a
host declaration such as:

host somehost.example.com {
	hardware ethernet 00:11:d8:c2:61:45;
	fixed-address 192.168.253.66;
}

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186

Each individual of the society has a right to be protected in the
enjoyment of his life, liberty, and property  no part of the property
of any individual can, with justice, be taken from him, or applied to
public uses, without his own consent -- John Adams


More information about the dhcp-users mailing list