Re: Dhcp client issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.....

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux