Another bit of dhcp configuring. This ti ... / 2011-02-11

2011-02-11 Another bit of dhcp configuring. This ti ... 9 years ago
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.

Tags: , ,

, reachable as koos+website@idefix.net. PGP encrypted e-mail preferred.

PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers pgp key statistics for 0x5BA9368BE6F334E4 Koos van den Hout
RSS
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated in 0.004481 seconds.