Dhcp client issue

Ed Greshko Ed.Greshko at greshko.com
Fri Jan 29 09:23:36 UTC 2010


Marko Vojinovic wrote:
>
>    send dhcp-client-identifier = hardware;
>
> I haven't tried it (and I really can't set up a virtual dhcpd just to try it 
> out), but man dhcp-options says the following:
>
> <quote>
> SETTING OPTION VALUES USING EXPRESSIONS
>        Sometimes  it’s  helpful  to  be able to set the value of a DHCP option 
> based on some value that the client has sent.   To do this, you can use 
> expression evaluation.   The dhcp-eval(5) manual page describes how to write 
> expressions.   To assign the result of an evaluation to an option, define the 
> option as follows:
>
>    option my-option = expression ;
>
>    For example:
>
>    option hostname = binary-to-ascii (16, 8, "-", substring (hardware, 1, 6));
> </quote>
>   
Good catch.....

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100129/11fcc2fc/attachment.bin 


More information about the users mailing list