[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [afnog]ISC-DHCP config
- To: Antonio Godinho <antonio at nambu.uem.mz>
- Subject: Re: [afnog]ISC-DHCP config
- From: Brian Candler <B.Candler at pobox.com>
- Date: Thu, 11 Sep 2003 14:05:06 +0100
- Cc: afnog at afnog.org
- Content-Disposition: inline
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: afnog-archive at lists.eahd.or.ug
- Delivered-To: afnog at afnog.org
- In-Reply-To: <1509916975 at nambu.uem.mz>;from antonio at nambu.uem.mz on Thu, Sep 11, 2003 at 10:43:42AM +0000
- List-Archive: <http://listserv4.cfi.co.ug/pipermail/afnog>
- List-Help: <mailto:afnog-request at afnog.org?subject=help>
- List-Id: The AfNOG general discussion list <afnog.afnog.org>
- List-Post: <mailto:afnog at afnog.org>
- List-Subscribe: <http://listserv4.cfi.co.ug/mailman/listinfo/afnog>,<mailto:afnog-request at afnog.org?subject=subscribe>
- List-Unsubscribe: <http://listserv4.cfi.co.ug/mailman/listinfo/afnog>,<mailto:afnog-request at afnog.org?subject=unsubscribe>
- References: <1509916975 at nambu.uem.mz>
- Sender: afnog-bounces at afnog.org
- User-Agent: Mutt/1.2.5i
On Thu, Sep 11, 2003 at 10:43:42AM +0000, Antonio Godinho wrote:
> Does anyone know what has to be configured into the dhcp.conf
> file of ISC-DHCP in FreeBSD in order to assign addresses to
> DHCP clients depending on their MAC-addresses?
Try something like this, taken from my home router config:
subnet x.x.x.64 netmask 255.255.255.240 {
option subnet-mask 255.255.255.240;
option broadcast-address x.x.x.79;
option routers x.x.x.65;
use-host-decl-names on;
host gumby {
hardware ethernet 00:03:2f:xx:xx:xx;
fixed-address x.x.x.67;
}
# more 'host' sections go here
}
Regards,
Brian.
__________________________________________________
This is the Africa Network Operators' Group(AfNOG)
technical discussion list.
The AfNOG website is: <http://www.afnog.org>