Skip site navigation (1)Skip section navigation (2)
Date:      18 Jan 2002 10:51:24 -0800
From:      Ted Cabeen <secabeen@pobox.com>
To:        Jamie Heckford <jamie@jamiesdomain.org.uk>
Cc:        FreeBSD ISP Mailing List <freebsd-isp@freebsd.org>
Subject:   Re: Restricting DHCPd
Message-ID:  <87u1tjlcgj.fsf@gray.impulse.net>
In-Reply-To: Jamie Heckford's message of "Fri, 18 Jan 2002 10:45:26 %2B0000"
References:  <20020118104526.2971@mail.jamiesdomain.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Jamie Heckford <jamie@jamiesdomain.org.uk> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87u1tjlcgj.fsf>