2011-02-11
Another bit of dhcp configuring. This ti ...
Another bit of dhcp configuring. This time not to deny an entire subset of ethernet addresses such as the previous case of denying DHCP to an entire vendor range but this time to one specific ethernet address. Config snippets:class "rogue-clients" { match hardware; } # rogue clients. Match hardware including type 1 (ethernet) # internet connection sharing + v6 probleem subclass "rogue-clients" 1:00:00:00:xx:aa:bb; subnet .. { pool { range ..; deny members of "rogue-clients"; } }and the DHCPNAK and 'no free leases' messages show up as wished.The correct notation of a 'hardware' class in dhcpd got me again on the first try: you need to include the hardware type (1 for Ethernet).
Sources: Deny DHCP Address by MAC Address? (with the WRONG notation for hardware + mac address and Problem using subclasses, getting no free leases with the right notation.