Page 1 of 1

Can not enable Host Adapter

Posted: 30. Aug 2018, 16:14
by Rib3y3
Hey guys,
I created a few Centos7 VMs and would like to enable the host adapter within Linux (enp0s8). I have already created a virtual host adapter on the Virtual Box side but when I try to activate within Linux it gives me the following error.

Command: nmcli conn up enp0s8
Error: Connection activation failed: The base network configuration was interrupted.

I installed VB on a Windows machine as well and it was giving me the same error. Any ideas?

Re: Can not enable Host Adapter

Posted: 30. Aug 2018, 16:30
by Rib3y3
I do not get an IP address for enp0s8..

Re: Can not enable Host Adapter

Posted: 30. Aug 2018, 17:26
by socratis
Your virtual computer is using virtual hardware, not your host's physical hardware. It's like having a whole new computer...

There's no "enable the host adapter", because the guest (the VM) doens't have a clue what your host has (or hasn't).

Re: Can not enable Host Adapter

Posted: 30. Aug 2018, 19:34
by Rib3y3
I am attempting to create a network between my Virtual machines and my host computer. I would like to use SSH to connect. I need the host adapter to be able to talk back to my machine. At one point I had this setup on my Windows box but a recent update broke everything.

Re: Can not enable Host Adapter

Posted: 30. Aug 2018, 22:58
by socratis
Rib3y3 wrote:I need the host adapter to be able to talk back to my machine.
No you don't.
Rib3y3 wrote:I am attempting to create a network between my Virtual machines and my host computer.
Please read the following: User Manual, ch. 6.2. Introduction to networking modes including the Overview table, which shows quickly what kind of connection is required to achieve what you want. And remember, you can always have more than one network card in your guest to cover multiple scenarios.