kappyninewood
Contributor
Contributor

My company has some restrictions which doesn't allow DHCP for desktops

Jump to solution

How would I go about using Linked Clones and therefore desktop instances if we can't use DHCP?

0 Kudos
1 Solution

Accepted Solutions
gunnarb
Expert
Expert

Not sure if this link will work, but the answer is you can't use static IPs with a Linked Clone desktop:

http://pubs.vmware.com/view-50/index.jsp?topic=/com.vmware.view.administration.doc/GUID-E20AE465-040...

Gunnar

Gunnar Berger http://www.gunnarberger.com http://www.endusercomputing.com

View solution in original post

0 Kudos
4 Replies
gunnarb
Expert
Expert

Not sure if this link will work, but the answer is you can't use static IPs with a Linked Clone desktop:

http://pubs.vmware.com/view-50/index.jsp?topic=/com.vmware.view.administration.doc/GUID-E20AE465-040...

Gunnar

Gunnar Berger http://www.gunnarberger.com http://www.endusercomputing.com

View solution in original post

0 Kudos
kappyninewood
Contributor
Contributor

Thanks.  I need an explanation as to why I can't use static IPs with linked clones. What can I tell them?

0 Kudos
gunnarb
Expert
Expert

Its not supported? Smiley Happy

Okay, I'll try harder.

Linked Clones all work from a master image, if you put a staic IP in this image it would copy itself to every VM, that won't work, so you have to leave it at DHCP.

You could try DHCP reservations if you were allowed to use DHCP, at least that way you'd have static-ish VMs.  However its pretty common that you'd build new pools, in this case you'd lose the MAC address and therefore all those reservations would be lost.

Honestly, if I absolutely had no choice, I think I could force a way to get this to work by scripting the crap out of the environment, but if DHCP isnt' allowed in the environment at all, I'm not sure how I'd initially communicate to the VM in order to script anything that would set a static IP.  A DHCP Server is needed just to start communicating with the VM.

Gunnar

Gunnar Berger http://www.gunnarberger.com http://www.endusercomputing.com
dhambleton
Contributor
Contributor

I have run into this before. It's ugly, but we've used a mini startup script that uses a host file to statically assign IP addresses to linked clones.

Darius