[TriLUG] Setting up a DHCP server

Dwayne Arruza dwayne.arruza at sedessa.com
Sun Nov 2 21:19:53 EST 2008


I'm trying to set up a DHCP server for my home network and I'm having
trouble understanding even the basics. 

 

The DHCP server is running FC9 and I have dhcpd running. The problem is the
config file (provided below). I can't make the connection between the
'option' parameters and my network. For example, "option routers" - what
router? I have a Linksys WRT54GS performing the routing function. Is that
the IP I need to use for this option? Totally confusing.

 

Knowledgeable guidance is greatly appreciated,

Dwayne

 

(Copied from
http://www.redhatmagazine.com/2008/08/05/linux-dhcp-server-static-ips-are-go
ne-in-60-seconds/)

#

# DHCP Server Configuration file.

#   see /usr/share/doc/dhcp*/dhcpd.conf.sample

#   see 'man 5 dhcpd.conf'

#

authoritative;

ddns-update-style interim;

default-lease-time 21600;

max-lease-time 43200;

 

        option routers 192.168.1.?;

        option broadcast-address 192.168.1.?;

        option subnet-mask 255.255.255.0;

        option domain-name-servers 192.168.1.?;

 

        subnet 192.168.1.0 netmask 255.255.255.0 {

                range 192.168.1.100 192.168.1.120;

        }

 




More information about the TriLUG mailing list