Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 2003 21:15:59 -0600 (CST)
From:      Mike Silbersack <silby@silby.com>
To:        Dan Constantinescu <gonzo@gamebox.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Translate MAC address to IP address
Message-ID:  <20031207211448.D96687@odysseus.silby.com>
In-Reply-To: <000601c3bd22$eea7fbf0$0a00a8c0@Nass>
References:  <000601c3bd22$eea7fbf0$0a00a8c0@Nass>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 8 Dec 2003, Dan Constantinescu wrote:

> My name is Dan , and i would ask you for help...how can i filter users
> from a LAN to acces internet throuh a freebsd server (i've installed it)
> by MAC? Or i need a script to bind ip to mac? Thank's Dan.


If you're running a recent release of freebsd (4.8 or later should do),
you can recompile your kernel with IPFW2, which supports filtering by mac
addresses; see the ipfw manpage for more information.

IPFW2 is the default in 5.x, so you wouldn't need to recompile if you're
running 5.x.

Mike "Silby" Silbersack



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