I am trying to configure DHCP server in vyos 1.1.8 sing beow command:
vyos@vyos# set service dhcp-server shared-network-name ESX-VTEP subnet 172.16.40.0/24 default-router 172.16.40.1
[edit]
vyos@vyos# set service dhcp-server shared-network-name ESX-VTEP subnet 172.16.40.0/24 start 172.16.40.11 stop 172.16.40.111
[edit]
vyos@vyos# set service dhcp-server shared-network-name ESX-VTEP subnet 172.16.40.0/24 lease 86400
[edit]
When I do a commit and save, I am getting below error
vyos@vyos# commit
[ service dhcp-server ]
DHCP server error: None of the DHCP lease subnets are inside any of the subnets
configured on broadcast interfaces. At least one DHCP lease subnet must be set
such that DHCP server listens on a minimum of one broadcast interface
DHCP server configuration commit aborted due to error(s).
[[service dhcp-server]] failed
Commit failed
Any suggestions on how to fix this.