We help IT Professionals succeed at work.

DHCP Not Working With Deployed Linked Clone Desktops

Anthony6890
Anthony6890 asked
on
Hi All,

I've been working on an issue with my VMWare environment.  I had created a virtual machine in vcenter and attempted to use the MAC address to reserve an IP address in the DHCP protocol from my DC.  I setup the IP range and setup the filter to allow the IP address for this one desktop; however, it doesn't seem to work.  The virtual desktop is stuck with a 169.254 ip address.  Is there something I'm missing with the vm itself?  I'm currently using vSphere 5.5 and View 6.  

Any direction on this would be extremely helpful.

-Anthony
Comment
Watch Question

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
seems like it's not getting an IP Address at all.

If you just setup DHCP, set the TCP/IP in the VM to DHCP (Obtain IP Address)

Don't set a MAC Address in DHCP Scope, does it get an IP Address normally ?

Author

Commented:
Andrew,

I just noticed that this server I'm working on doesn't have an activated version of Windows Server 2008 R2.  Would DHCP not work if it's not properly activated?
Seth SimmonsSr. Systems Administrator

Commented:
if windows isn't activated and when you login it prompts for a key, network connectivity won't function except for an activation attempt.  so yes, i can see that being the blocker here

Author

Commented:
Ok that makes sense then.  Let me try to get the activation correct and then I'll give it the old college try again.

Thanks.

Author

Commented:
Ok, so I was able to activate the server correctly and I removed the MAC address filtering to attempt to get any IP address and still nothing.  Still remains with the 169.254 address.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Okay, so DHCP is not working.

Do you have anything non-virtual which can check DHCP is working ?
Seth SimmonsSr. Systems Administrator

Commented:
is the dhcp server authorized?
can you temporarily give that client a static address and see if you can ping the 2008 server to make sure there are no network issues in between preventing it from getting an address?

Author

Commented:
Unfortunately I don't have something non virtual that I can check. Is there a possibility I have an issue with the setup of the vm?  Is there anything I need to do to the vm itself?

Author

Commented:
I gave the client a static IP and I can ping the DHCP server.
Seth SimmonsSr. Systems Administrator

Commented:
is there any firewall in between that could cause dhcp communication to not go through?

Author

Commented:
The firewall on the Windows side is turned on.  I would have to check and see if the physical firewalls wouldn't allow it.
Most Valuable Expert 2015

Commented:
You said you reserved the MAC address. Are you sure the MAC address is correct for the virtual NIC, and that it isn't being used by any other device that is already running?

Author

Commented:
I removed the MAC address reservation to see if I could get any IP address from the range specified and still no luck...

Author

Commented:
If it helps any, the network is setup with VLAN's so each designated VM Desktop will have it's own specific VLAN...
Most Valuable Expert 2015

Commented:
Have you checked your DHCP server's logs?
Sr. Systems Administrator
Commented:
that was another thought that i had...if they are not on the same vlan then that would explain it
the dhcp server would have to be on the same vlan or (if you have cisco equipment) has the ability to have dhcp broadcast go across vlans

Author

Commented:
Ok, then that's it because they are not on the same VLAN.  So this is something I won't be able to use then, which now makes more more sense.