Guest cannot get IP address via DHCP w/ bridged networking
Posted: 27. Feb 2014, 20:25
I'm having an issue with bridged networking and guests not being able to get their IP addresses. I've seen a lot of other posts from people with similar issues, but no solutions that have worked for me. I've used WireShark to try and figure out what's going on, and it looks like the bridged adapter is not correctly passing some UDP packets to the guest for some reason.
When I request an IP address from the guest (ipconfig /renew), the command returns after a couple of minutes with the message, "An error occurred while renewing interface Local Area Connection : unable to contact your DHCP server. Request has timed out."
The WireShark capture on the host shows repeated DHCP Discover packets, each followed by a DHCP Offer from the domain controller. All these messages have the correct client MAC address (that of the guest). It also shows some DHCP Inform packets which are (apparently) intended for the host (as well as the host's Ack in response). The WireShark capture on the guest shows the DHCP Discover packets. It does not show the DHCP Offer packets, but it does show the DHCP Inform packets (which were meant for the host). So it appears that the broadcast packets which are intended for the guest are not getting to the guest; but those intended for the host are? I'm not enough of a networking guy to really grok what is going on here. Here are the capture files from WireShark if that helps. Anyway, here is my setup:
Thank you for your time!
When I request an IP address from the guest (ipconfig /renew), the command returns after a couple of minutes with the message, "An error occurred while renewing interface Local Area Connection : unable to contact your DHCP server. Request has timed out."
The WireShark capture on the host shows repeated DHCP Discover packets, each followed by a DHCP Offer from the domain controller. All these messages have the correct client MAC address (that of the guest). It also shows some DHCP Inform packets which are (apparently) intended for the host (as well as the host's Ack in response). The WireShark capture on the guest shows the DHCP Discover packets. It does not show the DHCP Offer packets, but it does show the DHCP Inform packets (which were meant for the host). So it appears that the broadcast packets which are intended for the guest are not getting to the guest; but those intended for the host are? I'm not enough of a networking guy to really grok what is going on here. Here are the capture files from WireShark if that helps. Anyway, here is my setup:
- Host is Windows 7 x64, network adapter is Intel Centrino Ultimate-N 6300 AGN
- Guest is Windows 2008 R2 x64
- VirtualBox version 4.2.18
Thank you for your time!