User's Manual

GARNET GAE-3020
15
Enabling the DHCP Server
To enable the DHCP server, a range of IP addresses need to be provided that the
server can assign to clients.
The example below shows the commands needed to supply the DHCP server
with 99 IP addresses from 192.168.219.1 to 192.168.219.99 on the subnet
192.168.219.0 with the subnet mask of 255.255.255.0. The maximum lease time
for each client is set to 86400 seconds, or 1 day. BOOTP clients may be
serviced, and requests from unknown clients are allowed.
The following configuration must be performed for the example:
Set up the DHCP configuration
dhcpserver
config add allow unknown-clients;
config add allow bootp;
config add subnet 192.168.219.0 netmask 255.255.255.0
config add {
config add range 192.168.219.1 192.168.219.99;
config add max-lease-time 86400;
config add }
config confirm
Save the configuration and reboot the system:
home
flashfs update
restart
Disabling the DHCP Server
To disable the DHCP server, the configuration information previously supplied
needs to be flushed. To do so, issue the following commands:
Flush the DHCP configuration
dhcpserver
config flush
config confirm
Save the configuration and reboot the system:
home
flashfs update