From owner-freebsd-questions Sun May 26 3:39: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from axel.truedestiny.net (a185066.upc-a.chello.nl [62.163.185.66]) by hub.freebsd.org (Postfix) with ESMTP id 913F737B400 for ; Sun, 26 May 2002 03:38:54 -0700 (PDT) Received: by axel.truedestiny.net (Postfix, from userid 1000) id 6688749AB2; Sun, 26 May 2002 12:38:55 +0200 (CEST) Date: Sun, 26 May 2002 12:38:55 +0200 From: Axel Scheepers To: questions@freebsd.org Subject: dhclient Message-ID: <20020526123855.A43810@mars.thuis> Reply-To: Axel Scheepers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello All, I have some problems running dhclient. The fact is I get crippled information from my dhcpd at the moment, mostly something like: Y:62.163.5.172 G:62.163.185.129 or Y:212.163.185.172 G:62.163.185.129. These combinations will never work with the supllied netmask of 0xffffc0. That dhcpd problem is being fixed, but I thought dhclient should exit with an error code when it encounters something like this? Whenever I start dhclient at that specific host, it just keeps trying to get an ip, even when I specify -1 at the command line. Tcpdump shows the requests and the (wrong) answers being sent, but the script doesn't seem to do anything with it. Man dhclient speaks of a -D switch to save the script it uses in /tmp but when I use that dhclient tells me the switch doesn't exist. (Is that the same /sbin/dhclient-script by default?) I really like to get some more information about this matter and wondered if anyone could give me some urls or other starting points about it. Since the box executes dhclient at boot it would also be nice to make that -1 thing to work too, since now it just hangs at the network setup (without starting the rest from rc.conf :( ) Any ideas/suggestions are welcome ;-) Gr, -- Axel Scheepers UNIX System Administrator email: axel@axel.truedestiny.net a.scheepers@iae.nl http://axel.truedestiny.net/~axel ------------------------------------------ A dozen, a gross, and a score, Plus three times the square root of four, Divided by seven, Plus five times eleven, Equals nine squared plus zero, no more. ------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message