Hello all,
this seems to be a difficult issue, several threads but no real solutions. My problem is I can't use DHCP with host networking from VirtualBox 2. I want to use host networking as I need to run services in the guest os which must be accessible from other computers (testing and development purposes). DHCP is available in the network so why not use it... This is my configuration:
Host Machine: MacBook Pro, OS X 10.5.4
VirtualBox: 2.0
Interface Ethernet (en en0), IP via DHCP
Interface AirPort (on en1), IP via DHCP
Guest OS: Ubuntu Server 8.04
The second interface is enabled (cable connected) and attached to en1.
IP address via DHCP set up in guest OS.
When ubuntu starts I see DHCP requests and offers to the MAC address specified for the virtual machine (in the DHCP server logging), however these are not received in the virtualbox. DHCP is provided by a linux server using dhcpd. Why?
With tcpdump I also see some traffic on the en1 interface but nothing seems to be send to the virtual machine. Do I need to set some OS X configuration to enabled dhcp answer forward?
These configurations do work:
* (cable) NAT
* (cable) host interface with static and DHCP
* (wireless) NAT
* (wireless) host networking with static IP address (also connection available from network)
please help.
Chris