DHCP Server Configuration in CentOS
On February 5, 2013 by Liju Gopinathan
- Linux
How to install DHCP Server
[root@dhcpserver ~]# yum install dhcp
DHCP Server Configuration
1. Install the Package ‘dhcp’
#yum install dhcp
2. To check whether the package is installed use:
* rpm -qa | grep dhcp
3. To list the files installed from the package ‘dhcp’
* rpm -ql dhcp
4. Master Configuration files are
* /etc/dhcp/dhcpd.conf (ipv4)
* /etc/dhcp/dhcpd6.conf (ipv6)
5. The Master Configuration file will be empty and will point you to a sample file in /usr/share/doc/dhcp-<ver>/dhcpd.conf.sample
6. Copy the sample configuration (/usr/share/doc/dhcp-<ver>/dhcpd.conf.sample) to /etc/dhcp/dhcpd.conf
7. Basic Set of Parameters :
- domain name
- domain name servers
- default-lease-time
- max lease time
- subnet
Good Stuff … !