From owner-freebsd-questions@FreeBSD.ORG Fri Apr 23 15:28:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21C16106566B for ; Fri, 23 Apr 2010 15:28:00 +0000 (UTC) (envelope-from onuraslan@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id A24CD8FC0A for ; Fri, 23 Apr 2010 15:27:59 +0000 (UTC) Received: by ewy24 with SMTP id 24so2905017ewy.33 for ; Fri, 23 Apr 2010 08:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=TJeWVikW65HLIIuMlruM1QfcJD6VELFX0ycZwcsAlDw=; b=TftZWXkH+zNve9TC44wb9fYg76qqzJ7YWKokc2URZy8S2b8aQasM4jU7qVd9hwbYwh nGatNKPOxHi6YLaz065rtev3zkGGuh5p4gNMztHhscg6HzZxDCXmCY9PlRs+x5AWPbWK bLmAKQVpd2BCYIywjoGxu9SWszCY0UbPAJPqw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=l2zyz2AQHTqkTlV1eVtgzz3+3X5ABccOZXQC+Agr3kJVqpleM9Kc89BTRgaS4V5Zwj 1qRBe0r3arbFYkSmH5rW8lPoOgiQzbCYBaF7evRItpDKaEC4ATGIa8i+FS6JA7z/4HLj dKgfggggvVQG3zVoHlktvbG+b7tFhzZxXJ0xI= Received: by 10.213.37.67 with SMTP id w3mr479135ebd.69.1272036477883; Fri, 23 Apr 2010 08:27:57 -0700 (PDT) Received: from localhost ([95.15.83.91]) by mx.google.com with ESMTPS id 16sm392245ewy.3.2010.04.23.08.27.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Apr 2010 08:27:57 -0700 (PDT) Received: from onur by localhost with local (Exim 4.71) (envelope-from ) id 1O5Knu-0000vQ-Br; Fri, 23 Apr 2010 18:28:30 +0300 Date: Fri, 23 Apr 2010 18:28:30 +0300 From: Onur Aslan To: Chuck Swiger Message-ID: <20100423152830.GA3543@localhost> References: <20100423131402.GA3428@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: dhcpd doesn't sent route information X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 15:28:00 -0000 I tried, but It doesn't helped. On Fri, Apr 23, 2010 at 08:22:54AM -0700, Chuck Swiger wrote: > 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 >