VMWare Horizon View

I am working with a VMWare Horizon View (v6) environment that, for reasons I won't get into, is required to use static IPs for certain workstations.

I'm curious what methods companies are using to implement static IPs in their VMWare Horizon View environment.

I've tried creating a script/batch file that uses netsh to change the IPs and DNS on the impacted workstations, and set that script to launch under post-sync options in the desktop pool, but it never seems to run or work properly.

If this is something you've dealt with, I'd love to hear, in detail, what you did to implement a method to automatically assign static IPs.

Thank you!
LVL 1
FirstcomAsked:
Who is Participating?
 
Alessandro ScafariaInfrastructure Premier Field AdministratorCommented:
I've performed this in the past in a lab environment.....and I used 2 vNIC for the purpose.....

Have you already read this article? Read also comments too!!

https://www.jasonpearce.com/2012/04/13/vmware-view-static-ip-addresses-for-linked-clones/
0
 
jhyieslaCommented:
Mostly we use DHCP.  However, we have a few machines that we need to keep static. In this scenario we create the machines and assign static IP's, but the users do NOT use the View system to access the machines.  They are using a remote desktop so the machines never get broken down and rebuilt.

I suppose that you could also set the machines to not power off or to not delete or refresh on disconnect, which would allow them to keep a static IP.  You could also use persistent desktops and give them a static IP once they're up. Of course all of this fails if you have to rebuild, but these would work.
0
 
FirstcomAuthor Commented:
We are looking to use a linked-clones environment where the IPs are assigned on VM creation/rebuild. I have a script that can handle this that assigns it based on the device name, but as I stated above - it doesn't seem to be functioning properly when configured as a post-sync script.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.