:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::: Configuring and Disabling DHCP Server :::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
set int eth eth3 descript "LAN"
set int eth eth3 address 10.100.100.1/24
set service dhcp-server shared-network-name LAN subnet 10.100.100.0/24 default-router 10.100.100.1
set service dhcp-server shared-network-name LAN subnet 10.100.100.0/24 dns-server 8.8.8.8
set service dhcp-server shared-network-name LAN subnet 10.100.100.0/24 range 0 start 10.100.100.100
set service dhcp-server shared-network-name LAN subnet 10.100.100.0/24 range 0 stop 10.100.100.150
commit
- Until this, everything worked as expected:
- Commit OK
- DHCP Server running ok, and I configure a client and gets IP from de server.
set service dhcp-server shared-network-name LAN disable
commit
- Version 1.2.7 --> NOT OK
- DHCP server configuration error!
- None of configured DHCP subnets does not have appropriate primary IP address on any broadcast interface.
- service dhcp-server failed
- Commit failed
- Version 1.3 and 1.4 --> NOT OK
- None of the configured subnets have an appropriate primary IP address on any broadcast interface configured, nor was there an explicit listen-address configured for serving DHCP relay packets!
- service dhcp-server failed
- Commit failed