From owner-freebsd-net@FreeBSD.ORG Wed Sep 26 19:06:40 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 9A8E01065677 for ; Wed, 26 Sep 2012 19:06:40 +0000 (UTC) (envelope-from noidmvp@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 604E08FC20 for ; Wed, 26 Sep 2012 19:06:40 +0000 (UTC) Received: by ieak10 with SMTP id k10so3297259iea.13 for ; Wed, 26 Sep 2012 12:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9yRkC42DXtuwhZGkhSvr9E6LS5SViBV0sAfafHasD/4=; b=I1162yKNTzIAEtE3r4r2+fqPsk7cA0OMft0TWuQlivLDZNrkeHtcSnmB12JcW2s6MB 6yEKvno3NIgqEPmmDK652A65J4419GsPNS9bDIVaSkg528cNmwqWuZaxXhrK8CKNJiOu ITF6EG64CdMB2AsixqFmpJPnvcxT0NTHD4X4xL1Rpi8VPGtXocPN847cBIZM6YjoyINv ir0oMgqoEGvkJGlLJSeO78xU20E7UHdJ/HfbGDZzJOuU7Z9+TF+sspTOekB8Mt9W8Sxe +jXk+Ow0aDSrdgAcSicFc+D243xlINx6P3SjrQmfbfGmiibQliX+9Ry8bm3rJ/ZmUZ1A mb/Q== MIME-Version: 1.0 Received: by 10.50.207.36 with SMTP id lt4mr11930046igc.66.1348686399749; Wed, 26 Sep 2012 12:06:39 -0700 (PDT) Received: by 10.231.231.147 with HTTP; Wed, 26 Sep 2012 12:06:39 -0700 (PDT) In-Reply-To: <61FE9B5E-CBAF-45C7-AC10-6BE0428795BC@MyBSD.org.my> References: <61FE9B5E-CBAF-45C7-AC10-6BE0428795BC@MyBSD.org.my> Date: Wed, 26 Sep 2012 16:06:39 -0300 Message-ID: From: marcos alves To: Ahmad Faisal Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 19:06:40 -0000 To do what you want you will have to make a script to collect the mac addresses and insert into your dhcp.conf . Also check the dhcpd.conf(5) called `SUBCLASSES`. as Paul suggested. Marcos Alves 2012/9/26 Ahmad Faisal > *You wrote:* > *From:* marcos alves > *To:* "ded1@MyBSD.org.my" > *Sent:* Wednesday, September 26, 2012 6:20 PM > > *Subject:* Re: DHCP server with a group of mac address > > >I dont know if im following you correctly, but yes you can set up your > lish of mac address to be >the only ones allowed to get specified ip > addresses in your network trough isc-dhcp. so the >ones that are not > specified in the conf won't be able to get any configuration of DHCPD > server. > >If that's what you looking for, i think i have some information on how to > do it. > > > I don't really get what you mean, how do i include the text file with all > the mac address into the dhcpd.conf and declare on which dhcpd syntax ? Do > you have the sample of the dhcpd.conf ? > > > > --- > ded1 > MyBSD Malaysia Project > http://www.MyBSD.org.my > > > >