-   Linux - Newbie (
-   -   dhcp server config in linux fedora (

iyappan 01-12-2008 12:14 PM

dhcp server config in linux fedora

can give me the steps to config dhcp ina linux server for local lan and assign the preferred dns server.

btmiller 01-12-2008 03:07 PM

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.

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