Linux-Noob Forums

Full Version: dhcp howto for redhat linux 9/fedora
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Guest


anybody got a good one, post the link pls.

 

cheers


# Custom DHCPD Configuration File

 

 

 

server-name "SERVER";

ddns-update-style ad-hoc;

group {

default-lease-time 3600;

max-lease-time 3600;

option subnet-mask 255.255.255.0;

option broadcast-address 192.168.1.255;

option routers 192.168.1.1;

option domain-name-servers 203.164.20.10, 203.164.20.11;

option domain-name "ispdomain.net";

 

subnet 192.168.1.0 netmask 255.255.255.0 {

range 192.168.1.3 192.168.1.10;

}

 

 

}


Simply install or make sure you have dhcpd installed on your system, edit the file /etc/dhcpd.conf and replace the contents with what I posted above and customize to match your system and voila!.

 

Hope that helps.