Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2004 14:01:26 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Wayne M Barnes <wayne@etaq.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dhcpd MAC filter
Message-ID:  <41263C76.7070102@mac.com>
In-Reply-To: <20040820172222.GA65972@etaq.com>
References:  <20040820172222.GA65972@etaq.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Wayne M Barnes wrote:
>     Is there a way to allow or disallow certain computers by their
> MAC number?

ipfw 2 supports firewalling by MAC address, so yes.

>     This ability comes with the software on my wireless access point,
> but I prefer that my FreeBSD system hand out the IP addresses,
> and I cannot find this MAC-filtering ability at man dhcpd.
> 
>    isc-dhcp3-server-3.0.1.r14_2 is my installed port.
> Is there another dhpcd to try?

You can specify MAC addresses in your DHCP config to reserve specific IP 
addresses for specific machines.  I'm not sure whether there is a way to tell 
DHCP not to grant a lease to MAC addresses which are not found, but then, 
without using a firewall, someone could manually configure a foreign host to 
use the connection, regardless of whether they can get a DHCP lease.

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41263C76.7070102>