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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.