From owner-freebsd-questions@FreeBSD.ORG Fri Oct 24 11:23:54 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0626B106566B for ; Fri, 24 Oct 2008 11:23:54 +0000 (UTC) (envelope-from svein.h@lvor.halvorsen.cc) Received: from bene1.itea.ntnu.no (bene1.itea.ntnu.no [IPv6:2001:700:300:3::56]) by mx1.freebsd.org (Postfix) with ESMTP id AD0E58FC20 for ; Fri, 24 Oct 2008 11:23:53 +0000 (UTC) (envelope-from svein.h@lvor.halvorsen.cc) Received: from localhost (localhost [127.0.0.1]) by bene1.itea.ntnu.no (Postfix) with ESMTP id 47C80174007 for ; Fri, 24 Oct 2008 13:23:52 +0200 (CEST) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by bene1.itea.ntnu.no (Postfix) with SMTP id 91E5916C8A5 for ; Fri, 24 Oct 2008 13:23:51 +0200 (CEST) Received: (qmail 59181 invoked by uid 88); 24 Oct 2008 13:20:58 +0200 Received: from maren.math.ntnu.no (HELO [127.0.0.1]) (129.241.211.48) by maren.thelosingend.net (qpsmtpd/0.31.1) with ESMTP; Fri, 24 Oct 2008 13:20:58 +0200 Message-ID: <4901B01E.2050007@lvor.halvorsen.cc> Date: Fri, 24 Oct 2008 13:23:10 +0200 From: Svein Halvor Halvorsen User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: questions@freebsd.org References: <490198C4.8040907@lvor.halvorsen.cc> <20081024102328.GA75968@torus.slightlystrange.org> In-Reply-To: <20081024102328.GA75968@torus.slightlystrange.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Debian amavisd-new at bene1.itea.ntnu.no Cc: Subject: Re: DHCP server 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, 24 Oct 2008 11:23:54 -0000 Daniel Bye wrote: > On Fri, Oct 24, 2008 at 11:43:32AM +0200, Svein Halvor Halvorsen wrote: >> Hi, >> >> I'm not sure if this is an issue with my dhcp server or the client, but >> since I seem to get troubles with two different clients, I'm thinking it >> might be the server: >> >> >> I've got a FreeBSD 7.0-p4 machine running isc-dhcp3-server-3.0.5_2 >> serving my home network. When my Linux (Archlinux) client request >> a lease, this happens: >> >> [root@weld:~]$ dhcpcd -n eth0 >> eth0: dhcpcd 4.0.2 starting >> eth0: broadcasting for a lease >> eth0: offered 10.0.0.176 from 10.0.1.1 `mirrorball' >> eth0: checking 10.0.0.176 is available on attached networks >> >> ... and then it times out, and does not configure the network. This >> makes me think that there may be a client issue, since the DCHP server >> does indeed offer an address. But I also have troubles with a Mac OS X >> client (although it's a little more vague about the errors). > > If the server is handing out /24 network prefixes, then once your clients > bind the offered address in 10.0.0/24, they can no longer communicate with > the server in 10.0.1/24. > > You can > > a) give the DHCP server an alias IP address in 10.0.0/24 on the > appropriate interface > b) change the network prefix to 16 bits, so that 10.0.0 and 10.0.1 > (and ALL other addresses with the prefix 10.0) are in the same > logical network space > c) renumber your DHCP pool The dhcp server has netmask /23, and are also handing out this netmask to clients. I have lots of clients running FreeBSD, Windows and OS X not complaining. I do however, have one OS X client that's been constantly complaining, and recently also an Archlinux machine. It used to work on the Linux client up until recently. It might be the client, in which case I should probably ask some Lunux-folks, but since one of the apples also have a problem, I thought I might be the server. Can I diagnose this any further? sv.