Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2010 08:22:54 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Onur Aslan <onuraslan@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dhcpd doesn't sent route information
Message-ID:  <C1426089-A51C-47E2-9BE5-3F92451878FB@mac.com>
In-Reply-To: <20100423131402.GA3428@localhost>
References:  <20100423131402.GA3428@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 23, 2010, at 6:14 AM, Onur Aslan wrote:
> I am using isc-dhcp30-server-3.0.7_5 in FreeBSD 7.2. When I run dhclient in a
> client machine, this machine doesn't get gateway from dhcp server. I configured
> dhcpd server as described in FreeBSD handbook.

If the machine you are testing from is one of onur-pc or onur-eee, you aren't getting a default router because you've only defined it for the dynamic pool range of .4 - .24.  Move the:

   option routers 192.168.1.1;

...statement to the top level, or move the host declarations inside of the subnet 192.168.1.0 block.  Or copy the routers line to your host declarations, I suppose.

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C1426089-A51C-47E2-9BE5-3F92451878FB>