Configure a DHCP Server
Step 1.  yum install dhcp -y
Step 2.  cp /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample    /etc/dhcpd.conf
Step 3.  vim /etc/dchpd.conf
    set Servers ip,domainname,Nisdomainname,Subnet and other details
Step 4. service dhcpd restart
tailf /var/log/messages

Configure a DHCP Client
To make a client of dhcp Server
Step 1. dhclient   OR
Step 2. system-config-network  ->select from dhcp
Step 3. service network restart
Database :
cat  /var/lib/dhclient/dhclient.leases
cat  /var/lib/dhclient/dhclient-eth0.leases

Comments

comments

SHARE
Previous articleHow to create LVM
Next articleDHCP SERVER