LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2008, 01:14 PM   #1
iyappan
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
dhcp server config in linux fedora


hi,

can give me the steps to config dhcp ina linux server for local lan and assign the preferred dns server.
 
Old 01-12-2008, 04:07 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
You need to install the DHCP server package for your distribution (in Fedora "yum install dhcp" should do it if it's not already installed). Once you have it installed, edit the /etc/dhcpd.conf file to configure the parameters (range, name servers, etc.), and then start the service. The /etc/dhcpd.conf file is well documented. If you type "man dhcpd.conf" (no quotes) in the command line you can read the manual page, which describes the syntax and gives examples. For instance, you use the "option domao-name-servers" configuration directive to set which DNS servers are given out to clients.

Last edited by btmiller; 01-12-2008 at 04:09 PM.
 
  


Reply


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
DHCP server config issues mahengunawardena Linux - Server 3 08-01-2007 06:47 AM
Fedora 7 DHCP Config dyer83 Linux - Networking 3 07-27-2007 08:19 AM
config dhcp server meysam39 Linux - Networking 1 08-07-2005 11:16 AM
how can config dhcp server? jsnch Solaris / OpenSolaris 8 06-19-2005 09:35 PM
DHCP Server Config riluve Linux - Networking 1 01-27-2005 09:53 AM


All times are GMT -5. The time now is 02:47 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration