From owner-freebsd-isp Fri Jan 18 10:51:29 2002 Delivered-To: freebsd-isp@freebsd.org Received: from gray.impulse.net (gray.impulse.net [207.154.64.174]) by hub.freebsd.org (Postfix) with ESMTP id EB78237B416 for ; Fri, 18 Jan 2002 10:51:24 -0800 (PST) Received: by gray.impulse.net (Postfix, from userid 1000) id 7B506375EE; Fri, 18 Jan 2002 10:51:24 -0800 (PST) To: Jamie Heckford Cc: FreeBSD ISP Mailing List Subject: Re: Restricting DHCPd References: <20020118104526.2971@mail.jamiesdomain.org.uk> From: Ted Cabeen Date: 18 Jan 2002 10:51:24 -0800 In-Reply-To: Jamie Heckford's message of "Fri, 18 Jan 2002 10:45:26 +0000" Message-ID: <87u1tjlcgj.fsf@gray.impulse.net> Lines: 22 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jamie Heckford writes: > Does anyone know of a way to restrict DHCP giving out addresses? I know > you can specify MAC addresses, but can you restrict it by client- > hostname? (Windows workstations identify this bit as the computer > (NetBIOS?) name not the DNS name) > > What I want to do is only allow machines who have the computer name set > to TMSXXXX to be given an IP address. > > Does anyone know if this is possible? Yes, but you have to hack the source code for DHCP to support allocation by hostname. It's not a trivial hack, but it shouldn't take more than a few days. Once you've done that, you can then deny unknown clients. -- Ted Cabeen http://www.pobox.com/~secabeen ted@impulse.net Check Website or Keyserver for PGP/GPG Key BA0349D2 secabeen@pobox.com "I have taken all knowledge to be my province." -F. Bacon secabeen@cabeen.org "Human kind cannot bear very much reality."-T.S.Eliot cabeen@netcom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message