DHCP Reservation How To Setup Configure DHCP Reservation In Rhel5


DHCP server Reservation in rhel5 Check the mac address of Ethernet card
#ifconfig eth0 system1: install DHCP reservation in RHEL5
Step 1:install dhcp package
#yum install dhcp
Step 2:copy sample configuration file to /etc/dhcpd.conf
#cp /usr/share/doc/dhcp­3.0.5/dhcpd.conf.sample /etc/dhcpd.conf
Step 3:edit dhcp configuration file
#vim /etc/dhcpd.conf
ddns­update­style none;
subnet netmask {
option routers;
option subnet­mask;
option domain­name "rhel5.com";
option domain­name­servers;
default­lease­time 21600;
max­lease­time 43200;
host sys11 {
#enter the client machine mac address ex.00.a0.cc.3c.80.c5
hardware ethernet 00:a0:cc:3c:80:c5;
Step 4:start dhcp service
#chkconfig dhcpd on;service dhcpd start
Step 5:enable dhcp in client side
#service network restart
Step 6:check the ip address of machine
Finally setup Configure DHCP Server Reservation in rhel5 Successfully.

No comments:
Write comments