Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I have a computer, called Loki, that works as a virtual machine host and DHCP server. The DHCP daemon is listening on port eth0. Part of /etc/dhcp.conf:

subnet netmask {

host Windows7VM {
    hardware ethernet 08:00:27:57:C9:69;
    option subnet-mask;
    option broadcast-address;
    option routers;

host TerminalAdam {
    hardware ethernet ...;
    option subnet-mask;
    option broadcast-address;
    option routers;

eth0 is configured like this:

ifconfig eth0 netmask

There is another computer, called TerminalAdam. The DHCP client configuration of TerminalAdam works fine. Now I need to connect Windows7 virtual machine to this network, so that both TerminalAdam and Windows7VM DHCP clients are configured by Loki's DHCP server.

In VirtualBox VM network settings I choose bridge, device eth0. When I turn on the VM, I get this in /var/log/messages.log several times:

Apr 27 14:36:41 localhost dhcpd: DHCPDISCOVER from 08:00:27:57:c9:69 via eth0
Apr 27 14:36:41 localhost dhcpd: DHCPOFFER on to 08:00:27:57:c9:69 via eth0

But in Windows I have "connection to network is not available" in the network adapter status and I cannot connect.

share|improve this question
Are you running the VirtualBox VM guest on the same host that is acting as DHCP server? –  uther Apr 27 '12 at 13:25
Additionally, is TerminalAdam also a VM guest? –  uther Apr 27 '12 at 13:31
@uther TerminalAdam is a separate computer, and both VBVM guest and DHCP server run on the same machine. –  Dadam Apr 27 '12 at 13:54
For completeness, would you edit your question with that information? It will help you get a higher quality answer. –  uther Apr 27 '12 at 13:56
@uther Yes, I added that information just after your edit –  Dadam Apr 27 '12 at 14:14

1 Answer 1

I have observed the same on VirtualBox: Sometimes DHCP does not work at all, sometimes it takes some time until the DHCP-request "goes through". Try to emulate a different network card.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.