Assigning fixed IP to generated VDI desktops
Miloslav Hůla
miloslav.hula at gmail.com
Thu Nov 3 07:28:46 UTC 2016
Dne 03.11.2016 v 0:17 Bill Shirley napsal(a):
> You might try getting the Windows machine to release its lease on
> shutdown (outside the subnet):
> # https://msdn.microsoft.com/en-us/library/cc227278.aspx
> release-lease-on-shutdown
> option space Win2k;
> option Win2k.release-lease-on-shutdown code 2 = unsigned integer 32;
> # use 0 to disable, 1 to enable
>
> and then in the pool:
> vendor-option-space Win2k;
> option Win2k.release-lease-on-shutdown 1; # enable
We are already using this option. It sometimes works, sometimes it doesn't.
When it works, desktop sends DHCPRELEASE and on next boot DHCPDISCOVER.
When it does not work, there isn't any DHCP message and on next reboot
DHCPREQUEST for an old IP.
It's hard to debug why, because it is hard do debug VMware customization
process.
Milo
More information about the dhcp-users
mailing list