HOW TO CONFIGUER DHCP SERVER IN RED HAT 6
DHCP SERVER CONFIGURATION
Dhcp
server is used for to give automatic ip addresses in the network in which it is
used………………
1_
automatic ip addressing.
2_ port no
is {68}.
3_ main
configuration file or the dhcp server is
{dhcpd.conf} ///// {# vi /etc/dhcpd.conf}
4_
domain/service of dhcp to start is
# service network restart ____________
to restart the service for the network.
# service dhcpd restart _______________
to start the service of the dhcp server.
5_
installation packages rpm`s____ are
given in the installation { RHEL} DVD In the {
6_ to
install the packages of the dhcp go to the directory in the dvd in which the
rpm packages are then ..
Run the command
#rpm
-ivh dhcp* - - aid
- - force _________ to install
the packages from the dvd.
{redhat
package } {install vervosly} {forcefully}
{manager} {enhance}
7_ to
UPDATE the packages of the dhcp _________________”
# rpm
-uvh dhcp* - -aid
- - force _____________ to update the packages of dhcp.
{update}
8_ to REMOVE the packages of the dhcp or any of
the service___________________
# rpm
-e dhcp -3.0.5 _______ to erase
the packages
{erase}
{ remember packages are to be erasing or
remove one by one by full name of the packages}
{ but all packages are installed
jointly in a single command }
9_ disable
firewall ____________________# lokkit _________________________
SERVER SIDE
Dhcp server has 6 packages
install
|
#setup
________ to give the ip
# Service
network restart __ network service
# lokkit
_disable firewall
Then
insert DVD and mount with the /mnt
# mount
/dev/cdrom /mnt____ mount with .
#ls
# cd
Server
# ls dhcp* __ to check the dhcp packages.
#rpm -ivh dhcp* - - aid - - force
{4} packages for dhcp.
___ to
install dhcp packages.
# rpm -qa |
grep dhcp* to check if all install
This is
the all main configuration for the dhcp server on the server side or on the
client side
Now how to
configure the main configuration file for the dhcp server.
That is vi /etc/dhcpd.conf_________main
configuration file for the dhcp server.
But
__ we have to copy this file from the other place in the /etc directory
because this this
file is not present at there. So we have to copy that from
# cp /usr/share/doc/dhcp -3.0.5/dhcpd.conf.sample /etc/dhcp.conf _____to copy.
CLIENT SIDE
In dhcp client 2 packages are by
default install
|
# service network restart
# lokkit_____________
#dhclient ______- request from client to
0 comments: