Click to See Complete Forum and Search --> : Network newbie needs help with DHCPD setup


TCaptain70
02-17-2001, 11:44 AM
Hello all, I'm new to LNO and I'm totally new to networking, starting to get comfy with Linux though. I was wondering if someone could maybe help me and or point me in the right direction. I've recently bought another computer and I'm attempting to have a small network setup:

Server: 2 NICs 1 - to cable modem 2 - to other PC (I gave it the address of 192.168.24.1 for no reason in particular)

Now on the server I'm set up with Mandrake 7.1, server setup, and I'm trying to follow the Home-Network-mini-HowTo I got from Linuxlookup.com (I've also read the firewall HowTo and the Network FAQ) and I'm stuck at setting up the DHCP server....

When I try to run the server, I get the following error:

Address range 192.168.24.2 to 192.168.24.15 not on net 192.168.24.1/255.255.255.0!

Here is my entry in /etc/dhcpd.conf:

default-lease-time 86400;
max-lease-time 86400;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.24.255;
option routers 192.168.24.1;

subnet 192.168.24.1 netmask 255.255.255.0 {
range 192.168.24.2 192.168.24.15;

I've been looking in the various FAQs and HowTo for maybe this error or at least a tighter explanation of the settings, but I have yet to find it. Does anyone know what I'm doing wrong?

Thanks for the help in advance.

Fandelem
02-17-2001, 11:57 AM
try looking here: http://www.fandelem.com/nhf.html

(i have a section on dhcp)

TCaptain70
02-17-2001, 02:46 PM
:) Thanks, that helped. DCHP server is now running and accepting/listening for connections and has successfully assigned an IP to my Windows machine.

Now all I need to do is figure out why I can't get out to the net from the windows machine...

Pluggin away

Thanks for the help

Fandelem
02-17-2001, 08:50 PM
Now all I need to do is figure out why I can't get out to the net from the windows machine...


try installing PMFirewall (there's a section on that same webpage i gave ya) for your masquerading.

~kyle