DHCP Relay Server How To Setup Configure DHCP Relay Server Configuration


System1: setup install DHCP Rely Server
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;
shared­network sample {
option routers;
option subnet­mask;
option domain­name "rhel5.com";
option domain­name­servers;
default­lease­time 21600;
max­lease­time 43200;
subnet netmask { range; }
subnet netmask { range; }
Step 4:
Create alias Ethernet device and assign ip
#yum install netconfig
#netconfig –d eth0:1
#service network restart
Step 5:
start dhcp service
#chkconfig dhcpd on
#service dhcpd start
Client Side: DHCP server enable
Step 6:
enable dhcp in client side
#service network restart
Step 7:
check the ip address of machine
DHCP rely server configure successfully in rehl5

No comments:
Write comments