Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible in dhcpd.conf to ignore requests from a set of MAC addresses?

Something like this:

host vminstances {
    hardware ethernet d0:0d:*;
    ignore booting;
}
share|improve this question

migrated from superuser.com Dec 7 '09 at 12:03

This question came from our site for computer enthusiasts and power users.

1 Answer 1

up vote 5 down vote accepted

You can use something like:

class "ignored" {
        match if substring(hardware,1,4) = 00:02;
}


pool {
        deny members of "ignored";
        range 192.168.172.100 192.168.172.149;
        }
share|improve this answer
    
Do you need the 'range' set in the pool? I would have thought this was irrelevant. –  parsley72 May 9 '12 at 23:49
    
The range directive is just one way of defining a pool. –  Roy May 27 '12 at 20:57
    
I'm sure it's possible, but if you're trying to ignore based on MAC address then why specify a range? Is it necessary? –  parsley72 Jul 31 '12 at 1:22
    
The range relates to the pool of adresses to be assigned by the dhcp server, it does not relate to the filtering. Any client not matching the mac adresses defined in the class "ignored" will get adresses from this range. –  Roy Sep 8 '12 at 22:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.