Re: Is there any way to include dynamic info in the DHCP REQUEST?
Posted by
Simon Hobson on
Jun 04, 2015; 12:01pm
URL: http://isc-dhcp-users.193.s1.nabble.com/Is-there-any-way-to-include-dynamic-info-in-the-DHCP-REQUEST-tp140p141.html
Fredrik Persson <
[hidden email]> wrote:
> 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,
> /* ... */
> }
Is this a Linux/Unix like system ? I know on GNU/Linux systems, the ISC client is typically called by a script, and also calls a script to configure the OS when it gets a lease or the lease expires.
Depending on how dynamic the information needs to be, then you can configure the client to add customer options - and if you configure the scripts correctly, to do something with options returned. You may have issues changing the information - you may have to detect the change, and restart the client for it to take effect.
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users