Hello,
Will a view desktop get a fixed IP from DHCP after reset/reboot/refrash ? Thanks.
TRY THIS!
LINK: https://www.jasonpearce.com/2012/04/13/vmware-view-static-ip-addresses-for-linked-clones/
Raul.
VMware VDI Administrator.
Stay Connected Don't forget to:
Like > Share > Comment > Reply > Helpful > Answered
According to the article at https://www.jasonpearce.com/2012/04/13/vmware-view-static-ip-addresses-for-linked-clones/ , the desktop VM needs a second vNIC, why the second vNIC is required ?
One for normal DHCP that remains unchanged.
The second vNIC targets the script to give it a static IP address that matches a pre-determined computer name.
The script looks like this:
IF %computername%==VDI-1 NETSH interface ip set address name="Local Area Connection 5" static 172.2.50.51 255.255.255.0 172.2.50.1 1
IF %computername%==VDI-2 NETSH interface ip set address name="Local Area Connection 5" static 172.2.50.52 255.255.255.0 172.2.50.1 1
Raul.
VMware VDI Administrator.
Stay Connected :smileyplus: Don't forget to:
Like > Share > Comment > Reply > Helpful > Answered