Login  Register

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

Posted by Sean McMurray on Jun 04, 2015; 1:59pm
URL: http://isc-dhcp-users.193.s1.nabble.com/Is-there-any-way-to-include-dynamic-info-in-the-DHCP-REQUEST-tp140p143.html

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
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users