Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 16:06:39 -0300
From:      marcos alves <noidmvp@gmail.com>
To:        Ahmad Faisal <ded1@mybsd.org.my>
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: DHCP server with a group of mac address
Message-ID:  <CAAFx2kqHAE8E8xByAzfXdcxZmwv-HSe-_H78aCRJ3HvwzT-4Jw@mail.gmail.com>
In-Reply-To: <61FE9B5E-CBAF-45C7-AC10-6BE0428795BC@MyBSD.org.my>
References:  <61FE9B5E-CBAF-45C7-AC10-6BE0428795BC@MyBSD.org.my>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ded1@mybsd.org.my>

> *You wrote:*
> *From:* marcos alves <noidmvp@gmail.com>
> *To:* "ded1@MyBSD.org.my" <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
>
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAFx2kqHAE8E8xByAzfXdcxZmwv-HSe-_H78aCRJ3HvwzT-4Jw>