On Tue, Jun 17, 2008 at 1:13 PM, Anders Hagman <anders dot hagman at netplex dot se>
wrote:
>
>
> Here is my "solution":
> I copied a dhcp.conf file to /var/etc from the exec.php page.
>
> ------------ dhcpd.conf -----------
> class "blocked" {
> match pick-first-value (option dhcp-client-identifier,hardware);
> }
> subclass "blocked" 1:00:00:20:11:22:34; # client mac address
>
> subnet 10.1.2.0 netmask 255.255.255.0 {
> pool {
> deny members of "blocked";
> range 10.1.2.11 10.1.2.30;
> }
> }
> -------------------------------
>
> Just add subclass lines for every client to deny. Don't forget the "1"
> before the mac address. It states hardware type to ethernet.
> How to put this into the gui and so on is for some one else.
>
> /Anders
Tnx m8, I'll try this out as soon as I find the time this week ;-)
Kind regards,
Y |