Linux – VirtualBox host only adapter has no address

linuxnetworkingvirtual machinevirtualbox

I have trouble setting up VirtualBox host only adapter on Arch Linux.

The output of ip addr is:

5: vboxnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::800:27ff:fe00:0/64 scope link 
       valid_lft forever preferred_lft forever

My VBox settings:

adapter setting

Guest OSs can comunicate between each other using host only adapter with ip addresses received from Virtual Box DHCP server but the communication between guest OS and host OS does not work on either side.

Best Answer

A user posted a very similar problem on the Arch forums. He solved it by installing net-tools. A quote from his post:

Apparently Virtual Box uses ifconfig rather than ip for setting up the network, just installing net-tools solved the issue.

So, try that simple solution first.

Related Question