I am experimenting with bringing up a VM server cluster. I have just two servers in it so far, and am having trouble getting DHCP working on the VMs.
The VM network has two bonded 10 Gb NICs, connected to the IT network. On a Windows-based test VM, if its IP and DNS servers are set statically, it can connect to the internet with no problems. However, if set to DHCP, it doesn't connect. More specifically, ipconfig /renew hangs for about 2 minutes, and ultimately returns this message:
An error occurred while renewing interface Ethernet Instance 0 : unable to contact your DHCP server. Request has timed out.
My interfaces file for the host with the problematic VM is set quite similarly to the very last example on this page (right above the disabling IPv6 section).
If I run this on the host:
tcpdump -vv -i bond1 udp port 67
I see DHCP requests coming from the Windows-based VM.
I'm not clear if this kind of problem could be due to something I'm missing in the interfaces file on my end, or represents something that needs to be corrected by my IT department. I'm working in coordination with them, but finding the people with the expertise to figure this out is proving challenging. I'm hoping to find someone who might be doing something similar and has already solved this. Thanks in advance!
The VM network has two bonded 10 Gb NICs, connected to the IT network. On a Windows-based test VM, if its IP and DNS servers are set statically, it can connect to the internet with no problems. However, if set to DHCP, it doesn't connect. More specifically, ipconfig /renew hangs for about 2 minutes, and ultimately returns this message:
An error occurred while renewing interface Ethernet Instance 0 : unable to contact your DHCP server. Request has timed out.
My interfaces file for the host with the problematic VM is set quite similarly to the very last example on this page (right above the disabling IPv6 section).
If I run this on the host:
tcpdump -vv -i bond1 udp port 67
I see DHCP requests coming from the Windows-based VM.
I'm not clear if this kind of problem could be due to something I'm missing in the interfaces file on my end, or represents something that needs to be corrected by my IT department. I'm working in coordination with them, but finding the people with the expertise to figure this out is proving challenging. I'm hoping to find someone who might be doing something similar and has already solved this. Thanks in advance!
Last edited: