DHCP deployment

Hi i search help to deploy my dhcp service on an interface

Check the docs:
https://docs.vyos.io/en/equuleus/quick-start.html#dhcp-dns-quick-start

https://docs.vyos.io/en/equuleus/configuration/service/dhcp-server.html#example

Thank you for your answer. The problem is that I have a Host Only network and I can’t find out where my DHCP is going. For information I use Vmware Workstation and my interface where I want to put my dhcp is connected to a Host Only vmware network card to which my VMs are also attached

This command don’t work set service dhcp-server shared-network-name LAN subnet interface

Hi @racchat1er
By default, VyOS is in operational mode, and the command prompt displays a $. To configure VyOS, you will need to enter configuration mode, resulting in the command prompt displaying a #, as demonstrated below:
vyos@vyos$ configure
vyos@vyos#

After entering the ‘configuration mode’ you may use this configuration sample:
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 default-router ‘192.168.1.1’
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 name-server ‘192.168.1.1’
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 domain-name ‘vyos.net
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 lease ‘86400’
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 range 0 start ‘192.168.1.100’
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 range 0 stop ‘192.168.1.200’

And once you have put in the commands in configuration mode you must type “commit” and hit enter followed by “save” if you want the config to survive a reboot.