Virtualbox problem - Host only network not work on Ubuntu server 16.04
I have a problem when trying to connect with host only network, from host to guest ... (guest using ubuntu 16.04). Host only network not detected in guest when i type 'ifconfig' by terminal.
Step by step from video: Open terminal
Check Host only network
        ifconfig - Shows available networks and check host only network 
        Edit file
        
            sudo vi /etc/network/interfaces
        
            NAT - enp0s3
            Host only - enp0s8
        
    
    Add to file new network interaface
# Host only network interface
auto enp0s8
iface enp0s8 inet static
address 192.168.56.103
        sudo ifconfig enp0s8 up sudo /etc/init.d/networking restart ifconfigs
    
 2018-01-08 17:58:30