Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
DHCP Server configuration trought cli
« previous
next »
Print
Pages: [
1
]
Author
Topic: DHCP Server configuration trought cli (Read 3731 times)
techax
Newbie
Posts: 1
Karma: 0
DHCP Server configuration trought cli
«
on:
July 24, 2021, 12:50:19 pm »
Hi.
Im looking for solution to disable/enable dhcp server for specific interface trought Monit plugin.
I want to disable dhcp server if there is another one already running on that network. Or basically if device with specific ip (excepted dhcp server) responds to ping. but once its offline, i want opnsense to start dhcp server on that interface.
I thought about using OPNsense API, but i didnt found DHCP module in API documentation.
It would be easy as enable/disable dhcpd service if i need it for one interface. but i want to use that for 4 interfaces independently, and dhcp server seems running as one common service for all interfaces.
Thanx and have a nice day.
«
Last Edit: July 24, 2021, 12:52:39 pm by techax
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
DHCP Server configuration trought cli