Australia and New Zealand's Premier Virtualisation Community





Home Make Text BiggerMake Text SmallerReset Text Size
DHCP Problems in a Virtual Machine ? PDF Print E-mail
Written by Damian Murdoch   
Thursday, 04 January 2007

Matt Jones has provided another excellent article with problems and solutions at Gorillapond.com

This time he talks about DHCP server problems inside virtual machines,  he says in the article "It appears to be an issue with DHCP requests from different VLANS to a virtual machine running a DHCP server." He goes on to explain the solution which is just to reset the virtual network card.

If you want to read the original article then click here or read on for a copy of it.

VMware ESX 3 and DHCP Servers in a Virtual Machine

For the last 2 days we were having network connectivity trouble with our clients. It appears to be an issue with DHCP requests from different VLANS to a virtual machine running a DHCP server. I’m not sure it’s caused by ESX’s virtual networking or ESX’s interaction with our Cisco equipment. I have had this issue with both Windows 2000 Server and Windows Server 2003’s DHCP servers. It would be interesting to know if a Linux server would have the same issue. I have had this issue a few times, once when we first setup our virtual infrastructure and again just this week after I rebooted the DHCP server.

Problem:

Clients that were rebooted were not able to logon properly or surf the internet, they effectively dropped off the network. Clients were receiving IP addresses that were not for their VLAN. For example, clients in the 10.80.8.x/21 subnet were getting 10.80.0.x/21 addresses. These clients were only able to ping the DHCP server.

Solution:

  1. Open Virtual Infrastructure Client
  2. Find & select virtual machine running DHCP
  3. “Edit Settings” on virtual machine
  4. Select network adapter used for DHCP
  5. Uncheck “Connected”
  6. Click “OK”
  7. “Edit Settings” on virtual machine again
  8. Select network adapter used for DHCP
  9. Check “Connected”
  10. Click “OK”

Essentially you are resetting the network connection. I don’t know why this works, but I’d like to know!

 
Tag it:
Delicious
Furl it!
Scuttle
Spurl
< Prev   Next >
Who's Online



Want to help ?

Joomla! Template Supplied by Netshine Software Limited