VMware

This Question is Not Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
4 Replies Last post: Nov 9, 2009 1:04 PM by scotty p  

Virtual and Physical DHCP Servers posted: Nov 6, 2009 1:36 PM

Click to view scotty p's profile Hot Shot 284 posts since
Jun 11, 2007

I have 2 domain controllers - DC1 (Physical) - DC2 (Virtual). I have a split scope for DHCP on them, however, leases are always grabbed from DC1 until it has filled up. Does this have anything to do with DC2 being virtual and possibly taking longer to respond to DHCP requests? This behavior just seems a little odd.

Thanks,
Scott

Re: Virtual and Physical DHCP Servers

1. Nov 7, 2009 3:35 AM in response to: scotty p
Click to view amvmware's profile Hot Shot 148 posts since
Feb 26, 2007
Probably not. If this is MS DHCP and both scopes are on the same subnet then the DHCP discovery process is based on finding the DHCP server it can connect with first - splitting DHCP scopes on the same subnet is a bit pointless as the clients will connect to the server that responds the fastest - so load balancing is not achieved. DHCP discovery for a client is based on sending out discovery packets on the LAN and if a DHCP server exists, it then responds - if you have multiple DHCP servers on the same LAN then it is which DHCP server responds first - this could be influenced by simple factors such as utilisation of the server, location on the network ..etc. The scenarion is best implemented across subnets - so in the event of a DHCP server failure the clients DHCP discovery packets will be routed to the other DHCP server - this assumes that bootP forwarding is configured on the routers to handle this traffic.

Have both DHCP servers been authorised and their scopes active?

Is DNS configured so that when the clients get a DHCP address it is then registered in DNS ? - If their primary DNS server is DC1 then that would explain it.

You could test the scenario by deactivating the scope on the 1st DHCP server and do an ipconfig release and then renew on a pc and see if it gets an ip address from the vm DHCP server.

It could also be that as DC1 is the primary DNS server for the clients that they are doing name resolution at that server and it hosts the DHCP service as well - another option would be to try relocating the DHCP service to a member server - but as i said, 2 DHCP servers on the same LAN segment won't provide load balancing.

Re: Virtual and Physical DHCP Servers

3. Nov 9, 2009 10:28 AM in response to: scotty p
Click to view amvmware's profile Hot Shot 148 posts since
Feb 26, 2007
Scott

Correct it is pot luck as to which DHCP server will respond first - The DNS running on the same server should not be a factor.

If i was implementing DHCP i would have a primary DHCP server with the full set of scopes configured and do the same thing on the second DHCP server - but leave it unauthorised - so if i have a problem with the first DHCP server i can then authorise the second DHCP server that has a replica of the original DHCP scopes.

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities