JAVA SCRIPT

RH 253: HOW TO CONFIGURE DHCP SERVER

    To configure a Dhcp Server

1.  yum install dhcp -y


2.  cp /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample    /etc/dhcpd.conf


3.  vim /etc/dchpd.conf
    set Servers ip, domainname, Nisdomainname,    

    Subnet and other details

4. service dhcpd restart

tailf /var/log/messages




  To configure a  Dhclient

To make a client of dhcp server

1. dhclient   OR
2. system-config-network  ->select from dhcp
3. service network restart

Database :

 
cat  /var/lib/dhclient/dhclient.leases
cat  /var/lib/dhclient/dhclient-eth0.leases



If you found this post useful, I would really love it, if you can Like the Page, or share it with your Facebook/Google+/Twitter Friends... It will keep me motivated. Thank you!

No comments:

Post a Comment