[TriLUG] Setting up a DHCP server

John Broome jbroome at gmail.com
Mon Nov 3 09:18:57 EST 2008


Also, make sure dhcpd is turned off on your router.  Having two dhcp
servers on the same network will not make you happy, especially if
this is your first time playing with dhcpd.

On Sun, Nov 2, 2008 at 9:19 PM, Dwayne Arruza <dwayne.arruza at sedessa.com> wrote:
> 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;
>
>        }
>
>
>
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG FAQ  : http://www.trilug.org/wiki/Frequently_Asked_Questions
>



More information about the TriLUG mailing list