VirtualBox

Ticket #4790 (closed defect: fixed)

Opened 3 months ago

Last modified 2 months ago

Hostonly networking has several problems (and is basically not working yet) => Fixed in SVN/3.0.6

Reported by: jenisys Assigned to:
Priority: major Component: network/hostif
Version: VirtualBox 3.0.4 Keywords: GUI and basic config
Cc: Guest type: Linux
Host type: Mac OS X

Description

The manual states the VirtualBox 3.0.4 supports only vboxnet0 on non-Windows hosts. But even that is not working.

PROBLEMS:

1. GUI allows you seldom to configure and use a hostonly network adapter

The best case seems to occur when the HostOS was just rebooted. Most of the the time Virtual Machine Settings mark the network adapter as invalid.

2. Using vboxmanage to configure and assign the hostonly configuration works, but

it fails when the Virtual Machine should be started. VirtualBox complains when an hostonly adapter is used and fails to start it.

3. GUI ALZHEIMER: Hostonly networks are forgotten in the GUI (sort-of).

Every time you open up VirtualBox > Preferences > Network dialog, the list of networks is empty even if some are configured in VirtualBox.xml. This happens especially if you start VirtualBox for the second time (but the old VirtualBox services have already stopped). It can also be verified that the VirtualBox.xml data is retrieved. When you recreate vboxnetX, the corresponding DhcpServer? information is made available in the configuration dialog of the network.

NOTES: The host-specific network adapter seems to be created correctly. If I check the configuration w/ 'ifconfig', it has the correctly assigned IP address and netmask. The same is true for additional hostonly adapters, like vboxnet1, vboxnet2 ... But as long as I cannot really use it (for starting the Virtual Machine and communicating over it), this feature is broken as far as I am concerned.

Attachments

VirtualBox.xml (3.5 kB) - added by jenisys on 2009-08-20 22:49:45.
VirtualBox config file
alice.xml (5.4 kB) - added by jenisys on 2009-08-20 22:50:47.
Config file of Virtual Machine.

Change History

2009-08-19 13:17:06 changed by aleksey

With 3.0.4 release version I cannot reproduce neither of the symptoms you have described:

1. In VM settings I can select any of vboxnetX adapters I've created in VirtualBox > Preferences > Network. By the way, vboxnet0 is created automatically as soon as you load VBoxNetAdp.ko module (it happens during host startup), so you should always be able to choose vboxnet0 unless you've explicitly deleted it in network preferences dialog.

2. No problem with starting/using vboxnetX interfaces.

3. Host-only adapters are indeed forgotten, but only when you unload/reload VBoxNetAdp.ko (or reboot the host), while their configuration parameters are preserved in VirtualBox.xml. This problem will be fixed in future versions of VirtualBox.

Could you attach your VirtualBox.xml and configuration xml file of VM you used for testing?

2009-08-20 22:49:45 changed by jenisys

  • attachment VirtualBox.xml added.

VirtualBox config file

2009-08-20 22:50:47 changed by jenisys

  • attachment alice.xml added.

Config file of Virtual Machine.

2009-08-20 22:51:44 changed by jenisys

VirtualBox config files attached. I hope that helps.

2009-09-05 00:45:30 changed by sjbufton

This is probably the same as bug #4698 - host-only networking does not work without a physical network connection.

2009-09-07 22:01:52 changed by frank

  • summary changed from Hostonly networking has several problems (and is basically not working yet) to Hostonly networking has several problems (and is basically not working yet) => Fixed in SVN/3.0.6.

2009-09-08 08:51:53 changed by aleksey

  • status changed from new to closed.
  • resolution set to duplicate.

2009-09-08 08:53:00 changed by aleksey

  • status changed from closed to reopened.
  • resolution deleted.

2009-09-10 08:28:45 changed by frank

  • status changed from reopened to closed.
  • resolution set to fixed.

© 2009 Sun Microsystems, Inc.
ContactPrivacy policy