Date: Wed, 26 Sep 2012 13:51:11 -0500 From: "Paul A. Procacci" <pprocacci@datapipe.com> To: "ded1@MyBSD.org.my" <ded1@MyBSD.org.my> Cc: freebsd-net@freebsd.org Subject: Re: DHCP server with a group of mac address Message-ID: <20120926185110.GA2231@nat.myhome> In-Reply-To: <alpine.LRH.2.02.1209261757280.17374@sauron.knowledgegrid.net.my> References: <alpine.LRH.2.02.1209261757280.17374@sauron.knowledgegrid.net.my>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926185110.GA2231>