I have a problem with my virtualbox on ubuntu 12.04, I can't add a host only adapter, the message is "no host only network adapter selected" I can't select anything

enter image description here

can anyone solve this problem??

  • 1
    Can you attach it to eth0? – Takkat Oct 10 '12 at 7:08
  • yes I can. but with bridge not with host only – Ujang Karnadi Oct 11 '12 at 0:08
up vote 152 down vote accepted

Probably, the virtual host-only network wasn't set up yet. Here's is how you can fix this:

  1. From the main menu, select File > Preferences (Ctrl+G) - NOT the settings of a single vm
  2. Select Network in the list on the left
  3. You should see an empty white box with "Host-only Networks" at the top. On the right, there are three buttons to manage them. Click the topmost one (with a green plus symbol). A new Host-only network will be created and added to the list.

screenshoot

Normally, the settings of the new network will be ok, but for completeness, I give the default values here. You can access the settings for the host-only network through the screwdriver button on the right.

ss2

  • Adapter:
    • IPv4 address: 192.168.56.1
    • IPv4 Network Mask: 255.255.255.0
  • DHCP server:
    • Enable server: checked
    • Server Address: 192.168.56.100
    • Server Mask: 255.255.255.0
    • Lower Address Bound: 192.168.56.101
    • Upper Address Bound: 192.168.56.254

You can change these settings to your liking, as long as they're consistent.

  • 1
    thanks you,,, you have solved my problem . . . . usually I use virtual box in windows,, but now I have to use it on linux. . . . . . I'ts really different. . . . – Ujang Karnadi Oct 10 '12 at 23:49
  • You are life saver – Jadda Oct 3 '17 at 16:39
  • 14
    In 2018, you have to go to File -> Host Network Manager. – Theodore R. Smith Mar 12 at 15:30
  • 2
    @TheodoreR.Smith can you make that an answer. Or update this answer please. Thanks!! – Bahrom Apr 11 at 1:21

I installed virtual box recently and its different,

After Virtual Box is open, click on File>Host Network Manager>Add. This will add the 192.168.56.1/24 IP as shown above.

Now you can see vboxnet0 in the "Name" dropdown in the VM.

  • "as shown above" -> Did you mean to include an image in the answer? – dsstorefile1 May 7 at 10:01
  • yep, you are right, in newer versions the host networks has desappeared from the usual Network preferences – Antonio Jun 13 at 9:31

For those, who are in trouble finding "Host-only Networks" tab in File->Preferences->Network.

After the version VirtualBox 5.2.0, there are some changes with the location of "Host-only Networks" tab.

This tool is moved on the main UI toolbar, specifically the Global Tools split button on the right.

Alternatively, you can access it via Ctrl+W, or File->Host Network Manager menu.

Source: https://forums.virtualbox.org/viewtopic.php?f=8&t=85464

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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