Administration Tasks Not Performed in the Web Manager : Configuring the DHCP Server

Configuring the DHCP Server
To enable DHCP to configure IP address for connected devices, the administrator must perform DHCP configuration manually. The root user logs into the OnBoard appliance’s command line and does the following steps.
To configure DHCP for managing IP addresses of connected devices:
1.
2.
3.
4.
# ######## SAMPLE CONFIGURATION ###############
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.110 192.168.0.119;
default-lease-time 86400;
max-lease-time 172800;
option broadcast-address 192.168.0.255;
option routers 192.168.0.10;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.11;
option domain-name “cyclades.com.au”;
host MySP {
hardware ethernet 00:e0:4c:ec:12:26;
fixed-address 192.168.0.211;
}
# ##############################################
5.
a.
b.
c.
For example, see the following edited host entry.
host sp1 {
hardware ethernet 00:60:2e:bb:aa:aa;
fixed-address 192.168.0.21;
}
d.
Copy and paste the three lines that define the IP address for a device as many times as needed and then make the edits to specify the desired IP address for each device.
6.
7.
8.
# This file defines the dhcpd service configuration
 
ENABLE=NO # Must be "NO" or "YES" (uppercase)
DNAME=dhcpd # daemon name
DPATH=/usr/sbin # daemon path
ShellInit= # Performs any required initialization
ConfigFiles=/etc/dhcpd.conf # configuration files
DTYPE=sig # must be "sig" or "cmd"
DSIG=kill # signal to stop/restart the daemon (lowercase)
# if it's hup term will be used to stop the daemon
# daemon command line parameters
DPARM="-q priv0"
DSTOP=
9.
ENABLE=YES # Must be "NO" or "YES"(uppercase)
10.
11.
12.
The following screen example shows the syntax for restarting dhcpd.
[root@OnBoard /]# daemon.sh restart DHCPD