Sua interface de rede é enp0s3
. Substitua as entradas eth0
por essa interface.
Alterar de:
auto lo iface lo inet loopback allow-hotplug eth0 iface eth0 inet static address 192.168.56.5 netmask 255.255.255.0 gateway 192.168.56.1
Altere para:
auto lo iface lo inet loopback allow-hotplug enp0s3 iface enp0s3 inet static address 192.168.56.5 netmask 255.255.255.0 gateway 192.168.56.1