From mboxrd@z Thu Jan 1 00:00:00 1970 From: presotto@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] dhcpd and /lib/ndb/local MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-minfhnnrzrlbteysrpcopbrlfm" Message-Id: <20011004131254.C598319A7F@mail.cse.psu.edu> Date: Thu, 4 Oct 2001 09:11:22 -0400 Topicbox-Message-UUID: fd41a828-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-minfhnnrzrlbteysrpcopbrlfm Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Yes it works, that's how we hand out dynamic addresses here. I rewrote the man page. Grab ftp://plan9.bell-labs.com/plan9dist/dhcpd. --upas-minfhnnrzrlbteysrpcopbrlfm Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Thu Oct 4 00:55:24 EDT 2001 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Thu Oct 4 00:55:23 EDT 2001 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.8.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 8E23719A74; Thu, 4 Oct 2001 00:55:09 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from prognet.com (prognet.com [205.219.198.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 93B8719A16 for <9fans@cse.psu.edu>; Thu, 4 Oct 2001 00:54:47 -0400 (EDT) Received: from skipt (eliot.prognet.com [208.147.89.91]) by prognet.com (8.9.2/8.9.0) with SMTP id VAA13202; Wed, 3 Oct 2001 21:54:47 -0700 (PDT) Message-Id: <3.0.5.32.20011003220651.016c5c90@mail.real.com> X-Sender: skipt@mail.real.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) To: 9fans@cse.psu.edu, 9fans@cse.psu.edu From: Skip Tavakkolian Subject: Re: [9fans] dhcpd and /lib/ndb/local In-Reply-To: <20011003101149.96D53199DD@mail.cse.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Wed, 03 Oct 2001 22:06:51 -0700 I tried it. My limited testing shows that it works. Thanks. At 11:16 AM 10/3/2001 +0100, forsyth@vitanuova.com wrote: >it's not documented, but it seems you can use > ip/dhcpd [dhcpd-options] addr0 n0 [addr1 n1 ...] >to allocate n0 addresses starting with addr0, n1 from addr1, etc. > >it uses similarly named files in /lib/ndb/dhcp to track them. > >addresses are allocated only if there isn't a static binding in ndb. >it also tries to check that any dynamic address is not still in use. > >does it work? >i don't know. i haven't tried it myself. > > --upas-minfhnnrzrlbteysrpcopbrlfm--