What does 'add "classname"' really do?

Dario Aguilar daguilar at arnet.net.ar
Wed Mar 18 12:45:46 UTC 2009


Hi, I have a doubt.. maybe it´s a stupid question but why you need to add
"1:" before the mac address when it is defined as a subclass? Some similar
thing happends to me with circuit-ID definition that I need to remove the
first 2 octects to make it match well.

Regards,

Dario Aguilar.

-----Mensaje original-----
De: dhcp-users-bounces at lists.isc.org
[mailto:dhcp-users-bounces at lists.isc.org] En nombre de Goesta Smekal
Enviado el: Martes, 17 de Marzo de 2009 05:31 p.m.
Para: Users of ISC DHCP
Asunto: Re: What does 'add "classname"' really do?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Glenn Satchell schrieb:
> Hi Goesta
> 
> You can simplify this by getting rid of the host statement all
> together, the 'allow members of' statement specifically excludes all
> requests that are not members of that class including known or unknown
> hosts, eg:
> 
> class "mammals" {
>   match hardware;
> }
> subclass "mammals" 1:00:50:56:00:00:01;
[...]

Well, this seems to be exactly what i wanted, except for one thing: I
need to supply the hostname to the client. Client OS is set up
automatically by FAI, which uses DHCP info to determine the hostname of
the client, which subsequently decides about software and config installed.

So my Problem is only partially solved yet ;-) I now am able to assign
hosts to pools and groups, at the cost of specifying the MAC twice.

Almost there ;-)

  thanks

  Goesta


- --
#!/usr/bin/perl
foreach $c (split(/ /,"47 6f 65 73 74 61 20 53 6d 65 6b 61 6c 0d 0a")) {
print pack("C", hex($c));}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknACH4ACgkQLAKF+YJZq5MXqwCcCY+wV29nYdUMIKYYDpXANZPr
1IsAoJ4h8q4fW9zSQ3j0+2Bv0blo/opd
=QqfF
-----END PGP SIGNATURE-----
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.237 / Virus Database: 270.11.17/2007 - Release Date: 03/17/09
10:18:00




More information about the dhcp-users mailing list