Skip to content

IncludeOS/VirtualBox - DHCP timeout #1612

Open
@mjbright

Description

@mjbright

Trying to run an IncludeOS/acorn image on Virtualbox DHCP is timing out so an unusable static ip is assigned, see below.

Host is running Fedora27, VirtualBox 5.1.30.

Network adaptor was configured as Host-only adapter / vboxnet0.
VBoxNet DHCP is running on vboxnet0.
mjb 14069 13886 0 10:03 ? 00:00:00 /usr/lib/virtualbox/VBoxNetDHCP --ip-address 192.168.56.100 --lower-ip 192.168.56.101 --mac-address 08:00:27:14:74:70 --netmask 255.255.255.0 --network HostInterfaceNetworking-vboxnet0 --trunk-name vboxnet0 --trunk-type netflt --upper-ip 192.168.56.254

Console output shows DHCP is timeing out:

 [ Network configure ] Configuring network           
    [ Network ] Creating stack for VirtioNet on eth0                                                     
      [ Inet4 ] Bringing up eth0 on CPU 0           
      [ Inet4 ] Negotiating DHCP (10.0s timeout)... 
[ Network configure ] Configuration complete        
   [ Autoconf ] Finished  
================================================================================                         
 IncludeOS v0.11.0-rc.2 (x86_64 / 64-bit)           
 +--> Running [ Acorn Web Appliance ]               
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                         
     [ DHCPv4 ] Negotiation timed out (eth0)        
[ Network configure ] DHCP timeout (eth0) - falling back to static configuration                         
      [ Inet4 ] Network configured                  
                IP:             10.0.0.42           
                Netmask:        255.255.255.0       
                Gateway:        10.0.0.1            
                DNS Server:     10.0.0.1            
    [ Memdisk ] Initializing                        
        [ FAT ] Initializing FAT12 filesystem       
                [ofs=0  size=1380 (706560 bytes)]   

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions