There is nothing much in configuring DHCP.
1) Install Packages
yum -y install dhcp* ( I am assuming you are using
yum)
OR
rpm -Uvh dhcp*.rpm
2) Edit the DHCP config file
/etc/dhcpd.conf your way
3)
service dhcpd restart
These links will help you out.
http://www.qnx.com/developers/docs/6...hcpd.conf.html
http://www.linuxhomenetworking.com/w...he_DHCP_Server
Give it a shot, try something and post with your problems if any.
For your convenience, this is a
sample dhcpd.conf
Code:
subnet 192.168.2.0 netmask 255.255.255.0
{
# --- default gateway
option routers 192.168.2.2;
option subnet-mask 255.255.255.0;
range 192.168.2.19 192.168.2.26; # Range of IP Addr
default-lease-time 21600; # After this time DHCP server will automatically assign new IP
max-lease-time 43200;
# For reservation of host # Assign hostname, IP to a particular MAC
host vikas
{
option host-name "vikas.example.com"; # set hostname
hardware ethernet 00:02:3f:ec:80:cd;
fixed-address 192.168.2.22; # This IP can be different than the given range
}
}