LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-05-2010, 01:35 PM   #1
srajeshkumar
LQ Newbie
 
Registered: Jul 2010
Posts: 22

Rep: Reputation: 0
Smile How to configure DHCP in RHEL 5


Hi Buddies, I am new to this forum I am here to learn some good technical stuffs and I ope u guys will help me out with it.

Thanks

Rajesh
 
Old 07-05-2010, 03:40 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,042

Rep: Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740
have you read the red hat doc's ?
https://access.redhat.com/knowledge/docs/manuals/
or called your paid for tech rep ?
if you did not buy RHEL 5 then please use CentOS 5.5
 
Old 07-05-2010, 09:10 PM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Please clarify if you are looking for help with a specific issue, or just here to introduce yourself.
 
Old 07-06-2010, 02:00 AM   #4
srajeshkumar
LQ Newbie
 
Registered: Jul 2010
Posts: 22

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by John VV View Post
have you read the red hat doc's ?
https://access.redhat.com/knowledge/docs/manuals/
or called your paid for tech rep ?
if you did not buy RHEL 5 then please use CentOS 5.5
Tks for the update I am just figuring out the Syntax for the Dhcp configuration in server...

thanks
rajesh
 
Old 07-06-2010, 02:02 AM   #5
srajeshkumar
LQ Newbie
 
Registered: Jul 2010
Posts: 22

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by Matir View Post
Please clarify if you are looking for help with a specific issue, or just here to introduce yourself.

Thanks for the reply i am completely new to this platform just figuring out how to configure Dhcp server from step 1

thanks
rajesh.
 
Old 07-15-2010, 03:02 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
In which case, moved to Server
 
Old 07-15-2010, 08:59 PM   #7
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,267

Rep: Reputation: 99
Lightbulb

There is nothing much in configuring DHCP.

1) Install Packages
yum -y install dhcp* ( I am assuming you are using yum)

OR

rpm -Uvh dhcp*.rpm


2) Edit the DHCP config file /etc/dhcpd.conf your way

3) service dhcpd restart

These links will help you out.
http://www.qnx.com/developers/docs/6...hcpd.conf.html
http://www.linuxhomenetworking.com/w...he_DHCP_Server


Give it a shot, try something and post with your problems if any.

For your convenience, this is a sample dhcpd.conf
Code:
subnet 192.168.2.0 netmask 255.255.255.0 
{

# --- default gateway
	option routers			192.168.2.2;
	option subnet-mask		255.255.255.0;


	range  192.168.2.19 192.168.2.26; # Range of IP Addr
	default-lease-time 21600;	  # After this time DHCP server will automatically assign new IP
	max-lease-time 43200;

# For reservation of host		  # Assign hostname, IP to a particular MAC
	host vikas 			  
	{
		option host-name "vikas.example.com";    # set hostname
		hardware ethernet 00:02:3f:ec:80:cd;
		fixed-address 192.168.2.22;		 # This IP can be different than the given range
	}
	
}
 
1 members found this post helpful.
  


Reply

Tags
configuration, dhcp, rhel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure DHCP server for ( 1 server + 500 Clients) in RHEL 4 paulin Linux - General 4 07-18-2007 08:33 AM
Configure dhcpd (Configure DHCP Server) hanserver2004 LinuxQuestions.org Member Success Stories 3 10-23-2006 06:39 AM
DHCP relay agent on RHEL 4.0 santhavilas Red Hat 0 01-16-2006 01:00 AM
Configure dhcpd (Configure DHCP Server) hanserver2004 General 1 08-16-2004 01:39 PM


All times are GMT -5. The time now is 04:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration