From owner-freebsd-net@FreeBSD.ORG Wed Sep 26 18:52:01 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 967EE106566C for ; Wed, 26 Sep 2012 18:52:01 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from EXFESMQ03.datapipe-corp.net (exfesmq03.datapipe.com [64.27.120.67]) by mx1.freebsd.org (Postfix) with ESMTP id 260B28FC18 for ; Wed, 26 Sep 2012 18:52:00 +0000 (UTC) Received: from nat.myhome (192.168.128.103) by EXFESMQ03.datapipe-corp.net (192.168.128.28) with Microsoft SMTP Server (TLS) id 14.2.298.4; Wed, 26 Sep 2012 14:50:51 -0400 Date: Wed, 26 Sep 2012 13:51:11 -0500 From: "Paul A. Procacci" To: "ded1@MyBSD.org.my" Message-ID: <20120926185110.GA2231@nat.myhome> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [192.168.128.103] Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: DHCP server with a group of mac address X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2012 18:52:01 -0000 In dhcp.conf it describes ways to assign client's to classes. It further e= xplains how to `deny` or `allow` those clients assigned to those classes. Read the subsection from dhcpd.conf(5) called `SUBCLASSES`. It provides an example which almost answers your question in its entirety. ~Paul On Wed, Sep 26, 2012 at 05:58:11PM +0800, ded1@MyBSD.org.my wrote: > Hi, > > i'm installing isc-dhcp42-server and run in the network for like 1000 nod= e. i > have like 1000 mac address (servers, PC's, printers, phones, etc) which i= put > in the text file. > > FYI, > > Any mac address (which is in the text file) who plug into the network wil= l get > the ip address based on the vlan configured on the switch. Any mac addres= s > who's NOT in the text file, will not getting any IP and they will not aut= horize > to be in our network. > > Is this possible to do with isc-dhcp ? I try to search around these topic= but > not much help. > > Anyone have any tips / shed me some light ? > > > --- > ded1 > MyBSD Malaysia Project > http://www.MyBSD.org.my > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" ________________________________ This message may contain confidential or privileged information. If you are= not the intended recipient, please advise us immediately and delete this m= essage. See http://www.datapipe.com/legal/email_disclaimer/ for further inf= ormation on confidentiality and the risks of non-secure electronic communic= ation. If you cannot access these links, please notify us by reply message = and we will send the contents to you.