You are on page 1of 15

Configuring a DHCP

server
vi ifcfg-eth0

Add the interface for dhcp server

Restart services
Check ip address
Install the package using command rpm -Uvh
Configure vi /etc/dhcpd.conf
Restart services

Ping to ip getway
DHCP Relay Agent
Server
Install package

cd /etc/sysconfig/network-script
vi ifcfg-eth0

vi ifcfg-eth1

Restart network services


View ip interfaces
vi /etc/sysconfig/dhcrelay
Note in order to allow the dhcp client to
access through dhcp-realy server we have

Restart service and ping to dhcp server


Configure on DHCP Client
Fin

You might also like