Linux-Noob Forums
dhcp howto for redhat linux 9/fedora - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Network Problems (https://www.linux-noob.com/forums/forum-58.html)
+--- Thread: dhcp howto for redhat linux 9/fedora (/thread-4077.html)



dhcp howto for redhat linux 9/fedora - Guest - 2003-12-11


anybody got a good one, post the link pls.

 

cheers




dhcp howto for redhat linux 9/fedora - OVERKILL - 2003-12-24


# 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;

}

 

 

}




dhcp howto for redhat linux 9/fedora - OVERKILL - 2003-12-24


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.