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 192.168.0.10;
option subnet­mask 255.255.255.0;
option domain­name "rhel5.com";
option domain­name­servers 192.168.0.10;
default­lease­time 21600;
max­lease­time 43200;
subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.1
192.168.0.20; }
subnet 10.0.0.0 netmask 255.0.0.0 { range 10.0.0.1 10.0.0.20; }
}
Step 4:
Create alias Ethernet device and assign ip 10.0.0.10
#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
#neat­tui
#service network restart
Step 7:
check the ip address of machine
DHCP rely server configure successfully in rehl5

Post a Comment

0 Comments