Hi,

I have been using Virtual Box for a little while now and have generally 
found things simple to get up and running.  But in all working 
configurations I have used Static IP's.  Yesterday I started 
experimenting with using DHCP for my guests.

My Host is Centos 5.2 (64 Bit) running the lastest updates with 
VirtualBox-2.0.6_39765_rhel5-1.x86_64 and Kernel 2.6.18-92.1.18.el5.

As a first step I disabled my FireWall and enabled IP Forwarding ( 
/proc/sys/net/ipv4/ip_forward ).  I then installed a CentOS 5.2 (32 Bit 
Guest) using CentOS-5.2-i386-bin-DVD.iso and then using the linux 
askmethod kernel option so that I could get it to install via http from 
a server on our network.  This worked so I know at this point the guest 
was requesting and getting a DHCP address.  Once the installed system 
rebooted it could not receive an IP address.  The strange thing being 
that if I logged into the guest and restarted networking it got an 
address just fine.  After some investigation I thought this might be a 
DHCP timeout issue so I set the guest to have a really long DHCP Time 
Out.  This made no differnce.

I was then out of Logical Ideas so I thought why don't I just try 
changing the Network card that VirtualBox is presenting to the system.  
So I changed the card from the default to the Intel Pro/1000 T Server 
and without any further changes things started working.  Thinking that I 
had found the solution I decided to try the other available cards and 
see which ones would work.  None of them did.  And at each stage after 
it didn't work I would configure a static address and confirm that I had 
a working network connection (which I always did )

I then thought ok go back to the configuration that works, unfortunately 
this also decided it didn't want to work anymore.  I was completely 
stumped.  So I tried restarting my Host.  After doing this, disabling 
the Firewall and Enabling IP forwarding I started up the guest that I 
had previously installed and everything worked.

I have experimented with this further and it seems that DHCP will work 
happily for some time and then just die.  Once it dies a restart of the 
host seems to be the only way to restore service.

Can anyone give me any clues as to why this might be happening ?  Is it 
a know issue ?  Does anyone have any suggestions on how I can isolate 
whats happening so that I can submit a bug report more useful than this 
ramble ?

Thank you and have a nice day :)


_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to