I am setting a Ubuntu's VM (16.04.1 LTS) and I get an error when I try to connect from WinSCP in my windows to the VMs. The error is: developmentHost does not exist.
The network/interfaces file is this one:

If I execute a ifconfig command I get this info:

On the other side, the Virtualbox configuration for both network adapters are:

In the above picture I included the port redirection, because I want to connect with the VM withou editing the windows hosts file.

Furthermore I get this error about interfaces when I reboot.

I don't know how to fix the failure but i can show you a shortcut to deal with this problem temporarily...
1-use this command to find out which interfaces are available in your system.
# ip link
example: lo , enp0s8
2-add following lines in /etc/network/interfaces
auto enp0s8
iface enp0s8 inet dhcp
3-restart your VM.
and it's done.
In Ubuntu 16.04 there perhaps is no ethX interface anymore. This version now comes with the so called Predictable Network Interface Names, where the name of the interfaces can be determined by: which tries to find fixed slot topology information in certain firmware interfaces and uses them to assign fixed names to interfaces which incorporate their physical location on the mainboard. (refer to: freedesktop.org). Hence you have to find out the correct interface names by using the command ip a which prints something like:
1: lo: ...
2: ensXX: ...
n: ...
before you can configure your /etc/network/interfaces
See also: askubuntu.com
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With