Is there any way to include dynamic info in the DHCP REQUEST?

Sean McMurray sean at mvtel.com
Thu Jun 4 14:17:58 UTC 2015


man dhclient includes documentation for:
-I <dhcp-client-identifier>
               Specify the dhcp-client-identifier option to send to the 
DHCP server.
-H <host-name>
               Specify  the  host-name option to send to the DHCP server.
-V <vendor-class-identifier>
               Specify the vendor-class-identifier option to send to the 
DHCP server.
-R <option>[,<option>...]
               Specify the list of options the client is to request from 
the server.
               The default option list is:
                   subnet-mask, broadcast-address, time-offset, routers,
                   domain-search, domain-name, domain-name-servers, 
host-name,
                   nis-domain, nis-servers, ntp-servers, interface-mtu



On 06/04/2015 04:33 AM, Fredrik Persson wrote:
> Hi, new to the list!
>
> Is there a way to include dynamic information in a "send" to the dhcp 
> server?
>
> Something like this (I know that this does not work, but it gives an 
> idea of what I am looking for):
>
> interface "eth0" {
>     send <some parameter> $SOME_ENV_VAR;
>     request subnet-mask,
>             broadcast-address,
> /* ... */
> }
>
> Thanks in advance,
>
> Fredrik Persson
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150604/f35c26ae/attachment.html>


More information about the dhcp-users mailing list