From owner-freebsd-questions@FreeBSD.ORG Fri Apr 23 15:23:12 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 D9B051065670 for ; Fri, 23 Apr 2010 15:23:12 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by mx1.freebsd.org (Postfix) with ESMTP id C4F018FC08 for ; Fri, 23 Apr 2010 15:23:12 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [10.1.1.148] ([173.200.178.70]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L1C002AZ5ED8Z50@asmtp024.mac.com> for freebsd-questions@freebsd.org; Fri, 23 Apr 2010 08:23:02 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1004230081 From: Chuck Swiger In-reply-to: <20100423131402.GA3428@localhost> Date: Fri, 23 Apr 2010 08:22:54 -0700 Message-id: References: <20100423131402.GA3428@localhost> To: Onur Aslan X-Mailer: Apple Mail (2.1078) 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:23:12 -0000 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