First installer of the dhcp server
Next, open the file /etc/dhcp/dhcp.conf
With a DNS, the configuration of this file is reflected in our domain name, and we must also define the interfaces of our VLANS configured on the switch and the host card.
Next, open the file /etc/default/isc-dhcp-server
Enable IPv4 VLANS
We will restart the service